/* ==========================================================================
   Atlas Mountains - Authority Guide design system
   Light editorial / travel-magazine layout. Prefix: .atg-
   Distinct from the dark-gold trekking pillar (assets/css/trekking.css).
   All classes namespaced to avoid colliding with the injected site header.
   ========================================================================== */

:root {
  --atg-ink: #1c1712;
  --atg-ink-2: #4a4038;
  --atg-muted: #7a6f64;
  --atg-line: #e7ddd0;
  --atg-paper: #ffffff;
  --atg-cream: #faf6ef;
  --atg-cream-2: #f3ece1;
  --atg-gold: #c8972b;
  --atg-gold-d: #a97c1c;
  --atg-terra: #b1552b;
  --atg-pine: #2f5d4f;
  --atg-sky: #3a6b8a;
  --atg-shadow: 0 18px 50px -24px rgba(28, 23, 18, .35);
  --atg-shadow-sm: 0 8px 24px -14px rgba(28, 23, 18, .28);
  --atg-radius: 16px;
  --atg-radius-sm: 10px;
  --atg-maxw: 1200px;
  --atg-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --atg-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Base (scoped to the guide wrapper) --------------------------------- */
.atg {
  font-family: var(--atg-sans);
  color: var(--atg-ink);
  background: var(--atg-cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.atg *, .atg *::before, .atg *::after { box-sizing: border-box; }
.atg img { max-width: 100%; display: block; }
.atg a { color: var(--atg-gold-d); text-decoration: none; transition: color .2s ease; }
.atg a:hover { color: var(--atg-terra); }
.atg h1, .atg h2, .atg h3, .atg h4 {
  font-family: var(--atg-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--atg-ink);
  margin: 0;
  letter-spacing: -.01em;
}
.atg p { margin: 0 0 1.1rem; }
.atg-wrap { max-width: var(--atg-maxw); margin: 0 auto; padding: 0 24px; }
.atg-eyebrow {
  font-family: var(--atg-sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--atg-gold-d);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.atg-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--atg-gold);
  display: inline-block;
}

/* ---- Hero --------------------------------------------------------------- */
.atg-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #221c15;
}
.atg-hero__bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(20,16,11,.15) 0%, rgba(20,16,11,.35) 45%, rgba(20,16,11,.85) 100%),
                    url('/assets/img/atlas-mountains/hero-banner.webp');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.atg-hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: var(--atg-maxw);
  margin: 0 auto;
  padding: 0 24px 68px;
}
.atg-hero .atg-eyebrow { color: #f4d58a; }
.atg-hero .atg-eyebrow::before { background: #f4d58a; }
.atg-hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  margin: .5rem 0 .2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  max-width: 15ch;
}
.atg-hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 62ch;
  color: #f3ece1;
  margin: 0 0 1.8rem;
  font-weight: 300;
}
.atg-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Buttons */
.atg-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--atg-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.atg-btn:hover { transform: translateY(-2px); }
.atg-btn--gold { background: var(--atg-gold); color: #241a08; }
.atg-btn--gold:hover { background: #d9a838; color: #241a08; box-shadow: 0 12px 28px -12px rgba(200,151,43,.7); }
.atg-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.atg-btn--ghost:hover { background: #fff; color: var(--atg-ink); }
.atg-btn--outline { background: transparent; color: var(--atg-ink); border-color: var(--atg-line); }
.atg-btn--outline:hover { border-color: var(--atg-gold); color: var(--atg-gold-d); }

/* Hero stat strip */
.atg-hero__stats {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(18,14,10,.42);
  backdrop-filter: blur(6px);
}
.atg-hero__stats-inner {
  max-width: var(--atg-maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 24px;
}
.atg-hstat { padding: 22px 10px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.atg-hstat:first-child { border-left: 0; }
.atg-hstat b { display: block; font-family: var(--atg-serif); font-size: 2rem; color: #f4d58a; line-height: 1; }
.atg-hstat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: #d8cfc2; }

/* ---- Layout: main + sticky TOC ----------------------------------------- */
.atg-shell {
  max-width: var(--atg-maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.atg-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 22px 0;
}
.atg-toc h4 {
  font-family: var(--atg-sans);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--atg-muted); margin-bottom: 14px; font-weight: 700;
}
.atg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.atg-toc li { counter-increment: toc; }
.atg-toc a {
  display: block;
  font-size: .88rem;
  color: var(--atg-ink-2);
  padding: 7px 0 7px 30px;
  position: relative;
  border-left: 2px solid var(--atg-line);
  line-height: 1.35;
}
.atg-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 10px; top: 7px;
  font-size: .68rem; color: var(--atg-muted); font-variant-numeric: tabular-nums;
}
.atg-toc a:hover { color: var(--atg-gold-d); border-left-color: var(--atg-gold); }
.atg-toc a.is-active { color: var(--atg-ink); font-weight: 600; border-left-color: var(--atg-gold); }
.atg-toc a.is-active::before { color: var(--atg-gold-d); }

.atg-main { min-width: 0; padding-bottom: 20px; }

/* ---- Section scaffolding ----------------------------------------------- */
.atg-sec { padding: 58px 0; border-top: 1px solid var(--atg-line); scroll-margin-top: 108px; }
.atg-sec:first-child { border-top: 0; }
.atg-sec__head { max-width: 74ch; margin-bottom: 34px; }
.atg-sec__head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin: .55rem 0 0;
}
.atg-sec__lead {
  font-size: 1.15rem;
  color: var(--atg-ink-2);
  margin-top: 1rem;
  font-weight: 300;
}
.atg-prose { max-width: 72ch; }
.atg-prose p { color: var(--atg-ink-2); }
.atg-prose strong { color: var(--atg-ink); font-weight: 600; }
.atg-lead-drop::first-letter {
  font-family: var(--atg-serif);
  float: left; font-size: 3.6rem; line-height: .82;
  padding: 6px 12px 0 0; color: var(--atg-gold-d); font-weight: 600;
}

/* ---- Quick facts tiles -------------------------------------------------- */
.atg-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin: 30px 0 6px;
}
.atg-fact {
  background: var(--atg-paper);
  border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius-sm);
  padding: 20px 18px;
}
.atg-fact i { color: var(--atg-gold-d); font-size: 1.1rem; }
.atg-fact b { display: block; font-family: var(--atg-serif); font-size: 1.7rem; margin: 8px 0 2px; }
.atg-fact span { font-size: .82rem; color: var(--atg-muted); }

/* ---- Generic image + text split ---------------------------------------- */
.atg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.atg-split--reverse .atg-split__media { order: 2; }
.atg-split__media img { border-radius: var(--atg-radius); box-shadow: var(--atg-shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.atg-split__cap { font-size: .8rem; color: var(--atg-muted); margin-top: 10px; text-align: center; }

/* ---- Map placeholder ---------------------------------------------------- */
.atg-map {
  position: relative;
  border-radius: var(--atg-radius);
  overflow: hidden;
  border: 1px solid var(--atg-line);
  background:
    radial-gradient(circle at 20% 30%, rgba(200,151,43,.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(47,93,79,.10), transparent 40%),
    repeating-linear-gradient(0deg, rgba(28,23,18,.04) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(28,23,18,.04) 0 1px, transparent 1px 42px),
    var(--atg-cream-2);
  min-height: 360px;
  padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.atg-map__pin {
  position: absolute;
  display: inline-flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -100%);
  font-size: .72rem; font-weight: 600; color: var(--atg-ink);
  text-align: center; width: max-content;
}
.atg-map__pin i { color: var(--atg-terra); font-size: 1.3rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.atg-map__pin span { background: rgba(255,255,255,.85); padding: 1px 7px; border-radius: 20px; margin-top: 2px; box-shadow: var(--atg-shadow-sm); }
.atg-map__label { align-self: flex-start; background: var(--atg-ink); color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 30px; }
.atg-map__note { align-self: flex-end; font-size: .82rem; color: var(--atg-muted); max-width: 30ch; }

/* ---- Card grids --------------------------------------------------------- */
.atg-grid { display: grid; gap: 24px; }
.atg-grid--2 { grid-template-columns: repeat(2, 1fr); }
.atg-grid--3 { grid-template-columns: repeat(3, 1fr); }

.atg-card {
  background: var(--atg-paper);
  border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.atg-card:hover { transform: translateY(-5px); box-shadow: var(--atg-shadow); border-color: #e0d2bd; }
.atg-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.atg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atg-card:hover .atg-card__media img { transform: scale(1.06); }
.atg-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(18,14,10,.72); color: #f4d58a;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 12px; border-radius: 30px; backdrop-filter: blur(3px);
}
.atg-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.atg-card__body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.atg-card__body p { font-size: .95rem; color: var(--atg-ink-2); margin-bottom: 16px; }
.atg-card__link {
  margin-top: auto;
  font-family: var(--atg-sans); font-weight: 600; font-size: .86rem;
  letter-spacing: .04em; color: var(--atg-gold-d);
  display: inline-flex; align-items: center; gap: .4rem;
}
.atg-card__link i { transition: transform .2s ease; }
.atg-card:hover .atg-card__link i { transform: translateX(4px); }
.atg-card__meta { font-size: .8rem; color: var(--atg-muted); margin-bottom: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.atg-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Feature (icon) cards - no image */
.atg-feat {
  background: var(--atg-paper);
  border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.atg-feat:hover { transform: translateY(-4px); box-shadow: var(--atg-shadow-sm); }
.atg-feat__ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--atg-cream-2); color: var(--atg-gold-d);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  margin-bottom: 16px;
}
.atg-feat h3 { font-size: 1.35rem; margin-bottom: 8px; }
.atg-feat p { font-size: .93rem; color: var(--atg-ink-2); margin: 0; }

/* ---- Ranges (accent bar cards) ----------------------------------------- */
.atg-range {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: var(--atg-paper); border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius); overflow: hidden; margin-bottom: 22px;
}
.atg-range__media { position: relative; min-height: 220px; }
.atg-range__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atg-range__body { padding: 28px 30px; border-top: 4px solid var(--atg-gold); }
.atg-range--pine .atg-range__body { border-top-color: var(--atg-pine); }
.atg-range--terra .atg-range__body { border-top-color: var(--atg-terra); }
.atg-range__body h3 { font-size: 1.9rem; }
.atg-range__body .atg-range__kick { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--atg-muted); font-weight: 600; }
.atg-range__body p { font-size: .96rem; color: var(--atg-ink-2); margin: 10px 0 14px; }
.atg-range__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.atg-chip { font-size: .78rem; background: var(--atg-cream-2); border-radius: 30px; padding: 5px 13px; color: var(--atg-ink-2); }
.atg-chip i { color: var(--atg-gold-d); margin-right: 5px; }

/* ---- Peaks table -------------------------------------------------------- */
.atg-peaks { width: 100%; border-collapse: collapse; background: var(--atg-paper); border: 1px solid var(--atg-line); border-radius: var(--atg-radius); overflow: hidden; }
.atg-peaks caption { text-align: left; font-size: .82rem; color: var(--atg-muted); padding: 0 0 12px; }
.atg-peaks th, .atg-peaks td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--atg-line); font-size: .95rem; }
.atg-peaks thead th { background: var(--atg-cream-2); font-family: var(--atg-sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--atg-ink-2); }
.atg-peaks tbody tr:last-child td { border-bottom: 0; }
.atg-peaks tbody tr:hover { background: var(--atg-cream); }
.atg-peaks td b { font-family: var(--atg-serif); font-size: 1.15rem; }
.atg-peaks .atg-peaks__h { color: var(--atg-gold-d); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Timeline / seasons ------------------------------------------------- */
.atg-seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atg-season {
  background: var(--atg-paper); border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius); padding: 22px 20px; position: relative; overflow: hidden;
}
.atg-season::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.atg-season--spring::before { background: linear-gradient(90deg, #7cba6d, #c8972b); }
.atg-season--summer::before { background: linear-gradient(90deg, #e0a326, #b1552b); }
.atg-season--autumn::before { background: linear-gradient(90deg, #c47a2b, #8a4a24); }
.atg-season--winter::before { background: linear-gradient(90deg, #6fa7c9, #3a6b8a); }
.atg-season__ico { font-size: 1.4rem; margin-bottom: 8px; }
.atg-season--spring .atg-season__ico { color: #5a9a4c; }
.atg-season--summer .atg-season__ico { color: #d68a1e; }
.atg-season--autumn .atg-season__ico { color: #b06428; }
.atg-season--winter .atg-season__ico { color: #3a6b8a; }
.atg-season h3 { font-size: 1.4rem; }
.atg-season__months { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--atg-muted); margin: 2px 0 10px; }
.atg-season__temp { font-family: var(--atg-serif); font-size: 1.25rem; color: var(--atg-ink); margin-bottom: 8px; }
.atg-season p { font-size: .88rem; color: var(--atg-ink-2); margin: 0; }

/* ---- Callout / expert note --------------------------------------------- */
.atg-note {
  background: var(--atg-cream-2);
  border-left: 4px solid var(--atg-gold);
  border-radius: 0 var(--atg-radius-sm) var(--atg-radius-sm) 0;
  padding: 22px 26px; margin: 26px 0;
}
.atg-note h4 { font-family: var(--atg-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--atg-gold-d); margin-bottom: 8px; font-weight: 700; }
.atg-note p { margin: 0; color: var(--atg-ink-2); font-size: .96rem; }

/* Tip list */
.atg-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.atg-tip { display: flex; gap: 16px; background: var(--atg-paper); border: 1px solid var(--atg-line); border-radius: var(--atg-radius-sm); padding: 20px; }
.atg-tip__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--atg-cream-2); color: var(--atg-gold-d); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.atg-tip h4 { font-family: var(--atg-serif); font-size: 1.3rem; margin-bottom: 4px; }
.atg-tip p { font-size: .9rem; color: var(--atg-ink-2); margin: 0; }

/* ---- FAQ (native details) ---------------------------------------------- */
.atg-faq { border-top: 1px solid var(--atg-line); }
.atg-faq details { border-bottom: 1px solid var(--atg-line); }
.atg-faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 4px; position: relative;
  font-family: var(--atg-serif); font-size: 1.35rem; color: var(--atg-ink);
  transition: color .2s ease;
}
.atg-faq summary::-webkit-details-marker { display: none; }
.atg-faq summary::after {
  content: "\002B"; position: absolute; right: 8px; top: 20px;
  font-family: var(--atg-sans); font-size: 1.6rem; color: var(--atg-gold-d);
  transition: transform .25s ease; line-height: 1;
}
.atg-faq details[open] summary::after { transform: rotate(45deg); }
.atg-faq summary:hover { color: var(--atg-gold-d); }
.atg-faq__a { padding: 0 44px 24px 4px; color: var(--atg-ink-2); font-size: .98rem; }
.atg-faq__a p { margin: 0 0 .8rem; }
.atg-faq__a p:last-child { margin-bottom: 0; }

/* ---- Related guides ----------------------------------------------------- */
.atg-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.atg-rel {
  display: block; background: var(--atg-paper); border: 1px solid var(--atg-line);
  border-radius: var(--atg-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.atg-rel:hover { transform: translateY(-4px); box-shadow: var(--atg-shadow); }
.atg-rel__media { aspect-ratio: 16/10; overflow: hidden; }
.atg-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atg-rel:hover .atg-rel__media img { transform: scale(1.06); }
.atg-rel__body { padding: 16px 18px 20px; }
.atg-rel__kick { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--atg-gold-d); font-weight: 600; }
.atg-rel__body h3 { font-size: 1.25rem; margin: 6px 0 0; color: var(--atg-ink); }

/* ---- CTA band ----------------------------------------------------------- */
.atg-cta {
  position: relative; color: #fff; text-align: center;
  padding: 80px 24px; margin-top: 20px; overflow: hidden;
  background: #221c15;
}
.atg-cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(180deg, rgba(20,16,11,.72), rgba(20,16,11,.82)),
                    url('/assets/img/atlas-mountains.webp');
  background-size: cover; background-position: center;
}
.atg-cta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.atg-cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.atg-cta p { color: #e6ddd0; font-size: 1.1rem; margin: 1rem 0 1.8rem; font-weight: 300; }
.atg-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ------------------------------------------------------------- */
.atg-footer { background: #1a1510; color: #cbbfae; padding: 60px 24px 30px; }
.atg-footer__grid { max-width: var(--atg-maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.atg-footer h3 { color: #fff; font-family: var(--atg-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.atg-footer ul { list-style: none; margin: 0; padding: 0; }
.atg-footer li { margin-bottom: 9px; }
.atg-footer a { color: #cbbfae; font-size: .92rem; }
.atg-footer a:hover { color: var(--atg-gold); }
.atg-footer p { font-size: .92rem; margin: 0 0 .5rem; }
.atg-footer__social { display: flex; gap: 12px; margin-top: 14px; }
.atg-footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.atg-footer__social a:hover { background: var(--atg-gold); color: #241a08; }
.atg-footer__bottom { max-width: var(--atg-maxw); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: #9c9184; text-align: center; }
.atg-footer__bottom a { color: #9c9184; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .atg-shell { grid-template-columns: 1fr; gap: 0; }
  .atg-toc {
    position: static; top: auto; padding: 18px 0 4px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--atg-line); margin-bottom: 8px;
  }
  .atg-toc ol { display: flex; gap: 4px; }
  .atg-toc li { flex: 0 0 auto; }
  .atg-toc a { white-space: nowrap; border-left: 0; border-bottom: 2px solid var(--atg-line); padding: 6px 14px 8px 26px; }
  .atg-toc a::before { left: 6px; top: 6px; }
  .atg-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .atg { font-size: 16px; }
  .atg-hero { min-height: 88vh; }
  .atg-hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .atg-hstat:nth-child(3) { border-left: 0; }
  .atg-split, .atg-grid--2, .atg-grid--3, .atg-seasons { grid-template-columns: 1fr; }
  .atg-split--reverse .atg-split__media { order: 0; }
  .atg-range { grid-template-columns: 1fr; }
  .atg-range__media { min-height: 200px; }
  .atg-related { grid-template-columns: 1fr; }
  .atg-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .atg-peaks { display: block; overflow-x: auto; white-space: nowrap; }
}
