/* ============================================================
   FC77 – Design system
   Farveskema: trøjens kongeblå + solnedgangsgul fra forsidebilledet
   (images/forside-banner.jpg). Redigér farverne her – det ændrer hele sitet.
   ============================================================ */

:root {
  /* Primære farver (målt i den mørkeblå aftenhimmel i bunden af forsidebilledet: #152850) */
  --blue: #152850;          /* Klubbens blå */
  --blue-dark: #0d1c3c;
  --blue-light: #eaf1fb;
  --blue-light-2: #dbe9f9;

  /* Gul/accent (fra FC77-logoet) */
  --gold: #f5b31a;
  --gold-dark: #c98d06;

  /* Grønne "Animal Ground" nuancer */
  --green: #2e7d32;
  --green-light: #e6f2e6;

  /* Rød til obs/slet ikke-gode nyheder */
  --red: #c0392b;

  /* Neutrale */
  --ink: #1c2733;           /* Brødtekst */
  --ink-soft: #4a5a6a;      /* Sekundær tekst */
  --line: #dde4ec;          /* Kanter */
  --paper: #ffffff;
  --bg: #f5f7fa;            /* Siden baggrund */
  --bg-2: #edf1f6;

  /* Layout */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 10px rgba(13, 28, 60, .08);
  --shadow-lg: 0 10px 30px rgba(13, 28, 60, .14);
  --max: 1180px;

  /* Typografi (systemskrifttyper – hurtig side, ingen downloads) */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Nulstil ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff !important;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0;
  cursor: pointer; font-size: 16px; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--blue-dark); }
.btn--gold { background: var(--gold); color: var(--ink) !important; }
.btn--gold:hover { background: var(--gold-dark); color: #fff !important; }
.btn--ghost { background: transparent; color: var(--blue) !important; border: 2px solid var(--blue); }
.btn--ghost:hover { background: var(--blue-light); box-shadow: none; }
.btn--white { background: #fff; color: var(--blue) !important; }
.btn--white:hover { background: var(--blue-light-2); }
.btn--sm { padding: 8px 16px; font-size: 14.5px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue); color: #fff; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(13, 28, 60, .04);
}
.header__inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { width: 40px; height: 52px; flex: 0 0 auto; }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: .2px; }
.brand__name span { color: var(--blue); }
.brand__tagline {
  display: block; font-size: 11.5px; font-weight: 600;
  color: var(--ink-soft); letter-spacing: .6px; text-transform: uppercase;
}

/* Primær menu */
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.nav > ul > li > a { display: block; padding: 27px 13px; border-bottom: 3px solid transparent; }
.nav > ul > li > a:hover { color: var(--blue); }
.nav .active > a, .nav > ul > li > a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--gold); }

/* Dropdown (specificitet: .nav .dropdown slår .nav ul fra oven) */
.nav .dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 235px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px 0; z-index: 60;
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 500; font-size: 15px; }
.dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.caret { font-size: 11px; opacity: .65; margin-left: 5px; }

/* Mobilmenu */
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 980px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px 22px 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { padding: 13px 4px; border-bottom: none; }
  .dropdown, .nav .dropdown {
    display: none; position: static; box-shadow: none; border: 0;
    border-left: 3px solid var(--blue-light-2); border-radius: 0;
    padding: 0 0 6px 12px; margin: 0 0 6px 8px; min-width: 0;
  }
  /* Akordeon: undermenuer foldes ud ved tryk (håndteres i script.js) */
  .nav .dropdown.open { display: block; }
  .nav .dropdown a { padding: 11px 18px; }
  .nav > ul > li > a.toggled .caret { display: inline-block; transform: rotate(180deg); }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* Foto-baggrund (images/forside-banner.jpg) + mørk gradient i toppen/bunden,
     så tekst altid er læsbar. Fallback-gradienten vises, hvis billedet mangler. */
  background:
    linear-gradient(180deg, rgba(13, 35, 76, .72) 0%, rgba(13, 35, 76, .55) 45%, rgba(9, 22, 48, .86) 100%),
    url("images/forside-banner.jpg?v=3") center 40% / cover no-repeat,
    linear-gradient(140deg, var(--blue) 0%, var(--blue) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 280px at 10% 96%, rgba(13, 35, 76, .72), transparent 70%),
    radial-gradient(700px 340px at 88% 10%, rgba(245, 179, 26, .18), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 78px 0 36px; max-width: 820px; }
.hero__eyebrow {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin: 0 0 14px; text-shadow: 0 2px 18px rgba(13, 35, 76, .55); }
.hero p { font-size: 19px; color: #f0e9dc; margin: 0 0 28px; max-width: 800px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  position: relative; z-index: 1; display: flex; gap: 26px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 24px; padding: 22px 0 24px;
  font-size: 15px; color: #e3e0d5;
}
.hero__meta strong { color: #fff; }

/* Hero-tile: billedeligt banner på undersider */
.page-hero {
  background: var(--blue);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(245, 179, 26, .22), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; padding: 54px 0 58px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 8px; }
.page-hero p { color: #dfe9f8; font-size: 18px; margin: 0; max-width: 700px; }

/* ---------- Sektioner & kort ---------- */
.section { padding: 58px 0; }
.section--white { background: var(--paper); }
.section--blue { background: var(--blue-light); }
.section--tight { padding: 40px 0; }

.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; margin: 0; }
.eyebrow {
  display: inline-block; color: var(--blue); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.3px; font-size: 13px; margin-bottom: 10px;
}

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0 0 16px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__icon svg { width: 27px; height: 27px; }
.card__icon--green { background: var(--green-light); }
.card__icon--gold { background: #fdf0d5; }
.card__foot { margin-top: auto; padding-top: 6px; }
.card--link { text-decoration: none; color: inherit; }

/* Kort med topfarve */
.card--accent { border-top: 4px solid var(--blue); }
.card--accent-gold { border-top: 4px solid var(--gold); }
.card--accent-green { border-top: 4px solid var(--green); }

/* ---------- Faktatekst-boks (factsider) ---------- */
.factbox { background: var(--blue-light); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.factbox h3 { margin-top: 0; }
.factbox ul { margin: 0; }

/* ---------- Tabel (kontingent m.m.) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
table.price { width: 100%; border-collapse: collapse; font-size: 16.5px; min-width: 340px; }
table.price th {
  text-align: left; background: var(--blue); color: #fff;
  padding: 13px 20px; font-size: 14.5px; text-transform: uppercase; letter-spacing: .8px;
}
table.price td { padding: 13px 20px; border-top: 1px solid var(--line); }
table.price tr:nth-child(even) td { background: #f8fafd; }
table.price td:last-child, table.price th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
/* På små skærme må sidste kolonne gerne ombryde (fx lange tekster i "Klubben i tal") */
@media (max-width: 720px) {
  table.price td:last-child, table.price th:last-child { white-space: normal; }
}
.table-note { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; }

/* ---------- Nyheder (Regionsjælland-stil) ---------- */
.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: 0; }
.news-item__date {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.news-item h3 { font-size: 19.5px; margin: 0 0 6px; }
.news-item h3 a { text-decoration: none; color: var(--ink); }
.news-item h3 a:hover { color: var(--blue); text-decoration: underline; }
.news-item p { color: var(--ink-soft); margin: 0 0 8px; font-size: 16px; }
.news-item__more { font-weight: 700; font-size: 15px; text-decoration: none; }
.news-item__more:hover { text-decoration: underline; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Arrangementer (DATO/TID/STED-stil) ---------- */
.event {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 26px; margin-bottom: 16px;
}
.event__date { text-align: center; background: var(--blue-light); border-radius: var(--radius-sm); padding: 10px 6px; }
.event__date b { display: block; font-size: 26px; color: var(--blue); line-height: 1.1; }
.event__date span { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-soft); font-weight: 700; }
.event h3 { margin: 0 0 4px; font-size: 19px; }
.event p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.event__facts { width: 290px; display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; color: var(--ink-soft); }
.event__facts b { color: var(--ink); }
@media (max-width: 720px) { .event { grid-template-columns: 1fr; } .event__date { width: 130px; } .event__facts { width: auto; } }

/* ---------- Prolog/page layout ---------- */
.page { background: var(--paper); }
.page__body { padding: 50px 0 70px; }
.page__body .prose { max-width: 780px; }
.prose h2 { font-size: 27px; margin-top: 38px; }
.prose h3 { font-size: 21px; margin-top: 28px; }
.prose p, .prose li { color: #2a3644; font-size: 17px; }
.prose img { border-radius: var(--radius); margin: 22px 0; }

/* Layout med sidebar (undersider) */
.with-aside { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
/* Netgrid-rettelse: uden min-width:0 nægter kolonner at blive smallere end indholdet
   (giver vandret rul på mobil, fx pga. tabeller) */
.with-aside > *, .grid > * { min-width: 0; }
@media (max-width: 980px) { .with-aside { grid-template-columns: 1fr; } }
.aside-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 20px;
}
.aside-card h3 { font-size: 17px; margin-bottom: 10px; }
.aside-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: 15.5px; }
.aside-card li { margin-bottom: 6px; }
.aside-card a { color: var(--blue); text-decoration: none; font-weight: 600; }
.aside-card a:hover { text-decoration: underline; }

/* ---------- Hold/afdeling blokke ---------- */
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 18px;
}
.team-card h3 { margin-bottom: 6px; }
.team-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 16px; }
.team-card .label { font-weight: 700; color: var(--ink); }
.team-links { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Info strip ---------- */
.info-strip { background: var(--blue); color: #fff; }
.info-strip h2, .info-strip h3 { color: #fff; }
.info-strip a { color: #ffd479; }
.info-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 46px 0; }
.info-strip h3 { font-size: 18px; margin-bottom: 10px; }
.info-strip p { margin: 0; color: #d7e3f6; font-size: 15.5px; }
.info-strip a { text-decoration: none; }
.info-strip a:hover { text-decoration: underline; }
@media (max-width: 800px) { .info-strip__inner { grid-template-columns: 1fr; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Skema-tilbud i sidebar ---------- */
.kontakt-side { background: var(--green-light); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.kontakt-side h3 { margin-bottom: 8px; }
.kontakt-side p { font-size: 15.5px; color: #33484a; margin-bottom: 12px; }

/* ---------- Formular ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 32px; max-width: 640px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form-row .hint { font-weight: 400; color: var(--ink-soft); font-size: 13.5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 16px; background: #fbfcfe;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none; background: var(--green-light); border: 1px solid #bcdcbc;
  color: #245c27; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 600;
}

/* ---------- Galleri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; background: var(--bg-2); border-radius: var(--radius-sm); overflow: hidden; }
.gallery figcaption { font-size: 13.5px; padding: 9px 12px; color: var(--ink-soft); }
.gallery .ph { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: #93a3b5; font-size: 30px; }

/* ---------- Timeline (historie) ---------- */
.timeline { border-left: 3px solid var(--blue-light-2); margin-left: 8px; padding-left: 26px; }
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before {
  content: ""; position: absolute; left: -35px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold);
}
.timeline__item h3 { margin-bottom: 4px; font-size: 19px; }
.timeline__item time { font-weight: 800; color: var(--blue); font-size: 15px; }
.timeline__item p { color: var(--ink-soft); margin: 0; }

/* ---------- Æresmedlemmer ---------- */
.honour { display: flex; gap: 18px; align-items: baseline; padding: 13px 4px; border-bottom: 1px dashed var(--line); }
.honour b { font-size: 20px; color: var(--blue); min-width: 76px; }
.honour span { font-size: 17px; }
.honour small { color: var(--ink-soft); margin-left: auto; font-size: 14px; text-align: right; }
@media (max-width: 560px) { .honour { flex-wrap: wrap; } .honour small { margin-left: 0; width: 100%; } }

/* ---------- Sponsorer ---------- */
.sponsor-wall {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.sponsor-wall span {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 700; font-size: 15px; color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: #c3d2e8; margin-top: 70px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding: 54px 0 40px; }
.footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; font-size: 15px; }
.footer__brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brandline .brand__name { color: #fff; font-size: 20px; }
.footer__brandline .brand__tagline { color: #9fb4d4; }
.footer p { font-size: 15px; margin: 0 0 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0;
  font-size: 13.5px; color: #8ba1c2; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Små skærme: luft og topbar ---------- */
@media (max-width: 640px) {
  /* Skjul adressen i topbaren på små skærme – telefon og mail er vigtigst */
  .topbar__inner > span:first-child { display: none; }
  .section { padding: 42px 0; }
  .hero__inner { padding: 56px 0 36px; }
  .page-hero__inner { padding: 42px 0 46px; }
  .page__body { padding: 36px 0 54px; }
  .form-card { padding: 22px 20px; }
  .card { padding: 20px; }
}

/* ---------- Hjælpeklasser ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.small { font-size: 14.5px; color: var(--ink-soft); }
.lead { font-size: 19px; color: var(--ink-soft); }
.badge {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 12.5px; letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.badge--blue { background: var(--blue-light); color: var(--blue); }
.badge--green { background: var(--green-light); color: var(--green); }

/* Reduktionsindstilling */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ============================================================
   Forsiden: vandrette genveje (venstre) + kampprogram (højre)
   Kampprogrammet hentes live fra Google-kalendrene
   ============================================================ */
.forside-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.genveje-liste { display: grid; gap: 12px; }
.genveje-liste .section-head { margin-bottom: 8px; }
.genveje-raekke {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 13px 16px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.genveje-raekke:hover { transform: translateX(3px); box-shadow: 0 6px 18px rgba(13,28,60,.12); }
.genveje-raekke--green { border-left-color: var(--green); }
.genveje-raekke--gold { border-left-color: var(--gold); }
.genveje-raekke__ikon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
}
.genveje-raekke__ikon svg { width: 24px; height: 24px; }
.genveje-raekke--green .genveje-raekke__ikon { background: var(--green-light); }
.genveje-raekke--gold .genveje-raekke__ikon { background: #fdf1d4; }
.genveje-raekke__tekst { flex: 1; min-width: 0; }
.genveje-raekke__tekst b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.genveje-raekke__tekst small { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; display: block; }
.genveje-raekke__pil { flex: 0 0 auto; color: var(--blue); font-weight: 800; font-size: 18px; transition: transform .15s ease; }
.genveje-raekke:hover .genveje-raekke__pil { transform: translateX(3px); }

.kommende-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.kommende-side .section-head { margin-bottom: 12px; }
.kommende-side .section-head p { font-size: 14px; margin-bottom: 0; }
.kommende-bokse { display: grid; gap: 8px; }
.kommende-dag {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.kommende-dag--idag { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245,179,26,.25); }
.kommende-dag__dato { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.kommende-dag__dato b { color: var(--blue); font-size: 13.5px; }
.kommende-dag__dato span { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.kommende-dag__dato span em { font-style: normal; color: var(--gold-dark); }
.kommende-dag__aftaler { display: grid; gap: 4px; }
.kommende-aftale { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; line-height: 1.4; }
.kommende-aftale i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-top: 5px; }
.kommende-aftale span { display: block; min-width: 0; }
.kommende-aftale b { display: block; font-weight: 800; color: var(--ink); }
.kommende-aftale em { display: block; font-style: italic; color: var(--ink-soft); font-size: 12px; margin-top: 1px; }
.kommende-tom {
  background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 16px 14px; color: var(--ink-soft); font-size: 13.5px; text-align: center;
}
.kommende-flere { margin: 12px 0 0; text-align: center; }
/* Aflyste kampe vises gråtone + gennemstreg med rødt "Aflyst"-mærkat */
.kommende-aftale--aflyst { opacity: .62; }
.kommende-aftale--aflyst b { text-decoration: line-through; }
.kommende-aftale--aflyst em strong { color: var(--red); }
@media (max-width: 900px) {
  .forside-split { grid-template-columns: 1fr; }
  .kommende-side { order: -1; }
}

/* �resmedlems-galleri (aeresmedlemmer.html): klikebare billedikoner, hop til factbox-r\u00e6kken */
.legends-galleri { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 30px 26px; margin: 30px 0 38px; }
.legends-ikon { display: flex; flex-direction: column; align-items: center; gap: 7px; width: auto; text-align: center; text-decoration: none; }
.legends-ikon img {
  width: 100%; height: auto; aspect-ratio: 291/400; object-fit: cover; border-radius: 12px;
  border: 3px solid #fff; background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.legends-ikon b { color: var(--blue); font-size: 19px; line-height: 1.1; }
.legends-ikon span { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.legends-ikon:hover img { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,.22); border-color: var(--gold); }
.legends-ikon:hover span { color: var(--ink); }
/* Fuldbredde-variant af prose (aeresmedlemmer.html er én kolonne uden aside) */
.page__body .prose.prose-fuld { max-width: 100%; }
/* Anker-spring skal ikke lande bagside den faste header */
.aer-raekke, #kaj-mindeord { scroll-margin-top: 96px; }
@media (max-width: 980px) { .legends-galleri { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .legends-galleri { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Personprofil (aeresmedlem.html): navn, stort billede og beskrivelsen af personen */
.person-tilbage { display: inline-block; margin: 0 0 18px; color: var(--blue); font-weight: 700; font-size: 15px; text-decoration: none; }
.person-tilbage:hover { text-decoration: underline; }
.person-profil {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 44px; align-items: start;
  background: #fff; border-radius: 14px; padding: 32px 34px 36px;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
.person-profil__billede img {
  width: 100%; height: auto; aspect-ratio: 510/700; object-fit: cover;
  border-radius: 12px; border: 4px solid #fff; background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.person-profil__indhold h2 { font-size: 30px; margin-bottom: 6px; }
.person-profil__indhold .eyebrow { display: block; margin-bottom: 8px; }
.person-titel { color: var(--blue); margin: 0 0 14px; }
.person-profil__indhold p { color: #2a3644; font-size: 17px; margin: 12px 0; }
.person-ikke-found { background: var(--blue-light, #eef3fa); border-radius: 14px; padding: 30px; }
.person-profiler_empty { clear: both; }
@media (max-width: 980px) { .person-profil { grid-template-columns: minmax(0,1fr); gap: 26px; } .person-profil__billede img { max-width: 420px; margin: 0 auto; display: block; } }
