/* Jus Euroregionale – site styles (redesign, Oct 2026).
   Colours, logo and fonts are the ones from the original Webflow site. */

:root {
  --red: #e30812;
  --red-overlay: rgba(231, 36, 45, .82);
  --wine: #901448;
  --ink: #3b3b3b;
  --muted: #5a5a5a;
  --line: #afafaf;
  --pale: #f0f6f8;
  --slate: #899ca2;
  --white: #ffffff;
  --serif: Bitter, Georgia, serif;
  --sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 73px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: .18em; transition: color .2s ease; }
a:hover { color: var(--wine); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 1000px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band--pale { background: var(--pale); }
.band--red { background: var(--red); color: var(--white); }
.measure { max-width: 66ch; }
.muted { color: var(--muted); font-size: 15px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.2; }
.section-title--small { font-size: 32px; }

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

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover { background: var(--wine); border-color: var(--wine); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; color: var(--white); }
.btn--outline { min-height: 44px; padding: 0 18px; font-size: 14px; color: var(--red); border-color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn--small { padding: 0 14px; }
.btn--light { background: var(--white); color: var(--wine); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .1); }
.btn-arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }
.arrow-link span { display: inline-block; transition: transform .3s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px dashed var(--line);
  transition: box-shadow .3s ease;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(59, 59, 59, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.brand img { width: 48px; transition: transform .5s var(--ease); }
.brand:hover { color: var(--ink); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link {
  position: relative; display: block; padding: 10px 2px;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--red); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: flex; gap: 4px; padding-left: 20px; border-left: 1px dashed var(--line); list-style: none; }
.lang-switch a {
  display: flex; align-items: center; justify-content: center; min-width: 38px; min-height: 34px; padding: 0 8px;
  color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.lang-switch a:hover { background: var(--pale); color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }

.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin-right: -12px;
  background: none; border: 0; color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.menu-icon { position: relative; width: 22px; height: 16px; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s ease; }
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 7px; }
.menu-icon span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background-color: var(--red);
  background-image: linear-gradient(var(--red-overlay), var(--red-overlay)), url("../images/HeroBG01-p-1600.jpeg");
  background-size: cover; background-position: center;
}
.hero-inner { padding-top: 96px; padding-bottom: 96px; }
.hero-title {
  position: relative; max-width: 900px; padding-top: 20px;
  font-family: var(--serif); font-weight: 700; font-size: 60px; line-height: 1.1;
}
.hero-title::before { /* the dashed rule from the original design, drawn in on load */
  content: ""; position: absolute; left: 0; top: 0; width: 100%; max-width: 900px;
  border-top: 1px dashed var(--white); transform-origin: left;
}
.hero-title--home { padding-top: 0; padding-bottom: 24px; }
.hero-title--home::before { top: auto; bottom: 0; }
.hero-sub { max-width: 680px; margin-top: 20px; font-size: 19px; line-height: 1.55; font-weight: 500; }
.hero-title--home + .hero-sub { margin-top: 28px; font-size: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 900px; margin-bottom: 20px; font-size: 18px; font-weight: 700; }

/* ---------- home ---------- */
.editorial-teaser { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.editorial-meta { grid-column: span 4; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.editorial-author { font-weight: 700; }
.editorial-body { grid-column: span 8; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split-main { grid-column: span 7; display: flex; flex-direction: column; gap: 18px; }
.split-side { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.split--top .split-side + .split-main { grid-column: span 7; }
.logo-figure { grid-column: span 5; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 32px; background: var(--pale); text-align: center; font-size: 15px; }
.logo-figure img { width: 220px; transition: transform .8s var(--ease); }
.logo-figure:hover img { transform: rotate(-6deg) scale(1.04); }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head--end { align-items: flex-end; }
.section-head .muted { margin-top: 4px; }

.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.person-card {
  display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--white);
  border-top: 3px solid var(--red);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.person-card--member { border-top-color: var(--slate); }
.person-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(59, 59, 59, .1); }
.person-photo { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.person-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.person-name a { color: var(--ink); text-decoration: none; }
.person-name a:hover { color: var(--red); text-decoration: underline; }
.person-role { font-size: 14px; font-weight: 600; color: var(--red); }
.person-card--member .person-role { color: var(--muted); }
.person-email { font-size: 13px; overflow-wrap: anywhere; }

/* ---------- newsletter band ---------- */
.nl-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; }
.nl-intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.nl-title { font-size: 26px; font-weight: 700; line-height: 1.25; }
.nl-form { flex: 1 1 460px; display: flex; flex-direction: column; gap: 8px; }
.nl-form label { font-size: 14px; font-weight: 600; }
.nl-row { display: flex; }
.nl-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 2px solid var(--white); border-right: 0; font: inherit; font-size: 15px; color: var(--ink); }
.nl-row input:focus-visible { outline-color: var(--ink); }
.nl-note { font-size: 13px; }
.band--red a { color: var(--white); }
.nl-status { min-height: 1.4em; font-size: 14px; font-weight: 700; opacity: 0; transition: opacity .3s ease; }
.nl-status.is-shown { opacity: 1; }
.nl-form.is-sending button { opacity: .7; pointer-events: none; }

/* ---------- conferences ---------- */
.event-year + .event-year { margin-top: 56px; }
.event-year .section-title { margin-bottom: 20px; }
.event { display: flex; flex-wrap: wrap; gap: 28px; padding: 28px 0; border-top: 1px dashed var(--ink); }
.event-year:last-child .event:last-child { border-bottom: 1px dashed var(--ink); }
.event-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 128px; height: 104px; background: var(--red); color: var(--white); text-align: center;
  transition: transform .35s var(--ease), background-color .35s ease;
}
.event:hover .event-date { transform: translateY(-3px); background: var(--wine); }
.event-day { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; }
.event-month { font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.event-body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.event-title { font-size: 21px; line-height: 1.35; font-weight: 700; }
.event-title a { color: var(--ink); text-decoration: none; }
.event-title a:hover { color: var(--red); text-decoration: underline; }
.event-place { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--muted); }
.event-place svg { flex: none; margin-top: 3px; color: var(--slate); }
.event .btn-row { margin-top: 6px; }

/* ---------- newsletter archive ---------- */
.search { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin-bottom: 40px; }
.no-js .search { display: none; }
.search label { font-size: 15px; font-weight: 700; }
.search-row { display: flex; }
.search-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px dashed var(--ink); border-right: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.search-row .btn { min-height: 52px; }
.search-hint { margin-top: 2px; }
.search-none { font-weight: 700; color: var(--wine); }

.archive-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; margin-bottom: 48px; background: var(--pale); border: 1px dashed var(--ink); }
.archive-title { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.3; margin-top: 4px; }

.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; list-style: none; }
.issue {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border: 1px dashed var(--ink); background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease, opacity .3s ease;
}
.issue:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(59, 59, 59, .1); border-color: var(--red); }
.issue--latest { border-top: 4px solid var(--red); }
.issue-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.issue-number { font-family: var(--serif); font-size: 32px; font-weight: 700; line-height: 1.1; }
.issue-links { margin-top: auto; }
.issue.is-filtered-out { display: none; }

/* ---------- publications ---------- */
.accordion { border-bottom: 1px dashed var(--ink); }
.accordion-item { border-top: 1px dashed var(--ink); }
.accordion-button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 18px 4px; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.2;
  transition: color .2s ease;
}
.accordion-button:hover { color: var(--red); }
.accordion-icon { flex: none; color: var(--red); transition: transform .4s var(--ease); }
.accordion-button[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-panel { overflow: hidden; transition: height .45s var(--ease); }
.accordion-content { padding: 4px 4px 32px; }

/* ---------- members ---------- */
.honorary-grid { grid-column: span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.honorary-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 24px;
  background: var(--pale); color: var(--ink); text-align: center; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.honorary-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(59, 59, 59, .1); }
.honorary-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; transition: transform .5s var(--ease); }
.honorary-card:hover img { transform: scale(1.04); }
.honorary-name { font-weight: 700; line-height: 1.35; }
.honorary-card .arrow-link { color: var(--red); font-size: 14px; }

.filter { display: flex; flex-direction: column; gap: 6px; flex: 0 1 380px; }
.no-js .filter { display: none; }
.filter label { font-size: 14px; font-weight: 700; }
.filter input { min-height: 48px; padding: 0 16px; border: 1px dashed var(--ink); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }

.member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; padding: 8px 32px; background: var(--white); list-style: none; }
.member { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.member.is-filtered-out { display: none; }
.member-text { display: flex; flex-direction: column; min-width: 0; }
.member-name { font-weight: 700; }
.member-affiliation { font-size: 15px; color: var(--muted); }
.member-links { flex: none; display: flex; gap: 8px; }
.icon-button {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px dashed var(--line); color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.icon-button:hover { color: var(--white); background: var(--red); border-color: var(--red); }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- long text (legal pages, editorial, publications) ---------- */
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose > * { margin: 0; }
.prose h2, .prose .section-title { margin-top: 32px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.2; }
.prose h3 { margin-top: 20px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--red); }
.prose { overflow-wrap: anywhere; }
.end-logo { width: 100px; margin: 56px auto 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); font-size: 15px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 32px; }
.footer-about { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; color: var(--pale); }
.footer-brand { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.3; }
.footer-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--white); border-radius: 50%; }
.footer-logo img { width: 40px; }
.footer-heading { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--line); }
.site-footer nav ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px dashed var(--muted); font-size: 13px; color: var(--line); }
.footer-langs { display: flex; gap: 6px; list-style: none; }
.footer-langs li + li::before { content: "·"; margin-right: 6px; }
.footer-langs a[aria-current="true"] { font-weight: 700; }

/* ---------- cookie banner (shown and hidden by Finsweet Cookie Consent) ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; max-width: 900px; margin-right: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 18px 20px;
  background: var(--ink); color: var(--white); font-size: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}
.cookie-banner p { flex: 1 1 360px; }
.cookie-banner a:not(.btn) { color: var(--white); }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js .hero-title { animation: rise .9s var(--ease) both; }
.js .hero-title::before { animation: draw 1.1s .25s var(--ease) both; }
.js .hero-sub, .js .hero-meta { animation: rise .9s .15s var(--ease) both; }
.js .cookie-banner { animation: rise .6s 1s var(--ease) both; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* cards keep their own hover transitions once revealed */
.js .person-card.is-visible, .js .issue.is-visible, .js .honorary-card.is-visible { transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease, opacity .3s ease; }

.site-nav.is-animating { transition: opacity .25s ease, transform .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  :root { --gutter: 28px; }
  .hero { background-image: linear-gradient(var(--red-overlay), var(--red-overlay)), url("../images/HeroBG01-p-1080.jpeg"); }
  .hero-title { font-size: 50px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .board-grid, .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-teaser, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .editorial-meta, .editorial-body, .split-main, .split-side, .logo-figure, .honorary-grid, .split--top .split-side + .split-main { grid-column: 1 / -1; }
  .editorial-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px dashed var(--line);
    box-shadow: 0 16px 24px rgba(59, 59, 59, .08);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav.is-opening { opacity: 0; transform: translateY(-8px); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 14px 0; font-size: 17px; border-bottom: 1px dashed var(--line); }
  .nav-link::after { display: none; }
  .lang-switch { padding: 16px 0 0; border-left: 0; }
  .header-inner { position: relative; }
  .no-js .site-nav { position: static; box-shadow: none; padding: 0; border: 0; }
  .no-js .menu-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero-title { font-size: 38px; }
  .hero-sub, .hero-title--home + .hero-sub { font-size: 17px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-title, .accordion-button { font-size: 30px; }
  .prose h2, .prose .section-title { font-size: 28px; }
  .board-grid, .issue-grid, .member-list, .honorary-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-about { grid-column: auto; }
  .member-list { padding: 4px 20px; }
  .event { gap: 18px; }
  .event-date { width: 100%; height: auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 16px; }
  .event-day { font-size: 22px; }
  .archive-box { padding: 24px 20px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; margin-right: 0; }
}

@media (max-width: 479px) {
  .hero-title { font-size: 31px; }
  .person-card { padding: 20px; gap: 16px; }
  .person-photo { width: 72px; height: 72px; }
  .nl-row, .search-row { flex-direction: column; gap: 8px; }
  .nl-row input, .search-row input { border-right: 2px solid var(--white); }
  .search-row input { border-right: 1px dashed var(--ink); }
  .btn-row .btn { flex: 1 1 auto; }
}
