/*
Theme Name: gratisnyheder.dk Live
Theme URI: https://www.gratisnyheder.dk/
Author: gratisnyheder.dk
Author URI: https://www.gratisnyheder.dk/
Description: Specialbygget, levende nyhedstema til gratisnyheder.dk – tophistorier, "Seneste nyt"-ticker, løbende nyhedsfeed, kategorisektioner, "Mest læste", og en tydelig "Skriv en nyhed"-indgang overalt. Hurtigt, uden jQuery og eksterne fonte. Udvidet schema.org-data (NewsArticle m.m.) oven på Yoast SEO.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gratisnyheder-live
Tags: news, blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ------------------------------------------------------------ Tokens */
:root {
	--gnl-ink: #0d1b2a;
	--gnl-ink-2: #1b2d44;
	--gnl-paper: #fff;
	--gnl-bg: #f4f5f7;
	--gnl-muted: #5b6675;
	--gnl-line: #e3e6eb;
	--gnl-accent: #e0182d;
	--gnl-link: #0a58ca;
	--gnl-cta: #ffd23f;
	--gnl-cta-hover: #ffc300;
	--gnl-radius: 12px;
	--gnl-shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 4px 16px rgba(13, 27, 42, .06);
	--gnl-shadow-hover: 0 2px 4px rgba(13, 27, 42, .08), 0 12px 28px rgba(13, 27, 42, .12);
	--gnl-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gnl-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
}

/* ------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--gnl-font); font-size: 16px; line-height: 1.55; color: var(--gnl-ink); background: var(--gnl-bg); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--gnl-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gnl-accent); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--gnl-cta); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.gnl-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--gnl-cta); color: var(--gnl-ink); padding: 10px 16px; font-weight: 700; border-radius: 6px; }
.gnl-skip:focus { left: 8px; }
.gnl-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.gnl-main { display: block; padding-bottom: 40px; outline: 0; }

/* ------------------------------------------------------------ Live dot */
.gnl-live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--gnl-accent); box-shadow: 0 0 0 0 rgba(224, 24, 45, .6); animation: gnl-pulse 1.8s infinite; vertical-align: middle; flex: none; }
@keyframes gnl-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 24, 45, .55); } 70% { box-shadow: 0 0 0 9px rgba(224, 24, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 24, 45, 0); } }

/* ------------------------------------------------------------ Buttons */
.gnl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.gnl-btn:hover { transform: translateY(-1px); }
.gnl-btn--cta { background: var(--gnl-cta); color: var(--gnl-ink); font-weight: 800; box-shadow: 0 4px 14px rgba(255, 210, 63, .35); }
.gnl-btn--cta:hover { background: var(--gnl-cta-hover); color: var(--gnl-ink); }
.gnl-btn--lg { padding: 14px 24px; font-size: 17px; }
.gnl-btn--ghost { border-color: var(--gnl-ink); color: var(--gnl-ink); background: transparent; }
.gnl-btn--ghost:hover { background: var(--gnl-ink); color: #fff; }
.gnl-btn--primary, .comment-form .submit { background: var(--gnl-ink); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ------------------------------------------------------------ Ticker */
.gnl-ticker { background: #08121e; color: #e8edf3; font-size: 14px; }
.gnl-ticker__inner { display: flex; align-items: center; gap: 14px; height: 40px; }
.gnl-ticker__label { display: inline-flex; align-items: center; flex: none; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: #fff; }
.gnl-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.gnl-ticker__track { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; width: max-content; animation: gnl-marquee 70s linear infinite; }
.gnl-ticker:hover .gnl-ticker__track, .gnl-ticker:focus-within .gnl-ticker__track { animation-play-state: paused; }
.gnl-ticker__track li { white-space: nowrap; }
.gnl-ticker__track .gnl-time { color: #ff6b7a; font-weight: 700; margin-right: 8px; font-size: 12px; }
.gnl-ticker__track a { color: #e8edf3; text-decoration: none; }
.gnl-ticker__track a:hover { color: var(--gnl-cta); }
@keyframes gnl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Header */
.gnl-header { background: var(--gnl-ink); color: #fff; }
.gnl-topbar { border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.gnl-topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.gnl-topbar__date { color: #aeb9c7; }
.gnl-topbar__nav { flex: 1; min-width: 0; }
.gnl-topbar a { color: #d6dde6; text-decoration: none; }
.gnl-topbar a:hover { color: var(--gnl-cta); }
.gnl-topbar__account { display: flex; gap: 14px; font-weight: 600; }
.gnl-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.gnl-masthead { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.gnl-brand { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 0; }
.gnl-brand__text { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.gnl-brand__text:hover { color: #fff; }
.gnl-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gnl-accent); color: #fff; font-weight: 900; font-size: 24px; }
.gnl-brand__name { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.gnl-brand__name strong { font-weight: 900; }
.gnl-brand__tld { color: var(--gnl-cta); font-weight: 800; }
.gnl-brand__tagline { color: #aeb9c7; font-size: 13px; }
.custom-logo { max-height: 52px; width: auto; }
.gnl-search { display: flex; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; overflow: hidden; width: min(340px, 34vw); }
.gnl-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; padding: 10px 16px; font: inherit; font-size: 15px; }
.gnl-search input::placeholder { color: #aeb9c7; }
.gnl-search button { border: 0; background: transparent; color: inherit; padding: 8px 14px; cursor: pointer; }
.gnl-search--inline { background: #fff; border-color: var(--gnl-line); color: var(--gnl-ink); width: 100%; max-width: 520px; margin: 14px 0; }
.gnl-search--inline input::placeholder { color: var(--gnl-muted); }
.gnl-search--inline button { font-weight: 700; background: var(--gnl-ink); color: #fff; border-radius: 999px; margin: 4px; padding: 8px 18px; }
.gnl-btn--header { flex: none; }

/* Category nav – sticky, horizontally scrollable on small screens */
.gnl-catnav { background: #fff; color: var(--gnl-ink); border-bottom: 1px solid var(--gnl-line); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(13, 27, 42, .05); }
.admin-bar .gnl-catnav { top: 32px; }
.gnl-catnav__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gnl-catnav__inner::-webkit-scrollbar { display: none; }
.gnl-catnav .gnl-menu { flex-wrap: nowrap; gap: 0; }
.gnl-catnav a { display: block; padding: 13px 12px; color: var(--gnl-ink); text-decoration: none; font-weight: 650; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnl-catnav a:hover, .gnl-catnav .current-menu-item > a, .gnl-catnav .current-menu-parent > a, .gnl-catnav .is-current { color: var(--gnl-accent); border-bottom-color: var(--gnl-accent); }
.gnl-catnav__home { font-weight: 800 !important; }

/* ------------------------------------------------------------ Badges & meta */
.gnl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--gnl-muted); margin-bottom: 6px; }
.gnl-badge { --gnl-cat: var(--gnl-accent); display: inline-block; color: var(--gnl-cat); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; text-decoration: none; }
.gnl-badge:hover { text-decoration: underline; color: var(--gnl-cat); }
.gnl-new { background: var(--gnl-accent); color: #fff; font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; }
.gnl-time { white-space: nowrap; }
.is-fresh .gnl-card__meta .gnl-time { color: var(--gnl-accent); font-weight: 700; }

/* ------------------------------------------------------------ Cards */
.gnl-card { position: relative; background: var(--gnl-paper); border-radius: var(--gnl-radius); box-shadow: var(--gnl-shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.gnl-card:hover { box-shadow: var(--gnl-shadow-hover); transform: translateY(-2px); }
.gnl-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe3e8; }
.gnl-thumb img, .gnl-thumb__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gnl-card:hover .gnl-thumb img { transform: scale(1.04); }
.gnl-thumb__ph { --gnl-cat: var(--gnl-ink); position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, .25) 0%, transparent 55%), linear-gradient(135deg, var(--gnl-cat) 0%, var(--gnl-ink) 120%); color: rgba(255, 255, 255, .92); font-weight: 900; font-size: clamp(16px, 2.2vw, 26px); letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.gnl-thumb__ph span { max-width: 80%; position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.gnl-thumb__ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); }
.gnl-thumb__ph::after { content: "G"; position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-size: 9em; line-height: 1; font-weight: 900; color: rgba(255, 255, 255, .1); }
.gnl-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.gnl-card__title { font-size: 18px; font-weight: 800; margin: 0; line-height: 1.25; }
.gnl-card__title a { color: var(--gnl-ink); text-decoration: none; }
.gnl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gnl-card__title a:hover { color: var(--gnl-accent); }
.gnl-card__meta a { position: relative; z-index: 2; }
.gnl-card__excerpt { color: var(--gnl-muted); margin: 8px 0 0; font-size: 15px; }
.gnl-card__byline { color: var(--gnl-muted); font-size: 13px; margin: 10px 0 0; }

.gnl-card--lead { height: 100%; }
.gnl-card--lead .gnl-thumb { aspect-ratio: 16 / 9; }
.gnl-card--lead .gnl-card__body { padding: 18px 22px 22px; }
.gnl-card--lead .gnl-card__title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; }
.gnl-card--lead .gnl-card__excerpt { font-size: 17px; }

.gnl-card--row { flex-direction: row; align-items: stretch; }
.gnl-card--row .gnl-thumb { flex: 0 0 220px; aspect-ratio: auto; min-height: 140px; }
.gnl-card--row .gnl-card__title { font-size: 19px; }

.gnl-card--mini { box-shadow: none; border-radius: 0; background: transparent; border-top: 1px solid var(--gnl-line); }
.gnl-card--mini:hover { box-shadow: none; transform: none; }
.gnl-card--mini .gnl-card__body { padding: 10px 0; }
.gnl-card--mini .gnl-card__title { font-size: 15px; font-weight: 700; }
.gnl-card--mini .gnl-card__meta { margin-bottom: 3px; }

.gnl-card--rank { flex-direction: row; align-items: flex-start; gap: 12px; box-shadow: none; background: transparent; border-radius: 0; border-top: 1px solid var(--gnl-line); padding: 10px 0; }
.gnl-card--rank:hover { box-shadow: none; transform: none; }
.gnl-card--rank .gnl-card__body { padding: 0; }
.gnl-card--rank .gnl-card__title { font-size: 15px; font-weight: 700; }
.gnl-card__rank { flex: 0 0 34px; font-size: 32px; font-weight: 900; line-height: 1; color: var(--gnl-accent); opacity: .9; font-variant-numeric: tabular-nums; }
.gnl-ranklist .gnl-card--rank:first-child, .gnl-minilist .gnl-card--mini:first-child { border-top: 0; }

/* ------------------------------------------------------------ Front page */
.gnl-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.gnl-top__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gnl-top__side .gnl-card__title { font-size: 16px; }
.gnl-top__side .gnl-card__body { padding: 10px 12px 14px; }

.gnl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 28px; align-items: start; }
.gnl-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--gnl-ink); margin-bottom: 16px; }
.gnl-section-title { display: flex; align-items: center; font-size: 22px; font-weight: 900; text-transform: none; margin: 0 0 10px; }
.gnl-section-head__note { color: var(--gnl-muted); font-size: 13px; }
.gnl-feed__list { display: grid; gap: 16px; }
.gnl-more { text-align: center; margin: 24px 0 0; }

.gnl-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.gnl-catblock { --gnl-cat: var(--gnl-accent); background: #fff; border-radius: var(--gnl-radius); box-shadow: var(--gnl-shadow); padding: 16px; border-top: 5px solid var(--gnl-cat); }
.gnl-catblock .gnl-card { box-shadow: none; border-radius: 8px; }
.gnl-catblock .gnl-card--card .gnl-card__body { padding: 10px 0 6px; }
.gnl-catblock .gnl-card--card:hover { transform: none; }
.gnl-catblock__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.gnl-catblock__title { font-size: 20px; font-weight: 900; margin: 0; }
.gnl-catblock__title a { color: var(--gnl-ink); text-decoration: none; }
.gnl-catblock__title a:hover { color: var(--gnl-cat); }
.gnl-catblock__all { color: var(--gnl-cat); font-weight: 700; font-size: 14px; text-decoration: none; }

/* ------------------------------------------------------------ CTA (post your own news) */
.gnl-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 16px; padding: 26px 28px; color: #fff; background: radial-gradient(140% 160% at 100% 0%, #2a4d7a 0%, transparent 55%), linear-gradient(120deg, var(--gnl-ink) 0%, var(--gnl-ink-2) 100%); box-shadow: var(--gnl-shadow); position: relative; overflow: hidden; }
.gnl-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 210, 63, .12); pointer-events: none; }
.gnl-cta__kicker { display: flex; align-items: center; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; color: var(--gnl-cta); }
.gnl-cta__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; margin: 0 0 12px; color: #fff; letter-spacing: -.02em; }
.gnl-cta__text { margin: 0; color: #cfd8e3; }
.gnl-cta__steps { counter-reset: gnl-step; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.gnl-cta__steps li { counter-increment: gnl-step; display: flex; flex-direction: column; padding-left: 40px; position: relative; font-size: 15px; }
.gnl-cta__steps li::before { content: counter(gnl-step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gnl-cta); color: var(--gnl-ink); font-weight: 900; }
.gnl-cta__steps span { color: #b8c4d3; font-size: 13.5px; }
.gnl-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: none; position: relative; z-index: 1; }
.gnl-cta__link { color: #dbe3ec; font-size: 14px; }
.gnl-cta__link:hover { color: var(--gnl-cta); }
.gnl-cta--hero { margin-top: 24px; padding: 30px 32px; }
.gnl-cta--inline { margin: 32px 0; }
.gnl-cta--band { max-width: 1200px; margin: 20px auto 40px; width: calc(100% - 40px); }
.gnl-cta--sidebar { flex-direction: column; align-items: stretch; padding: 22px; margin-bottom: 24px; }
.gnl-cta--sidebar .gnl-cta__title { font-size: 22px; }
.gnl-cta--sidebar .gnl-cta__actions { align-items: stretch; }
.gnl-cta--sidebar .gnl-btn { justify-content: center; }

/* ------------------------------------------------------------ Sidebar & widgets */
.gnl-sidebar { min-width: 0; }
.gnl-sidebar .widget { background: #fff; border-radius: var(--gnl-radius); box-shadow: var(--gnl-shadow); padding: 18px 18px 8px; margin-bottom: 24px; }
.widget-title { display: flex; align-items: center; font-size: 17px; font-weight: 900; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--gnl-ink); }
.widget ul { list-style: none; margin: 0 0 10px; padding: 0; }
.widget li { padding: 7px 0; border-top: 1px solid var(--gnl-line); }
.widget li:first-child { border-top: 0; }
.widget a { color: var(--gnl-ink); text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--gnl-accent); }

/* ------------------------------------------------------------ Archive */
.gnl-archive-head { --gnl-cat: var(--gnl-ink); background: #fff; border-bottom: 1px solid var(--gnl-line); padding: 22px 0 24px; position: relative; }
.gnl-archive-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--gnl-cat); }
.gnl-archive-head__kicker { margin: 10px 0 2px; color: var(--gnl-cat); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.gnl-archive-head__title { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; margin: 0; }
.gnl-archive-head__desc { color: var(--gnl-muted); max-width: 760px; margin-top: 8px; }
.gnl-archive-head__count { color: var(--gnl-muted); margin: 6px 0 0; font-size: 14px; }
.gnl-authorhead { display: flex; gap: 18px; align-items: center; }
.gnl-authorhead__avatar { border-radius: 50%; }
.gnl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gnl-grid__lead, .gnl-grid__full { grid-column: 1 / -1; }
.gnl-grid__full .gnl-cta--inline { margin: 4px 0; }
.gnl-empty { background: #fff; border-radius: var(--gnl-radius); padding: 28px; box-shadow: var(--gnl-shadow); }

.gnl-pagination { margin-top: 28px; }
.gnl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gnl-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--gnl-ink); text-decoration: none; font-weight: 700; box-shadow: var(--gnl-shadow); }
.gnl-pagination .page-numbers.current { background: var(--gnl-ink); color: #fff; }
.gnl-pagination a.page-numbers:hover { background: var(--gnl-cta); }

/* ------------------------------------------------------------ Breadcrumbs */
.gnl-crumbs { font-size: 13px; color: var(--gnl-muted); margin-bottom: 12px; }
.gnl-crumbs a { color: var(--gnl-muted); text-decoration: none; }
.gnl-crumbs a:hover { color: var(--gnl-accent); text-decoration: underline; }
.gnl-crumbs__sep { margin: 0 4px; }

/* ------------------------------------------------------------ Article */
.gnl-article { background: #fff; border-radius: var(--gnl-radius); box-shadow: var(--gnl-shadow); padding: 28px clamp(18px, 4vw, 44px) 36px; min-width: 0; }
.gnl-article__title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: -.025em; line-height: 1.1; margin: 4px 0 12px; }
.gnl-article__dek { font-size: 20px; color: var(--gnl-ink-2); margin: 0 0 16px; line-height: 1.45; }
.gnl-article__byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--gnl-line); border-bottom: 1px solid var(--gnl-line); }
.gnl-article__avatar { border-radius: 50%; }
.gnl-article__bymeta { display: flex; flex-direction: column; font-size: 14px; }
.gnl-article__author a { color: var(--gnl-ink); font-weight: 800; text-decoration: none; }
.gnl-article__dates { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--gnl-muted); font-size: 13px; }
.gnl-article__dates .gnl-time { color: var(--gnl-accent); font-weight: 700; }
.gnl-article__media { margin: 22px calc(-1 * clamp(18px, 4vw, 44px)) 0; }
.gnl-article__media img { width: 100%; display: block; }
.gnl-article__media figcaption { font-size: 13px; color: var(--gnl-muted); padding: 8px clamp(18px, 4vw, 44px) 0; }
.gnl-article__content { font-family: var(--gnl-serif); font-size: 19px; line-height: 1.7; margin-top: 24px; max-width: 720px; overflow-wrap: anywhere; }
.gnl-article__content > * { margin-top: 0; margin-bottom: 1.1em; }
.gnl-article__content h2, .gnl-article__content h3, .gnl-article__content h4 { font-family: var(--gnl-font); font-weight: 850; margin-top: 1.5em; }
.gnl-article__content h2 { font-size: 26px; }
.gnl-article__content h3 { font-size: 21px; }
.gnl-article__content img { border-radius: 8px; }
.gnl-article__content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gnl-accent); color: var(--gnl-ink-2); font-style: italic; }
.gnl-article__content table { width: 100%; border-collapse: collapse; font-family: var(--gnl-font); font-size: 15px; }
.gnl-article__content th, .gnl-article__content td { border: 1px solid var(--gnl-line); padding: 8px 10px; text-align: left; }
.gnl-article__content .gn-annonce-label { font-family: var(--gnl-font); }
.gnl-page .gnl-article__content { font-family: var(--gnl-font); font-size: 17px; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--gnl-muted); font-family: var(--gnl-font); }

.gnl-article__foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gnl-line); }
.gnl-tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gnl-tags a { display: inline-block; padding: 5px 12px; background: var(--gnl-bg); border-radius: 999px; font-size: 13px; color: var(--gnl-ink); text-decoration: none; font-weight: 600; }
.gnl-tags a:hover { background: var(--gnl-cta); }
.gnl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gnl-share__label { font-weight: 800; font-size: 14px; margin-right: 4px; }
.gnl-share__btn { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; color: #fff; background: var(--gnl-ink); border: 0; cursor: pointer; font-family: inherit; }
.gnl-share__btn--facebook { background: #1877f2; }
.gnl-share__btn--x { background: #000; }
.gnl-share__btn--linkedin { background: #0a66c2; }
.gnl-share__btn--mail { background: #5b6675; }
.gnl-share__btn:hover { color: #fff; filter: brightness(1.1); }
.gnl-share__copy.gnl-copied { background: #00a37a; }

.gnl-authorbox { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--gnl-bg); border-radius: var(--gnl-radius); }
.gnl-authorbox img { border-radius: 50%; }
.gnl-authorbox__kicker { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gnl-muted); font-weight: 700; }
.gnl-authorbox__name { font-size: 20px; margin: 0 0 4px; }
.gnl-authorbox__name a { color: var(--gnl-ink); text-decoration: none; }
.gnl-authorbox p { margin: 0 0 4px; }
.gnl-authorbox__count { color: var(--gnl-muted); font-size: 14px; }

.gnl-related { margin-top: 36px; }
.gnl-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gnl-related .gnl-card__title { font-size: 16px; }

.gnl-comments { margin-top: 36px; }
.gnl-comments__list { list-style: none; padding: 0; margin: 0 0 24px; }
.gnl-comments__list .comment-body { padding: 14px 0; border-top: 1px solid var(--gnl-line); }
.gnl-comments__list .children { list-style: none; padding-left: 24px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd5dd; border-radius: 8px; font: inherit; }

/* Auth pages (opret-bruger / login) */
.gnl-layout--auth { grid-template-columns: minmax(0, 1fr) 380px; }
.gnl-authside { background: var(--gnl-ink); color: #fff; border-radius: 16px; padding: 26px; position: sticky; top: 64px; }
.gnl-authside h2 { font-size: 22px; font-weight: 900; }
.gnl-authside .gnl-cta__steps { flex-direction: column; margin: 16px 0; }
.gnl-authside a { color: var(--gnl-cta); font-weight: 700; }

/* 404 */
.gnl-404 { padding-top: 40px; }
.gnl-404__code { font-size: clamp(80px, 14vw, 160px); font-weight: 900; margin: 0; line-height: 1; color: var(--gnl-accent); letter-spacing: -.04em; }

/* ------------------------------------------------------------ Footer */
.gnl-footer { background: var(--gnl-ink); color: #c4cedb; font-size: 15px; }
.gnl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.gnl-footer__brand { font-size: 24px; color: #fff; margin: 0 0 8px; }
.gnl-footer__brand strong { font-weight: 900; }
.gnl-footer__title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.gnl-footer ul { list-style: none; margin: 0; padding: 0; display: block; }
.gnl-footer li { margin-bottom: 8px; }
.gnl-footer a { color: #e6ecf3; text-decoration: none; }
.gnl-footer a:hover { color: var(--gnl-cta); }
.gnl-footer .gnl-menu { display: block; }
.gnl-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0 22px; font-size: 13px; }
.gnl-footer__bottom .gnl-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* Floating "Skriv en nyhed" on mobile */
.gnl-fab { display: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
	.gnl-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gnl-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
	.gnl-top { grid-template-columns: 1fr; }
	.gnl-layout, .gnl-layout--auth { grid-template-columns: minmax(0, 1fr); }
	.gnl-authside { position: static; }
	.gnl-cta { flex-direction: column; align-items: stretch; }
	.gnl-cta__actions { align-items: stretch; }
	.gnl-cta .gnl-btn { justify-content: center; }
	.gnl-footer__grid { grid-template-columns: 1fr 1fr; }
	.gnl-footer__about { grid-column: 1 / -1; }
	.gnl-topbar__date, .gnl-topbar__nav { display: none; }
	.gnl-topbar__account { margin-left: auto; }
}
@media (max-width: 720px) {
	.gnl-wrap { padding: 0 14px; }
	.gnl-masthead { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
	.gnl-brand { flex: 1 1 0; }
	.gnl-brand__name { font-size: 20px; }
	.gnl-brand__mark { width: 30px; height: 30px; font-size: 18px; border-radius: 8px; }
	.gnl-brand__text { gap: 8px; }
	.gnl-brand__tagline { display: none; }
	.gnl-search { order: 3; width: 100%; }
	.gnl-btn--header { padding: 8px 12px; font-size: 13.5px; gap: 6px; }
	.gnl-btn--header svg { width: 15px; height: 15px; }
	.gnl-top__side { grid-template-columns: 1fr 1fr; gap: 12px; }
	.gnl-top__side .gnl-card__title { font-size: 14.5px; }
	.gnl-card--row .gnl-thumb { flex-basis: 120px; min-height: 100%; }
	.gnl-card--row .gnl-card__title { font-size: 16px; }
	.gnl-card--row .gnl-card__excerpt { display: none; }
	.gnl-card--row .gnl-card__body { padding: 10px 12px; }
	.gnl-sections, .gnl-grid, .gnl-related__grid { grid-template-columns: minmax(0, 1fr); }
	.gnl-article { border-radius: 0; margin: 0 -14px; box-shadow: none; }
	.gnl-article__content { font-size: 18px; }
	.gnl-cta, .gnl-cta--hero { padding: 22px 18px; }
	.gnl-cta__steps { flex-direction: column; }
	.gnl-footer__grid { grid-template-columns: 1fr; }
	.gnl-fab { display: inline-flex; position: fixed; right: 14px; bottom: 16px; z-index: 60; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--gnl-cta); color: var(--gnl-ink); font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(13, 27, 42, .3); }
	.gnl-fab:hover { color: var(--gnl-ink); }
	.gnl-footer { padding-bottom: 70px; }
	.admin-bar .gnl-catnav { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.gnl-ticker__viewport { overflow-x: auto; }
}
@media print {
	.gnl-ticker, .gnl-catnav, .gnl-sidebar, .gnl-cta, .gnl-fab, .gnl-footer, .gnl-share, .gnl-comments { display: none !important; }
}
