/* Digimord magazine blog — scoped to the Blog page only */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,400;1,600&family=Open+Sans:wght@400;500;600;700&display=swap");

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-id-2625 .site-content,
.page-id-2625 #content,
.page-id-2625 .ast-container,
.page-id-2625 .entry-content {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
.page-id-2625 .entry-header,
.page-id-2625 .ast-breadcrumbs-wrapper,
.page-id-2625 .site-footer,
.page-id-2625 footer.site-footer,
.page-id-2625 .ast-small-footer {
  display: none !important;
}
.page-id-2625 #page,
.page-id-2625 .site-content {
  background: #efefef;
}
.page-id-2625 .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.page-id-2625 .main-header-bar,
.page-id-2625 .ast-main-header-wrap,
.page-id-2625 .ast-primary-header-bar {
  background: transparent !important;
  background-color: transparent !important;
}
.page-id-2625 .site-header,
.page-id-2625 .site-header a,
.page-id-2625 .main-navigation a,
.page-id-2625 .ast-site-identity,
.page-id-2625 .site-title a,
.page-id-2625 .ast-header-button-1 a {
  color: #fff !important;
}

.dm-blog {
  --dm-bg: #efefef;
  --dm-surface: #fff;
  --dm-ink: #1a1a1a;
  --dm-charcoal: #161616;
  --dm-accent: #c4a574;
  --dm-support: #7a7a7a;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  color: var(--dm-ink);
  background: var(--dm-bg);
}

.dm-search {
  width: min(560px, 92vw);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  padding: 2px 6px 2px 16px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.dm-search:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}
.dm-search:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: #c4a574;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.dm-search svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  opacity: 0.85;
}
.dm-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font: 400 15px/1.4 "Open Sans", sans-serif;
  padding: 14px 0;
  outline: none;
}
.dm-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}
.dm-search button {
  border: 0;
  background: #fff;
  color: #161616;
  font: 600 11px/1 "Open Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.dm-search button:hover,
.dm-search button:focus-visible {
  background: #c4a574;
  color: #fff;
}

.dm-journal-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.dm-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 42px;
}
.dm-cat {
  appearance: none;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #7a7a7a;
  font: 600 11px/1 "Open Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dm-cat:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.dm-cat.is-active,
.dm-cat[aria-pressed="true"] {
  background: #c4a574;
  border-color: #c4a574;
  color: #fff;
}
.dm-cat:focus-visible {
  outline: 2px solid #c4a574;
  outline-offset: 3px;
}

.dm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  perspective: 1200px;
}
.dm-card {
  background: #fff;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  will-change: transform;
  opacity: 0;
  transform: translateY(28px);
}
.dm-card.is-in {
  opacity: 1;
  transform: translateY(0);
}
.dm-card:hover,
.dm-card:focus-within {
  box-shadow: 0 22px 50px rgba(22, 22, 22, 0.14);
}
.dm-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
}
.dm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.dm-card:hover .dm-card-media img,
.dm-card:focus-within .dm-card-media img {
  transform: scale(1.07) translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0);
}
.dm-card-body {
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.dm-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font: 600 11px/1 "Open Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.dm-card-cat {
  color: #1a1a1a;
  text-decoration: none;
}
.dm-card-cat:hover {
  color: #c4a574;
}
.dm-card-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0;
  color: #1a1a1a;
}
.dm-card-title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(#c4a574, #c4a574);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}
.dm-card:hover .dm-card-title a {
  background-size: 100% 1px;
}
.dm-card-excerpt {
  margin: 0;
  color: #7a7a7a;
  font-size: 0.92rem;
  line-height: 1.7;
}
.dm-card-foot {
  margin-top: auto;
  padding: 16px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f1f1f1;
}
.dm-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dm-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.dm-author-name {
  display: block;
  font: 700 11px/1.2 "Open Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.dm-author-role {
  display: block;
  font: 400 11px/1.2 "Open Sans", sans-serif;
  color: #7a7a7a;
}
.dm-share {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #7a7a7a;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.dm-share:hover,
.dm-share:focus-visible {
  color: #1a1a1a;
  transform: translateX(3px);
}
.dm-card-cta {
  font: 600 11px/1 "Open Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.dm-card-cta span {
  transition: transform 0.25s ease;
}
.dm-card:hover .dm-card-cta span {
  transform: translateX(4px);
}

.dm-more-wrap {
  display: flex;
  justify-content: center;
  margin: 48px 0 8px;
}
.dm-more {
  appearance: none;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #cfcfcf;
  font: 600 11px/1 "Open Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.dm-more:hover,
.dm-more:focus-visible {
  background: #161616;
  color: #fff;
  border-color: #161616;
  transform: translateY(-2px);
}
.dm-more[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}
.dm-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #7a7a7a;
  padding: 48px 12px;
}
.dm-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.dm-footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dm-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.dm-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.dm-social a:hover {
  background: #fff;
  color: #161616;
  transform: translateY(-2px);
}
.dm-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dm-note {
  background: #2a2a2a;
  padding: 14px 16px;
  border-radius: 2px;
}
.dm-note p {
  margin: 0 0 8px;
  color: #d8d8d8;
  font-size: 0.86rem;
  line-height: 1.6;
}
.dm-note span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.dm-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.dm-thumbs a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.dm-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dm-thumbs a:hover img {
  transform: scale(1.08);
}
.dm-legal {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8a8a8a;
  font-size: 12px;
}

.dm-hero-ken {
  animation: dmKen 22s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes dmKen {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(-1.5%, 0, 0); }
}
.dm-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
.dm-float-a {
  width: 280px;
  height: 280px;
  background: #c4a574;
  top: 12%;
  right: 8%;
  animation: dmFloat 14s ease-in-out infinite;
}
.dm-float-b {
  width: 220px;
  height: 220px;
  background: #ffffff;
  bottom: 10%;
  left: 6%;
  animation: dmFloat 18s ease-in-out infinite reverse;
}
@keyframes dmFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -22px, 0); }
}

@media (max-width: 1024px) {
  .dm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .dm-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .dm-grid { grid-template-columns: 1fr; }
  .dm-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dm-legal { flex-direction: column; }
  .dm-search { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-hero-ken,
  .dm-float-a,
  .dm-float-b,
  .dm-card,
  .dm-card-media img,
  .dm-share,
  .dm-cat,
  .dm-more {
    animation: none !important;
    transition: none !important;
  }
  .dm-card {
    opacity: 1;
    transform: none;
  }
}

.dm-hero img { width: 100%; height: 100%; object-fit: cover; animation: dmKen 22s ease-in-out infinite alternate; }
.dm-hero { isolation: isolate; }
