/* Godnat – godnathistorie.dk / godnattsaga.se */

/* ---------- Fonte (selvhostede, subset til dansk/svensk) ---------- */
@font-face { font-family: "Comfortaa"; src: url("../fonts/comfortaa-var.woff") format("woff"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Farver ---------- */
:root {
	--gn-night-sky: #231a45;   /* nattehimmel: hero, footer, knapper */
	--gn-night-2: #2e2357;
	--gn-night-3: #3a2d6b;
	--gn-moon: #fdf1d4;        /* månecreme */
	--gn-peach: #e9a06e;       /* logoets fersken, kun pynt */
	--gn-bg: #fbf8f3;          /* papir */
	--gn-surface: #ffffff;
	--gn-text: #3b3450;
	--gn-heading: #231a45;
	--gn-muted: #6f6880;
	--gn-line: #ebe2d1;
	--gn-chip: #fdf1d4;
	--gn-chip-text: #5b3b17;
	--gn-link: #5a3a9e;
	--gn-link-hover: #231a45;
	--gn-ad-bg: #f3eee4;
	--gn-fs: 19px;
	--gn-radius: 20px;
	--gn-head: "Comfortaa", "Trebuchet MS", sans-serif;
	--gn-body: "Merriweather", Georgia, serif;
	color-scheme: light;
}
html.gn-night {
	--gn-bg: #141026;
	--gn-surface: #1b1533;
	--gn-text: #d9cdb2;
	--gn-heading: #efe2c4;
	--gn-muted: #a99dbd;
	--gn-line: #2e2650;
	--gn-chip: #2a2148;
	--gn-chip-text: #efe2c4;
	--gn-link: #d6b98a;
	--gn-link-hover: #efe2c4;
	--gn-ad-bg: #221b3d;
	color-scheme: dark;
}

/* ---------- Grundlag ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--gn-bg); color: var(--gn-text); font-family: var(--gn-body); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gn-link); text-underline-offset: 3px; }
a:hover { color: var(--gn-link-hover); }
h1, h2, h3, h4 { font-family: var(--gn-head); color: var(--gn-heading); line-height: 1.25; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 19px; }
:focus-visible { outline: 3px solid var(--gn-peach); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gn-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gn-moon); color: var(--gn-night-sky); padding: 12px 16px; }
.gn-skip:focus { left: 8px; top: 8px; }
.gn-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.gn-narrow { max-width: 760px; }
.gn-narrow-left { max-width: 560px; }
.gn-icon { flex: none; }

/* ---------- Julebånd ---------- */
.gn-band { background: #1f5c3f; color: #fff8ec; font-family: var(--gn-head); font-size: 14px; }
.gn-band a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; color: inherit; text-decoration: none; }
.gn-band a:hover strong { text-decoration: underline; }
.gn-band .gn-icon { color: #f5c451; fill: #f5c451; }
.gn-band strong { color: #f5c451; }
.gn-band__short { display: none; }
html.gn-night .gn-band { background: #173f2d; }

/* ---------- Header ---------- */
.gn-header { background: var(--gn-surface); border-bottom: 1px solid var(--gn-line); position: relative; z-index: 20; }
.gn-header__inner { display: flex; align-items: center; gap: 16px; min-height: 84px; padding-top: 8px; padding-bottom: 8px; }
.gn-logo { display: block; flex: none; line-height: 0; }
.gn-logo img, .gn-logo picture { display: block; height: 64px; width: auto; max-width: none; }
.gn-logo__text { font-family: var(--gn-head); font-weight: 700; font-size: 22px; color: var(--gn-heading); line-height: 1.2; }
html.gn-night .gn-logo img { filter: brightness(.88); }
.gn-nav { margin-left: auto; min-width: 0; }
.gn-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap; font-family: var(--gn-head); font-weight: 700; font-size: 15px; }
.gn-nav__list a { display: block; padding: 11px 12px; border-radius: 999px; color: var(--gn-heading); text-decoration: none; }
.gn-nav__list a:hover, .gn-nav__list .current-menu-item > a, .gn-nav__list .current-menu-ancestor > a { background: var(--gn-chip); color: var(--gn-heading); }
.gn-nav__list .gn-menu-jul > a, .gn-nav__list .gn-menu-jul > a:hover { background: #b3261e; color: #fff; }
.gn-nav__list .gn-menu-jul > a::before { content: "\2605"; color: #f5c451; margin-right: 5px; }
.gn-actions { display: flex; align-items: center; gap: 4px; }
.gn-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--gn-heading); cursor: pointer; }
.gn-iconbtn:hover, .gn-iconbtn[aria-expanded="true"], .gn-iconbtn[aria-pressed="true"] { background: var(--gn-chip); }
.gn-savedbtn__n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gn-peach); color: #231a45; font: 700 11px/18px var(--gn-head); }
.gn-menubtn { display: none; }
.gn-panel { border-top: 1px solid var(--gn-line); background: var(--gn-surface); padding: 16px 0 20px; }
.gn-panel__title { font-family: var(--gn-head); font-weight: 700; margin: 0 0 8px; color: var(--gn-heading); }

/* Søgning */
.gn-searchform { display: flex; gap: 8px; }
.gn-searchform input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--gn-line); border-radius: 999px; background: var(--gn-bg); color: var(--gn-text); font: inherit; font-size: 16px; }
.gn-searchform button { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--gn-night-sky); color: var(--gn-moon); font: 700 15px var(--gn-head); cursor: pointer; }
html.gn-night .gn-searchform button { background: var(--gn-moon); color: #141026; }

/* Gemte historier */
.gn-saved ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gn-saved li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--gn-bg); border-radius: 12px; }
.gn-saved li a { font-family: var(--gn-head); font-weight: 700; text-decoration: none; color: var(--gn-heading); }
.gn-saved li button { border: 0; background: none; color: var(--gn-muted); cursor: pointer; font: 13px var(--gn-head); min-height: 36px; }
.gn-saved__empty { margin: 0; color: var(--gn-muted); font-size: 15px; }

/* Mobilmenu (skuffe) */
.gn-drawer { position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw); z-index: 60; background: var(--gn-surface); box-shadow: -12px 0 40px rgba(20, 16, 38, .25); overflow-y: auto; padding: 12px 20px 40px; }
.gn-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.gn-drawer__title { font: 700 18px var(--gn-head); color: var(--gn-heading); }
.gn-drawer__list, .gn-drawer__list ul { list-style: none; margin: 0; padding: 0; }
.gn-drawer__list > li { border-bottom: 1px solid var(--gn-line); }
.gn-drawer__list a { display: block; padding: 12px 4px; font-family: var(--gn-head); font-weight: 700; color: var(--gn-heading); text-decoration: none; }
.gn-drawer__list .sub-menu { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 14px; }
.gn-drawer__list .sub-menu a { padding: 8px 12px; border-radius: 999px; background: var(--gn-chip); color: var(--gn-chip-text); font-size: 14px; font-weight: 500; }
.gn-drawer__list .gn-menu-jul > a { color: #b3261e; }
.gn-drawer__list .gn-menu-jul > a::before { content: "\2605"; color: #d9a320; margin-right: 6px; }
html.gn-night .gn-drawer__list .gn-menu-jul > a { color: #f08a80; }
body.gn-drawer-open { overflow: hidden; }
body.gn-drawer-open::after { content: ""; position: fixed; inset: 0; z-index: 50; background: rgba(20, 16, 38, .45); }

/* ---------- Knapper og chips ---------- */
.gn-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px var(--gn-head); text-decoration: none; background: var(--gn-night-sky); color: var(--gn-moon); }
.gn-btn:hover { color: var(--gn-moon); filter: brightness(1.15); }
.gn-btn--moon { background: var(--gn-moon); color: var(--gn-night-sky); }
.gn-btn--moon:hover { color: var(--gn-night-sky); }
.gn-btn--ghost { background: transparent; border: 1px solid #6b5aa3; color: var(--gn-moon); }
.gn-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 700 13px var(--gn-head); }
.gn-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--gn-chip); color: var(--gn-chip-text); }
.gn-chips a { color: inherit; text-decoration: none; }
.gn-chips--nav li { padding: 0; background: none; }
.gn-chips--nav a { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--gn-surface); border: 1px solid var(--gn-line); color: var(--gn-heading); }
.gn-chips--nav a span { color: var(--gn-muted); font-weight: 500; }
.gn-chips--nav a[aria-current="page"], .gn-chips--nav a:hover { background: var(--gn-chip); }

/* ---------- Forside ---------- */
.gn-hero { background: var(--gn-night-sky); color: #e4dccb; }
.gn-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.gn-hero__text { flex: 999 1 480px; min-width: 0; }
.gn-hero h1 { color: var(--gn-moon); margin-bottom: 16px; }
.gn-hero__intro { font-size: 18px; line-height: 1.75; margin: 0 0 24px; }
.gn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.gn-hero__lengths { flex: 1 1 320px; background: var(--gn-night-2); border: 1px solid #43367a; border-radius: 24px; padding: 24px; }
.gn-hero__lengths-title { font: 700 15px var(--gn-head); color: var(--gn-moon); margin: 0 0 14px; }
.gn-hero__lengths ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gn-hero__lengths a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--gn-night-3); color: #f6eedd; text-decoration: none; font-size: 15px; }
.gn-hero__lengths a:hover { background: #46387d; color: #fff; }
.gn-hero__n { font-family: var(--gn-head); color: #f2b98f; }
.gn-section { padding-top: 48px; }
.gn-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.gn-section__head h2 { margin: 0; }
.gn-section__head a { font: 700 14px var(--gn-head); }
.gn-section.gn-prose { padding-bottom: 24px; }
.gn-xmas { background: var(--gn-chip); border-radius: 24px; padding: 28px; }
.gn-xmas__head { margin-bottom: 20px; }
.gn-xmas .gn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .gn-xmas .gn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gn-xmas__head p { margin: 0 0 12px; }
.gn-xmas__links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; font-family: var(--gn-head); font-weight: 700; font-size: 14px; }
html.gn-night .gn-xmas .gn-btn { background: var(--gn-moon); color: #141026; }

/* ---------- Kort og fliser ---------- */
.gn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.gn-grid__full { grid-column: 1 / -1; }
.gn-card { background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: var(--gn-radius); overflow: hidden; }
.gn-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.gn-card__media { aspect-ratio: 1 / 1; background: #8c7cc0; color: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gn-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gn-card__link:hover .gn-card__media img { transform: scale(1.04); }
.gn-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.gn-card__meta { font: 700 12px var(--gn-head); color: var(--gn-muted); }
.gn-card__title { margin: 0; font-size: 18px; line-height: 1.35; }
.gn-card__link:hover .gn-card__title { text-decoration: underline; text-underline-offset: 3px; }
html.gn-night .gn-card__media img { filter: brightness(.8); }
.gn-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.gn-tile { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 18px; background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: 16px; text-decoration: none; }
.gn-tile:hover { border-color: var(--gn-peach); }
.gn-tiles--img .gn-tile { padding: 0 0 14px; overflow: hidden; }
.gn-tiles--img .gn-tile__name, .gn-tiles--img .gn-tile__count { padding: 0 14px; }
.gn-tile__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 10px; }
.gn-tiles--front { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .gn-tiles--front { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gn-tiles--front { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gn-tile__name { font: 700 16px var(--gn-head); color: var(--gn-heading); }
.gn-tile__count { font-size: 13px; color: var(--gn-muted); }
.gn-catgroup { margin: 0 0 36px; }
.gn-catgroup__title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gn-catgroup__title a { color: inherit; text-decoration: none; }
.gn-catgroup__title span { font-size: 14px; font-weight: 500; color: var(--gn-muted); }

/* ---------- Arkiver ---------- */
.gn-archive { padding-top: 28px; padding-bottom: 56px; }
.gn-archive__head { margin-bottom: 24px; }
.gn-archive__intro { font-size: 17px; }
.gn-subcats { margin-bottom: 8px; }
.gn-catbottom { margin-top: 48px; padding: 28px; background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: var(--gn-radius); }
.gn-pagination { margin-top: 32px; }
.gn-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--gn-head); font-weight: 700; }
.gn-pagination a, .gn-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--gn-surface); border: 1px solid var(--gn-line); text-decoration: none; color: var(--gn-heading); }
.gn-pagination .current { background: var(--gn-night-sky); color: var(--gn-moon); border-color: transparent; }

/* ---------- Brødkrumme ---------- */
.gn-crumbs { font: 13px var(--gn-head); color: var(--gn-muted); margin: 0 0 14px; }
.gn-crumbs p { margin: 0; }
.gn-crumbs a { color: var(--gn-muted); }
.gn-crumbs .separator { margin: 0 4px; }

/* ---------- Historie ---------- */
.gn-story, .gn-page { padding-top: 28px; padding-bottom: 56px; }
.gn-story__title { margin-bottom: 16px; }
.gn-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin: 0 0 22px; background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: 18px; }
.gn-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gn-line); background: var(--gn-surface); color: var(--gn-heading); font: 700 14px var(--gn-head); text-decoration: none; cursor: pointer; }
.gn-tool:hover, .gn-tool[aria-pressed="true"] { background: var(--gn-chip); color: var(--gn-heading); }
.gn-tool--primary { background: var(--gn-night-sky); border-color: transparent; color: var(--gn-moon); }
.gn-tool--primary:hover { background: var(--gn-night-3); color: var(--gn-moon); }
html.gn-night .gn-tool--primary { background: var(--gn-moon); color: #141026; }
.gn-tool--sq { min-width: 44px; padding: 0; justify-content: center; }
.gn-tool--lg { font-size: 17px; }
.gn-tool[data-gn-save][aria-pressed="true"] svg { fill: currentColor; }
.gn-listen { margin: 0 0 22px; border-radius: 14px; overflow: hidden; scroll-margin-top: 16px; }
.gn-listen iframe, .gn-song-player iframe { display: block; width: 100%; border: 0; }
.gn-listen__facade { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 88px; padding: 16px 20px; border: 1px solid var(--gn-line); border-radius: 14px; background: var(--gn-surface); color: var(--gn-heading); font-family: var(--gn-head); text-align: left; cursor: pointer; }
.gn-listen__facade:hover { border-color: var(--gn-peach); }
.gn-listen__play { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gn-night-sky); color: var(--gn-moon); flex: none; }
html.gn-night .gn-listen__play { background: var(--gn-moon); color: #141026; }
.gn-listen__text { display: flex; flex-direction: column; gap: 2px; }
.gn-listen__text strong { font-size: 17px; }
.gn-listen__text span { font-size: 13px; color: var(--gn-muted); }
.gn-story__image { margin: 0 0 28px; }
.gn-story__image img { width: 100%; border-radius: 22px; }
html.gn-night .gn-story__image img { filter: brightness(.75); }
.gn-story__text { font-size: var(--gn-fs); line-height: 1.85; }
.gn-story__text p { margin: 0 0 1.1em; }
.gn-prose > :first-child { margin-top: 0; }
.gn-prose h2 { margin-top: 1.6em; }
.gn-prose h3 { margin-top: 1.4em; }
.gn-prose ul, .gn-prose ol { padding-left: 1.3em; }
.gn-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gn-peach); font-style: italic; }
.gn-related { margin-top: 40px; }
.gn-related .gn-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.gn-related.gn-xmas { padding: 24px; }

/* Bedømmelse (Rate My Post / FeedbackWP) */
.gn-rate { margin: 40px 0 0; padding: 24px; text-align: center; background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: var(--gn-radius); }
.gn-rate .rmp-widgets-container { margin: 0 !important; padding: 0 !important; background: none !important; }
.gn-rate ul { list-style: none; }
.gn-rate .rmp-heading { font-family: var(--gn-head) !important; color: var(--gn-heading); }
.gn-rate .rmp-heading--title { font-size: 20px !important; }
.gn-rate .rmp-heading--subtitle { font-size: 15px !important; font-weight: 400; color: var(--gn-muted); }
.gn-rate .rmp-rating-widget__icons-list { padding: 0; margin: 10px 0; }
.gn-rate .rmp-rating-widget__icons-list__icon { font-size: 34px; }
.gn-rate .rmp-icon--full-highlight, .gn-rate .rmp-icon--hovered, .gn-rate .rmp-icon--processing { color: #e6a15c !important; }
.gn-rate .rmp-rating-widget__results, .gn-rate .rmp-rating-widget__msg { font-size: 14px; color: var(--gn-muted); }

/* Godnatsange */
.is-godnatsang .gn-story__text p { max-width: 520px; margin: 0 auto 1.2em; text-align: left; }
.gn-song-player, .gn-song-video { max-width: 520px; margin: 24px auto 0; border-radius: 12px; overflow: hidden; }
.gn-song-video { aspect-ratio: 16 / 9; }
.gn-song-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.gn-song-meta { margin-top: 40px; padding: 26px; background: var(--gn-surface); border: 1px solid var(--gn-line); border-radius: var(--gn-radius); font-size: 15px; }
.gn-song-meta h2 { font-size: 18px; }
.gn-song-meta h2:not(:first-child) { margin-top: 1.4em; }
.gn-song-meta dl { margin: 0; }
.gn-song-meta dl div { display: grid; grid-template-columns: 170px 1fr; gap: 4px 16px; padding: 9px 0; border-bottom: 1px solid var(--gn-line); }
.gn-song-meta dl div:last-child { border-bottom: 0; }
.gn-song-meta dt { font: 700 14px var(--gn-head); color: var(--gn-heading); }
.gn-song-meta dd { margin: 0; }

/* Læse-bjælke */
/* Øverst i vinduet: i bunden ligger AdSense' ankerannonce oven på bjælken. */
.gn-progress { position: fixed; left: 0; right: 0; top: 0; height: 6px; background: rgba(44, 20, 76, .15); z-index: 99999; pointer-events: none; }
.admin-bar .gn-progress { top: var(--wp-admin--admin-bar--height, 32px); }
.gn-progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, #5a3a9e, #e9a06e); box-shadow: 0 0 8px rgba(233, 160, 110, .7); }
html.gn-night .gn-progress__bar { background: #c79a5e; }

/* ---------- Annoncer ---------- */
.gn-ad { clear: both; margin: 32px 0; padding: 10px 0 14px; border-top: 1px solid var(--gn-line); border-bottom: 1px solid var(--gn-line); text-align: center; }
.gn-ad__label { display: block; margin-bottom: 8px; font: 11px var(--gn-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gn-muted); }
.gn-ad ins.adsbygoogle { min-height: 250px; }
.gn-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.gn-story__text .gn-ad { font-size: 16px; }
@media (min-width: 768px) { .gn-ad ins.adsbygoogle { min-height: 200px; } }

/* ---------- Julekalender ---------- */
.gn-jk-countdown { min-height: 60px; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: var(--gn-night-sky); color: #f6eedd; font: 16px/1.5 var(--gn-head); text-align: center; visibility: hidden; }
.gn-jk-countdown.is-ready { visibility: visible; }
.gn-jk-countdown strong, .gn-jk-countdown a { color: #f2b98f; }
.gn-jk { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gn-jk__door { margin: 0; padding: 12px; border-radius: 16px; background: var(--gn-surface); border: 1px solid var(--gn-line); text-align: center; font-family: var(--gn-head); }
.gn-jk__day { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; color: var(--gn-heading); }
.gn-jk__month { display: block; font-size: 12px; color: var(--gn-muted); margin-bottom: 8px; }
.gn-jk__body a { display: block; text-decoration: none; color: var(--gn-heading); }
.gn-jk__body img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.gn-jk__title { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; hyphens: auto; }
.gn-jk__min { display: block; font-size: 12px; color: var(--gn-muted); margin-top: 4px; }
.gn-jk__soon { display: block; padding: 24px 4px; color: var(--gn-muted); font-style: italic; font-size: 14px; }
.gn-jk__door.is-locked { background: var(--gn-night-sky); border-color: transparent; }
.gn-jk__door.is-locked .gn-jk__day { color: var(--gn-moon); }
.gn-jk__door.is-locked .gn-jk__month { color: #c9bfe0; }
.gn-jk__lock { display: block; margin: 14px auto 6px; font-size: 30px; line-height: 1; color: #f2b98f; }
.gn-jk__when { display: block; font-size: 13px; color: #e4dccb; padding-bottom: 8px; }
.gn-jk__door.is-today { outline: 3px solid var(--gn-peach); outline-offset: 2px; }
.gn-jk__door.is-today::before { content: "I dag"; display: block; width: max-content; margin: -2px auto 6px; padding: 1px 10px; border-radius: 99px; background: var(--gn-peach); color: #231a45; font-size: 12px; font-weight: 700; }

/* ---------- Footer ---------- */
.gn-footer { margin-top: 64px; background: var(--gn-night-sky); color: #e4dccb; font-size: 15px; }
.gn-footer__inner { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; padding-top: 48px; padding-bottom: 32px; }
.gn-footer__about { flex: 1 1 280px; max-width: 380px; }
.gn-footer__brand { font: 700 18px var(--gn-head); color: var(--gn-moon); margin: 0 0 6px; }
.gn-footer__about p { margin: 0; }
.gn-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gn-footer a { color: var(--gn-moon); }
.gn-footer__bottom { border-top: 1px solid #3a2f63; padding-top: 16px; padding-bottom: 28px; font-size: 13px; color: #b9aed0; }
.gn-footer__bottom p { margin: 0; }
html.gn-night .gn-footer { background: #0f0b1e; }

/* ---------- Mobil ---------- */
@media (max-width: 1060px) {
	.gn-nav { display: none; }
	.gn-menubtn { display: inline-flex; }
	.gn-actions { margin-left: auto; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.gn-wrap { padding: 0 16px; }
	.gn-header__inner { min-height: 68px; gap: 8px; }
	.gn-logo img, .gn-logo picture { height: 52px; }
	.gn-iconbtn { width: 42px; height: 42px; }
	.gn-band__long { display: none; }
	.gn-band__short { display: inline; }
	.gn-hero__inner { padding-top: 36px; padding-bottom: 44px; gap: 28px; }
	.gn-hero__intro { font-size: 16px; }
	.gn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gn-card__body { padding: 12px 12px 14px; }
	.gn-card__title { font-size: 15px; }
	.gn-tiles, .gn-tiles--front { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.gn-tools { padding: 8px; gap: 6px; }
	.gn-tool { padding: 0 12px; font-size: 13px; }
	.gn-song-meta dl div { grid-template-columns: 1fr; }
	.gn-catbottom, .gn-xmas { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gn-card__media img { transition: none; }
}

@media print {
	.gn-header, .gn-band, .gn-tools, .gn-listen, .gn-ad, .gn-rate, .gn-related, .gn-footer, .gn-progress, .gn-crumbs, .gn-chips { display: none !important; }
	body { background: #fff; color: #000; }
}
