/* ==============================================
   KALYON — Журналістський Аналітичний Центр
   Main Stylesheet
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:   #1a2b4a;
  --blue-mid:    #2c4270;
  --blue-light:  #e8edf5;
  --ochre:       #c8932a;
  --ochre-light: #f0e0b8;
  --gray-dark:   #3d4555;
  --gray-mid:    #6b7280;
  --gray-light:  #d1d5db;
  --bg-cream:    #f8f6f1;
  --white:       #ffffff;
  --text-main:   #222831;
  --text-sub:    #4a5568;
  --border:      #dde2ea;
  --shadow-sm:   0 2px 8px rgba(26,43,74,.08);
  --shadow-md:   0 6px 24px rgba(26,43,74,.13);
  --radius:      4px;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Source Sans 3', Arial, sans-serif;
  --max-w:       1200px;
  --transition:  .25s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ochre); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blue-deep);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 680px;
  margin-bottom: 40px;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--ochre);
  margin: 16px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
}
.btn-primary:hover {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}
.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-outline:hover {
  background: var(--blue-deep);
  color: var(--white);
}
.btn-ochre {
  background: var(--ochre);
  color: var(--white);
  border-color: var(--ochre);
}
.btn-ochre:hover {
  background: #a87722;
  border-color: #a87722;
  color: var(--white);
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-top {
  background: var(--blue-deep);
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.header-top-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.header-top-info a,
.header-top-info span {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
}
.header-top-info a:hover { color: var(--ochre); }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: .02em;
}
.logo-tagline {
  font-size: .72rem;
  color: var(--gray-mid);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-dark);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-deep);
  background: var(--blue-light);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .7rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: .85rem;
  color: var(--gray-dark);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--blue-deep);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-deep);
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--blue-deep);
  color: var(--white);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .22;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,43,74,.97) 42%, rgba(26,43,74,.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 0;
}
.hero-kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.breadcrumb li {
  font-size: .82rem;
  color: var(--gray-mid);
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--gray-light);
}
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb a:hover { color: var(--ochre); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--blue-deep);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200,147,42,.07);
}
.page-hero-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- Section spacing ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-cream); }
.section-dark { background: var(--blue-deep); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,.78); }

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-text {
  font-size: .9rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 18px;
}
.card-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: .78rem;
  color: var(--gray-mid);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.card-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-mid);
}
.card-link:hover { color: var(--ochre); }

/* ---- Stats ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--ochre); }
.stat-label {
  font-size: .85rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* ---- Featured Article ---- */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-main { background: var(--white); }
.featured-main-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.featured-main-body { padding: 28px; }
.featured-side {
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.featured-side-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-side-item:last-child { border-bottom: none; }

/* ---- Topic Blocks ---- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.topic-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ochre);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.topic-block:hover { box-shadow: var(--shadow-md); }
.topic-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.topic-block h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.topic-block p {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ---- Sidebar Layout ---- */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.sidebar-widget {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ochre);
}
.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--blue-mid); font-weight: 600; }
.sidebar-list a:hover { color: var(--ochre); }

/* ---- Quote Block ---- */
.quote-block {
  border-left: 4px solid var(--ochre);
  padding: 20px 28px;
  background: var(--bg-cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.quote-block blockquote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--blue-deep);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}
.quote-block cite {
  font-size: .82rem;
  color: var(--gray-mid);
  font-style: normal;
  font-weight: 600;
}

/* ---- Data Table ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th {
  background: var(--blue-deep);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.data-table tr:nth-child(even) td { background: var(--bg-cream); }
.data-table tr:hover td { background: var(--blue-light); }

/* ---- Progress Bars ---- */
.progress-item { margin-bottom: 20px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.progress-bar {
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--blue-deep);
  border-radius: 4px;
  transition: width 1s ease;
}
.progress-fill.ochre { background: var(--ochre); }

/* ---- Team / Expert cards ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.expert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition);
}
.expert-card:hover { box-shadow: var(--shadow-md); }
.expert-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.expert-body { padding: 20px; }
.expert-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.expert-role {
  font-size: .82rem;
  color: var(--ochre);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
}
.expert-bio {
  font-size: .85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ochre);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--ochre);
}
.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.timeline-text {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--blue-deep);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta-banner-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- Contact Form ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.form-input,
.form-select,
.form-textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(44,66,112,.12);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.5); }
.footer-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--ochre); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item strong { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--ochre); }

/* ---- Article body ---- */
.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: var(--blue-deep);
  margin: 36px 0 14px;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--blue-deep);
  margin: 28px 0 10px;
}
.article-body p { margin-bottom: 18px; line-height: 1.75; color: var(--text-sub); }
.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
  color: var(--text-sub);
  line-height: 1.75;
}
.article-body li { margin-bottom: 6px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body strong { color: var(--text-main); }

/* ---- Highlight box ---- */
.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-mid);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.highlight-box p { margin: 0; font-size: .95rem; color: var(--blue-deep); }

/* ---- Info chips ---- */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--blue-light);
  color: var(--blue-deep);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px;
}
.chip-ochre {
  background: var(--ochre-light);
  color: #7a5a18;
}

/* ---- Mobile nav ---- */
@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); box-shadow: var(--shadow-md); padding: 80px 24px 24px; gap: 0; overflow-y: auto; transition: right var(--transition); z-index: 999; }
  .main-nav.open { right: 0; display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .burger-btn { display: flex; z-index: 1001; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg-cream); padding-left: 12px; }
  .topics-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Mobile nav overlay ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
}
.nav-overlay.active { display: block; }

/* ---- Cookie banner ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue-deep);
  color: rgba(255,255,255,.88);
  padding: 18px 24px;
  z-index: 9999;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: .88rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { flex: 1; min-width: 240px; }
#cookie-banner a { color: var(--ochre); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }
