/* JLUXU's own magazine layout. Existing articles and ALVAU assets are retained. */
:root {
  --ink: #111111;
  --line: #dedede;
  --page: 1320px;
  --gutter: 32px;
  --header: 84px;
  --sticky-header-height: 116px;
}
body { background: #ffffff; }
.wrap { max-width: var(--page); }
.masthead {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header); transition: height .2s ease; }
.masthead .header-inner > .wordmark {
  color: #111111;
  font-size: 58px;
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
}
.masthead .header-inner > .wordmark:hover { color: #111111; }
.masthead-tagline { color: var(--gold-text); padding-bottom: 12px; }
.masthead-tagline p { font-size: 10px; letter-spacing: .06em; }
.masthead.is-compact .header-inner { height: 64px; }
.masthead.is-compact .header-inner > .wordmark { font-size: 43px; }
.masthead .portal-language-label { color: #555555; }
.languages ul { background: #ffffff; color: #111111; border: 1px solid var(--line); }
.languages a[aria-current] { color: var(--gold-text); }
.masthead a:hover, .topic-bar a:hover { color: var(--gold-text); }
.masthead .menu-fallback > nav { top: 100%; color: #ffffff; }
.masthead .menu-fallback > nav a:hover { color: var(--gold); }
.topic-bar {
  min-height: 44px;
  padding: 12px 24px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  overflow: visible;
  background: #ffffff;
  color: #111111;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 10px;
}
.topic-bar .gold { color: var(--gold-text); }
.hero { padding-top: 24px; }
.hero-overline { margin-bottom: 24px; padding-bottom: 14px; }
.hero-overline .eyebrow { margin: 0; }
.hero-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 28px;
}
.hero .hero-intro h1 {
  margin: 0;
  max-width: 560px;
  font: 500 clamp(26px, 2.5vw, 36px)/1.2 var(--sans);
  letter-spacing: -.025em;
  text-align: start;
}
.hero-intro .lead { margin: 0; font-size: 18px; line-height: 1.5; }
.hero-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.story-card, .feature-card { min-width: 0; }
.story-card h2, .guide-card :is(h2,h3), .department-card :is(h2,h3),
.feature-pair h3, .prose .editorial-comparison-card h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  text-align: start;
}
.story-card h2 a, .feature-card :is(h2,h3) a { text-decoration: none; }
.story-card-featured h2 { font-size: clamp(28px, 2.4vw, 35px); line-height: 1.2; }
.story-card > p:not(.eyebrow), .guide-card > p, .feature-card > p {
  font: 400 17px/1.55 var(--serif);
  color: #4b4b4b;
  margin-bottom: 12px;
}
.story-card-featured > p:not(.eyebrow) { font-size: 19px; }
.story-card .eyebrow, .guide-card .eyebrow { margin-bottom: 10px; }
.hero-actions { margin-top: 24px; }
.hero-actions .button {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
  min-height: 44px;
  padding: 10px 16px;
}
.hero-actions .alvau-cta { color: var(--gold-text); border-color: var(--gold); }
.hero-actions .button:hover { color: var(--gold-text); border-color: var(--gold-text); }
.section { padding-block: 44px; }
.section-head { align-items: center; margin-bottom: 26px; }
.section-head > h2 {
  font: 500 clamp(22px, 2.4vw, 30px)/1.3 var(--sans);
  letter-spacing: -.025em;
  text-align: start;
}
.section-head::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.section-head > .text-link { order: 2; flex-shrink: 0; }
.guide-grid, .department-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}
.department-grid { border: 0; }
.guide-card, .department-card, .feature-pair article,
.editorial-comparison-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.guide-card { display: flex; flex-direction: column; align-self: start; }
.department-card .number, .guide-card .card-number { display: none; }
.card-top { margin-bottom: 10px; }
.card-top .eyebrow { margin-bottom: 0; }
.eyebrow { letter-spacing: .04em; color: var(--gold-text); }
.guide-card .text-link { margin-top: 0; }
.department-card p { font: 400 17px/1.55 var(--serif); margin-bottom: 12px; }
.feature-pair { gap: 28px; }
.editorial-card-image { display: block; width: 100%; margin: 0 0 16px; }
.editorial-picture { width: 100%; border-radius: 0; }
.editorial-card-image .editorial-picture,
.editorial-hero .editorial-picture { aspect-ratio: 1672 / 941; }
.editorial-card-image .editorial-picture img,
.editorial-hero .editorial-picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.editorial-image-link { position: relative; display: block; }
.editorial-image-link:focus-visible { outline: 3px solid #111111; outline-offset: 5px; }
.editorial-image-link:hover img { opacity: .95; }
.editorial-card-image figcaption { margin-top: 6px; font-size: 9px; line-height: 1.5; }
.pair-links.editorial-comparison-grid { gap: 28px; }
.pair-links.editorial-comparison-grid .editorial-comparison-card h3 a { display: inline; }
.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}
.search-results li { min-width: 0; padding: 16px 0 0; }
.search-results .editorial-card-image { margin-bottom: 12px; }
.search-results h3 { margin: 0 0 12px; font: 500 18px/1.35 var(--sans); letter-spacing: -.025em; }
.search-results h3 a { font: inherit; text-decoration: none; }
.search-results p { font: 400 17px/1.55 var(--serif); margin: 0; }
.search-results .editorial-image-link { display: block; }
.search-results .editorial-search-image { max-width: none; margin: 0; }
/* Gold promotion uses the existing brand type, alignment and spacing variables. */
.alvau-promo-heading-link { color: var(--gold-text); }
.alvau-promo-heading-link:hover { color: var(--gold-text); }

@media (min-width: 1000px) {
  .guide-grid[data-card-count='1'] { grid-template-columns: minmax(0, 420px); }
  .guide-grid[data-card-count='2'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid[data-card-count='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .guide-grid, .department-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 999px) {
  :root { --gutter: 24px; }
  .hero-stories, .guide-grid, .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card-featured { grid-column: 1 / -1; }
  .story-card-featured h2 { max-width: 800px; font-size: 32px; }
  .guide-grid .guide-card:last-child:nth-child(3) { grid-column: auto; }
  .guide-grid[data-card-count='1'] { grid-template-columns: minmax(0, 420px); }
  .hero-intro { gap: 24px; }
}
@media (max-width: 699px) {
  :root { --gutter: 20px; --header: 68px; --sticky-header-height: 99px; }
  .header-inner { padding-inline: 12px; }
  .masthead .header-inner > .wordmark { font-size: 36px; }
  .masthead.is-compact .header-inner { height: 56px; }
  .masthead.is-compact .header-inner > .wordmark { font-size: 32px; }
  .languages summary { min-width: 64px; width: 64px; }
  .header-right { gap: 0; }
  .icon-button { width: 44px; height: 44px; }
  .masthead-tagline p { font-size: 9px; letter-spacing: .035em; }
  .topic-bar { display: none; }
  .hero-overline { margin-bottom: 18px; padding-bottom: 12px; }
  .hero-intro { display: block; margin-bottom: 24px; }
  .hero .hero-intro h1 { font-size: 28px; margin-bottom: 14px; }
  .hero-intro .lead { font-size: 17px; }
  .hero-stories, .guide-grid, .department-grid, .feature-pair,
  .pair-links.editorial-comparison-grid, .search-results {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .story-card-featured { grid-column: auto; }
  .story-card-featured h2 { font-size: 28px; }
  .story-card-secondary h2, .guide-card :is(h2,h3), .department-card :is(h2,h3),
  .feature-pair h3 { font-size: 22px; }
  .guide-grid .guide-card:last-child:nth-child(3) { grid-column: auto; }
  .guide-card, .department-card { padding: 0; }
  .section-head { display: flex; flex-wrap: wrap; gap: 12px; }
  .section-head > h2 { font-size: 23px; }
  .section-head > .text-link { flex-basis: 100%; }
  .section { padding-block: 32px; }
  .editorial-card-image { margin-bottom: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { flex: 1 1 auto; }
}
@media (max-width: 359px) {
  .masthead .header-inner > .wordmark { font-size: 30px; }
  .masthead.is-compact .header-inner > .wordmark { font-size: 28px; }
  .languages summary { min-width: 56px; width: 56px; }
}
html[lang='ar'] .story-card h2, html[lang='hi'] .story-card h2,
html[lang='ja'] .story-card h2, html[lang='zh-Hans'] .story-card h2 {
  letter-spacing: 0;
}
:is(html[lang='ar'], html[lang='hi'], html[lang='ja'], html[lang='zh-Hans'])
  :is(.guide-card :is(h2,h3), .department-card :is(h2,h3), .feature-pair h3,
      .editorial-comparison-card h3, .section-head h2,
      .hero-intro h1, .search-results h3, .topic-bar) {
  letter-spacing: 0;
  text-transform: none;
}
@media (prefers-reduced-motion: reduce) { .header-inner { transition: none; } }
@media print {
  .masthead, .topic-bar { display: none !important; }
  .hero-stories, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card, .guide-card { break-inside: avoid; }
}
