/* Route-aware editorial imagery. Loaded by premium-site.js on the proxied site. */
.ah-subhero-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 46vw, 540px);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.ah-subhero-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247,241,234,.98) 0%, rgba(247,241,234,.92) 44%, rgba(247,241,234,.28) 72%, rgba(247,241,234,.05) 100%),
    linear-gradient(180deg, transparent 70%, rgba(247,241,234,.58));
}
.ah-subhero-visual > .shell {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding-right: min(48vw, 570px);
}
.ah-editorial-hero {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(61%, 790px);
  margin: 0;
  overflow: hidden;
  background: #d9c4b4;
}
.ah-editorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247,241,234,.82), transparent 38%), linear-gradient(180deg, transparent 74%, rgba(247,241,234,.18));
}
.ah-editorial-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}
.world-hero.ah-subhero-visual::before,
.ah-subhero-visual[data-ah-visual-key='world']::before {
  background:
    linear-gradient(90deg, rgba(9,19,30,.91) 0%, rgba(13,29,43,.73) 42%, rgba(18,39,55,.28) 72%, rgba(9,19,30,.07) 100%),
    linear-gradient(180deg, rgba(6,15,24,.06) 62%, rgba(6,15,24,.38) 100%) !important;
}
.ah-subhero-visual[data-ah-visual-key='world'] .ah-editorial-hero::after { background: linear-gradient(90deg,rgba(9,19,30,.68),transparent 42%) !important; }
.ah-subhero-visual[data-ah-visual-key='chinese'] .ah-editorial-hero img,
.ah-subhero-visual[data-ah-visual-key='zodiac'] .ah-editorial-hero img,
.ah-subhero-visual[data-ah-visual-key='year'] .ah-editorial-hero img {
  object-fit: contain;
  padding: clamp(16px, 3vw, 42px);
}
.ah-card-with-visual {
  overflow: hidden;
}
.ah-card-visual {
  position: relative;
  width: calc(100% + 2px);
  aspect-ratio: 16 / 9;
  margin: -1px -1px clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  background: #d8c3b4;
  border-bottom: 1px solid rgba(82,58,48,.12);
}
.ah-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -34px 50px rgba(52,34,31,.09);
}
.ah-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
a.ah-card-with-visual:hover .ah-card-visual img,
.ah-card-with-visual:hover .ah-card-visual img { transform: scale(1.035); }
body[data-ah-visual-audit='gap'] main::before {
  content: '';
  display: none;
}
@media (max-width: 840px) {
  .ah-subhero-visual {
    min-height: 570px;
    align-items: end;
  }
  .ah-subhero-visual::before {
    background:
      linear-gradient(180deg, rgba(247,241,234,.02) 0%, rgba(247,241,234,.18) 36%, rgba(247,241,234,.96) 65%, rgba(247,241,234,1) 100%);
  }
  .ah-subhero-visual > .shell {
    padding: 300px 0 54px;
  }
  .ah-editorial-hero {
    inset: 0 0 auto;
    width: 100%;
    height: 360px;
  }
  .ah-editorial-hero::after {
    background: linear-gradient(180deg, transparent 50%, rgba(247,241,234,.96) 100%);
  }
  .world-hero.ah-subhero-visual::before,
  .ah-subhero-visual[data-ah-visual-key='world']::before {
    background: linear-gradient(180deg,rgba(7,17,27,.08) 0%,rgba(7,17,27,.24) 42%,rgba(7,17,27,.88) 74%,#0b1b29 100%) !important;
  }
}
@media (max-width: 520px) {
  .ah-subhero-visual { min-height: 520px; }
  .ah-subhero-visual > .shell { padding-top: 268px; }
  .ah-editorial-hero { height: 318px; }
  .ah-card-visual { aspect-ratio: 5 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-card-visual img { transition: none; }
}

/* Spegeln gets a real editorial scene while preserving its calm orbital framing. */
.mirror-hero-art--editorial {
  min-height: 380px;
}
.mirror-hero-art--editorial::before {
  width: min(370px, 88%);
  height: 390px;
}
.mirror-hero-art--editorial::after {
  width: min(325px, 78%);
  height: 340px;
}
.mirror-hero-art--editorial img {
  width: min(440px, 96%);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(86,49,71,.16);
  border-radius: 48% 48% 24px 24px;
  box-shadow: 0 28px 72px rgba(58,39,31,.17);
}
@media (max-width: 780px) {
  .mirror-hero-art--editorial { min-height: 310px; }
  .mirror-hero-art--editorial img { width: min(520px, 92vw); }
}
