/* Hazar Merjeni — article pages (news/*.html). Tokens, nav, pill button and footer mirror home.html */
:root {
  --bg: #1c1c1c;
  --white: #F3E5D1; /* milk, as on the tour page */
  --w72: rgba(243,229,209,.72);
  --w50: rgba(255,255,255,.5);
  --w24: rgba(243,229,209,.24);
  --w12: rgba(243,229,209,.12);
  --serif: 'Cinzel', 'Cormorant SC', serif;
  --sans: 'Manrope', sans-serif;
  --radius: 16px; --r-inner: 12px; --r-pill: 999px; --chip-bg: rgba(255,255,255,.06); --chip-bg-photo: rgba(20,20,20,.6);
  --accent: #d97736;
  --sand: #D5B47D; /* beige accent, as on the tour page */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Shared ---------- */
.logo { position: relative; display: block; overflow: hidden; }
.logo__mark { position: absolute; inset: 3.09% 5.11% 3.08% 1.6%; }
.logo__reg  { position: absolute; inset: 71.84% 1.59% 20.78% 94.61%; }
.logo__mark img, .logo__reg img { width: 100%; height: 100%; }

.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--chip-bg);
  font-size: 14px; line-height: 20px; font-weight: 500;
  letter-spacing: .56px;
  white-space: nowrap;
}

.btn-pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 6px 0 22px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(239,230,211,.28);
  color: var(--white);
  font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: .3px;
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn-pill__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.btn-pill__icon img { filter: invert(1); transition: filter .3s; }
.btn-pill:hover { background: var(--white); color: #141414; border-color: var(--white); }
.btn-pill:hover .btn-pill__icon { background: var(--accent); transform: rotate(45deg); }
.btn-pill:hover .btn-pill__icon img { filter: none; }

/* ---------- Fixed top menu (as home.html): glass bar, wordmark, Cinzel links, CTA ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 0; left: 0; right: 0;
  padding: 20px 64px 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s cubic-bezier(.2,.8,.2,1);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,20,.42), rgba(20,20,20,.22));
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  transition: background .4s;
}
.nav.is-compact { padding: 10px 64px 10px 40px; }
.nav.is-compact::before { background: rgba(24,24,24,.72); }
.nav .logo { width: 200px; height: 27.36px; margin-right: 24px; flex-shrink: 0; transition: width .4s cubic-bezier(.2,.8,.2,1), height .4s cubic-bezier(.2,.8,.2,1); }
.nav.is-compact .logo { width: 160px; height: 21.89px; }
.nav .logo img { display: block; width: 100%; height: 100%; }
.nav__links {
  transition: font-size .4s cubic-bezier(.2,.8,.2,1);
  display: flex; gap: clamp(20px, 2.4vw, 40px);
  font-family: var(--serif); font-size: clamp(15px, 1.3vw, 19px); line-height: 24px; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap;
}
header.nav .nav__links { margin-left: auto; margin-right: auto; }
.nav.is-compact .nav__links { font-size: clamp(14px, 1.15vw, 16px); }
.nav__links a { transition: opacity .2s; }
.nav__links a:hover { opacity: .7; }
.nav__cta {
  flex-shrink: 0; margin-left: 12px;
  display: inline-flex; align-items: center; height: 40px; padding: 0 22px;
  border-radius: var(--r-pill); background: var(--white); color: #141414;
  font: 500 15px/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
  transition: background .2s;
}
.nav__cta:hover { background: var(--accent); color: var(--white); }
header.nav .lang, header.nav.is-compact .lang { margin-top: 0; }
@media (max-width: 1320px) { .nav__cta { display: none; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .nav, .nav.is-compact { padding-left: 32px; padding-right: 32px; }
  .nav .logo, .nav.is-compact .logo { width: 150px; height: 20.52px; }
  .nav__links, .nav.is-compact .nav__links { gap: 16px; font-size: 14px; }
}

/* ---------- Breadcrumbs: Home / section / current page (all inner pages) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; line-height: 20px; color: var(--w50); }
.crumbs a { color: var(--w72); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.crumbs a:hover { color: var(--sand); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--white); }
.a-hero .crumbs { margin-bottom: 8px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* ---------- Article hero: full-bleed cover, title on a dark fade ---------- */
.a-hero {
  position: relative;
  height: 78vh; height: 78svh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.a-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(20,20,20,.45) 48%, rgba(28,28,28,.92) 82%, var(--bg) 100%);
}
.a-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 48px;
  background: url(ribbon-burgundy.webp?v=20261027170000) repeat-x left center / auto 100%;
  pointer-events: none;
}
.a-hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1040px; margin: 0 auto;
  padding: 0 40px 104px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.a-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 8px; padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(20,20,20,.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(239,230,211,.2);
  font-size: 14px; line-height: 20px; font-weight: 500;
  transition: background-color .3s, color .3s;
}
.a-back img { transform: rotate(180deg); transition: transform .3s cubic-bezier(.65,0,.35,1); }
.a-back:hover { background: var(--white); color: #141414; }
.a-back:hover img { filter: invert(1); }
.a-back:hover img { transform: rotate(180deg) translateX(3px); }
.a-kicker { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 1.56px; text-transform: uppercase; color: var(--accent); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.a-hero h1 { font-family: var(--serif); font-size: 64px; line-height: 72px; letter-spacing: -.64px; max-width: 900px; }
.a-meta { font-size: 14px; line-height: 20px; color: var(--w72); }
/* news article: the reading time is a chip with a clock, like on the cards */
.a-meta--chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--chip-bg-photo); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .48px; color: var(--white); }
.a-meta--chip svg { width: 14px; height: 14px; flex-shrink: 0; fill: var(--white); }
.a-hero .a-meta.a-meta--chip { margin-top: 0; font-size: 12px; line-height: 16px; color: var(--white); }   /* beats .a-hero .a-meta */

/* ---------- Article body ---------- */
.a-body { max-width: 1040px; margin: 0 auto; padding: 80px 40px 0; }
.a-body__text { max-width: 720px; }
.a-lead { font-size: 24px; line-height: 36px; color: var(--white); }
.a-body__text p:not(.a-lead) { font-size: 18px; line-height: 30px; color: var(--w72); }
.a-body__text p + p { margin-top: 24px; }
.a-lead + p { margin-top: 40px !important; }

.a-takeaways {
  max-width: 720px;
  margin-top: 64px; padding: 32px;
  border: 1px solid var(--w12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.a-takeaways h2 { font-family: var(--serif); font-size: 28px; line-height: 36px; }
.a-takeaways ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.a-takeaways li {
  position: relative;
  padding: 16px 0 16px 28px;
  font-size: 17px; line-height: 26px;
}
.a-takeaways li + li { border-top: 1px solid rgba(255,255,255,.08); }
.a-takeaways li::before {
  content: ""; position: absolute; left: 0; top: 26px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- Plan-the-trip band ---------- */
.a-cta {
  margin-top: 80px; padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(217,119,54,.16), rgba(255,255,255,.03) 60%);
  border: 1px solid rgba(239,230,211,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.a-cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 600px; }
.a-cta__copy p { font-size: 20px; line-height: 30px; }
/* photo banner instead of the gradient plate (news) */
.a-cta--photo { position: relative; isolation: isolate; padding: 48px; overflow: hidden; aspect-ratio: 3 / 1; background: #141414; justify-content: flex-start; }
.a-cta--photo .a-cta__bg { position: absolute; inset: 0; z-index: -2;   /* under the darkening ::before (z -1), which keeps the text readable */ width: 100%; height: 100%; object-fit: cover; }
.a-cta--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,4,4,.86) 0%, rgba(10,4,4,.72) 50%, rgba(10,4,4,.1) 88%); }
.a-cta--photo .a-cta__copy { max-width: 480px; gap: 16px; }
.a-cta--photo h2 { font-family: var(--serif); font-size: 32px; line-height: 40px; letter-spacing: -.3px; }
.a-cta--photo .a-cta__copy p { font-size: 16px; line-height: 24px; color: var(--w72); }
.a-cta--photo .btn-pill { margin-top: 8px; }

/* ---------- More stories ---------- */
.a-more { max-width: 1360px; margin: 0 auto; padding: 120px 40px 0; }
.a-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.a-more__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.a-more h2 { font-family: var(--serif); font-size: 40px; line-height: 48px; letter-spacing: -.4px; }
.a-more__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.story { display: flex; flex-direction: column; gap: 16px; }
.story__img { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #141414; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.story:hover .story__img img { transform: scale(1.05); }
.story__kicker { font-size: 11px; line-height: 16px; letter-spacing: 1.32px; text-transform: uppercase; color: var(--accent); }
.story h3 { margin-top: -10px; font-size: 20px; line-height: 28px; font-weight: 400; transition: color .2s; }
.story:hover h3 { color: var(--accent); }
.story p { font-size: 15px; line-height: 24px; color: var(--w72); }
.story__date { font-size: 12px; line-height: 16px; color: var(--w50); }

/* ---------- Footer (as home.html) ---------- */
.footer { margin-top: 120px; padding: 80px 40px 32px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }   /* centred: logo, the header links, contacts */
.footer .logo { width: 280px; height: 144.456px; flex-shrink: 0; }
.footer .logo__reg { inset: 71.84% 1.59% 20.78% 94.62%; }
.footer__links { display: flex; white-space: nowrap; }
/* footer: centred — the header links in a row, Instagram / Facebook / WhatsApp / email under them, as in «Our philosophy» (links: href="#" until the client sends them) */
.footer__links { flex-direction: column; align-items: center; gap: 28px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; font-size: 16px; line-height: 24px; }
.footer__nav a { transition: opacity .2s; }
.footer__nav a:hover { opacity: .6; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--white); transition: background-color .3s, color .3s; }   /* as .social in «Our philosophy» */
.footer__social svg { width: 22px; height: 22px; fill: currentColor; }
.footer__social a:hover { background: var(--white); color: #141414; }
.footer__bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; line-height: 16px; letter-spacing: .48px; color: var(--w50);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .a-more__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav.is-compact { padding: 10px 24px; }
  .nav .logo { width: 160px; height: 21.89px; }
  .nav.is-compact .logo { width: 140px; height: 19.15px; }
  .nav__links { display: none; }
  .a-hero { height: auto; min-height: 520px; }
  .a-hero::after { height: 28px; }
  .a-hero__content { padding: 160px 24px 72px; gap: 16px; }
  .a-hero h1 { font-size: 36px; line-height: 44px; letter-spacing: -.36px; }
  .a-body { padding: 48px 24px 0; }
  .a-lead { font-size: 20px; line-height: 30px; }
  .a-body__text p:not(.a-lead) { font-size: 16px; line-height: 26px; }
  .a-takeaways { margin-top: 48px; padding: 24px 20px; }
  .a-takeaways h2 { font-size: 24px; line-height: 32px; }
  .a-takeaways li { font-size: 15px; line-height: 24px; }
  .a-takeaways li::before { top: 24px; }
  .a-cta { margin-top: 56px; padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .a-cta__copy p { font-size: 18px; line-height: 28px; }
  /* phone: centred card — the copy sits on a soft dark oval, the carpet shows around it */
  .a-cta--photo { align-items: center; padding: 48px 24px; aspect-ratio: auto; text-align: center; }
  .a-cta--photo::before { background: radial-gradient(ellipse 85% 75% at 50% 50%, rgba(10,4,4,.86) 0%, rgba(10,4,4,.74) 55%, rgba(10,4,4,.38) 100%); }
  .a-cta--photo .a-cta__copy { align-items: center; gap: 12px; max-width: 320px; }
  .a-cta--photo h2 { font-size: 24px; line-height: 30px; }
  .a-cta--photo .a-cta__copy p { font-size: 14px; line-height: 22px; }
  .a-cta--photo .btn-pill { margin-top: 12px; }
  .a-more { padding: 80px 24px 0; }
  .a-more__head { flex-direction: column; align-items: flex-start; }
  .a-more h2 { font-size: 30px; line-height: 38px; }
  .a-more__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .story h3 { font-size: 16px; line-height: 22px; }
  .story p { display: none; }
  .footer { margin-top: 80px; padding: 56px 24px 24px; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .footer .logo { width: 260px; height: 134.138px; }
  .footer__links { align-items: center; gap: 24px; }
  .footer__nav { justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Explore: category page (explore/*.html) — text on the left, poster cards slider on the right (3 in view) ---------- */
/* card colours: flat bg-centre + heading / text / muted / rule from the brochure palettes (website-covers-designer/tour-palettes.css), in turn:
   03 Eastern Frontier green · 02 Martian sand · 06 First Gallop navy · 08 Forgotten Kingdoms plum · 01 Contrasts burgundy */
.x-screen {
  min-height: 100vh; min-height: 100svh; padding: 100px 0 40px 40px; box-sizing: border-box; overflow: hidden;
  display: grid; grid-template-columns: minmax(280px, 25%) 1fr; align-items: center; gap: 56px; /* slider runs to the screen edge */
}
.x-screen + .footer { margin-top: 0; }   /* the slider screen already ends with air: no extra gap above the footer */
.x-intro { display: flex; flex-direction: column; align-items: flex-start; }
.x-intro h1 { margin-top: 24px; font-family: var(--serif); font-size: clamp(32px, 2.9vw, 52px); line-height: 1.1; letter-spacing: -.01em; }
.x-intro__lead { margin-top: 20px; font-size: 16px; line-height: 26px; color: var(--w72); }
.x-intro .btn-pill { margin-top: 32px; }

.x-slider { min-width: 0; }
.x-grid {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 12px 40px 12px 0; margin: -12px 0; scroll-padding-right: 40px; /* room for the hover scale */
}
.x-grid::-webkit-scrollbar { display: none; }
.x-nav { margin-top: 28px; padding-right: 40px; display: flex; align-items: center; justify-content: center; gap: 20px; } /* dots only: the row scrolls by swipe / trackpad / dots */
.x-dots { display: flex; align-items: center; gap: 6px; }
.x-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: var(--r-pill); background: rgba(255,255,255,.3); cursor: pointer; transition: width .35s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.x-dots button.is-active { width: 20px; background: var(--accent); }
.x-dots button:hover { background: rgba(255,255,255,.6); }
.x-dots button.is-active:hover { background: var(--accent); }
.x-dots .is-spare { width: 6px; height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.3); } /* placeholder dots for future cards */
.x-nav > button {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); border: 0; background: var(--white); cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.x-nav > button:hover { transform: scale(1.06); }
.x-nav > button:disabled { opacity: .35; cursor: default; transform: none; }
.x-card { flex: 0 0 calc((100% - 40px - 40px) / 3.3); /* 3 cards + a peek of the next one */ scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.x-card__poster {
  --bg: #164C3A; --heading: #F1D49B; --text: #F1E9D5; --muted: #C5D1BD; --rule: #66806A; /* green by default (card 1) */
  position: relative; aspect-ratio: 1 / 1.6; transform-origin: center;
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--bg);
  color: var(--text);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s;
}
.x-card:nth-child(5n+2) .x-card__poster { --bg: #EDC6A1; --heading: #593026; --text: #35251F; --muted: #694735; --rule: #B27A56; }
.x-card:nth-child(5n+3) .x-card__poster { --bg: #18375B; --heading: #E9D8AD; --text: #F0EBDD; --muted: #C6D1DA; --rule: #687E96; }
.x-card:nth-child(5n+4) .x-card__poster { --bg: #59273D; --heading: #E9D3AA; --text: #F3E8D7; --muted: #D2BFC3; --rule: #946C79; }
.x-card:nth-child(5n+5) .x-card__poster { --bg: #481824; --heading: #F5E5C9; --text: #F3E5D1; --muted: #D0B8AB; --rule: #79504B; }
/* photo card with a round notch in the bottom-right corner: the arrow button sits in it (palette colour) */
.x-card__poster { aspect-ratio: 1 / 1.55; background: none; overflow: visible; border-radius: 0; }
.x-card__media {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: #141414;
  -webkit-mask: radial-gradient(circle 29px at calc(100% - 22px) calc(100% - 22px), transparent 28px, #000 29px);
          mask: radial-gradient(circle 29px at calc(100% - 22px) calc(100% - 22px), transparent 28px, #000 29px);
}
.x-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.x-card:hover .x-card__media img { transform: scale(1.04); }
.x-card__media::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.55) 30%, rgba(10,10,10,.85) 55%, rgba(10,10,10,.96)); }
.x-card__cap { position: absolute; z-index: 1; left: 20px; right: 64px; bottom: 20px; color: var(--white); }
.x-card h2 { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; }
.x-card__sub { margin-bottom: 6px; font-family: var(--serif); font-size: 12px; line-height: 18px; letter-spacing: .02em; color: rgba(243,229,209,.88); text-shadow: 0 1px 8px rgba(0,0,0,.5);
  margin-right: -44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line: may run over the button column, it sits lower */ /* tagline above the title, Cinzel */
.x-card__text { margin-top: 10px; font-size: 14px; line-height: 21px; color: rgba(243,229,209,.88); }
.x-card__go {
  position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: #141414; /* same milk as "View tours" */
  transition: background-color .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.x-card__go svg { width: 14px; height: 14px; fill: currentColor; }
.x-card:hover .x-card__go { background: var(--accent); color: var(--white); transform: rotate(45deg); }

@media (max-width: 1100px) {
  .x-screen { grid-template-columns: 1fr; gap: 40px; align-content: start; } /* one column: slider right under the text, no stretched rows */
  .x-card { flex-basis: calc((100% - 40px - 16px) / 2.3); }
}
@media (max-width: 900px) {
  .x-screen { padding: 104px 24px 0; gap: 32px; }
}
@media (max-width: 600px) {
  .x-card { flex-basis: 82%; }
}

/* article page: site background; text accents from the card's palette */
.a-hero--plain { height: auto; min-height: 0; }
.a-hero--plain::before, .a-hero--plain::after { display: none; } /* no shade, no ornament ribbon */
.a-hero--plain .a-hero__content { padding-top: 160px; padding-bottom: 88px; }
@media (max-width: 900px) { .a-hero--plain .a-hero__content { padding-top: 120px; padding-bottom: 64px; } }
/* full-screen cover: photo fades into the site background (#1c1c1c), text below */
.a-hero--full { height: 100vh; height: 100svh; min-height: 600px; }
.a-hero--full::after { display: none; }
.a-hero--full .a-hero__content { max-width: 1240px; padding-bottom: 40px; }
.a-hero--full h1 { line-height: 1.05; }
.a-hero--full .a-meta { margin-top: -8px; } /* subtitle closer to the title */ /* same left edge as the text + side list below */
@media (max-width: 900px) { .a-hero--full { height: auto; min-height: calc(60px + 100vw * 1.25); } .a-hero--full .a-hero__content { gap: 12px; padding-bottom: 24px; } .a-hero--full + .a-body { padding-top: 16px; } } /* phone: same height as the tour hero (photo 4:5 under the header), not a full screen */
body[data-pal="green"] { --p-bg: #164C3A; --p-edge: #073A2A; --p-heading: #F1D49B; --p-text: #F1E9D5; --p-muted: #C5D1BD; --p-rule: #66806A; --p-accent: #D8B677; }
body[data-pal="sand"]  { --p-bg: #593026; --p-edge: #3A1F18; --p-heading: #EDC6A1; --p-text: #F6EBDD; --p-muted: #DDBE9E; --p-rule: #8C5A41; --p-accent: #E0A878; } /* 02 Martian, dark side: milky text on its brown */
body[data-pal="navy"]  { --p-bg: #18375B; --p-edge: #091A39; --p-heading: #E9D8AD; --p-text: #F0EBDD; --p-muted: #C6D1DA; --p-rule: #687E96; --p-accent: #C6AD7B; }
body[data-pal="plum"]  { --p-bg: #59273D; --p-edge: #320F22; --p-heading: #E9D3AA; --p-text: #F3E8D7; --p-muted: #D2BFC3; --p-rule: #946C79; --p-accent: #D4B780; }
body[data-pal] .a-kicker { color: var(--p-accent); }
body[data-pal] .a-hero h1, body[data-pal] .a-more h2, body[data-pal] .a-takeaways h2 { color: var(--p-heading); }
body[data-pal] .a-meta, body[data-pal] .crumbs { color: var(--p-muted); }
body[data-pal] .crumbs a { color: var(--p-muted); }
body[data-pal] .crumbs [aria-current] { color: var(--p-heading); }
body[data-pal] .crumbs a:hover { color: var(--p-heading); text-decoration-color: currentColor; }
body[data-pal] .a-lead { color: var(--p-text); }
body[data-pal] .a-body__text p:not(.a-lead) { color: color-mix(in srgb, var(--p-text) 80%, transparent); }
body[data-pal] .a-figure figcaption { color: var(--p-muted); border-top-color: var(--p-rule); }

/* article with a side list of related topics (instead of the grid below) */
.a-body--side { max-width: 1240px; }
.a-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.a-side {
  position: sticky; top: 96px;
  padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.a-side h2 { font-family: var(--serif); font-size: 26px; line-height: 32px; }
.a-side__list { margin-top: 12px; display: flex; flex-direction: column; }
.side-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.side-item + .side-item { border-top: 1px solid rgba(255,255,255,.1); }
.side-item__img { width: 120px; aspect-ratio: 3 / 2; flex-shrink: 0; border-radius: var(--r-inner); overflow: hidden; background: #141414; }
.side-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.side-item:hover .side-item__img img { transform: scale(1.06); }
.side-item__txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.side-item__txt b { font-weight: 500; font-size: 16px; line-height: 22px; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-item:hover .side-item__txt b { color: var(--accent); }
.side-item__txt small { font-size: 14px; line-height: 20px; color: var(--w50);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-side__all { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; }
.a-side__ico { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--white); transition: background-color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }   /* arrow in a circle, as on .btn-pill */
.a-side__ico img { width: 14px; height: 14px; filter: invert(1); transition: filter .3s; }
.a-side__all:hover .a-side__ico { background: var(--accent); transform: rotate(45deg); }
.a-side__all:hover .a-side__ico img { filter: none; }
.a-body--side .a-cta { max-width: none; }
@media (max-width: 1100px) {
  .a-layout { grid-template-columns: 1fr; gap: 48px; }
  .a-side { position: static; }
}
/* bigger subtitle under the article title */
.a-hero .a-meta { font-size: 20px; line-height: 28px; color: var(--w72); }
@media (max-width: 900px) { .a-hero .a-meta { font-size: 17px; line-height: 24px; } }

/* article: photo with caption */
.a-figure { margin: 48px 0 0; max-width: 720px; }
.a-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-inner); }
.a-figure figcaption { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--w12); font-size: 15px; line-height: 24px; color: var(--w72); }
.a-more__grid--3 { grid-template-columns: repeat(3, 1fr); }
.a-more__grid--3 .story__img { aspect-ratio: 3 / 2; }

@media (max-width: 900px) {
  .a-figure { margin-top: 36px; }
  .a-more__grid--3 { grid-template-columns: 1fr; }
}

/* ---------- News index (news/index.html): head, category filter, cards grid — card look matches the home «Media & Insights» cards ---------- */
.n-page { max-width: 1360px; margin: 0 auto; padding: 132px 40px 0; }
.n-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.n-head__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.n-head h1 { font-family: var(--serif); font-size: 56px; line-height: 64px; letter-spacing: -.56px; }
.n-head h1 + p { margin-top: -8px; font-size: 18px; line-height: 28px; color: var(--w72); }
.n-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.n-filter button {
  padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--chip-bg); border: 0; color: var(--w72);
  font: 500 14px/20px var(--sans); letter-spacing: .56px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.n-filter button:hover { color: var(--white); background: var(--w12); }
.n-filter button.is-active { background: var(--white); color: #141414; }
.n-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.n-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(239,230,211,.1);
  transition: border-color .35s, background-color .35s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.n-card:hover { border-color: rgba(217,119,54,.45); background: rgba(217,119,54,.06); transform: translateY(-4px); }
.n-card[hidden] { display: none; }
.n-card__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 8px 8px 0; border-radius: var(--r-inner); }
.n-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.n-card:hover .n-card__photo img { transform: scale(1.05); }
.n-card__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events: none; }
.n-card__body { position: relative; flex: 1; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.n-card__tags { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.n-card__tags > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--chip-bg-photo); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .48px; color: #fff; white-space: nowrap;
}
.n-card__tags > span:first-child { color: var(--white); }
.n-card__tags svg { width: 14px; height: 14px; flex-shrink: 0; fill: var(--white); }
.n-card__title { font-family: var(--serif); font-size: 22px; line-height: 30px; font-weight: 400; letter-spacing: .02em; }
.n-card__desc { font-size: 15px; line-height: 24px; color: var(--w72); }
.n-page .a-cta { margin-top: 64px; }
@media (max-width: 1100px) {
  .n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .n-page { padding: 104px 24px 0; }
  .n-head h1 { font-size: 36px; line-height: 44px; }
  .n-head h1 + p { font-size: 16px; line-height: 24px; }
  .n-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px; scrollbar-width: none; }
  .n-filter::-webkit-scrollbar { display: none; }
  .n-filter button { flex-shrink: 0; }
  .n-grid { grid-template-columns: 1fr; margin-top: 28px; gap: 16px; }
}
@media (max-width: 600px) {   /* phones: compact footer */
  .footer { padding: 40px 20px 20px; }
  .footer__inner { gap: 32px; }
  .footer .logo { width: 180px; height: 92.865px; }
  .footer__links { gap: 20px; }
  .footer__nav { display: grid; grid-template-columns: auto auto; justify-items: center; gap: 12px 40px; font-size: 14px; line-height: 20px; }   /* 2 + 2 */
  .footer__social a { width: 44px; height: 44px; }
  .footer__social svg { width: 20px; height: 20px; }
  .footer__bottom { margin-top: 32px; padding-top: 16px; gap: 4px; }
}
