/* Localized GUGA Articles editorial system. */
body[data-page="articles"] {
  --article-anchor-offset: 124px;
  --article-space-2xs: 8px;
  --article-space-xs: 12px;
  --article-space-sm: 16px;
  --article-space-md: 20px;
  --article-space-lg: 24px;
  --article-space-xl: 32px;
  --article-space-2xl: 40px;
  --article-space-3xl: 48px;
  --article-space-4xl: 64px;
  background: var(--paper);
}
html { scroll-behavior: smooth; }

.articles-home-entry {
  position: relative;
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1.28fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: end;
  overflow: hidden;
  background: var(--wine-dark);
  color: var(--cream);
}
.articles-home-entry::before {
  position: absolute;
  top: -1.3em;
  inset-inline-end: -.08em;
  color: rgba(238, 231, 215, .045);
  content: "Aa";
  font-family: var(--serif);
  font-size: clamp(13rem, 30vw, 34rem);
  line-height: 1;
  pointer-events: none;
}
.articles-home-entry > * { position: relative; z-index: 1; }
.articles-home-entry .section-index { align-self: start; color: var(--taupe); }
.articles-home-entry-copy { max-width: 820px; }
.articles-home-entry h2 {
  max-width: 760px;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .94;
  text-wrap: balance;
}
.articles-home-entry-copy > p { max-width: 660px; margin: 0 0 30px; color: rgba(238, 231, 215, .7); }
.articles-home-entry .button-light { min-width: min(100%, 245px); }

.articles-hero {
  position: relative;
  max-width: none;
  padding-top: 104px;
  padding-bottom: var(--article-space-xl);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.articles-hero > :not(.articles-hero-words) { position: relative; z-index: 1; }
.articles-hero-words {
  position: absolute;
  z-index: 0;
  inset-inline-end: -4vw;
  bottom: clamp(-34px, -2.5vw, -18px);
  inset-inline-start: -3vw;
  overflow: hidden;
  pointer-events: none;
}
.articles-hero-words span::before {
  display: block;
  color: rgba(68, 7, 9, .026);
  content: attr(data-word);
  font-family: var(--serif);
  font-size: clamp(6rem, 11vw, 10rem);
  letter-spacing: -.03em;
  line-height: .8;
  text-align: end;
  white-space: nowrap;
}
.articles-hero .breadcrumb { margin-bottom: 28px; }
.articles-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .72fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.articles-hero-copy { max-width: 920px; }
.articles-hero h1 {
  max-width: 960px;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5.7vw, 5rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .98;
  text-wrap: balance;
}
.articles-hero-intro {
  max-width: 65ch;
  margin: var(--article-space-md) 0 0;
  padding: var(--article-space-sm) 0 0;
  border-top: 1px solid var(--line);
  color: #685c56;
  font-size: 1rem;
  line-height: 1.7;
}
.articles-hero-visual {
  position: relative;
  width: calc(100% + 5.3vw + 32px);
  height: clamp(300px, 30vw, 430px);
  margin-block: -12px calc(-1 * var(--article-space-xl));
  margin-inline: 0 calc(-5.3vw - 32px);
  overflow: hidden;
  background: var(--paper);
}
.articles-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(.78) contrast(.96);
}
.articles-hero-visual figcaption {
  position: absolute;
  inset-inline-end: var(--article-space-xs);
  bottom: var(--article-space-xs);
  padding: 7px 9px;
  background: rgba(41, 4, 5, .88);
  font-size: .62rem;
  line-height: 1.2;
}
.articles-hero-visual figcaption a { color: var(--cream); }
.articles-hero-visual figcaption a:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.article-search-section {
  position: relative;
  max-width: none;
  padding-top: var(--article-space-2xl);
  padding-bottom: var(--article-space-4xl);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.article-search-section > :not(.article-theme-word-field) { position: relative; z-index: 1; }
.article-theme-word-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  overflow: hidden;
  padding-block: clamp(180px, 18vw, 300px);
  pointer-events: none;
}
.article-theme-word-field span { position: relative; display: block; height: 1px; }
.article-theme-word-field span::before {
  position: absolute;
  top: 50%;
  color: rgba(68, 7, 9, .022);
  content: attr(data-word);
  font-family: var(--serif);
  font-size: clamp(6rem, 11vw, 10rem);
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.article-theme-word-field span:first-child::before { inset-inline-start: -3vw; transform: translateY(-50%); }
.article-theme-word-field span:last-child::before { inset-inline-end: -4vw; transform: translateY(-50%); }
.article-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: var(--article-space-md);
  border-bottom: 1px solid var(--line);
}
.article-search-field { display: grid; gap: 10px; }
.article-search-field label { color: var(--burgundy); font-size: .72rem; font-weight: 600; }
.article-search-control { position: relative; display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--burgundy); }
.article-search-control input {
  width: 100%;
  min-height: 62px;
  padding-block: 0;
  padding-inline: 0 18px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.article-search-control input::placeholder { color: #76675f; opacity: 1; }
.article-search-control input:focus-visible { box-shadow: 0 3px 0 var(--burgundy); }
.article-search-clear {
  min-width: 92px;
  min-height: 52px;
  align-self: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
}
.article-search-clear[hidden] { display: none; }
.article-result-count { min-width: 145px; margin: 0 0 14px; color: var(--muted); font-size: .72rem; text-align: end; }
.article-category-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: var(--article-space-sm); }
.article-category-list button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}
.article-category-list button:hover,
.article-category-list button[aria-pressed="true"] { border-color: var(--burgundy); background: var(--burgundy); color: var(--cream); }

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--article-space-xl) clamp(18px, 2.3vw, 34px);
  padding-top: 28px;
}
.article-list-item {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 0 var(--article-space-md);
  border-bottom: 1px solid var(--line);
}
.article-list-item[hidden] { display: none; }
.article-list-media {
  position: relative;
  display: block;
  height: clamp(225px, 16vw, 230px);
  overflow: hidden;
  border: 1px solid rgba(68, 7, 9, .08);
  background: var(--cream);
}
.article-list-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .6s ease-out; }
.article-list-item:hover .article-list-media img { transform: scale(1.025); }
.article-featured-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  inset-inline-end: 14px;
  padding: 8px 11px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.article-list-copy { display: flex; min-height: 0; flex: 1; flex-direction: column; align-items: flex-start; padding-top: var(--article-space-sm); }
.article-list-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; color: var(--burgundy); font-size: .7rem; font-weight: 600; }
.article-list-copy h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.65rem, 2.2vw, 2.15rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.article-list-copy > p { max-width: 52ch; margin-bottom: 14px; color: var(--muted); line-height: 1.65; }
.article-tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.article-tag-list span { padding: 6px 9px; border: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
.article-list-copy .text-link { margin-top: auto; }
.article-list :is(a, button):focus-visible,
.article-toc :is(a, summary):focus-visible,
.article-discover :is(a, button, input):focus-visible,
.article-final-cta a:focus-visible,
.article-inline-cta a:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.article-final-cta a:focus-visible { outline-color: var(--cream); }
.article-list-empty { padding: var(--article-space-3xl) 0 var(--article-space-xs); text-align: center; }
.article-list-empty h2 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 400; }
.article-list-empty p { max-width: 560px; margin: 0 auto; color: var(--muted); }

.article-page-hero { position: relative; max-width: none; padding-top: 126px; padding-bottom: 64px; overflow: hidden; background: var(--cream); isolation: isolate; }
.article-page-hero > :not(.article-hero-motif) { position: relative; z-index: 1; }
.article-hero-motif {
  position: absolute;
  z-index: 0;
  top: 82px;
  inset-inline-end: clamp(18px, 4.8vw, 76px);
  width: clamp(270px, 27vw, 430px);
  height: calc(100% - 102px);
  pointer-events: none;
}
.article-hero-shadow {
  position: absolute;
  top: 4%;
  inset-inline-end: 3%;
  display: block;
  width: 72%;
  height: 92%;
  object-fit: cover;
  filter: contrast(.82) saturate(.62);
  mask-image: radial-gradient(ellipse 72% 70% at 58% 48%, #000 0 42%, rgba(0, 0, 0, .7) 60%, transparent 100%);
  opacity: .055;
}
.article-hero-symbol {
  position: absolute;
  top: -8%;
  inset-inline-end: -6%;
  display: block;
  width: 92%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(8%) sepia(44%) saturate(2539%) hue-rotate(337deg) brightness(84%) contrast(111%);
  opacity: .065;
}
.article-page-hero .breadcrumb { margin-bottom: 42px; }
.article-page-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .45fr); gap: clamp(40px, 8vw, 124px); align-items: end; }
.article-page-heading h1 { max-width: 980px; margin: 20px 0 0; font-family: var(--serif); font-size: clamp(3.15rem, 4.75vw, 4.25rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
.article-page-summary { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.article-page-summary > p { margin-bottom: 28px; color: #685c56; line-height: 1.75; }
.article-byline { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
.article-byline strong { color: var(--burgundy); }
.article-page-hero > .article-tag-list { margin: 32px 0 0; }
.article-feature { position: relative; max-width: none; margin: 0; padding: 0 clamp(18px, 5.3vw, 84px) 42px; background: var(--cream); }
.article-feature img {
  display: block;
  width: min(100%, 1080px);
  height: clamp(280px, 31vw, 440px);
  margin: 0 auto;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(.84);
}
.article-feature figcaption { display: flex; max-width: 1080px; align-items: center; justify-content: space-between; gap: 10px 24px; margin: 11px auto 0; color: var(--muted); font-size: .58rem; }
.article-feature figcaption a { color: var(--burgundy); text-decoration: underline; text-decoration-color: rgba(68, 7, 9, .28); text-underline-offset: 3px; }
.article-feature figcaption a:hover { text-decoration-color: var(--burgundy); }

.article-reading { position: relative; isolation: isolate; overflow: clip; }
.article-reading-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 780px);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto;
}
.article-margin-rail { display: none; }

@media (min-width: 1121px) {
  .article-margin-rail {
    position: absolute;
    z-index: 0;
    top: 650px;
    bottom: 520px;
    inset-inline-start: max(18px, calc(50% - 560px));
    display: grid;
    width: 260px;
    grid-template-rows: repeat(9, minmax(190px, 1fr));
    align-items: center;
    justify-items: center;
    pointer-events: none;
  }
  .article-margin-rail::before {
    position: absolute;
    z-index: 0;
    top: 86px;
    bottom: 86px;
    inset-inline-start: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(68, 7, 9, .15) 8%, rgba(68, 7, 9, .15) 92%, transparent);
    content: "";
  }
  .article-margin-photo {
    position: absolute;
    z-index: 0;
    top: 42%;
    inset-inline-start: 20px;
    display: block;
    width: 220px;
    height: 460px;
    object-fit: cover;
    filter: contrast(.8) saturate(.58);
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
    opacity: .07;
  }
  .article-margin-milestone {
    position: relative;
    z-index: 1;
    display: grid;
    width: 168px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(68, 7, 9, .09);
    border-radius: 50%;
    background: rgba(250, 247, 240, .8);
    box-shadow: 0 18px 60px rgba(68, 7, 9, .025);
  }
  .article-margin-milestone > img {
    display: block;
    width: 76%;
    height: 76%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(8%) sepia(44%) saturate(2539%) hue-rotate(337deg) brightness(84%) contrast(111%);
    opacity: .14;
  }
  .article-margin-brand > img {
    width: 58%;
    height: 58%;
    filter: grayscale(1) contrast(.9);
    mix-blend-mode: multiply;
    opacity: .16;
  }
}
.article-toc { position: sticky; top: calc(var(--article-anchor-offset) - 28px); }
.article-toc details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-toc summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; padding-inline: 0 28px; color: var(--burgundy); cursor: pointer; font-size: .7rem; font-weight: 600; list-style: none; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after { margin-inline-start: auto; content: "+"; }
.article-toc details[open] summary::after { content: "−"; }
.article-toc ol { display: grid; gap: 3px; padding: 4px 0 22px; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: grid; min-height: 40px; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; padding: 5px 7px; border-inline-start: 2px solid transparent; color: #675a54; font-size: .82rem; line-height: 1.55; transition: border-color .2s, background-color .2s, color .2s; }
.article-toc a::before { color: var(--taupe); content: counter(toc, decimal-leading-zero); }
.article-toc a:hover { background: rgba(68, 7, 9, .045); color: var(--burgundy); }
.article-toc a.is-active,
.article-toc a[aria-current="location"] { border-inline-start-color: var(--burgundy); background: rgba(68, 7, 9, .06); color: var(--burgundy); font-weight: 600; }

.article-prose { min-width: 0; font-size: 1.125rem; line-height: 1.74; }
.article-prose > p:first-child { font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2.25rem); line-height: 1.35; }
.article-prose p { max-width: 70ch; margin: 0 0 24px; text-wrap: pretty; }
.article-prose :is(section[id], h2[id], h3[id]) { scroll-margin-top: var(--article-anchor-offset); }
.article-prose h2 { margin: 74px 0 24px; font-family: var(--serif); font-size: clamp(2.125rem, 3.5vw, 3rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.article-prose h3 { margin: 42px 0 14px; color: var(--burgundy); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 400; line-height: 1.22; text-wrap: balance; }
.article-prose strong { font-weight: 600; }
.article-prose ul { display: grid; gap: 10px; max-width: 68ch; margin: 8px 0 30px; padding-inline-start: 26px; list-style: disc; }
.article-prose li { padding-inline-start: 5px; }
.article-prose a:not(.button) { color: var(--burgundy); text-decoration: underline; text-decoration-color: rgba(68, 7, 9, .35); text-underline-offset: 4px; }
.article-prose a:not(.button):hover { text-decoration-color: var(--burgundy); }
.article-opening-link { margin-top: 34px !important; font-size: .82rem; font-weight: 600; }
.article-inline-cta { margin: 52px 0; padding: clamp(28px, 4.5vw, 46px); border: 1px solid rgba(68, 7, 9, .2); border-inline-start: 4px solid var(--burgundy); background: #f5eee3; color: var(--ink); }
.article-inline-cta .section-index { color: var(--burgundy); }
.article-inline-cta h3 { margin: 20px 0 14px; color: var(--burgundy); font-size: clamp(1.8rem, 3vw, 2.65rem); }
.article-inline-cta p:not(.section-index) { color: #675a54; }
.article-mid-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px; }
.article-inline-cta .button { border-color: var(--burgundy); background: var(--burgundy); color: var(--cream); text-decoration: none; }
.article-inline-cta .text-link { min-height: 48px; border-color: rgba(68, 7, 9, .35); color: var(--burgundy); text-decoration: none; }

.article-table-wrap,
.article-table-scroll {
  max-width: 100%;
  margin: 34px 0 42px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #f8f4eb;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--taupe) transparent;
}
.article-prose table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .76rem; line-height: 1.5; }
.article-prose caption { padding: 18px 20px; color: var(--burgundy); font-size: .68rem; font-weight: 600; text-align: start; }
.article-prose :is(th, td) { min-width: 130px; padding: 15px 17px; border-top: 1px solid var(--line); border-inline-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.article-prose :is(th, td):last-child { border-inline-end: 0; }
.article-prose thead th { background: rgba(68, 7, 9, .055); color: var(--burgundy); font-weight: 600; }
.article-prose tbody th { color: var(--ink); font-weight: 600; }
.article-prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, .38); }

.article-callout,
.article-fact-box,
.article-budget-calculator,
.article-route-map,
.article-checklist,
.article-timeline {
  margin: 34px 0 42px;
  padding: clamp(24px, 4vw, 38px);
  border-inline-start: 3px solid var(--burgundy);
  background: var(--cream);
}
.article-verification-note { border: 1px solid rgba(68, 7, 9, .2); border-inline-start: 4px solid var(--burgundy); background: #f5eee3; }
.article-prose :is(.article-callout, .article-fact-box, .article-budget-calculator, .article-route-map, .article-checklist, .article-timeline) :is(h3, h4) { margin-top: 0; }
.article-prose :is(.article-callout, .article-fact-box, .article-budget-calculator, .article-route-map, .article-checklist, .article-timeline) :is(ul, ol) { margin-bottom: 0; }
.article-route-map ol,
.article-timeline ol { display: grid; gap: 0; padding-inline-start: 0; list-style: none; counter-reset: route; }
.article-route-map li,
.article-timeline li { position: relative; padding-block: 15px; padding-inline: 48px 0; border-bottom: 1px solid var(--line); counter-increment: route; }
.article-route-map li::before,
.article-timeline li::before { position: absolute; top: 14px; inset-inline-start: 0; color: var(--burgundy); content: counter(route, decimal-leading-zero); font-family: var(--serif); font-size: 1.2rem; }
.article-scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 42px; }
.article-scenario-grid article { padding: 22px; border: 1px solid var(--line); background: var(--cream); }
.article-scenario-grid h4 { margin: 0 0 12px; color: var(--burgundy); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.article-scenario-grid article p { margin: 0; font-size: .86rem; line-height: 1.65; }

.article-prose .article-final-cta { margin: 52px 0 0; padding: clamp(28px, 5vw, 48px); }
.article-prose .article-final-cta h2 { margin: 20px 0 16px; color: var(--cream); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; }
.article-prose .article-final-cta > p:not(.section-index) { color: rgba(238, 231, 215, .72); }

.article-detailed-guides { margin-top: 76px; padding-top: 42px; border-top: 1px solid var(--line); }
.article-detailed-guides > h2 { margin-top: 20px; }
.article-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.article-guide-card,
.article-related-card { display: grid; overflow: hidden; border: 1px solid var(--line); background: var(--cream); color: var(--ink) !important; text-decoration: none !important; }
.article-guide-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.8); }
.article-guide-card-copy { display: grid; gap: 9px; padding: 18px; }
.article-guide-card-meta { color: var(--burgundy); font-size: .68rem; font-weight: 600; }
.article-guide-card strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.15; }
.article-guide-card i { color: var(--burgundy); font-size: .68rem; font-style: normal; font-weight: 600; }

.article-side-note { grid-column: 2; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; line-height: 1.6; }
.article-side-note strong { display: block; margin-bottom: 8px; color: var(--burgundy); }
.article-side-note p { margin: 0; }

.article-discover { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 42px); max-width: none; background: var(--cream); }
.article-discover-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-discover-heading .section-index { margin-bottom: 8px; }
.article-discover h2 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4.3rem); font-weight: 400; letter-spacing: -.03em; line-height: .98; text-wrap: balance; }
.article-discover-actions { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 6vw, 86px); align-items: start; padding-top: 4px; }
.article-related-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.article-related-card { min-width: 0; grid-template-rows: auto 1fr; }
.article-related-card img { display: block; width: 100%; height: clamp(138px, 11vw, 168px); object-fit: cover; object-position: center; filter: saturate(.82); }
.article-related-card .article-guide-card-copy { align-content: start; min-height: 152px; padding: 18px; }
.article-related-card .article-guide-card-meta { font-size: .68rem; }
.article-related-card strong { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; line-height: 1.18; }
.article-related-card i { align-self: end; color: var(--burgundy); font-size: .68rem; font-style: normal; font-weight: 600; }
.article-compact-search { display: grid; gap: 9px; }
.article-compact-search label { color: var(--burgundy); font-size: .68rem; font-weight: 600; }
.article-compact-search div { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--burgundy); }
.article-compact-search input { min-width: 0; min-height: 54px; padding-block: 0; padding-inline: 0 14px; border: 0; background: transparent; color: var(--ink); outline: 0; }
.article-compact-search button { min-width: 54px; border: 0; background: var(--burgundy); color: var(--cream); cursor: pointer; }
.article-related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.article-related-links a { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--burgundy); font-size: .7rem; font-weight: 600; }

.article-final-cta { max-width: none; background: var(--burgundy); color: var(--cream); }
.article-final-cta-copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr); gap: 7vw; align-items: end; }
.article-final-cta h2 { margin: 24px 0 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.3rem); font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.article-final-cta .section-index { color: var(--taupe); }
.article-final-cta-side p { margin-bottom: 28px; color: rgba(238, 231, 215, .7); }
.article-final-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.article-final-actions .text-link { border-color: var(--taupe); color: var(--cream); }

@media (min-width: 1280px) {
  html[lang="uk"] body[data-page="articles"] .site-header {
    grid-template-columns: 145px minmax(0, 1fr) auto;
    column-gap: 14px;
    padding-inline: 24px;
  }

  html[lang="uk"] body[data-page="articles"] .desktop-nav {
    min-width: 0;
    align-items: center;
    gap: 13px;
  }

  html[lang="uk"] body[data-page="articles"] .desktop-nav a {
    flex: 0 0 auto;
    font-size: .7rem;
    white-space: nowrap;
  }

  html[lang="uk"] body[data-page="articles"] .header-actions { gap: 10px; }
  html[lang="uk"] body[data-page="articles"] .language-switch select { width: 108px; }
  html[lang="uk"] body[data-page="articles"] .header-actions .button-small {
    gap: 10px;
    padding-left: 13px;
  }
}

@media (max-width: 1120px) {
  .article-margin-rail { display: none; }
  .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-list-media { height: 215px; }
  .article-reading-shell { grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .articles-hero-layout { grid-template-columns: 1fr; gap: var(--article-space-lg); }
  .articles-hero-copy { max-width: 780px; }
  .articles-hero-visual {
    width: calc(100% + 5.3vw);
    height: clamp(250px, 42vw, 340px);
    margin-block: 0 calc(-1 * var(--article-space-xl));
    margin-inline: 0 -5.3vw;
  }
  .articles-hero-visual img { object-position: center 34%; }
}

@media (max-width: 820px) {
  body[data-page="articles"] { --article-anchor-offset: 96px; }
  .articles-home-entry,
  .article-page-heading,
  .article-discover,
  .article-final-cta-copy { grid-template-columns: 1fr; }
  .articles-home-entry { gap: 34px; align-items: start; }
  .articles-home-entry .section-index { margin-bottom: 8px; }
  .articles-hero { padding-top: 84px; padding-bottom: var(--article-space-lg); }
  .articles-hero .breadcrumb { margin-bottom: var(--article-space-md); }
  .articles-hero-intro { margin-top: var(--article-space-sm); padding: var(--article-space-xs) 0 0; }
  .articles-hero-visual { margin-bottom: calc(-1 * var(--article-space-lg)); }
  .articles-hero-words span::before { color: rgba(68, 7, 9, .018); }
  .article-page-summary { padding: 22px 0 0; border-top: 1px solid var(--line); border-inline-start: 0; }
  .article-search-section { padding-top: 28px; padding-bottom: var(--article-space-2xl); }
  .article-search-shell { padding-bottom: var(--article-space-sm); }
  .article-category-list { margin-top: var(--article-space-xs); }
  .article-list { padding-top: var(--article-space-lg); }
  .article-list-item { padding-bottom: var(--article-space-sm); }
  .article-list-copy { padding-top: 14px; }
  .article-list-meta { margin-bottom: var(--article-space-2xs); }
  .article-tag-list { margin-bottom: 14px; }
  .article-list-empty { padding-top: var(--article-space-xl); }
  .article-theme-word-field { opacity: .72; }
  .article-hero-motif { top: 70px; inset-inline-end: -86px; width: 280px; height: 330px; }
  .article-hero-shadow { width: 68%; opacity: .04; }
  .article-hero-symbol { opacity: .065; }
  .article-search-shell { grid-template-columns: 1fr; gap: 8px; }
  .article-result-count { margin: 0; text-align: start; }
  .article-reading-shell { grid-template-columns: 1fr; gap: 36px; }
  .article-toc { position: static; }
  .article-toc details:not([open]) ol { display: none; }
  .article-side-note { grid-column: 1; }
  .article-discover-heading { align-items: start; flex-direction: column; }
  .article-related-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-discover-actions { grid-template-columns: 1fr; }
  .article-related-links { grid-template-columns: 1fr; }
  .article-final-cta-side { max-width: 620px; }
}

@media (max-width: 760px) {
  .articles-hero-visual { width: calc(100% + 22px); margin-inline-end: -22px; }
}

@media (max-width: 680px) {
  .article-list { grid-template-columns: 1fr; gap: var(--article-space-lg); }
  .article-list-media { height: clamp(210px, 58vw, 230px); }
  .article-theme-word-field span:first-child::before { inset-inline-start: -28vw; }
  .article-theme-word-field span:last-child::before { inset-inline-end: -30vw; }
}

@media (max-width: 520px) {
  .articles-home-entry h2 { font-size: clamp(2.55rem, 12vw, 3.5rem); }
  .articles-hero h1,
  .article-page-heading h1 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); line-height: 1.04; overflow-wrap: break-word; word-break: normal; }
  .article-search-control { grid-template-columns: 1fr; }
  .article-search-clear { justify-self: start; min-height: 44px; padding-inline-start: 0; }
  .article-category-list { flex-wrap: nowrap; margin-inline-end: -18px; padding-inline-end: 18px; overflow-x: auto; scrollbar-width: none; }
  .article-category-list::-webkit-scrollbar { display: none; }
  .article-category-list button { flex: 0 0 auto; }
  .article-feature { padding-inline: 0; }
  .article-feature img { width: 100%; height: min(58vw, 300px); }
  .article-feature figcaption { align-items: flex-start; flex-direction: column; padding-inline: 18px; }
  .article-prose { font-size: 1.125rem; line-height: 1.7; }
  .article-prose h2 { margin-top: 58px; }
  .article-inline-cta { margin-inline: -18px; }
  .article-mid-actions { align-items: stretch; flex-direction: column; }
  .article-mid-actions :is(.button, .text-link) { width: 100%; }
  .article-guide-grid,
  .article-related-card-grid,
  .article-scenario-grid { grid-template-columns: 1fr; }
  .article-related-card img { height: clamp(152px, 45vw, 184px); }
  .article-related-card .article-guide-card-copy { min-height: 0; }
  .article-prose table { min-width: 680px; }
  .article-final-actions { flex-direction: column; }
  .article-final-actions .button,
  .article-final-actions .text-link { width: 100%; }
}

@media (max-width: 420px) {
  .articles-hero-visual { width: calc(100% + 18px); margin-inline-end: -18px; }
}

body[data-page="articles"] :is(.breadcrumb, .section-index, .kicker b) { letter-spacing: .08em; }
body[data-page="articles"] .breadcrumb { font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-list-media img,
  .article-category-list button { transition: none; }
  .article-list-item:hover .article-list-media img { transform: none; }
}
