/* ============================================================
   Le Journal Alpin — main stylesheet
   Fonts: Inter / Trocchi (self-hosted, Fontsource)
   Colors: ink #000 / cream #F4F1E9 / white / olive #515339 / navy #232937
           red #E1000F / blue #000091 / orange #FFC363 / ice #C8EBFF / ph #F5F5F5
   ============================================================ */

/* ---- Self-hosted fonts (Fontsource) ---- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter Variable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Trocchi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/trocchi-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Trocchi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/trocchi-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --ink: #000000;
  --cream: #F4F2ED;
  --white: #FFFFFF;
  --olive: #515339;
  --navy: #232937;
  --red: #E1000F;
  --blue: #000091;
  --orange: #FFC363;
  --ice: #C8EBFF;
  --ph: #F5F5F5;
  --grey: #333;
  --font-serif: "Trocchi", Georgia, serif;
  --font-head: "Trocchi", Georgia, serif;
  --font-sans: "Inter Variable", "Inter", "Segoe UI", sans-serif;
  --width-main: 1360px;
  --width-page: 1020px;
  --z-dropdown: 110;
  --z-sticky: 100;
  --z-modal: 200;
  --z-gallery: 400;
  --z-search: 500;
  --z-cookie: 600;
  --width-legal: 740px;
  --width-olympic: 1540px;
  --header-h: 50px;
  --logo-h: 15px;
  --page-top-gap: 80px;
  --w-body-font-size: 18px;
  --w-body-line-height: 26px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }


body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-sans);
}

/* Links inside headings inherit the heading font (not the sans anchor style). */
h1 a, h2 a, h3 a, .card-title a, .article-title a, .article-excerpt a {
  font-family: inherit;
}

/* Base typography (Figma type scale) */
h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 56px;
  line-height: 62px;
  letter-spacing: 0;
}
h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 0;
}
h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
}

ul { list-style: none; }

input[type="checkbox"] { accent-color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--width-main);
  margin: 0 auto;
  padding: 0 0;
}
.container--legal { max-width: var(--width-legal); }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; font-family: var(--font-sans); font-size: 12px;
}
.skip-link:focus { top: 8px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-nav { white-space: nowrap; flex: 1; min-width: 0; display: flex; align-items: center; }

/* ---------- filter button + selected tags ---------- */
.filter-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; color: var(--ink);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; padding: 0;
}
.filter-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.filter-funnel { width: 15.3px; height: 13.6px; display: block; }
.filter-chevron { width: 8px; height: 5px; display: block; margin-top: 2px; }

.filter-tags { display: inline-flex; align-items: center; gap: 8px; }
.filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); height: 24px; padding: 0 8px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; color: var(--ink);
}
.filter-tag-label:hover { text-decoration: underline; text-underline-offset: 3px; }
.filter-tag-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 10px; height: 10px; color: var(--ink);
}
.filter-tag-remove svg { width: 6px; height: 6px; display: block; }
.filter-tag-remove:hover { opacity: 0.55; }
.filter-tag--clear { text-decoration: none; cursor: pointer; }
.filter-tag--clear:hover { text-decoration: underline; text-underline-offset: 3px; }

.brand {
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.brand img.logo-img { display: block; height: var(--logo-h); width: auto; }
.brand:hover img.logo-img { opacity: 0.85; }

.filter-tags-wrap { display: flex; align-items: center; }
.header-about {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink); text-decoration: none;
  margin-left: auto;
  display: inline-flex; align-items: center;
}
.about-icon { display: none; }
.header-about:hover { text-decoration: underline; text-underline-offset: 3px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
}
.lang-switch .flag { display: inline-block; width: 21px; height: 14px; }
.lang-switch .flag svg { width: 100%; height: 100%; display: block; }
.lang-switch:hover { text-decoration: underline; }
.icon-btn {
  background: none; border: none; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px;
}
.icon-btn svg { width: 17px; height: 17px; display: block; }
.icon-btn:hover { color: var(--olive); }

/* ---------- filter modal ---------- */
.filter-modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: none;
}
.filter-modal.is-open { display: block; }
.filter-modal-scrim {
  position: absolute; inset: 0; background: transparent;
}
.filter-modal-inner {
  position: absolute; top: var(--header-h); left: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  width: 100%; max-width: 100%;
  background: var(--white);
  border: 1px solid var(--ink);

}
.filter-col { display: flex; flex-direction: column; min-width: 0; }
.filter-col--countries { border-right: 1px solid var(--ink); }
.filter-col--categories { border-right: 1px solid var(--ink); }
.filter-row {
  display: flex; align-items: center; gap: 8px;
  min-height: 37px; padding: 0 20px;
  border-bottom: 0px solid var(--ink);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; color: var(--ink);
  text-decoration: none;
}
.filter-row:last-child { border-bottom: 0; }
.filter-row:hover { background: var(--cream); padding-left:25px; transition:0.3s all; }
.filter-row.is-selected { background: var(--cream); }
.filter-row.is-disabled {
  color: var(--grey);
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.45;
}
.filter-row.is-disabled .filter-row-marker { background: currentColor; }
.filter-row.is-disabled:hover { background: transparent; padding-left: 20px; }
.filter-row-marker { flex: none; width: 6px; height: 6px; }
.filter-row--country .filter-row-marker { background: var(--ink); }
.filter-row--category .filter-row-marker { background: var(--ink); border-radius: 0%; }
.filter-row--subcat .filter-row-marker { background: var(--ink); border-radius: 50%; }
.filter-row-marker--ghost { background: transparent; border: 1px solid var(--ink); border-radius: 50%; }
.filter-row--placeholder {
  pointer-events: none;
  cursor: default;
}
.filter-row--placeholder:hover { background: transparent; padding-left: 20px; }
.filter-row-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-row-count { font-weight: 500; }
.filter-modal-close-row {
  grid-column: 1 / -1;
  display: flex; justify-content: center;
  border-top: 1px solid var(--ink);
}
.filter-modal-close {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; color: var(--ink);
  text-decoration: none; padding: 14px 20px;
}


/* ---------- shared buttons / chips ---------- */

.chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 11px; letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  line-height: 1.4;
}
.chip--cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  cursor: pointer; background: none; color: var(--ink);
  transition: all 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }

/* ---------- hero / featured grid ---------- */

.hero {
  background: var(--white);
  padding: 50px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  align-items: start;
}

/* ---------- article card ---------- */

.card { display: flex; flex-direction: column; gap: 12px; }

.card-media {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  aspect-ratio: var(--card-ratio, 4 / 3);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.card-media .chip { position: absolute; top: 12px; left: 12px; z-index: 2; }

.card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card-kicker {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.88px;
  text-transform: uppercase; line-height: 1.3;
}
.card-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 20px; line-height: 24px; letter-spacing: -0.6px; padding-right:10px;
}
.card-title a:hover { color: var(--ink); }
.card-meta {
  font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.88px;
  text-transform: uppercase; color: var(--ink); opacity: 0.75;
}
.card-meta--time {
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.4px; opacity: 1;
}

/* ---------- section ---------- */

.section { padding:0; margin-top:50px;}
.section--white { background: var(--white); }
.section-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 46px; line-height: 52px; letter-spacing: -0.92px; font-style: italic;
  margin-bottom: 20px;
}
.similar-section .section-title { font-style: normal; }

/* ---------- home latest-articles grid ---------- */

.home { width: 100%; padding: 0 20px; box-sizing: border-box; }

/* Page heading: full-width with 100px top / 40px bottom, mountain drawing right. */
.home-head {
  position: relative;
  width: 100%;
  padding: var(--page-top-gap) 0 40px;
}
.home-head-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 56px; line-height: 62px;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
  max-width: calc(100% - 240px);
}
.home-head-drawing {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 240px; height: auto;
  max-width: 100%;
  display: block;
}

/* 4 articles per row; 20px columns, 160px between rows. No dividers. */
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 15px;
  row-gap: 160px;
  align-items: start;
  margin: 0;
}
.home-grid > .card,
.home-grid > .home-slot { margin: 0; min-width: 0; }
.home-grid > .card--home .card-media { min-width: 0; }

/* First article on the homepage: exact Figma spec — 8px orange top border,
   rendered as an overlay so it does NOT shrink the image content box
   (keeps every card media at the same 455/300 aspect ratio). */
.home-grid > .card--home:first-child .card-media {
  position: relative;
}
.home-grid > .card--home:first-child .card-media::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--orange);
  z-index: 1;
}

/* Home slot: image shown at its original dimensions/ratio (not cropped). */
.home-slot { align-self: start; }
.home-slot .widget-block {
  width: 100%; max-width: 100%;
  margin: 0 auto;
}
.home-slot .widget-block img {
  width: auto; height: auto; max-width: 100%; display: block; margin: 0 auto;
}

/* Card title (h2 on home): Trocchi 32/38. */
.card--home { gap: 10px; }
.card--home .card-body { gap: 10px; }
.card-title--home {
  font-family: var(--font-head); font-weight: 400;
  font-size: 32px; line-height: 38px; letter-spacing: 0;
}

/* Destination + category links (Inter 500/13/16). */
.card-kickers {
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
}
.card-kicker {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.card-kicker--link {
  text-decoration: none;
}

/* Home pagination: bordered Previous / Next buttons. */
.home-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 15px;
  padding: 140px 0;
}
.pagination-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; min-width: 110px;
  border: 1px solid var(--ink);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px;
  letter-spacing: 0; color: var(--ink);
  text-decoration: none;
  background: var(--white);
}
.pagination-btn:hover { background: var(--ink); color: var(--white); }
.pagination-btn.is-disabled {
  opacity: 0.35; pointer-events: none;
}

/* ---------- advertising ---------- */

.widget-block { margin: 0 auto; text-align: center; }
.widget-block img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.promo {margin-top:50px;}
.space {height:40px;}
.promo-box {
  width: 100%; max-width: 978px; margin: 0 auto;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.88px;
  text-transform: uppercase; color: rgba(0,0,0,0.45);
}

.newsletter-msg { margin-top: 10px; font-size: 13px; line-height:1.2; }
.newsletter-msg.ok { color: var(--olive); }
.newsletter-msg.err { color: var(--red); }
.newsletter-spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin .6s linear infinite;
  vertical-align: middle; margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- instagram ---------- */

.instagram {
  background: var(--cream);
  padding: 100px 0 100px;
}
.instagram-head { margin-bottom: 80px; text-align:center;}
.instagram-follow {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 36px; line-height: 40px; letter-spacing: -1.08px;
}
.instagram-handle {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 36px; line-height: 40px; letter-spacing: -1.08px;
}
.instagram-handle:hover { color: var(--ink); }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.instagram-grid a {
  position: relative; display: block; background: var(--cream);
  aspect-ratio: 286 / 418; overflow: hidden;
}
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- pinterest ---------- */

.pinterest {
  background: var(--cream);
  padding: 100px 0 100px;
}
.pinterest-head { margin-bottom: 80px; text-align:center;}
.pinterest-follow {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 36px; line-height: 40px; letter-spacing: -1.08px;
}
.pinterest-handle {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 36px; line-height: 40px; letter-spacing: -1.08px;
}
.pinterest-handle:hover { color: var(--ink); }
.pinterest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.pinterest-grid a {
  position: relative; display: block; background: var(--cream);
  aspect-ratio: 286 / 418; overflow: hidden;
}
.pinterest-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */

.site-footer {
  background: none;
  color: var(--ink);
  padding: 0px 0 0;
}
.footer-inner {
  width: 100%;
  border-top: 1px solid var(--ink);
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 60px 40px;
}
.footer-col {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 3px;
}
.footer-brand { display: inline-flex; }
.footer-brand img {
  width: 300px; height: 80px; display: block;
}
.footer-brand:hover img { opacity: 0.85; }
.footer-script {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 6px;
}
.footer-newsletter form {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch;
}
.footer-newsletter input[type="email"] {
  flex: 1; min-width: 0;
  background: transparent; border: 1px solid var(--ink);
  color: var(--ink); padding: 8px 10px;
  font-family: var(--font-sans); font-size: 13px;
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(0, 0, 0, 0.5); }
.footer-newsletter button {
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink); padding: 8px 14px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
}
.footer-newsletter button:hover { background: transparent; color: var(--ink); }
.footer-newsletter button.is-loading { opacity: 0.7; }
.footer-newsletter-consent {
  display: flex; gap: 8px; align-items: flex-start;
  font-family: var(--font-sans); font-size: 12px; line-height: 16px;
  color: rgba(0, 0, 0, 0.75); cursor: pointer;
  margin-top: 8px; width: 100%;
}
.footer-newsletter-consent input { margin-top: 2px; width: 14px; height: 14px; }
.footer-newsletter-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-label {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink);
  margin: 0;
}
.footer-link {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink); text-decoration: none;
}
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.newsletter-msg--footer { margin-top: 8px; font-size: 12px; line-height: 16px; }


/* ---------- article page ---------- */

.article-page { padding: 50px 0 40px; }
.article-page:has(.article-hero) { padding-top: var(--page-top-gap); }

.article-hero {
  padding: 0 20px;
  margin-bottom: 40px;
}
.article-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 56px; line-height: 62px; letter-spacing: 0;
  margin-bottom: 44px;
  width: 80%;
}
.article-hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: stretch;
}
.article-hero-info {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
  border-left: 4px solid var(--ink);
}
.article-meta {
  display: flex; flex-direction: column; gap: 5px;
  padding-left: 30px; padding-top:30px;
}
.article-meta-sponsored {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
}
.article-meta-row {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
}
.article-meta-loc {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 12px;
}
.article-meta-loc > .article-meta-row + .article-meta-row::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: middle;
}
.article-meta-loc a.article-meta-row {
  color: var(--ink);
  text-decoration: none;
}
.article-meta-loc a.article-meta-row:hover {
  color: var(--ink);
  text-decoration: none;
}
.article-meta-loc .article-meta-row {
  white-space: nowrap;
}
.article-meta-icon { display: inline-flex; align-items: center; gap: 8px; }
.article-meta-svg { flex: none; width: 13px; height: auto; }

/* ---------- article share button / dropdown ---------- */
.article-share { position: relative; }
.article-share-toggle {
  font-family: inherit; font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink); background: none; border: none;
  padding: 0; margin: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.article-share-toggle:hover { color: var(--olive); }
.article-share-dropdown {
  position: absolute; left: 0; top: calc(100% + 8px);
  z-index: var(--z-dropdown);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease;
}
.article-share.is-open .article-share-dropdown,
.article-share-dropdown.is-open { opacity: 1; pointer-events: auto; }
.article-share-dropdown a {
  display: block;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; line-height: 16px; letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
}
.article-share-dropdown a:hover { background: var(--cream); color: var(--ink); }
.article-excerpt {
  font-family: var(--font-head); font-weight: 400;
  font-size: 32px; line-height: 38px; letter-spacing: 0;
  padding-left: 30px; padding-bottom:30px;
  color: var(--ink);
  margin: 0;
}
.article-hero-media { position: relative; }
.article-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ph);
}
/* ---------- About page (mirrors the article hero) ---------- */
.article-page.article-page--about { padding-top: var(--page-top-gap); }
.article-page--about .article-about-info { justify-content: space-between; border-left: 4px solid var(--ink); height: 100%; }
.article-page--about .article-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas:
    "title title"
    "info  media";
  column-gap: 80px;
  align-items: stretch;
}
.article-page--about .article-title { grid-area: title; }
.article-page--about .article-hero-grid { grid-area: info; display: block; }
.article-page--about .article-about-media { grid-area: media; position: relative; }
.article-page--article .article-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas:
    "title title"
    "info  media";
  column-gap: 80px;
  align-items: stretch;
}
.article-page--article .article-title { grid-area: title; }
.article-page--article .article-hero-grid { grid-area: info; display: block; }
.article-page--article .article-hero-media { grid-area: media; }
.article-page--article .article-hero-info { margin: 0; height: 100%; }
.article-page--article .article-meta { order: 1; }
.article-page--article .article-excerpt { order: 2; }
.article-about-text { display: flex; flex-direction: column; gap: 18px; padding-left:30px; padding-top:30px; }
.article-about-lead {
  font-family: var(--font-head); font-weight: 400;
  font-size: 32px; line-height: 38px; letter-spacing: 0;
  color: var(--ink); margin: 0;
}
.article-about-body {
  font-family: var(--font-sans); font-size: 18px; line-height: 26px;
  color: var(--ink); margin: 0;
}
.article-about-meta { display: flex; flex-direction: column; gap: 15px; padding-left: 30px; padding-bottom: 30px; }

.cover-counter {
  position: absolute; bottom: 15px; left: 15px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 16px;
  padding: 5px 12px;
}
.cover-counter-icon { display: inline-flex; align-items: center; line-height: 0; margin-top: -2px; }

.article-body { max-width: 100%; }

/* ---- article widgets (13 Figma widget types) ---- */

.article-body { padding-top: 80px; padding-bottom: 80px; }
.widget { margin-bottom: 100px; }
.widget:last-child { margin-bottom: 0; }
.w-text ul, .w-text ol, .w-body ul, .w-body ol,
.widget--map-text ul, .widget--text-center ul, .widget--quote ul,
.widget--image-text ul, .widget--fixed ul, .widget--table-text ul,
.widget--text-text ul {
  padding-left: 1.4em; margin: 0.6em 0;
}
.w-text ul, .w-body ul,
.widget--map-text ul, .widget--text-center ul, .widget--quote ul,
.widget--image-text ul, .widget--fixed ul, .widget--table-text ul,
.widget--text-text ul {
  list-style: disc;
}
.w-text ol, .w-body ol,
.widget--map-text ol, .widget--text-center ol, .widget--quote ol,
.widget--image-text ol, .widget--fixed ol, .widget--table-text ol,
.widget--text-text ol {
  list-style: decimal;
}
.w-text li, .w-body li,
.widget--map-text li, .widget--text-center li, .widget--quote li,
.widget--image-text li, .widget--fixed li, .widget--table-text li,
.widget--text-text li {
  margin-bottom: 0.3em;
}
.w-text a, .w-body a, .widget--map-text a, .widget--text-center a,
.widget--image-text a, .widget--fixed a, .widget--table-text a,
.widget--text-text a {
  text-decoration: underline; text-underline-offset: 2px;
}

.w-caption {
  margin-top: 10px;
  font-family: var(--font-sans); font-weight: 500; color:var(--grey);
  font-size: 13px; line-height: 18px; letter-spacing: 0px;
}

/* 1. map text */
.widget--map-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 160px;
  align-items: start;
}
.widget--map-text .w-map { display: flex; align-items: flex-start; justify-content: center; }
.widget--map-text .w-map img { display: block; max-width: 100%; height: auto; }
.widget--map-text .w-text { padding-top: 0; font-size: 18px; line-height: 26px; }
.widget--map-text .w-text.has-title { padding-top: 94px; }
.widget--map-text .w-title { margin-bottom: 16px; }

/* 1b. slot text */
.widget--slot-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 160px;
  align-items: start;
}
.widget--slot-text .w-slot { display: flex; align-items: flex-start; justify-content: center; }
.widget--slot-text .w-slot .widget-block { margin: 0; }
.widget--slot-text .w-slot .widget-block img {
  max-width: none; width: auto; height: auto;
  display: block;
}
.widget--slot-text .w-text { padding-top: 0; font-size: 18px; line-height: 26px; }
.widget--slot-text .w-text.has-title { padding-top: 94px; }
.widget--slot-text .w-title { margin-bottom: 16px; }
.widget--slot-text.is-empty { grid-template-columns: 1fr; gap: 0; }
.widget--slot-text.is-empty .w-text.has-title { padding-top: 0; }

/* 2. 2 images (equal tall columns) */
.widget--two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
  align-items: start;
}
.widget--two .w-fig img { display: block; width: 100%; aspect-ratio: 610 / 800; object-fit: cover; background: var(--ph); }
.widget--two .w-caption { margin-top: 5px; }

/* 4. text center */
.widget--text-center {
  background: var(--white);
  padding: 0px max(40px, 25%);
  text-align: left;
}
.widget--text-center .w-title {
  font-family: var(--font-serif); font-weight: 400; letter-spacing:-0.5px;
  font-size: 32px; line-height: 38px;
}
.widget--text-center .w-text { margin-top: 20px; font-size: 18px; line-height: 26px; }
.widget--text-center .w-text ul,
.widget--text-center .w-text ol { padding-left: 1.2em; }

/* shared w-title for content widgets */
.w-title {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.5px;
  font-size: 32px; line-height: 38px;
  margin: 0 0 16px;
}
.w-title + .w-text,
.w-title + .w-body { margin-top: 0; }
.w-title--linked a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.w-title--linked a:hover { opacity: 0.7; }

/* 5. 3 images */
.widget--three {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
  align-items: start;
}
.widget--three .w-fig img { width: 100%; aspect-ratio: 360 / 520; object-fit: cover; display: block; background: var(--ph); }
.widget--three .w-fig:nth-child(2) { margin-top: 0px; }
.widget--three .w-fig:nth-child(3) { margin-top: 0px; }

/* 6. quote */
.widget--quote { padding: 0 max(40px, 8%); text-align: center; }
.widget--quote blockquote {
  font-family: var(--font-head); font-weight: 400;
  font-size: 46px; line-height: 52px; letter-spacing: -0.92px; font-style: italic;
}
.widget--quote .w-author { margin-top: 20px; font-size: 16px; line-height: 24px; }

/* 6b. big title */
.widget--big-title { padding: 0 max(40px, 8%); text-align: center; }
.w-big-title-text {
  font-family: var(--font-head); font-weight: 400;
  font-size: 46px; line-height: 52px; letter-spacing: -0.92px;
}

/* 7. 1 image */
.widget--one { position: relative; padding:0 80px; }
.widget--one .w-img { width: 100%; background: var(--ph); }
.widget--one .w-img img { display: block; width: 100%; height: auto; aspect-ratio: 1160 / 700; object-fit: cover; }
.widget--one .w-caption { max-width: 70%; }

/* 8. text text */
.widget--text-text {
  font-size: 18px; line-height: 26px;
}
.widget--text-text .w-text-cols {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px;
}

/* 9. video */
.widget--video { position: relative; }
.widget--video .w-video {
  position: relative; width: 100%; aspect-ratio: 1160 / 660;
  background: var(--navy); overflow: hidden;
}
.widget--video .w-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.widget--video .w-video video.w-video-local { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.w-play-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.48px; text-transform: uppercase;
  padding: 11px 17px;
}
.w-play-pill svg { width: 12px; height: 12px; }
.widget--video .w-caption { max-width: 50%; }

/* 10. image text */
.widget--image-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.widget--image-text .w-img img { width: 100%; aspect-ratio: 540 / 380; object-fit: cover; display: block; background: var(--ph); }
.widget--image-text .w-body { padding: 0; font-size: var(--w-body-font-size); line-height: var(--w-body-line-height); }
.widget--image-text .w-body.has-title { padding: 40px 0 0 0; }

/* 11. advertising */
.widget--promo .w-promo { width: 100%; margin: 0 auto; }
.widget--promo .promo-box { width: 100%; aspect-ratio: 978 / 257; margin: 0 auto; }

/* 12. image text fixed */
.widget--fixed {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.widget--fixed .w-imgs { display: flex; flex-direction: column; gap: 40px; }
.widget--fixed .w-imgs img { width: 100%; object-fit: cover; display: block; background: var(--ph); }
.widget--fixed .w-imgs .w-fig:nth-child(1) img { aspect-ratio: 540 / 680; }
.widget--fixed .w-imgs .w-fig:nth-child(2) img { aspect-ratio: 540 / 680; }
.widget--fixed .w-imgs .w-fig:nth-child(3) img { aspect-ratio: 540 / 340; }
.widget--fixed .w-imgs .w-fig:nth-child(4) img { aspect-ratio: 540 / 680; }
.widget--fixed .w-body {
  padding: 0;
  position: sticky; top: 40px;
  font-size: var(--w-body-font-size); line-height: var(--w-body-line-height);
}
.widget--fixed .w-body.has-title { padding: 40px 0 0 0; }

/* 13. table text */
.widget--table-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.w-table { width: 80%; border-collapse: collapse; }
.w-table tr { padding: 5px 10px; height: auto; }
.w-table tr + tr { border-top: 1px solid var(--ink); }
.w-table tr:first-child { border-top: 1px solid var(--ink); }

.video-consent {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--cream); overflow: hidden; cursor: pointer;
}
.video-consent-thumb { width: 100%; height: 100%; object-fit: cover; }
.video-consent-thumb--placeholder { background: var(--cream); }
.video-consent-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,1); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0px;
  padding: 10px 20px; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}

.w-table tr:last-child { border-bottom: 1px solid var(--ink); }
.w-table th, .w-table td { padding: 5px 10px; }
.w-table th {
  text-align: left;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0px; text-transform: capitalize;
}
.w-table td {
  text-align: right;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0px; text-transform: capitalize;
}
.w-table td a { text-decoration: underline; text-underline-offset: 2px; }
.w-table td a:hover { opacity: 0.7; }
.widget--table-text .w-body { font-size: var(--w-body-font-size); line-height: var(--w-body-line-height); }

.similar-section { padding: 120px 0; border-top:1px solid var(--ink); margin-top:100px;}

/* Similar articles: same row layout as the homepage latest-articles grid.
   Full width, 4 columns, 20px gaps, no dividers. */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 15px;
  align-items: start;
  padding: 0 20px;
  box-sizing: border-box;
}
.similar-grid > .card { margin: 0; }
.similar-section .container { margin-bottom: 40px; padding: 0 20px; max-width: 100%; }

/* ---------- fullscreen gallery modal ---------- */

.gallery-modal {
  position: fixed; inset: 0; z-index: var(--z-gallery);
  background: rgba(0,0,0,0.96);
  display: none;
}
.gallery-modal.is-open { display: flex; }
.gallery-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 0;
}
.gallery-stage img { width: auto; max-height: 75vh; object-fit: contain; }
.gallery-modal .counter {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  color: var(--white); font-family: var(--font-sans); font-size: 13px;
  letter-spacing: 1px;
}
.gallery-modal .caption {
  position: absolute; bottom: 20px; left: 0; right: 0;
  padding: 12px 20px env(safe-area-inset-bottom, 12px);
  color: rgba(255,255,255,0.8); font-size: 13px;
  max-width: 70vw; margin: 0 auto;
  line-height: 18px; text-align: center;
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 1;
  background: none; color: rgba(255,255,255,0.7); border: none;
  font-size: 34px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: auto; height: auto; padding: 8px 0px;
}
.gallery-btn:hover { color: var(--white); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-close {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  background: none; border: none; color: var(--white); font-size: 26px; font-weight: 100; cursor: pointer;
}

/* clickable article images */
.art-img-btn, .cover-btn {
  display: block; background: none; border: none; padding: 0; cursor: zoom-in; width: 100%; text-align: left;
  position: relative;
}
.art-img-btn img, .cover-btn img { display: block; width: 100%; height: auto; }

/* ---------- search ---------- */

.search-page { background: var(--white); min-height: 60vh; padding: 0 0 80px; }
.search-form { display: flex; gap: 12px; max-width: 640px; margin: 0 0 40px; }
.search-form input[type="search"] {
  flex: 1; font-family: var(--font-serif); font-size: 20px;
  padding: 14px 18px; border: 1px solid var(--ink); background: var(--white);
  min-width: 0;
}
.search-form button.btn {
  flex: 0 0 auto;
}
.search-form input[type="search"]:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.search-form input[type="search"]::placeholder { color: var(--ink); opacity: 1; }

/* ---------- search overlay ---------- */
.search-overlay {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  z-index: var(--z-search);
  background: var(--white);
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}
.search-overlay[aria-hidden="false"] { display: block; }
.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
}
.search-overlay-icon {
  flex: 0 0 20px;
  width: 20px; height: 20px;
}
.search-overlay-input {
  flex: 1;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 23px; line-height: 28px;
  letter-spacing: -0.35px;
  color: #232B37;
  border: none; outline: none;
  background: transparent;
}
.search-overlay-input::placeholder { color: var(--ink); opacity: 1; }

.search-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }

/* ---------- inner pages ---------- */

.page-inner {
  max-width: var(--width-main); margin: 0 auto;
  padding: 80px 40px;
}
.page-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.page-inner-grid--center {
  grid-template-columns: 1fr;
  justify-items: center;
}
.page-inner-img img {
  width: 100%; height: auto;
  display: block; object-fit: cover;
}
.page-inner-content {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 30px;
  padding:20px 0;
}
.page-inner-content .page-inner-title {
  align-self: flex-start;
  width: 100%;
}
.page-inner-content .page-inner-body {
  align-self: flex-start;
  text-align: left;
  width: 100%;
}
.page-inner-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 56px; line-height: 62px; letter-spacing: 0;
  margin: 0;
}
.page-inner-body {
  font-family: var(--font-sans); font-size: 18px; line-height: 26px;
}
.page-inner-body p { margin: 0; }
.page-inner-body ul { list-style: disc; padding-left: 24px; margin: 0 0 1em; }
.page-inner-body ol { list-style: decimal; padding-left: 24px; margin: 0 0 1em; }
.page-inner-body li { margin-bottom: 0.3em; }
.page-inner-body a { text-decoration: underline; }
.page-inner-body a:hover { color: var(--ink); }
.page-inner-cta { align-self: flex-start; }
.page-newsletter-block { border-top: 0px solid var(--ink); }
.page-newsletter-block h2 { font-family: var(--font-head); font-size: 28px; margin: 0 0 12px; }
.page-newsletter-block > p { margin: 0 0 20px; }
.page-newsletter-block .newsletter-form { margin-left: 0; }

/* newsletter form in 2-col layout */
.newsletter-form {
  display: flex; flex-wrap: wrap; gap: 0; width: 100%;
  justify-content: center; max-width: 560px; margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 15px;
  border: 1px solid var(--ink); background: var(--white);
  font-family: var(--font-serif); font-size: 20px;
  outline: none;
}
.newsletter-form button {
  border: 1px solid var(--ink); border-left: none;
  padding: 14px 25px; cursor: pointer;
  font-family: var(--font-serif); font-size: 20px;
  background: var(--white); color: var(--ink);
}
.newsletter-form button:hover { background: var(--ink); color: var(--white); }
.newsletter-consent {
  display: flex; gap: 10px; align-items: center; margin-top: 10px;
  font-family: var(--font-sans); font-weight: 400; font-size: 14px;
  letter-spacing: 0px; cursor: pointer;
}
/* legacy page-block (legal pages) */
.page-block { background: var(--white); padding: 60px 0 60px; }
.page-block .container { padding: 0; }
.page-block h1 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 46px; line-height: 52px; letter-spacing: 0;
  margin-bottom: 24px;
}

.legal-body { font-size: 18px; line-height: 26px; }
.legal-body h2 { font-family: var(--font-head); font-weight: 400; font-size: 24px; line-height: 30px; margin: 50px 0 10px; letter-spacing: 0; }
.legal-body h3 { font-family: var(--font-sans); font-weight: 400; font-size: 18px; line-height: 26px; margin: 24px 0 10px; }
.legal-body p { margin-bottom:10px; }
.legal-body ul { list-style: disc; padding-left: 24px; margin: 0 0 1em; }
.legal-body ol { list-style: decimal; padding-left: 24px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 0.3em; }
.legal-body a { text-decoration: underline; }

/* ---------- 404 ---------- */

.not-found { background: var(--white); text-align: center; padding: 120px 24px; min-height: 60vh; }
.not-found .code { font-family: var(--font-serif); font-size: 120px; line-height: 1; }
.not-found h1 { font-family: var(--font-head); font-size: 46px; margin: 8px 0 16px; }
.not-found p { margin-bottom: 24px; }

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
  .container { padding: 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .article-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-hero-info { justify-content: flex-start; }
  .widget--map-text,
  .widget--slot-text,
  .widget--two,
  .widget--text-text .w-text-cols,
  .widget--image-text,
  .widget--fixed { grid-template-columns: 1fr; gap: 30px; }
  /* Table + Text on mobile: text/title first, then the table. */
  .widget--table-text { display: flex; flex-direction: column; gap: 30px; }
  .widget--table-text .w-body { order: 1; }
  .widget--table-text .w-table { order: 2; }
  .widget--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .widget--three .w-fig:nth-child(3) { grid-column: 1 / -1; }
  .widget--map-text .w-text { padding-top: 0px; }
  .widget--map-text .w-text.has-title { padding-top: 0px; }
  .widget--slot-text .w-text { padding-top: 0px; }
  .widget--slot-text .w-text.has-title { padding-top: 0px; }
  /* Show the whole slot image on screen: scale to container width, keep ratio. */
  .widget--slot-text .w-slot .widget-block img {
    max-width: 100%; width: auto; height: auto;
  }
  .widget--three .w-fig:nth-child(2), .widget--three .w-fig:nth-child(3) { margin-top: 0; }
  .widget--three .w-fig:nth-child(2), .widget--three .w-fig:nth-child(3) { margin-top: 0; }
  .widget--fixed .w-body { position: static; padding: 0; }
  .widget--fixed .w-body.has-title { padding: 0; }
  .widget--text-center { padding: 0px 40px; }
  .widget--quote { padding: 0; }
  .widget--one { position: relative; padding:0; }
  .widget--one .w-caption { max-width: 100%; }
  .header-nav ul { gap: 15px; }
  .header-nav a { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col--newsletter { grid-column: 1 / -1; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 18px; line-height: 24px; }
  html { overflow-x: clip; }
  .container { padding: 0 20px; }

  /* --- header: slim single version on mobile --- */
  .header-inner { height: 50px; padding: 0 20px; gap: 5px; }
  .site-header .brand { position: static; order: 1; transform: none; margin-right: auto; }
  .site-header .brand img.logo-img { height: var(--logo-h); }
  .site-header .filter-toggle { order: 3; padding: 4px; justify-content: center; }
  .site-header .filter-label { display: none; }
  .site-header .filter-chevron { display: none; }
  .site-header .filter-funnel { width: 19px; height: 17px; transform: translateY(1px); }
  .filter-tags-wrap { display: none; }
  .filter-modal-inner { width: 100%; }
  .filter-row { padding: 0 14px; }
  .filter-row-marker { display: none; }
  .site-header .header-about { order: 6; margin-left: 0; padding: 4px; }
  .about-icon { display: block; width: 20px; height: 20px; }
  .about-label { display: none; }
  .site-header .lang-switch { order: 2; }
  .site-header [data-map-toggle] { order: 4; }
  .site-header [data-search-toggle] { order: 5; }
  .lang-switch .flag { display: none; }
  .lang-switch { font-size: 13px; gap: 4px; }

  /* search overlay: full width on mobile */
  .search-overlay-form { padding: 16px; }
  .search-overlay-input { font-size: 18px; }

  /* --- section spacing: 20px on mobile --- */
  .section { padding:0; margin-top:20px; margin-bottom:0;}
  .promo { margin-top: 20px; }

  /* --- grids collapse --- */
  .search-results { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .pinterest-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { margin-top: 10px; }

  /* --- home latest grid → 2 columns on mobile --- */
  .home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 60px;
    margin: 0;
  }
  .home-grid > .card,
  .home-grid > .home-slot { padding: 0; border-left: 0; margin: 0; min-width: 0; }
  .home-slot { grid-column: 1 / -1; }
  .home-slot .widget-block { width: 100%; max-width: 100%; aspect-ratio: auto; overflow: visible; }
  .home-slot .widget-block img { height: auto; object-fit: contain; }
  .card-kickers { gap: 8px; }
  .card-title--home { font-size: 24px; line-height: 30px; }

  /* --- home heading on mobile --- */
  .home-head { padding: 30px 0 30px; }
  .home-head-title {
    font-size: 34px; line-height: 40px;
    max-width: 100%;
  }
  .home-head-drawing { display: none; }


  /* --- home pagination on mobile --- */
  .home-pagination { padding: 60px 0; gap: 10px; }

  /* --- footer: vertical, left-aligned --- */
  .site-footer { padding: 40px 0 0px; }
  .footer-inner { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
  .footer-col--newsletter { grid-column: 1 / -1; }
  .footer-brand img { width: 240px; height: 64px; }

  /* --- inner pages: 20px below header --- */
  .page-inner { padding: 20px 20px 40px; }
  .page-inner-grid { grid-template-columns: 1fr; gap: 0px; }
  .page-inner-title { font-size: 32px; line-height: 38px; }

  /* --- legal pages: same padding --- */
  .page-block .container { padding: 0 20px; }
  .legal-body { padding: 0; }

  /* --- article mobile --- */
  .article-hero-grid { grid-template-columns: 1fr; gap: 15px; }
  .article-hero-info { justify-content: flex-start; gap: 24px; }
  .article-meta { padding-left: 30px; }
  .article-hero-media img { aspect-ratio: 1/1.1; }
  .article-title { font-size: 36px; line-height: 42px; margin-bottom: 20px; width:100%; }
  .article-excerpt { font-size: 24px; line-height: 30px; }
  .article-body { padding-top: 20px; padding-bottom: 0px; }
  .widget { margin-bottom: 40px;}
  .article-about-lead {font-size: 24px; line-height: 30px;}

  /* article page mobile: image on top (rectangular), title, excerpt, meta, no left border/padding */
  .article-page--article .article-hero { display: flex; flex-direction: column; gap: 0; }
  .article-page--article .article-hero-media { margin-bottom: 30px; }
  .article-page--article .article-hero-media img { aspect-ratio: 3/2; }
  .article-page--article .article-title { margin-bottom: 30px; }
  .article-page--article .article-hero-grid { display: block; }
  .article-page--article .article-hero-info { border-left: 0; gap: 15px; }
  .article-page--article .article-excerpt { order: 1; padding-left: 0; }
  .article-page--article .article-meta { order: 2; padding-left: 0; padding-top: 0; }
  .article-page--article .w-table { width: 100%; }

  /* about page mobile: image on top, no left border/padding on info column */
  .article-page--about .article-hero { display: flex; flex-direction: column; gap: 0; }
  .article-page--about .article-about-media { margin-bottom: 30px; }
  .article-page--about .article-title { margin-bottom: 0; }
  .article-page--about .article-hero-grid { display: block; }
  .article-page--about .article-about-info { border-left: 0; }
  .article-page--about .article-about-text { padding-left: 0; padding-top: 30px; }
  .article-page--about .article-about-meta { padding-left: 0; }
  .article-page--about { padding-bottom: 20px; }

  /* centered text widget: full width on mobile */
  .widget--text-center { padding: 20px 0px; }

  /* image column widget on mobile: no gap above the text column */
  .widget--fixed { gap: 0; }

  /* 3 images widget on mobile: same 20px gap as the 720px breakpoint */
  .widget--three { gap: 20px; }

  /* similar articles: same 2-column grid as the homepage on mobile */
  .similar-section { padding: 0px 0 20px; border-top:1px solid var(--ink) }
  .similar-section .container { padding-left: 20px; padding-right: 20px; margin-bottom: 24px; }
  .similar-section .section-title { padding-left: 0; padding-top:10px; }
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 60px;
    padding: 0 20px;
  }

  /* --- 720px fallbacks --- */
  .section-title { font-size: 34px; line-height: 40px; }
  .newsletter-form input[type="email"] { min-width: 0; font-size: 16px; }
  .newsletter-form button { white-space: nowrap; font-size: 16px; }

  /* --- search page mobile: form inside container --- */
  .search-form { width: 100%; max-width: 100%; gap: 8px; margin: 20px 0 30px; }
  .search-form input[type="search"] { font-size: 16px; padding: 12px 14px; min-width: 0; flex: 1; }
  .search-form button.btn { flex: 0 0 auto; padding: 12px 18px; font-size: 14px; white-space: nowrap; }

  /* --- gallery modal mobile --- */
  .gallery-modal { overflow: hidden; }
  .gallery-stage img { max-height: 65vh; transition: opacity 0.2s ease; }
  .gallery-modal .counter {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    color: var(--white); font-family: var(--font-sans); font-size: 14px;
    letter-spacing: 1px; z-index: 2;
  }
  .gallery-close {
    position: absolute; top: 12px; right: 15px; z-index: 2;
    background: none; border: none; color: var(--white);
    font-family: var(--font-sans);
    font-size: 28px; font-weight: 300; cursor: pointer;
    width: auto; height: auto; padding: 0;
  }
  .gallery-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 1;
    background: none; color: rgba(255,255,255,0.7); border: none;
    font-size: 34px; cursor: pointer;
    font-family: var(--font-sans);font-weight: 300;
    display: flex; align-items: center; justify-content: center;
    width: auto; height: auto; padding: 8px 16px;
  }
  .gallery-btn:hover { color: var(--white); }
  .gallery-prev { left: 0px; }
  .gallery-next { right: 0px; }
  .gallery-modal .caption { padding-bottom: env(safe-area-inset-bottom, 12px); max-width: 85vw; }
  /* tap zones for mobile navigation */
  .gallery-tap-left, .gallery-tap-right {
    position: absolute; top: 0; bottom: 0; width: 50%; z-index: 0;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .gallery-tap-left { left: 0; }
  .gallery-tap-right { right: 0; }

  .instagram {padding: 40px 0 40px;}
  .instagram-head { margin-bottom: 40px; text-align:left;}
  .hero {padding: 20px 0 0;}

  .article-page { padding: 50px 0 40px; }
  .article-page:has(.article-hero) { padding-top: 10px; }
  .article-page.article-page--about { padding-top: 20px; }
  .article-page.article-page--article { padding-top: 20px !important; }
  .space {height:20px;}
  .widget--quote blockquote {
    font-family: var(--font-head); font-weight: 400;
    font-size: 26px; line-height: 34px; letter-spacing: -0.92px; font-style: italic;
  }
  .widget--big-title { padding: 0 20px; }
  .w-big-title-text { font-size: 26px; line-height: 34px; letter-spacing: -0.92px; }
}

/* ---- cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 400px;
  max-width: calc(100vw - 40px);
  z-index: var(--z-cookie);
  background: var(--cream);
  padding: 24px 24px;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cookie-banner-text {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
.cookie-banner-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
.cookie-banner-link:hover { text-decoration: none; }
.cookie-banner-btns {
  display: flex;
  gap: 8px;
}
.cookie-banner-btns .btn {
  flex: 1;
  justify-content: center;
}
.cookie-btn--decline {
  background: none;
  color: var(--ink);
}
.cookie-btn--decline:hover {
  background: none;
  border-color: var(--ink);
  color: var(--ink);
}
.cookie-btn--accept {
  background: var(--ink);
  color: var(--white);
}
.cookie-btn--accept:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
@media (max-width: 480px) {
  .cookie-banner { padding: 20px; }
  .cookie-banner-btns {
    flex-direction: column;
  }
}

/* ---------- page transition: dissolve ---------- */
/* JS-driven fade when navigating between pages (see main.js). The old page
   fades out via .lj-page-out, then the new page fades in via .lj-page-in.
   .lj-page-preload is set in the <head> before first paint so the incoming
   page starts invisible (avoids a flash before the fade-in). */
.lj-page-out {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lj-page-preload {
  opacity: 0;
}
.lj-page-in {
  animation: lj-fade-in 0.45s ease both;
}
@keyframes lj-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lj-page-out, .lj-page-in {
    animation: none;
    transition: none;
  }
}
