@font-face{font-family:"Fraunces";src:url(/assets/fonts/fraunces-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url(/assets/fonts/fraunces-900.woff2) format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(/assets/fonts/manrope-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(/assets/fonts/manrope-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url(/assets/fonts/caveat-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
/* Low-FODMAP Køkkenet – temaet "køkkentavlen".
   Mørk grøn tavle, gulerodsorange og purløgsgrøn, hvide opskriftskort. Mobil først. */

:root {
  --tx-nat: #0F1D16;
  --tx-tavle: #172A20;
  --tx-tavle-lys: #1F3629;
  --tx-streg: #2E4A3A;
  --tx-kridt: #F2F7F1;
  --tx-salvie: #A8C4B3;
  --tx-gulerod: #FF7A2E;
  --tx-gulerod-lys: #FF8F4F;
  --tx-purloeg: #4FDB8B;
  --tx-kort: #FFFFFF;
  --tx-blaek: #0F1D16;
  --tx-blaek-blød: #3D4D43;
  --tx-basilikum: #1D7A3A;
  --tx-paprika: #C2410C;
  --tx-kortstreg: #D5E2D9;
  --tx-r: 12px;
  --tx-head: "Fraunces", Georgia, "Times New Roman", serif;
  --tx-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --tx-chalk: "Caveat", "Segoe Print", cursive;
  --tx-col: 760px;
  --tx-pad: 1.15rem;
}

/* ---------- Grundlag ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--tx-nat); color: var(--tx-kridt);
  font-family: var(--tx-body); font-size: 1.0625rem; line-height: 1.7;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--tx-purloeg); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--tx-kridt); text-decoration-color: var(--tx-gulerod); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tx-purloeg); outline-offset: 3px; }
::selection { background: var(--tx-purloeg); color: var(--tx-blaek); }

.tx-skip {
  position: absolute; left: .75rem; top: -5rem; z-index: 60;
  padding: .65rem 1.1rem; border-radius: var(--tx-r);
  background: var(--tx-purloeg); color: var(--tx-blaek); font-weight: 700; text-decoration: none;
}
.tx-skip:focus { top: .75rem; color: var(--tx-blaek); }

/* ---------- Sidebjælke / topbjælke ---------- */
.tx-rail { position: relative; z-index: 30; background: var(--tx-tavle); border-bottom: 4px solid var(--tx-gulerod); }
.tx-rail__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem var(--tx-pad); }
.tx-rail__brand { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; border-radius: 6px; }
.tx-rail__brand svg { display: block; width: min(14.5rem, 58vw); height: auto; }
.tx-rail__tagline, .tx-reg { display: none; }

.tx-drawer { flex: none; }
.tx-drawer__toggle {
  display: inline-flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer;
  padding: .5rem .85rem; border: 2px solid var(--tx-purloeg); border-radius: var(--tx-r);
  color: var(--tx-kridt); font-weight: 700; font-size: .95rem; line-height: 1.2;
}
.tx-drawer__toggle::-webkit-details-marker { display: none; }
.tx-drawer__toggle::marker { content: ""; }
.tx-drawer__icon { width: 1.1rem; height: 1.1rem; fill: var(--tx-purloeg); }
.tx-drawer[open] .tx-drawer__toggle { background: var(--tx-purloeg); color: var(--tx-blaek); }
.tx-drawer[open] .tx-drawer__icon { fill: var(--tx-blaek); }
.tx-drawer__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  max-height: calc(100vh - 5rem); overflow-y: auto;
  padding: 1.1rem var(--tx-pad) 1.5rem;
  background: var(--tx-tavle); border-bottom: 4px solid var(--tx-gulerod);
  box-shadow: 0 22px 34px rgba(0, 0, 0, .5);
}

/* Registret (bruges både i skuffen og i sidebjælken) */
.tx-reg__group + .tx-reg__group { margin-top: .95rem; }
.tx-reg__label {
  margin: 0 0 .25rem; padding-left: .2rem;
  font-family: var(--tx-chalk); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--tx-purloeg);
}
.tx-reg__list { list-style: none; margin: 0; padding: 0; }
.tx-reg__link {
  display: flex; align-items: center; gap: .65rem;
  padding: .36rem .65rem; border-radius: 10px;
  color: var(--tx-kridt); font-weight: 700; font-size: .97rem; line-height: 1.35; text-decoration: none;
}
.tx-reg__link::before {
  content: ""; flex: none; width: .5rem; height: 1.05rem;
  border: 2px solid var(--tx-salvie); border-radius: 3px;
}
.tx-reg__link:hover { background: var(--tx-tavle-lys); color: var(--tx-kridt); }
.tx-reg__link:hover::before { border-color: var(--tx-gulerod); }
.tx-reg__link[aria-current="page"] { background: var(--tx-gulerod); color: var(--tx-blaek); }
.tx-reg__link[aria-current="page"]::before { background: var(--tx-blaek); border-color: var(--tx-blaek); }
.tx-reg__group--site { padding-top: .9rem; border-top: 2px dashed var(--tx-streg); }
.tx-reg__link--small { font-weight: 400; font-size: .92rem; color: var(--tx-salvie); }
.tx-reg__link--small::before { height: .5rem; }

/* ---------- Hovedspalte ---------- */
.tx-main {
  display: block; width: 100%;
  max-width: calc(var(--tx-col) + 2 * var(--tx-pad)); margin: 0 auto;
  padding: 2rem var(--tx-pad) 3.5rem;
}

/* Disclaimer – vises én gang på alle sider */
.tx-notice {
  display: flex; align-items: flex-start; gap: .85rem;
  margin: 4rem 0 0; padding: 1.05rem 1.2rem;
  background: var(--tx-tavle); border: 2px solid var(--tx-purloeg); border-radius: var(--tx-r);
}
.tx-notice__icon { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .1rem; fill: var(--tx-purloeg); }
.tx-notice__text { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--tx-kridt); }

/* ---------- Footer (minimal, centreret) ---------- */
.tx-foot {
  padding: 2.4rem var(--tx-pad) 2.8rem; text-align: center;
  border-top: 1px solid var(--tx-streg); color: var(--tx-salvie); font-size: .92rem;
}
.tx-foot__mark { display: block; width: 2.1rem; height: 2.1rem; margin: 0 auto .55rem; fill: var(--tx-gulerod); }
.tx-foot__name { margin: 0; font-family: var(--tx-head); font-weight: 600; font-size: 1.15rem; color: var(--tx-kridt); }
.tx-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.3rem; list-style: none; margin: .55rem 0; padding: 0; }
.tx-foot__link { color: var(--tx-salvie); }
.tx-foot__link[aria-current="page"] { color: var(--tx-purloeg); }
.tx-foot__copy { margin: 0; font-size: .85rem; }

/* ---------- Billeder med AI-mærkning ---------- */
.tx-photo { margin: 0 0 2.4rem; }
.tx-photo__img { width: 100%; border-radius: var(--tx-r); background: var(--tx-tavle); }
.tx-photo__ai {
  display: flex; align-items: center; gap: .45rem;
  margin-top: .55rem; font-size: .8rem; line-height: 1.4; color: var(--tx-salvie);
}
.tx-photo__ai::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 2px; background: var(--tx-gulerod); }
.tx-photo--hero { margin: 2rem 10px 0 0; }
.tx-photo--hero .tx-photo__img { box-shadow: 10px 10px 0 var(--tx-gulerod); }
.tx-photo--hero .tx-photo__ai { margin-top: 1.15rem; }

/* ---------- Forside: hero ---------- */
.tx-hero { margin: 0 0 3.25rem; }
.tx-hero__chalk {
  margin: 0 0 .3rem;
  font-family: var(--tx-chalk); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: var(--tx-purloeg);
}
.tx-hero__title {
  margin: 0; font-family: var(--tx-head); font-weight: 900;
  font-size: clamp(2.3rem, 1.45rem + 3.6vw, 3.7rem); line-height: 1.03; letter-spacing: -.02em;
}
.tx-hero__title::after {
  content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1.1rem;
  border-radius: 99px; background: var(--tx-gulerod);
}
.tx-hero__lead { margin: 1.1rem 0 0; max-width: 38em; font-size: 1.15rem; line-height: 1.6; color: var(--tx-salvie); }

/* ---------- Forside: køkkentavlen ---------- */
.tx-board {
  margin: 0 0 3.5rem; padding: 1.35rem .85rem .35rem;
  background: var(--tx-tavle); border: 1px solid var(--tx-streg); border-radius: var(--tx-r);
}
.tx-board__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem 1rem;
  padding: 0 .3rem 1rem; border-bottom: 2px dashed var(--tx-streg);
}
.tx-board__title { margin: 0; font-family: var(--tx-head); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.3rem); line-height: 1.1; }
.tx-board__note { margin: 0; font-family: var(--tx-chalk); font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: var(--tx-purloeg); }
.tx-board__rows { list-style: none; margin: 0; padding: 0; }
.tx-board__row { display: grid; gap: .45rem; padding: 1.15rem 0; }
.tx-board__row + .tx-board__row { border-top: 2px dashed var(--tx-streg); }
.tx-board__slot {
  margin: 0; padding-left: .3rem;
  font-family: var(--tx-chalk); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--tx-gulerod);
}
.tx-board__dishes { display: grid; gap: .35rem; list-style: none; margin: 0; padding: 0; }

.tx-dish {
  position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; align-items: start;
  padding: .5rem; border-radius: var(--tx-r); transition: background-color .15s ease;
}
.tx-dish:hover { background: var(--tx-tavle-lys); }
.tx-dish__media { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--tx-streg); }
.tx-dish__img { width: 100%; height: 100%; object-fit: cover; }
.tx-dish__ai {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .2rem .3rem; background: var(--tx-nat); color: var(--tx-kridt);
  font-size: .625rem; line-height: 1.25; text-align: center;
}
.tx-dish__media--plain {
  background:
    radial-gradient(circle at 32% 36%, var(--tx-gulerod) 0 20%, transparent 21%),
    radial-gradient(circle at 66% 64%, var(--tx-purloeg) 0 17%, transparent 18%),
    var(--tx-streg);
}
.tx-dish__body { min-width: 0; }
.tx-dish__name { margin: .1rem 0 0; font-family: var(--tx-head); font-weight: 600; font-size: 1.28rem; line-height: 1.2; }
.tx-dish__link { color: var(--tx-kridt); text-decoration: none; }
.tx-dish__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--tx-r); }
.tx-dish__link:hover { color: var(--tx-kridt); text-decoration: underline; text-decoration-color: var(--tx-gulerod); text-decoration-thickness: 2px; }
.tx-dish__link:focus-visible { outline: none; }
.tx-dish__link:focus-visible::after { outline: 3px solid var(--tx-purloeg); outline-offset: 2px; }
.tx-dish__desc { margin: .3rem 0 0; font-size: .93rem; line-height: 1.5; color: var(--tx-salvie); }

/* ---------- Forside: køkkenhåndbogen (hvid huskeseddel) ---------- */
.tx-book {
  margin: 3.5rem 8px 0 0; padding: 1.6rem 1.2rem 1.1rem;
  background: var(--tx-kort); color: var(--tx-blaek);
  border-radius: var(--tx-r); box-shadow: 8px 8px 0 var(--tx-purloeg);
}
.tx-book__title { margin: 0; font-family: var(--tx-head); font-weight: 900; font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.1rem); line-height: 1.1; color: var(--tx-blaek); }
.tx-book__intro { margin: .4rem 0 1rem; color: var(--tx-blaek-blød); }
.tx-book__list { list-style: none; margin: 0; padding: 0; }
.tx-book__item { position: relative; padding: .8rem 0 .85rem 2.15rem; border-top: 1px dashed var(--tx-kortstreg); break-inside: avoid; }
.tx-book__item::before {
  content: ""; position: absolute; left: .1rem; top: 1.08rem;
  width: 1.15rem; height: 1.15rem; border: 2px solid var(--tx-paprika); border-radius: 4px;
}
.tx-book__link { font-family: var(--tx-head); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--tx-blaek); text-decoration: none; }
.tx-book__link:hover { color: var(--tx-paprika); text-decoration: underline; text-decoration-color: var(--tx-paprika); }
.tx-book__link:focus-visible { outline-color: var(--tx-basilikum); }
.tx-book__desc { margin: .2rem 0 0; font-size: .93rem; line-height: 1.5; color: var(--tx-blaek-blød); }

/* ---------- Artikler: hoved ---------- */
.tx-trail { margin: 0 0 1.4rem; font-size: .88rem; line-height: 1.4; color: var(--tx-salvie); }
.tx-trail__list { display: flex; flex-wrap: wrap; gap: .2rem 0; list-style: none; margin: 0; padding: 0; }
.tx-trail__item + .tx-trail__item::before { content: "/"; margin: 0 .55rem; color: var(--tx-salvie); }
.tx-trail__link { color: var(--tx-salvie); }

.tx-sheet__head { margin: 0 0 2.1rem; }
.tx-sheet__kicker {
  margin: 0 0 .45rem;
  font-family: var(--tx-chalk); font-weight: 700; font-size: 1.65rem; line-height: 1.1; color: var(--tx-purloeg);
}
.tx-sheet__title {
  margin: 0; font-family: var(--tx-head); font-weight: 900;
  font-size: clamp(2.05rem, 1.4rem + 2.9vw, 3.15rem); line-height: 1.06; letter-spacing: -.015em;
}
.tx-sheet__title::after {
  content: ""; display: block; width: 3.5rem; height: .4rem; margin-top: 1rem;
  border-radius: 99px; background: var(--tx-gulerod);
}
.tx-sheet__lead { margin: 1rem 0 0; font-size: 1.15rem; line-height: 1.6; color: var(--tx-salvie); }
.tx-sheet__meta {
  display: inline-block; margin: 1.1rem 0 0; padding: .25rem .8rem;
  border-radius: 99px; background: var(--tx-tavle); color: var(--tx-salvie); font-size: .85rem;
}

/* ---------- Brødtekst ---------- */
.tx-prose { overflow-wrap: anywhere; hyphens: auto; }
.tx-prose > :first-child { margin-top: 0; }
.tx-prose p { margin: 0 0 1.15rem; }
.tx-prose h2 {
  margin: 3rem 0 .9rem; font-family: var(--tx-head); font-weight: 900;
  font-size: clamp(1.65rem, 1.35rem + 1.3vw, 2.15rem); line-height: 1.15; letter-spacing: -.01em;
}
.tx-prose h2::before {
  content: ""; display: block; width: 2.6rem; height: .32rem; margin-bottom: .85rem;
  border-radius: 99px; background: var(--tx-gulerod);
}
.tx-prose h3 { margin: 2.2rem 0 .55rem; font-family: var(--tx-head); font-weight: 600; font-size: 1.4rem; line-height: 1.25; }
.tx-prose h4 { margin: 1.6rem 0 .45rem; font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--tx-purloeg); }
.tx-prose strong { font-weight: 700; color: #FFFFFF; }
.tx-prose hr { margin: 2.5rem 0; border: 0; border-top: 2px dashed var(--tx-streg); }

.tx-prose ul, .tx-prose ol { margin: 0 0 1.35rem; padding: 0; list-style: none; }
.tx-prose li { position: relative; margin: 0 0 .5rem; }
.tx-prose li > ul, .tx-prose li > ol { margin: .5rem 0 0; }
.tx-prose ul > li { padding-left: 1.6rem; }
.tx-prose ul > li::before {
  content: ""; position: absolute; left: .28rem; top: .62em;
  width: .52rem; height: .52rem; border-radius: 2px; background: var(--tx-purloeg); transform: rotate(45deg);
}
.tx-prose ul ul > li::before { background: transparent; border: 2px solid var(--tx-purloeg); }

/* Nummererede trin med store tal */
.tx-prose ol { counter-reset: tx-trin; }
.tx-prose ol > li { counter-increment: tx-trin; min-height: 2.7rem; margin-bottom: 1.05rem; padding: .3rem 0 0 3.55rem; }
.tx-prose ol > li::before {
  content: counter(tx-trin); position: absolute; left: 0; top: 0;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--tx-gulerod); color: var(--tx-blaek);
  font-family: var(--tx-head); font-weight: 900; font-size: 1.4rem; line-height: 2.7rem; text-align: center;
}
.tx-prose ol ol > li::before { background: transparent; color: var(--tx-gulerod); border: 2px solid var(--tx-gulerod); line-height: calc(2.7rem - 4px); }

/* Opskriftskort: "### Ret" + intro + "**Ingredienser …**" + liste + "**Sådan gør du**" + nummereret liste */
.tx-prose h3:has(+ p > strong:only-child),
.tx-prose h3:has(+ p + p > strong:only-child),
.tx-prose h3:has(+ p + p + p > strong:only-child) {
  margin-top: 3.2rem; padding-top: 1.7rem; border-top: 2px dashed var(--tx-streg);
  font-weight: 900; font-size: clamp(1.5rem, 1.3rem + .9vw, 1.9rem); line-height: 1.15;
}
.tx-prose h3:has(+ p > strong:only-child)::before,
.tx-prose h3:has(+ p + p > strong:only-child)::before,
.tx-prose h3:has(+ p + p + p > strong:only-child)::before {
  content: "Opskrift"; display: block; margin-bottom: .2rem;
  font-family: var(--tx-chalk); font-weight: 700; font-size: 1.4rem; line-height: 1.1; color: var(--tx-gulerod);
}
.tx-prose p:has(> strong:only-child):has(+ ul, + ol) { margin: 1.6rem 0 .75rem; line-height: 1.3; }
.tx-prose p:has(> strong:only-child):has(+ ul, + ol) > strong {
  display: inline-block; padding: .3rem .8rem; border-radius: 8px;
  background: var(--tx-purloeg); color: var(--tx-blaek);
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
}
.tx-prose p:has(> strong:only-child):has(+ ol) > strong { background: var(--tx-gulerod); }

/* Ingredienslisten som hvidt kort med afkrydsningsfelter */
.tx-prose p:has(> strong:only-child) + ul {
  margin: 0 8px 1.9rem 0; padding: .55rem 1.1rem;
  background: var(--tx-kort); color: var(--tx-blaek);
  border-radius: var(--tx-r); box-shadow: 7px 7px 0 var(--tx-purloeg);
}
.tx-prose p:has(> strong:only-child) + ul > li {
  margin: 0; padding: .5rem 0 .5rem 1.9rem; line-height: 1.5;
  border-bottom: 1px dashed var(--tx-kortstreg); break-inside: avoid;
}
.tx-prose p:has(> strong:only-child) + ul > li:last-child { border-bottom: 0; }
.tx-prose p:has(> strong:only-child) + ul > li::before {
  left: .1rem; top: .72rem; width: 1rem; height: 1rem; transform: none;
  background: transparent; border: 2px solid var(--tx-paprika); border-radius: 4px;
}
.tx-prose p:has(> strong:only-child) + ul strong { color: var(--tx-blaek); }
.tx-prose p:has(> strong:only-child) + ul a { color: var(--tx-basilikum); }
.tx-prose p:has(> strong:only-child) + ul a:hover { color: var(--tx-paprika); }
.tx-prose p:has(> strong:only-child) + ul :focus-visible { outline-color: var(--tx-basilikum); }

.tx-prose blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.25rem 1.1rem 1.35rem;
  background: var(--tx-tavle); border-left: 6px solid var(--tx-gulerod); border-radius: 0 var(--tx-r) var(--tx-r) 0;
  font-size: 1.08rem;
}
.tx-prose blockquote > :last-child { margin-bottom: 0; }

/* Tabeller: cellerne ombrydes, og tabellen rulles vandret, hvis den alligevel er for bred */
.tx-prose table {
  display: block; max-width: 100%; overflow-x: auto;
  margin: 1.6rem 0 1.9rem; border-collapse: collapse; font-size: .88rem; line-height: 1.45;
}
.tx-prose th, .tx-prose td {
  padding: .5rem .55rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--tx-streg); overflow-wrap: anywhere; hyphens: auto;
}
.tx-prose thead th { background: var(--tx-tavle-lys); color: var(--tx-kridt); font-weight: 700; border-bottom: 3px solid var(--tx-gulerod); }
.tx-prose tbody tr:nth-child(even) td { background: rgba(23, 42, 32, .7); }

/* ---------- Spørgsmål, kilder, bladring ---------- */
.tx-qa { margin: 3.5rem 0 0; }
.tx-qa__title, .tx-src__title { margin: 0 0 1rem; font-family: var(--tx-head); font-weight: 900; font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2rem); line-height: 1.15; }
.tx-qa__item {
  margin: 0 0 .8rem; padding: 1.1rem 1.2rem;
  background: var(--tx-tavle); border-left: 5px solid var(--tx-purloeg); border-radius: 0 var(--tx-r) var(--tx-r) 0;
}
.tx-qa__q { margin: 0 0 .4rem; font-family: var(--tx-head); font-weight: 600; font-size: 1.18rem; line-height: 1.3; }
.tx-qa__a { margin: 0; overflow-wrap: anywhere; }

.tx-src { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 2px dashed var(--tx-streg); }
.tx-src__title { font-size: 1.3rem; }
.tx-src__list { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.tx-src__item { font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.tx-src__host { display: block; font-size: .8rem; color: var(--tx-salvie); }

.tx-pager { display: grid; gap: .75rem; margin: 3rem 0 0; }
.tx-pager__link {
  display: block; padding: .95rem 1.15rem; border: 2px solid var(--tx-streg); border-radius: var(--tx-r);
  color: var(--tx-kridt); text-decoration: none;
}
.tx-pager__link:hover { border-color: var(--tx-gulerod); color: var(--tx-kridt); }
.tx-pager__dir { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tx-purloeg); }
.tx-pager__name { display: block; font-family: var(--tx-head); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.tx-pager__link--next { text-align: right; }

/* ---------- Oversigt (liste og 404) ---------- */
.tx-shelf { display: grid; gap: 2.2rem; margin: 2.2rem 0 0; }
.tx-shelf__title { margin: 0 0 .5rem; font-family: var(--tx-chalk); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--tx-purloeg); }
.tx-shelf__list { list-style: none; margin: 0; padding: 0; border-top: 2px dashed var(--tx-streg); }
.tx-shelf__item { padding: .8rem 0; border-bottom: 2px dashed var(--tx-streg); }
.tx-shelf__link { font-family: var(--tx-head); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--tx-kridt); text-decoration-color: var(--tx-gulerod); }
.tx-shelf__link:hover { color: var(--tx-purloeg); }
.tx-shelf__desc { display: block; margin-top: .2rem; font-size: .93rem; line-height: 1.5; color: var(--tx-salvie); }

.tx-lost__actions { margin: 1.5rem 0 0; }
.tx-lost__home, .tx-form__send {
  display: inline-block; padding: .8rem 1.5rem; border: 0; border-radius: var(--tx-r);
  background: var(--tx-gulerod); color: var(--tx-blaek); box-shadow: 4px 4px 0 var(--tx-purloeg);
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-decoration: none; cursor: pointer;
}
.tx-lost__home:hover, .tx-form__send:hover { background: var(--tx-gulerod-lys); color: var(--tx-blaek); }

/* ---------- Kontaktformular ---------- */
.tx-form { position: relative; display: grid; gap: 1.15rem; margin: 2rem 0 0; }
.tx-form__field { display: grid; gap: .35rem; }
.tx-form__field label, .tx-form__label { font-weight: 700; font-size: .95rem; }
.tx-form__field input, .tx-form__input {
  width: 100%; padding: .75rem .9rem;
  font: inherit; color: var(--tx-blaek); background: var(--tx-kort);
  border: 2px solid var(--tx-kort); border-radius: 10px;
}
.tx-form__input--area { min-height: 10rem; resize: vertical; }
.tx-form__field input:focus-visible, .tx-form__input:focus-visible { border-color: var(--tx-gulerod); outline: 3px solid var(--tx-purloeg); outline-offset: 2px; }
.tx-form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.tx-form__actions { margin-top: .2rem; }
.tx-form__hint { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--tx-salvie); }
.tx-form__link { color: var(--tx-purloeg); }
.tx-sheet--contact > p[role="status"] {
  margin: 1.5rem 0 0; padding: .9rem 1.1rem; border-radius: var(--tx-r);
  background: var(--tx-purloeg); color: var(--tx-blaek); font-weight: 700;
}

/* ---------- Bredere skærme ---------- */
@media (min-width: 640px) {
  .tx-board { padding: 1.75rem 1.4rem .45rem; }
  .tx-board__row { grid-template-columns: 7.25rem minmax(0, 1fr); gap: .9rem; padding: 1.25rem 0; }
  .tx-board__slot { padding-top: .55rem; }
  .tx-dish { grid-template-columns: 8.25rem minmax(0, 1fr); gap: 1.1rem; }
  .tx-dish__ai { font-size: .7rem; }
  .tx-book { padding: 2rem 1.9rem 1.4rem; }
  .tx-pager { grid-template-columns: 1fr 1fr; }
  .tx-pager__link--next:only-child { grid-column: 2; }
  .tx-prose table { font-size: .93rem; }
  .tx-prose th, .tx-prose td { padding: .6rem .75rem; }
}

@media (min-width: 720px) {
  .tx-prose p:has(> strong:only-child) + ul { columns: 2; column-gap: 2.4rem; padding: .6rem 1.5rem; }
  .tx-book__list { columns: 2; column-gap: 2.2rem; }
}

@media (min-width: 1000px) {
  :root { --tx-pad: 2.75rem; }
  body { display: grid; grid-template-columns: 18rem minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .tx-rail {
    grid-column: 1; grid-row: 1 / -1; align-self: start;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 1.1rem;
    padding: 1.7rem 1.25rem 1.75rem;
    border-bottom: 0; border-right: 4px solid var(--tx-gulerod);
  }
  .tx-rail__top { padding: 0 .2rem; }
  .tx-rail__brand svg { width: 100%; }
  .tx-drawer { display: none; }
  .tx-rail__tagline { display: block; margin: 0; padding: 0 .2rem .9rem; border-bottom: 2px dashed var(--tx-streg); font-size: .88rem; line-height: 1.5; color: var(--tx-salvie); }
  .tx-reg { display: block; }
  .tx-main { grid-column: 2; grid-row: 1; padding-top: 3.5rem; padding-bottom: 4rem; }
  .tx-foot { grid-column: 2; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .tx-rail, .tx-pager, .tx-skip { display: none; }
  body { display: block; background: #fff; color: #000; }
}
