/* ============================================================
   hjerteinfarkt.com - stilark
   Palett: crimson rod + marineblatt + ren hvit
   ============================================================ */

/* ---------- CSS-variabler ---------- */
:root {
  --brand:       #C41E3A;   /* Crimson / hjerterod */
  --brand-dark:  #9B1530;   /* Mork rod */
  --brand-light: #E8344F;   /* Lys rod */
  --navy:        #1B3A5C;   /* Marineblatt */
  --navy-light:  #254E7A;   /* Lys marine */
  --amber:       #D97706;   /* Amber (advarsler) */
  --amber-bg:    #FEF3C7;   /* Lys amber bakgrunn */
  --green:       #059669;   /* Gronn (positive callouts) */
  --green-bg:    #D1FAE5;   /* Lys gronn bakgrunn */
  --red-bg:      #FEE2E2;   /* Lys rod bakgrunn (kritiske varsler) */
  --blue-bg:     #DBEAFE;   /* Lys bla bakgrunn (info) */

  --bg:          #FAFAFA;   /* Sidebakgrunn */
  --surface:     #FFFFFF;   /* Kortbakgrunn */
  --border:      #E5E7EB;   /* Kantlinje */
  --text:        #1C1917;   /* Hoved-tekst */
  --muted:       #6B7280;   /* Sekundaertekst */

  --nav-h:       68px;
  --max-w:       1160px;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 24px rgba(0,0,0,.16);

  --font-sans:   'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-size-base: 17px;
  --line-height: 1.7;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ---------- Typografi ---------- */
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; line-height: 1.3; color: var(--navy); margin-top: 2rem; margin-bottom: .6rem; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-top: 1.5rem; margin-bottom: .4rem; }
h4 { font-size: 1rem; font-weight: 700; margin-top: 1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.page-wrap  { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.page-main  { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.two-col    { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Navigasjon ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  color: #fff; font-weight: 800; font-size: 1.1rem;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; opacity: .9; }
.nav-logo-text span { color: var(--brand-light); }
.nav-logo svg { flex-shrink: 0; }

.nav-menu {
  display: flex; list-style: none; padding: 0; margin: 0 auto;
  gap: .1rem; height: 100%;
}
.nav-item > a {
  display: flex; align-items: center;
  padding: 0 .75rem; height: var(--nav-h);
  color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 600;
  white-space: nowrap; text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-item > a:hover,
.nav-item:hover > a { color: #fff; background: rgba(255,255,255,.1); }

/* Urgent/forstehjelp marker */
.nav-urgent > a { color: #FFD700; }
.nav-urgent > a:hover { color: #fff; }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-dropdown {
  display: none; position: absolute; top: var(--nav-h); left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none; padding: .4rem 0;
  min-width: 240px; z-index: 900;
}
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: .55rem 1.2rem;
  color: var(--text); font-size: .9rem;
  text-decoration: none;
  transition: background .1s, color .1s;
}
.nav-dropdown a:hover { background: var(--red-bg); color: var(--brand-dark); }
.nav-dropdown .nav-more { border-top: 1px solid var(--border); margin-top: .25rem; }
.nav-dropdown .nav-more a { color: var(--brand); font-weight: 600; font-size: .85rem; }
.nav-dropdown .nav-more a:hover { background: var(--red-bg); color: var(--brand-dark); }

/* Mobilmeny-toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; transition: transform .2s, opacity .2s;
}

/* Sokeknapp */
.nav-search-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.85); padding: .4rem;
  border-radius: 50%; transition: background .15s;
}
.nav-search-btn:hover { background: rgba(255,255,255,.15); }

/* ---------- Sokmodal ---------- */
.search-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px;
}
.search-modal[hidden] { display: none; }
.search-modal-inner {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 1rem; width: min(600px, 90vw);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.search-field { position: relative; }
#search-input {
  width: 100%; font-size: 1.1rem; padding: .75rem 3rem .75rem 1rem;
  border: 2px solid var(--brand); border-radius: var(--radius);
  outline: none;
}
#search-close {
  position: absolute; top: 50%; right: .6rem; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; line-height: 1;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--muted); border-radius: var(--radius);
}
#search-close:hover { color: var(--brand); background: var(--red-bg); }
.search-results { list-style: none; padding: 0; margin-top: .5rem; max-height: 400px; overflow-y: auto; }
.search-results li a {
  display: block; padding: .7rem 1rem; border-radius: var(--radius);
  color: var(--text);
}
.search-results li a:hover { background: var(--red-bg); }
.search-results li a strong { color: var(--brand); }
.search-results li a small { color: var(--muted); display: block; }

/* ---------- Mobil ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column; height: auto;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy); padding: .5rem 0 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-item > a { height: auto; padding: .7rem 1.25rem; }
  .has-dropdown .nav-dropdown {
    position: static; box-shadow: none; border: none;
    background: rgba(255,255,255,.07); border-radius: 0;
    padding-left: 1rem;
  }
  .has-dropdown:hover .nav-dropdown { display: none; }
  .has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown a { color: rgba(255,255,255,.85); }
  .nav-dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav-dropdown .nav-more { border-top-color: rgba(255,255,255,.18); }
  .nav-dropdown .nav-more a { color: #fff; }
}

/* ---------- Hero (forside) ---------- */
.home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2440 60%, var(--brand-dark) 100%);
  color: #fff; text-align: center; padding: 4rem 1.25rem 3.5rem;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='200' viewBox='0 0 800 200'%3E%3Cpolyline points='0,100 60,100 90,40 130,160 160,70 200,130 240,100 800,100' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='3'/%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}
.home-hero h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.home-hero p  { font-size: 1.15rem; opacity: .9; max-width: 640px; margin: 0 auto 1.5rem; }
.hero-cta-group { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Nod-banner (ring 113) ---------- */
.emergency-banner {
  background: var(--brand); color: #fff;
  padding: 1rem 1.25rem; text-align: center;
}
.emergency-banner a { color: #fff; font-weight: 700; text-decoration: underline; }
.emergency-banner strong { font-size: 1.1em; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: opacity .15s, transform .1s;
  border: none; cursor: pointer;
}
.btn:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-danger   { background: #7F1D1D; color: #fff; }
.btn-outline  { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-navy     { background: var(--navy); color: #fff; }

/* ---------- Page-hero (indre sider) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2440 70%);
  color: #fff; padding: 2.5rem 1.25rem;
}
.page-hero h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.page-hero .kicker {
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #FFD700; margin-bottom: .4rem;
}
.page-hero .hero-sub { opacity: .88; margin-top: .5rem; font-size: 1.05rem; }
.page-hero .bc-nav { margin-top: 1rem; }

/* Sidebilder - page hero med bilde */
.page-hero-img img {
  width: 100%; height: 320px;
  object-fit: cover; object-position: center;
  display: block;
}
.page-hero-img .hero-overlay {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2440 70%);
  padding: 1.75rem 1.25rem;
  color: #fff;
  border-top: 3px solid var(--brand);
}
.page-hero-img .hero-overlay h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.page-hero-img .hero-overlay .kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #FFD700; margin-bottom: .4rem;
}
.page-hero-img .hero-overlay .hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem; margin-top: .5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.page-hero-img .hero-overlay .bc-item a { color: rgba(255,255,255,.75); }
.page-hero-img .hero-overlay .bc-item a:hover { color: #fff; }
.page-hero-img .hero-overlay .bc-current span { color: rgba(255,255,255,.6); }
.page-hero-img .hero-overlay .bc-item + .bc-item::before { color: rgba(255,255,255,.4); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
.bc-list { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: 0; }
.bc-item { display: flex; align-items: center; }
.bc-item + .bc-item::before { content: "/"; margin-right: .25rem; color: var(--muted); }
.bc-item a { color: rgba(255,255,255,.75); }
.bc-item a:hover { color: #fff; }
.bc-current span { color: rgba(255,255,255,.6); }

/* Breadcrumb pa hvit bakgrunn */
.bc-light .bc-item a { color: var(--brand); }
.bc-light .bc-item a:hover { color: var(--brand-dark); }
.bc-light .bc-current span { color: var(--muted); }
.bc-light .bc-item + .bc-item::before { color: var(--border); }

/* ---------- Callout-bokser ---------- */
.callout {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  border-left: 4px solid currentColor; margin: 1.5rem 0;
}
.callout-danger  { background: var(--red-bg);   color: #991B1B; border-color: var(--brand); }
.callout-warn    { background: var(--amber-bg);  color: #92400E; border-color: var(--amber); }
.callout-info    { background: var(--blue-bg);   color: #1E40AF; border-color: #3B82F6; }
.callout-green   { background: var(--green-bg);  color: #065F46; border-color: var(--green); }
.callout .callout-title { font-weight: 800; font-size: 1rem; margin-bottom: .35rem; }
.callout p { margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }

/* 113-banner som callout */
.callout-113 {
  background: var(--brand); color: #fff; border: none;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg);
  text-align: center; margin: 2rem 0;
}
.callout-113 .big { font-size: 2rem; font-weight: 900; display: block; }
.callout-113 p { font-size: 1rem; margin-top: .5rem; opacity: .95; }

/* ---------- Faktaboks ---------- */
.factbox {
  background: var(--navy); color: #fff;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}
.factbox h3 { color: #FFD700; margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.factbox ul, .factbox ol { margin-top: .5rem; }
.factbox li { margin-bottom: .3rem; }

/* ---------- Kildeboks ---------- */
.sources {
  background: #F8FAFC; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-top: 2.5rem; font-size: .88rem;
}
.sources h2 { font-size: .95rem; color: var(--muted); margin-top: 0; text-transform: uppercase; letter-spacing: .06em; }
.sources ul { list-style: none; padding: 0; }
.sources ul li { padding: .2rem 0; border-bottom: 1px solid var(--border); }
.sources ul li:last-child { border-bottom: none; }
.sources a { color: var(--navy-light); }

/* ---------- Sjekklister ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: .35rem 0 .35rem 1.75rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.checklist.warn li::before { content: "✗"; color: var(--brand); }

/* ---------- TOC ---------- */
.toc {
  background: var(--blue-bg); border: 1px solid #BFDBFE;
  border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0;
  font-size: .9rem;
}
.toc-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 0; }
.toc ol { padding-left: 1.2rem; margin-top: .4rem; }
.toc li { margin-bottom: .25rem; }
.toc a { color: var(--navy-light); }

/* ---------- Artikkelside ---------- */
.article-body { font-size: 1rem; line-height: 1.8; }
.article-body h2 { margin-top: 2.5rem; padding-top: .5rem; border-top: 2px solid var(--border); }
.article-body h3 { margin-top: 1.75rem; }
.article-body ul, .article-body ol { margin: .75rem 0 1rem; }
.article-body li { margin-bottom: .35rem; }

/* Sidebilde i artikkel */
.article-hero { margin-bottom: 1.5rem; }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); }
.article-hero figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .4rem; }

/* Sidepanel */
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h3 { font-size: 1rem; margin-top: 0; color: var(--navy); }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li a { display: block; padding: .3rem 0; font-size: .9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.sidebar-card ul li:last-child a { border-bottom: none; }
.sidebar-card ul li a:hover { color: var(--brand); }

/* ---------- Hub-side (seksjonsoversikt) ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.hub-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.hub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.hub-card-img { height: 170px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--brand-dark)); }
.hub-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hub-card-ico { height: 170px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 100%);
  font-size: 3rem; }
.hub-card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.hub-card-body h3 { font-size: 1rem; margin-top: 0; margin-bottom: .4rem; color: var(--navy); }
.hub-card-body p  { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Forsiden - seksjoner ---------- */
.home-section { padding: 3rem 0; }
.home-section:nth-child(even) { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.7rem; color: var(--navy); }
.section-header p { color: var(--muted); max-width: 640px; margin: .5rem auto 0; }

/* Hurtigfakta-rad */
.quick-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.quick-fact {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}
.quick-fact .number { font-size: 1.8rem; font-weight: 900; color: var(--brand); }
.quick-fact .label  { font-size: .88rem; color: var(--muted); margin-top: .1rem; }

/* ---------- Chips (relaterte lenker) ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.chip {
  display: inline-block; padding: .3rem .8rem;
  background: var(--red-bg); color: var(--brand-dark);
  border-radius: 999px; font-size: .82rem; font-weight: 600;
  text-decoration: none; border: 1px solid #FECACA;
  transition: background .15s;
}
.chip:hover { background: #FCA5A5; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: 3rem 1.25rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr; gap: 3rem;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: .5rem;
  color: #fff; font-size: 1.1rem; font-weight: 800;
  text-decoration: none; margin-bottom: .75rem;
}
.footer-brand .footer-logo .accent { color: var(--brand-light); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: .5rem; }
.footer-brand .footer-disclaimer {
  font-size: .82rem; background: rgba(255,255,255,.08);
  padding: .6rem .8rem; border-radius: var(--radius);
  border-left: 3px solid var(--brand-light);
  color: rgba(255,255,255,.9);
}
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.footer-col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-bottom: .6rem; margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li a { color: rgba(255,255,255,.75); font-size: .88rem; display: block; padding: .2rem 0; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ---------- Bildekreditt-side ---------- */
.credits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.credit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1rem; font-size: .85rem; }
.credit-card strong { display: block; margin-bottom: .2rem; color: var(--navy); }
.credit-card a { color: var(--navy-light); word-break: break-all; }

/* ---------- Statiske sider ---------- */
.static-body { max-width: 800px; }
.static-body h2 { margin-top: 2rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 5rem 1.25rem; }
.not-found .big-num { font-size: 6rem; font-weight: 900; color: var(--border); }
.not-found h1 { font-size: 1.5rem; }

/* ---------- Print ---------- */
@media print {
  .site-nav, .site-footer, .search-modal, .nav-toggle, .chip-list { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  h1, h2, h3 { page-break-after: avoid; }
}

/* ---------- Fokus / tilgjengelighet ---------- */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Cookie-banner ---------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000;
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,.25);
}
#cookie-banner p {
  margin: 0; flex: 1 1 300px; font-size: .9rem; line-height: 1.5;
}
#cookie-banner a { color: #93C5FD; }
#cookie-banner a:hover { color: #fff; }
.cookie-btns { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--brand); color: #fff; border: none; border-radius: var(--radius);
  padding: .5rem 1.25rem; font-size: .9rem; font-weight: 700; cursor: pointer;
}
.cookie-btn-accept:hover { background: var(--brand-dark); }
.cookie-btn-decline {
  background: transparent; color: #CBD5E1; border: 1px solid #475569;
  border-radius: var(--radius); padding: .5rem 1.25rem; font-size: .9rem; cursor: pointer;
}
.cookie-btn-decline:hover { background: rgba(255,255,255,.08); color: #fff; }
