/* nbn.ch – Theme (ctek AG, 2026-10-22). Ruhiges, gut lesbares Layout in Grüntönen. */
:root {
    --green: #0f5c4a;
    --green-dark: #0a4236;
    --green-light: #e6efe9;
    --green-tint: #f2f6f1;
    --leaf: #6a9a2e;
    --sand: #b5af89;
    --sand-light: #f4f2ea;
    --ink: #1e2a24;
    --ink-soft: #4a5a52;
    --muted: #6f7f77;
    --line: #d8e0da;
    --white: #fff;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(15, 92, 74, .10);
    --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
    --font-head: "Lora", Georgia, serif;
    --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; color: var(--green-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); margin-top: 1.4em; }
h3 { font-size: 1.2rem; margin-top: 1.2em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.nbn-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.nbn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nbn-skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.nbn-skip:focus { left: 8px; }
.nbn-muted { color: var(--muted); }
.nbn-eyebrow { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); font-weight: 700; margin: 0 0 .4em; }
.nbn-eyebrow--light { color: #d7e8b4; }
.nbn-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 48em; }
.nbn-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--green-light); color: var(--green-dark); padding: 2px 8px; border-radius: 4px; vertical-align: middle; }
.nbn-more { font-weight: 700; text-decoration: none; }
.nbn-more:hover { text-decoration: underline; }

/* Buttons */
.nbn-btn { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: .95rem; line-height: 1.2; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--green); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.nbn-btn--primary { background: var(--green); color: #fff; }
.nbn-btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-1px); }
.nbn-btn--ghost { background: transparent; color: var(--green); }
.nbn-btn--ghost:hover { background: var(--green-light); }
.nbn-btn--light { background: #fff; border-color: #fff; color: var(--green-dark); }
.nbn-btn--light:hover { background: var(--green-light); border-color: var(--green-light); }
.nbn-btn--sm { padding: 9px 16px; font-size: .85rem; }
.nbn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* Header */
.nbn-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nbn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.nbn-logo img { width: 72px; height: auto; }
.nbn-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 1; }
.nbn-header__tools { display: flex; align-items: center; gap: 12px; }
.nbn-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 12px; background: var(--green-tint); }
.nbn-search input { border: 0; background: transparent; font: inherit; font-size: .9rem; width: 150px; outline: none; }
.nbn-search input:focus { width: 200px; }
.nbn-search button { border: 0; background: transparent; color: var(--green); padding: 6px; cursor: pointer; display: flex; }
.nbn-burger { display: none; }
.nbn-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.nbn-nav li { position: relative; }
.nbn-nav > ul > li > a { display: block; padding: 8px 12px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nbn-nav > ul > li > a:hover, .nbn-nav > ul > li.is-active > a { color: var(--green-dark); background: var(--green-light); }
.nbn-nav__toggle { display: none; }
.nbn-nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; gap: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s; z-index: 60; }
.nbn-nav li:hover > .nbn-nav__sub, .nbn-nav li:focus-within > .nbn-nav__sub { opacity: 1; visibility: visible; transform: none; }
.nbn-nav__sub a { display: block; padding: 8px 10px; font-size: .92rem; text-decoration: none; color: var(--ink); border-radius: 6px; }
.nbn-nav__sub a:hover, .nbn-nav__sub li.is-active > a { background: var(--green-light); color: var(--green-dark); }
.nbn-nav__home, .nbn-nav .nbn-nav__mobile-only { display: none; }

/* Seite */
.nbn-main { min-height: 50vh; overflow-x: clip; }
.nbn-page { padding: 22px 0 60px; }
.nbn-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.nbn-breadcrumb a { color: var(--muted); text-decoration: none; }
.nbn-breadcrumb a:hover { color: var(--green); }
.nbn-breadcrumb span[aria-hidden] { margin: 0 4px; }
.nbn-page__grid { display: grid; gap: 40px; }
.has-subnav .nbn-page__grid { grid-template-columns: 250px minmax(0, 1fr); }
.nbn-page__content { min-width: 0; max-width: 820px; }
.nbn-subnav__title { font-family: var(--font-head); font-weight: 600; margin: 0 0 8px; font-size: 1.05rem; }
.nbn-subnav__title a { text-decoration: none; color: var(--green-dark); }
.nbn-subnav ul { list-style: none; margin: 0; padding: 0; }
.nbn-subnav ul ul { margin: 2px 0 6px 12px; border-left: 2px solid var(--line); }
.nbn-subnav li a { display: block; padding: 7px 10px; text-decoration: none; color: var(--ink-soft); border-radius: 6px; font-size: .95rem; }
.nbn-subnav li a:hover { background: var(--green-tint); color: var(--green-dark); }
.nbn-subnav li.is-active > a { color: var(--green-dark); font-weight: 700; background: var(--green-light); }
.nbn-subnav ul ul li.is-active > a { background: transparent; }
.nbn-subnav__mobile { display: none; }
.nbn-pagehead { margin-bottom: 1.6rem; }
.nbn-pagehead h1 { margin-bottom: .4em; }
.nbn-pagehead__img { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; }
.nbn-heading { margin-top: 2rem; }

/* Richtext */
.nbn-richtext > :first-child { margin-top: 0; }
.nbn-richtext h1 { font-size: 1.5rem; }
.nbn-richtext ul, .nbn-richtext ol { padding-left: 1.3em; margin: 0 0 1em; }
.nbn-richtext li { margin-bottom: .3em; }
.nbn-richtext table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: .95rem; }
.nbn-richtext td, .nbn-richtext th { border-top: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; text-align: left; }
.nbn-richtext tr:first-child td { border-top: 0; }
.nbn-richtext td > :last-child { margin-bottom: 0; }
.nbn-richtext td h2, .nbn-richtext td h3 { margin-top: .2em; font-size: 1.1rem; }
.nbn-richtext img { border-radius: 6px; margin: .5em 0; }
.nbn-richtext hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.nbn-richtext--small { font-size: .95rem; }
.nbn-richtext blockquote { margin: 0 0 1em; padding: .5em 1em; border-left: 3px solid var(--leaf); color: var(--ink-soft); }
.nbn-text { margin-bottom: 1.6rem; }

/* Spalten / Bilder */
.nbn-columns { display: grid; gap: 24px; margin: 1.6rem 0; }
.nbn-columns--2 { grid-template-columns: repeat(2, 1fr); }
.nbn-columns--3 { grid-template-columns: repeat(3, 1fr); }
.nbn-columns__col h2, .nbn-columns__col h3 { font-size: 1.15rem; margin-top: .4em; }
.nbn-figure { margin: 0; }
.nbn-figure a { display: block; border-radius: 8px; overflow: hidden; background: var(--green-tint); }
.nbn-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.nbn-figure a:hover img { transform: scale(1.03); }
.nbn-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.nbn-grid { display: grid; gap: 16px; }
.nbn-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nbn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nbn-grid--4 { grid-template-columns: repeat(4, 1fr); }
.nbn-grid--tight { gap: 8px; }
.nbn-grid--tight .nbn-figure img { aspect-ratio: 1; }
.nbn-images { margin: 1.6rem 0; }
.nbn-twocol { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin: 1.2rem 0 1.6rem; align-items: start; }
.nbn-infobox { background: var(--green-tint); border-radius: var(--radius); padding: 18px 20px; border-top: 4px solid var(--leaf); }
.nbn-infobox h3 { margin-top: 0; font-size: 1.05rem; }
.nbn-cta { background: var(--green); color: #fff; border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 1.6rem 0; }
.nbn-cta h2 { color: #fff; margin-top: 0; font-size: 1.35rem; }
.nbn-cta p { margin: 0; color: #e2efe8; }
.nbn-cta .nbn-btn--primary { background: #fff; color: var(--green-dark); border-color: #fff; flex-shrink: 0; }
.nbn-cta .nbn-btn--primary:hover { background: var(--green-light); border-color: var(--green-light); }
.nbn-dl { display: inline-block; vertical-align: top; width: calc(33.333% - 12px); margin: 0 16px 20px 0; font-size: .9rem; }
.nbn-dl:nth-of-type(3n) { margin-right: 0; }
.nbn-dl a:first-child { display: block; border-radius: 8px; overflow: hidden; background: var(--green-tint); }
.nbn-dl img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.nbn-dl p { margin: 8px 0 0; }
.nbn-embed { margin: 1rem 0; }

/* Personen */
.nbn-persons { margin: 1.2rem 0; }
.nbn-person { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.nbn-person:first-of-type, .nbn-persons h2 + .nbn-person { border-top: 0; }
.nbn-person__img img { border-radius: 8px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.nbn-person:not(:has(.nbn-person__img)) { grid-template-columns: 1fr; }
.nbn-person h3 { margin: 0 0 .2em; }
.nbn-person__role { color: var(--leaf); font-weight: 700; margin-bottom: .5em; }
.nbn-person__address { font-size: .95rem; color: var(--ink-soft); }

/* FAQ */
.nbn-faq { margin: 1.2rem 0; }
.nbn-faq__item { border-top: 1px solid var(--line); padding: 10px 0; }
.nbn-faq__item:last-child { border-bottom: 1px solid var(--line); }
.nbn-faq__item summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--green-dark); padding: 8px 28px 8px 0; position: relative; list-style: none; }
.nbn-faq__item summary::-webkit-details-marker { display: none; }
.nbn-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 6px; font-size: 1.4rem; color: var(--leaf); }
.nbn-faq__item[open] summary::after { content: "–"; }
.nbn-faq__item .nbn-richtext { padding: 4px 0 10px; }
.nbn-faq__item h3 { margin: .3em 0 .3em; font-size: 1.1rem; }

/* Dokumente */
.nbn-docs { margin: 1.2rem 0; }
.nbn-docs__group { border-top: 1px solid var(--line); }
.nbn-docs__group summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--green-dark); padding: 12px 0; list-style: none; display: flex; align-items: center; gap: 10px; }
.nbn-docs__group summary::-webkit-details-marker { display: none; }
.nbn-docs__group summary::before { content: "▸"; color: var(--leaf); font-size: .9rem; transition: transform .15s; }
.nbn-docs__group[open] summary::before { transform: rotate(90deg); }
.nbn-docs__count { font-size: .75rem; background: var(--green-light); color: var(--green-dark); border-radius: 999px; padding: 1px 8px; font-family: var(--font-body); }
.nbn-docs__list { list-style: none; margin: 0 0 12px; padding: 0; }
.nbn-docs__list li { padding: 7px 0 7px 34px; position: relative; font-size: .97rem; }
.nbn-docs__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 26px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><path d='M3 1h12l6 6v20H3z' fill='%23fff' stroke='%23c0392b' stroke-width='1.6'/><path d='M15 1v6h6' fill='%23fdecea' stroke='%23c0392b' stroke-width='1.6'/><rect x='1' y='14' width='18' height='9' rx='1.5' fill='%23c0392b'/><text x='10' y='21' font-family='Arial,sans-serif' font-size='7' font-weight='700' fill='%23fff' text-anchor='middle'>PDF</text></svg>") center / contain no-repeat; }
.nbn-docs__list li[data-ext=ZIP]::before, .nbn-docs__list li[data-ext=JPG]::before, .nbn-docs__list li[data-ext=DOCX]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><path d='M3 1h12l6 6v20H3z' fill='%23fff' stroke='%230f5c4a' stroke-width='1.6'/><path d='M15 1v6h6' fill='%23e6efe9' stroke='%230f5c4a' stroke-width='1.6'/></svg>"); }
.nbn-docs__date { display: inline-block; min-width: 92px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nbn-docs__source { display: block; color: var(--muted); font-size: .88rem; }
.nbn-docs__meta { color: var(--muted); font-size: .82rem; margin-left: 6px; white-space: nowrap; }

/* Galerien */
.nbn-gallery { margin: 1.2rem 0 2rem; }
.nbn-gallery h2 { font-size: 1.3rem; }

/* Formulare */
.nbn-formwrap { margin: 1.4rem 0; }
.nbn-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; background: var(--green-tint); padding: 24px; border-radius: var(--radius); }
.nbn-form__intro, .nbn-form__heading, .nbn-form__note, .nbn-field--wide, .nbn-field--group, .nbn-field--check, .nbn-form__err { grid-column: 1 / -1; }
.nbn-form__heading { margin: 10px 0 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.nbn-form__note { font-size: .88rem; color: var(--muted); margin: 0; }
.nbn-field { display: flex; flex-direction: column; gap: 5px; }
.nbn-field label, .nbn-field legend { font-weight: 700; font-size: .92rem; }
.nbn-field input:not([type=checkbox]), .nbn-field select, .nbn-field textarea { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #c3cfc7; border-radius: 6px; background: #fff; width: 100%; }
.nbn-field input:focus, .nbn-field select:focus, .nbn-field textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }
.nbn-field--group { border: 0; padding: 0; margin: 0; }
.nbn-field--group legend { padding: 0; margin-bottom: 6px; }
.nbn-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .97rem !important; cursor: pointer; margin: 4px 0; }
.nbn-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.has-error input, .has-error select, .has-error textarea { border-color: #c0392b !important; }
.nbn-field__err { color: #c0392b; font-size: .85rem; }
.nbn-form__err { color: #c0392b; font-weight: 700; margin: 0; }
.nbn-req { color: #c0392b; }
.nbn-hp { position: absolute; left: -9999px; }
.nbn-form__ok { background: var(--green-light); border-left: 4px solid var(--leaf); padding: 20px 24px; border-radius: var(--radius); margin: 1.4rem 0; }
.nbn-form__ok h3 { margin-top: 0; }

/* News */
.nbn-news { margin: 1.2rem 0; }
.nbn-news__list { display: grid; gap: 14px; }
.nbn-news__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.nbn-news__item time { font-size: .82rem; color: var(--leaf); font-weight: 700; letter-spacing: .04em; }
.nbn-news__item h3 { margin: .2em 0 .3em; font-size: 1.15rem; }
.nbn-news__item h3 a { text-decoration: none; }
.nbn-news__item h3 a:hover { text-decoration: underline; }
.nbn-news__item p { margin-bottom: .5em; color: var(--ink-soft); font-size: .97rem; }
.nbn-news__all { margin-top: 18px; }
.nbn-newsdetail__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.4rem; }

/* Agenda */
.nbn-events { margin: 1.2rem 0; }
.nbn-event { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.nbn-event__date { background: var(--green); color: #fff; border-radius: 8px; text-align: center; padding: 8px 4px; align-self: start; }
.nbn-event__date span { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; font-weight: 700; }
.nbn-event__date small { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.nbn-event h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.nbn-event__meta { font-size: .9rem; color: var(--muted); margin-bottom: .4em; }
.nbn-event__links { margin: .3em 0 0; }

/* Startseite */
.nbn-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: var(--green-dark) var(--hero-bg, none) center / cover no-repeat; color: #fff; min-height: 440px; display: flex; align-items: flex-end; isolation: isolate; }
.nbn-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 48, 38, .85) 0%, rgba(10, 48, 38, .35) 60%, rgba(10, 48, 38, .15) 100%); z-index: -1; }
.nbn-hero__inner { padding: 70px 0 54px; max-width: 760px; margin-left: max(16px, calc(50vw - var(--wrap) / 2)); margin-right: 16px; width: auto; }
.nbn-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); margin-bottom: .3em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.nbn-hero__text { font-size: 1.15rem; color: #e8f0ea; max-width: 40em; }
.nbn-hero .nbn-actions { margin-top: 1.2rem; }
.nbn-home > .nbn-heading { margin-top: 3rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.nbn-home > .nbn-heading + * { margin-top: .5rem; }
.nbn-home > .nbn-columns, .nbn-home > .nbn-news, .nbn-home > .nbn-events { margin-bottom: 2.5rem; }
.nbn-home .nbn-news__list { grid-template-columns: repeat(3, 1fr); }
.nbn-home .nbn-columns__col { background: var(--green-tint); border-radius: var(--radius); padding: 18px; }
.nbn-home .nbn-columns__col .nbn-figure { margin: -18px -18px 12px; }
.nbn-home .nbn-columns__col .nbn-figure a { border-radius: var(--radius) var(--radius) 0 0; }
.nbn-home .nbn-text { max-width: 820px; }
.nbn-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 1rem 0 3rem; }
.nbn-teaser { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(15, 92, 74, .06); }
.nbn-teaser__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.nbn-teaser__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.nbn-teaser__body h3 { margin: 0 0 .4em; }
.nbn-teaser__body h3 a { text-decoration: none; }
.nbn-teaser__body p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.nbn-home .nbn-cta { margin: 0 0 3rem; }

/* Sitemap / Suche */
.nbn-sitemap ul { list-style: none; padding-left: 0; }
.nbn-sitemap ul ul { padding-left: 22px; border-left: 2px solid var(--line); margin: 4px 0 10px; }
.nbn-sitemap li { padding: 3px 0; }
.nbn-sitemap > ul > li > a { font-weight: 700; font-family: var(--font-head); font-size: 1.05rem; }
.nbn-searchform { display: flex; gap: 10px; margin-bottom: 1.4rem; }
.nbn-searchform input { flex: 1; font: inherit; padding: 10px 14px; border: 1px solid #c3cfc7; border-radius: 999px; }
.nbn-results { padding-left: 1.2em; }
.nbn-results li { margin-bottom: .6em; }
.nbn-results small { display: block; color: var(--muted); font-size: .85rem; }

/* Footer */
.nbn-footer { background: var(--green-dark); color: #d4e3da; margin-top: 40px; padding: 48px 0 24px; font-size: .95rem; }
.nbn-footer a { color: #fff; }
.nbn-footer h4 { color: #fff; margin-bottom: .6em; font-size: 1.05rem; }
.nbn-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.nbn-footer ul { list-style: none; margin: 0; padding: 0; }
.nbn-footer li { margin-bottom: 4px; }
.nbn-footer__small { font-size: .85rem; color: #a9c1b5; }
.nbn-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.nbn-footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nbn-footer__bottom a { text-decoration: none; }
.nbn-footer__bottom a:hover { text-decoration: underline; }

/* Lightbox */
.nbn-lightbox { position: fixed; inset: 0; background: rgba(8, 20, 15, .92); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 48px; }
.nbn-lightbox[hidden] { display: none; }
.nbn-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.nbn-lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.nbn-lightbox figcaption { color: #d4e3da; margin-top: 12px; font-size: .95rem; }
.nbn-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.nbn-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.nbn-lightbox__close { top: 16px; right: 16px; }
.nbn-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.nbn-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1000px) {
    .nbn-header__inner { padding: 8px 0; }
    .nbn-header__right { flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; }
    .nbn-header__cta { display: none; }
    .nbn-burger { display: grid; grid-template-columns: 22px auto; grid-template-rows: repeat(3, 2px); gap: 5px 10px; align-content: center; height: 42px; background: var(--green-tint); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px 0 12px; cursor: pointer; font: inherit; color: var(--green-dark); }
    .nbn-burger > span { display: block; grid-column: 1; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nbn-burger > .nbn-burger__label { grid-column: 2; grid-row: 1 / 4; align-self: center; height: auto; background: none; font-size: .9rem; font-weight: 700; line-height: 1; }
    .nbn-burger[aria-expanded=true] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nbn-burger[aria-expanded=true] > span:nth-child(2) { opacity: 0; }
    .nbn-burger[aria-expanded=true] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nbn-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow: auto; }
    .nbn-nav.is-open { display: block; padding: 0 16px 20px; }
    .nbn-nav ul { flex-direction: column; gap: 0; padding: 4px 0 8px; }
    .nbn-nav > ul > li { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 48px; align-items: center; }
    .nbn-nav > ul > li:first-child { border-top: 0; }
    .nbn-nav > ul > li > a { padding: 13px 8px; border-radius: 0; font-size: 1.02rem; }
    .nbn-nav > ul > li.is-active > a, .nbn-nav > ul > li > a:hover { background: transparent; }
    .nbn-nav li.has-children .nbn-nav__toggle { display: block; border: 0; background: transparent; cursor: pointer; position: relative; }
    .nbn-nav__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translate(-50%, -60%) rotate(45deg); transition: transform .2s; }
    .nbn-nav__toggle[aria-expanded=true]::after { transform: translate(-50%, -30%) rotate(225deg); }
    .nbn-nav ul.nbn-nav__sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--green-light); margin: 0 0 10px 8px; padding: 0 0 0 6px; grid-column: 1 / -1; background: transparent; }
    .nbn-nav__sub a { padding: 9px 10px; font-size: .98rem; }
    .nbn-nav__sub li.is-active > a { background: var(--green-light); }
    .nbn-nav ul.nbn-nav__sub.is-open { display: flex; flex-direction: column; }
    .nbn-nav__home, li.nbn-nav__mobile-only { display: grid; }
    .nbn-nav__mobile-cta.nbn-nav__mobile-only { display: block; padding: 14px 0 4px; }
    .nbn-nav__mobile-cta .nbn-btn { display: block; text-align: center; }
    .nbn-nav__mobile-search.nbn-nav__mobile-only { display: flex; gap: 8px; padding: 12px 0 8px; }
    .nbn-nav__mobile-search input { flex: 1; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--green-tint); }
    .nbn-nav__mobile-search button { border: 0; background: var(--green); color: #fff; border-radius: 999px; width: 42px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
    .has-subnav .nbn-page__grid { grid-template-columns: 1fr; gap: 20px; }
    .nbn-subnav__desktop { display: none; }
    .nbn-subnav__mobile { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; background: var(--green-tint); }
    .nbn-subnav__mobile summary { cursor: pointer; font-weight: 700; color: var(--green-dark); }
    .nbn-subnav__mobile .nbn-subnav { margin-top: 8px; }
    .nbn-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .nbn-search input { width: 110px; }
    .nbn-columns--2, .nbn-columns--3, .nbn-teasers, .nbn-home .nbn-news__list { grid-template-columns: 1fr; }
    .nbn-grid--3, .nbn-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .nbn-twocol { grid-template-columns: 1fr; }
    .nbn-form { grid-template-columns: 1fr; padding: 18px; }
    .nbn-person { grid-template-columns: 110px 1fr; gap: 14px; }
    .nbn-cta { flex-direction: column; align-items: flex-start; }
    .nbn-dl { width: calc(50% - 8px); }
    .nbn-dl:nth-of-type(3n) { margin-right: 16px; }
    .nbn-dl:nth-of-type(2n) { margin-right: 0; }
    .nbn-footer__grid { grid-template-columns: 1fr; }
    .nbn-hero { min-height: 360px; }
    .nbn-hero__inner { padding: 50px 0 36px; }
    .nbn-lightbox { padding: 60px 8px 16px; }
    .nbn-lightbox__prev, .nbn-lightbox__next { top: auto; bottom: 16px; transform: none; }
    .nbn-docs__date { display: block; min-width: 0; font-size: .85rem; }
}
@media (max-width: 480px) {
    .nbn-search { display: none; }
    .nbn-logo img { width: 58px; }
}
@media print {
    .nbn-header, .nbn-footer, .nbn-page__side, .nbn-breadcrumb, .nbn-lightbox { display: none !important; }
    body { font-size: 12pt; }
    a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
