/* Jost latin-ext (selvhostet, OFL) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost latin (selvhostet, OFL) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Jura latin-ext (selvhostet, OFL) */
@font-face {
  font-family: 'Jura';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/jura-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jura latin (selvhostet, OFL) */
@font-face {
  font-family: 'Jura';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/jura-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Herlev Gymnasium & HF – tema (farver og skrift fra herlev-gym.dk) ── */
:root {
  --hg-green: #75B843;
  --hg-green-dark: #426D26;
  --hg-green-soft: #EEF6E7;
  --hg-ink: #141414;
  --hg-muted: #5A5A5C;
  --hg-grey: #ECECEC;
  --hg-line: #D7DBD3;
  --hg-error: #B3261E;
  --hg-warn-bg: #FFF4D6;
  --hg-warn-line: #E0A800;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--hg-ink);
  font: 400 17px/1.6 "Jost", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--hg-green-dark); text-underline-offset: 2px; }
a:hover { color: var(--hg-green); }

.hg-banner { background: var(--hg-warn-bg); color: #5c4400; text-align: center; padding: 8px 16px; font-size: .9em; }

.hg-header { background: #fff; border-bottom: 4px solid var(--hg-green); }
.hg-header__inner { max-width: 1100px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hg-header img { height: 52px; width: auto; display: block; }
.hg-header__link { font-family: "Jura", sans-serif; font-weight: 600; text-decoration: none; color: #fff;
  background: var(--hg-green); padding: 9px 18px; border-radius: 3px; white-space: nowrap; }
.hg-header__link:hover { background: var(--hg-green-dark); color: #fff; }

.hg-hero { background: var(--hg-green-dark); color: #fff; }
.hg-hero__inner { max-width: 1100px; margin: 0 auto; padding: 40px 16px 44px; }
.hg-hero h1 { font-family: "Jost", sans-serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0; }
.hg-hero p { font-family: "Jura", sans-serif; font-weight: 600; font-size: 1.1rem; margin: .5em 0 0; color: #DDEFCF; }

.hg-main { max-width: 820px; margin: 0 auto; padding: 32px 16px 72px; }
.hg-main h2 { font-family: "Jost", sans-serif; font-weight: 500; font-size: 1.4rem; color: var(--hg-green-dark);
  margin: 2.2em 0 .5em; padding-bottom: 6px; border-bottom: 2px solid var(--hg-green); scroll-margin-top: 16px; }

.hg-footer { background: var(--hg-green-dark); color: #E6F0DF; font-size: .95em; }
.hg-footer__inner { max-width: 1100px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.hg-footer strong { font-family: "Jura", sans-serif; color: #fff; }
.hg-footer a { color: #fff; }

@media (max-width: 600px) {
  .hg-header img { height: 40px; }
  .hg-header__link { padding: 7px 12px; font-size: .9em; }
  .hg-hero__inner { padding: 28px 16px 30px; }
}
