@font-face{font-family:"Crimson Pro";src:url(/a/fonts/crimson-pro-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Crimson Pro";src:url(/a/fonts/crimson-pro-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Mulish";src:url(/a/fonts/mulish-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Mulish";src:url(/a/fonts/mulish-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Mulish";src:url(/a/fonts/mulish-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Kalam";src:url(/a/fonts/kalam-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
/* Glutenallergi.dk – papirklip-håndbog. Mobil først. Præfiks c2-. */
:root {
  --papir: #FBF5EE;
  --ark: #FFFDF9;
  --sand: #F2E4D6;
  --ler: #E9C9B2;
  --abrikos: #E39A6E;
  --terrakotta: #A3402A;
  --rust: #7A2E1E;
  --blaek: #33201A;
  --muld: #5E4A40;
  --kant: #8A7062;
  --r: 6px;
  --head: "Crimson Pro", Georgia, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", Arial, sans-serif;
  --note: "Kalam", "Mulish", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--papir);
  background-image: radial-gradient(rgba(122, 46, 30, .045) 1px, transparent 1px);
  background-size: 6px 6px;
  color: var(--blaek);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--terrakotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--terrakotta);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Overskrifter: små versaler med luft */
h1, h2, h3 {
  font-family: var(--head);
  color: var(--rust);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.5rem, 5.4vw, 2.15rem); letter-spacing: .05em; margin: .25rem 0 .75rem; line-height: 1.15; }
h2 { font-size: 1.2rem; letter-spacing: .1em; margin: 2.4rem 0 .8rem; }
h2::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 5px;
  margin-top: .45rem;
  background: var(--abrikos);
  border-radius: 1px 4px 1px 4px;
  box-shadow: 4px 3px 0 var(--ler);
}
h3 { font-size: 1.02rem; letter-spacing: .08em; margin: 1.8rem 0 .5rem; color: var(--blaek); }
h4 { font-family: var(--body); font-size: 1rem; font-weight: 700; margin: 1.4rem 0 .4rem; }

.c2-sk {
  position: absolute;
  left: -9999px;
  top: .5rem;
  z-index: 10;
  background: var(--rust);
  color: var(--papir);
  padding: .6rem 1rem;
  border-radius: var(--r);
}
.c2-sk:focus { left: .5rem; color: var(--papir); }

/* Ramme: sidebjælke + kolonne */
.c2-rm { max-width: 960px; margin: 0 auto; }

.c2-sb {
  background: var(--sand);
  padding: 1rem 1.1rem .9rem;
  border-bottom: 3px solid var(--ler);
  box-shadow: 0 6px 0 -1px var(--abrikos);
  margin-bottom: 6px;
}
.c2-lg { display: inline-block; line-height: 0; }
.c2-lg svg { height: 22px; width: auto; }
.c2-tg { margin: .35rem 0 .8rem; font-size: .9rem; color: var(--muld); line-height: 1.4; }

.c2-nv ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.c2-nv a {
  display: block;
  padding: .32rem .7rem;
  border-radius: var(--r);
  background: var(--ark);
  color: var(--blaek);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ler);
}
.c2-nv a:hover { color: var(--rust); background: #fff; }
.c2-nv a[aria-current="page"] { background: var(--rust); color: var(--papir); box-shadow: 2px 2px 0 var(--abrikos); }

.c2-kn, .c2-pk { display: none; }

.c2-kol { padding: 0 1.1rem; min-width: 0; }
.c2-mn { padding: 1.4rem 0 1rem; min-width: 0; }

/* Brødkrumme og artikelhoved */
.c2-bc ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--muld); }
.c2-bc li + li::before { content: "/"; margin: 0 .45rem; color: var(--kant); }
.c2-bc a { color: var(--muld); }

.c2-kk { font-family: var(--note); color: var(--terrakotta); font-size: 1.1rem; margin: 0; line-height: 1.3; }
.c2-dt { margin: 0 0 1rem; font-size: .88rem; color: var(--muld); }
.c2-ah { margin-bottom: 1.2rem; }

/* Brødtekst */
.c2-tx { max-width: 68ch; overflow-wrap: anywhere; }
.c2-tx > :first-child { margin-top: 0; }
.c2-tx p, .c2-tx ul, .c2-tx ol { margin: 0 0 1.05rem; }
.c2-tx ul, .c2-tx ol { padding-left: 1.3rem; }
.c2-tx li { margin-bottom: .35rem; }
.c2-tx li > ul, .c2-tx li > ol { margin: .35rem 0 0; }
.c2-tx ul li::marker { color: var(--terrakotta); }
.c2-tx ol li::marker { color: var(--terrakotta); font-weight: 700; }
.c2-tx strong { color: var(--rust); }
.c2-tx blockquote {
  margin: 1.5rem 0;
  padding: .9rem 1.1rem;
  background: var(--ark);
  border-left: 5px solid var(--abrikos);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: 4px 4px 0 var(--sand);
  font-style: italic;
}
.c2-tx blockquote p:last-child { margin-bottom: 0; }
.c2-tx table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .86rem;
  background: var(--ark);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--ler);
  overflow-wrap: normal;
}
.c2-tx th, .c2-tx td { padding: .45rem .4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sand); overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.c2-tx th:first-child, .c2-tx td:first-child { padding-left: .7rem; }
.c2-tx th:last-child, .c2-tx td:last-child { padding-right: .7rem; }
.c2-tx td:first-child { font-weight: 700; color: var(--rust); }
/* Mobil: tabellen går helt ud til skærmkanten og får lidt mindre skrift, så den kan være der uden at ord knækkes */
@media (max-width: 879px) {
  .c2-tx table {
    margin-left: -1.1rem;
    margin-right: -1.1rem;
    max-width: calc(100% + 2.2rem);
    border-radius: 0;
    box-shadow: 0 1px 0 var(--ler), 0 -1px 0 var(--ler);
    font-size: .8rem;
    line-height: 1.45;
  }
}
.c2-tx th { background: var(--sand); color: var(--rust); font-weight: 700; }
.c2-tx hr { border: 0; border-top: 2px dashed var(--ler); margin: 2rem 0; }

/* Billeder som lag af papir */
.c2-fg { margin: 0 0 1.6rem; max-width: 680px; }
.c2-fg img { border-radius: var(--r); width: 100%; box-shadow: 6px 6px 0 var(--ler), 12px 12px 0 var(--sand); }

/* Forside */
.c2-hr { margin-bottom: 2rem; }
.c2-ht { margin-bottom: 1.2rem; }
.c2-ld { font-size: 1.1rem; color: var(--muld); max-width: 60ch; margin: 0; }
.c2-hb { margin-right: 12px; }
.c2-hb .c2-fg { margin-bottom: 0; }

.c2-ix h2 { margin-top: 0; }
.c2-ix { margin-bottom: 2.6rem; }
.c2-dl { display: grid; gap: 1.1rem; }
.c2-del {
  background: var(--ark);
  border-radius: var(--r);
  padding: 1rem 1.1rem .7rem;
  box-shadow: 0 0 0 1px var(--ler), 5px 5px 0 var(--sand);
}
.c2-dn { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muld); }
.c2-dn span { display: block; font-family: var(--note); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--terrakotta); font-weight: 400; }
.c2-kp { list-style: none; margin: 0; padding: 0; }
.c2-kp li + li { border-top: 1px dashed var(--ler); }
.c2-kp a { display: flex; gap: .8rem; align-items: baseline; padding: .5rem 0; text-decoration: none; color: var(--blaek); font-weight: 700; }
.c2-kp a:hover .c2-kt { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.c2-nr { font-family: var(--head); font-size: 1.25rem; color: var(--terrakotta); font-weight: 600; min-width: 1.6rem; }

.c2-ob {
  margin: 2.6rem 0;
  background: var(--rust);
  color: var(--papir);
  border-radius: var(--r);
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: 6px 6px 0 var(--abrikos), 12px 12px 0 var(--ler);
  margin-right: 12px;
}
.c2-ob h2 { color: var(--papir); margin-top: .8rem; }
.c2-ob h2::after { background: var(--abrikos); box-shadow: 4px 3px 0 var(--terrakotta); }
.c2-ob p { margin: 0 0 1rem; max-width: 52ch; }
.c2-ob .c2-ab span { background: rgba(251, 245, 238, .1); color: var(--sand); box-shadow: none; }
.c2-ob a:focus-visible { outline-color: var(--papir); }

.c2-ab { display: flex; flex-wrap: wrap; gap: .3rem; margin: .6rem 0 0; }
.c2-ab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r);
  background: var(--sand);
  color: var(--rust);
  box-shadow: 2px 2px 0 var(--ler);
}

.c2-kn2 {
  display: inline-block;
  padding: .55rem 1.1rem;
  border-radius: var(--r);
  background: var(--papir);
  color: var(--rust);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--abrikos);
}
.c2-kn2:hover { background: #fff; color: var(--rust); }
.c2-nf .c2-kn2 { background: var(--rust); color: var(--papir); }

/* FAQ og kilder */
.c2-fq { margin-top: 2.4rem; max-width: 68ch; }
.c2-fi { padding: .2rem 0 .6rem; border-top: 1px dashed var(--ler); }
.c2-fi h3 { margin: .8rem 0 .35rem; text-transform: none; letter-spacing: 0; font-size: 1.15rem; color: var(--rust); }
.c2-fi p { margin: 0; }

.c2-kl { margin-top: 2.2rem; font-size: .92rem; max-width: 68ch; }
.c2-kl h2 { font-size: 1rem; }
.c2-kl ul { margin: 0; padding-left: 1.1rem; }
.c2-kl li { margin-bottom: .3rem; overflow-wrap: anywhere; }

/* Forrige/næste */
.c2-pn { display: grid; gap: .8rem; margin-top: 2.4rem; }
.c2-pn a {
  display: block;
  padding: .8rem 1rem;
  background: var(--ark);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--ler), 4px 4px 0 var(--sand);
  text-decoration: none;
  font-weight: 700;
  color: var(--rust);
}
.c2-pn span:first-child { display: block; font-family: var(--note); font-weight: 400; color: var(--terrakotta); font-size: 1rem; }
.c2-pn a:hover { background: #fff; }
.c2-nx { text-align: right; }

/* Oversigt */
.c2-ls { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: 68ch; }
.c2-ls li { padding: .8rem 0; border-top: 1px dashed var(--ler); }
.c2-ls a { font-weight: 700; }
.c2-ls p { margin: .2rem 0 0; color: var(--muld); font-size: .95rem; }

/* Disclaimer */
.c2-ds {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 2.6rem 0 0;
  padding: .9rem 1rem;
  max-width: 68ch;
  background: var(--ark);
  border: 2px solid var(--terrakotta);
  border-radius: var(--r);
  box-shadow: 4px 4px 0 var(--ler);
}
.c2-di { flex: 0 0 24px; fill: var(--terrakotta); margin-top: .1rem; }
.c2-ds p { margin: 0; font-size: .95rem; font-weight: 700; color: var(--blaek); }

/* Kontakt */
.c2-cg { display: grid; gap: 1.6rem; }
.c2-fm {
  background: var(--ark);
  border-radius: var(--r);
  padding: 1.1rem;
  box-shadow: 0 0 0 1px var(--ler), 6px 6px 0 var(--sand);
  max-width: 34rem;
  position: relative;
}
.c2-ff { margin-bottom: 1rem; }
.c2-ff label { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
.c2-ff input, .c2-ff textarea {
  width: 100%;
  font: inherit;
  color: var(--blaek);
  background: #fff;
  border: 1.5px solid var(--kant);
  border-radius: var(--r);
  padding: .55rem .7rem;
}
.c2-ff textarea { resize: vertical; min-height: 9rem; }
.c2-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.c2-bt {
  font: inherit;
  font-weight: 700;
  background: var(--terrakotta);
  color: var(--papir);
  border: 0;
  border-radius: var(--r);
  padding: .65rem 1.3rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ler);
}
.c2-bt:hover { background: var(--rust); }
.c2-fo { font-size: .85rem; color: var(--muld); margin: 1rem 0 0; }
.c2-fm [role="status"], .c2-cg [role="status"] { font-weight: 700; color: var(--rust); }

/* 404 */
.c2-nf { padding: 1rem 0 0; max-width: 60ch; }

/* Footer på én linje */
.c2-ft { border-top: 2px dashed var(--ler); padding: .9rem 0 1.6rem; font-size: .85rem; color: var(--muld); }
.c2-ft p { margin: 0; }
.c2-ft a { color: var(--muld); }
.c2-ft a[aria-current="page"] { color: var(--rust); font-weight: 700; }

/* Bredere skærme */
@media (min-width: 600px) {
  .c2-pn { grid-template-columns: 1fr 1fr; }
  .c2-pv:only-child { grid-column: 1; }
  .c2-nx:only-child { grid-column: 2; }
  .c2-dl {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "a c";
    align-items: start;
  }
  .c2-del:nth-child(1) { grid-area: a; }
  .c2-del:nth-child(2) { grid-area: b; }
  .c2-del:nth-child(3) { grid-area: c; }
}

@media (min-width: 880px) {
  .c2-rm {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 40px;
    padding: 0 1.25rem;
  }
  .c2-sb {
    align-self: start;
    margin: 1.25rem 0 1.25rem;
    padding: 1.3rem 1.2rem 0;
    border: 0;
    border-radius: var(--r);
    box-shadow: 5px 5px 0 var(--ler), 10px 10px 0 var(--abrikos);
    margin-right: 10px;
  }
  .c2-tx table { font-size: .93rem; }
  .c2-tx th, .c2-tx td { padding: .55rem .75rem; }
  .c2-lg svg { height: auto; width: 100%; max-width: 196px; }
  .c2-tg { margin: .5rem 0 1.1rem; }
  .c2-nv ul { display: block; }
  .c2-nv li + li { margin-top: .3rem; }
  .c2-nv a { box-shadow: none; background: transparent; padding: .3rem .6rem; border-left: 3px solid transparent; border-radius: 0 var(--r) var(--r) 0; }
  .c2-nv a:hover { background: var(--ark); border-left-color: var(--abrikos); }
  .c2-nv a[aria-current="page"] { background: var(--rust); color: var(--papir); border-left-color: var(--abrikos); box-shadow: none; }

  .c2-kn { display: block; margin-top: 1.3rem; padding-top: .9rem; border-top: 2px dashed var(--ler); }
  .c2-kh { margin: .7rem 0 .25rem; font-family: var(--note); color: var(--terrakotta); font-size: 1rem; line-height: 1.2; }
  .c2-kn ul { list-style: none; margin: 0; padding: 0; }
  .c2-kn a { display: block; font-size: .85rem; padding: .15rem .6rem; color: var(--muld); text-decoration: none; border-radius: var(--r); }
  .c2-kn a:hover { color: var(--rust); text-decoration: underline; }
  .c2-kn a[aria-current="page"] { color: var(--rust); font-weight: 700; background: var(--ark); }

  .c2-pk { display: block; width: calc(100% + 2.4rem); margin: 1.2rem -1.2rem 0; height: auto; }
  .c2-p1 { fill: var(--ler); }
  .c2-p2 { fill: var(--abrikos); }
  .c2-p3 { fill: var(--terrakotta); }
  .c2-p4 { fill: var(--rust); }
  .c2-p5 { fill: var(--abrikos); opacity: .7; }
  .c2-pk path, .c2-pk circle { filter: drop-shadow(0 -1px 1.5px rgba(51, 32, 26, .22)); }

  .c2-kol { padding: 0; }
  .c2-mn { padding-top: 2rem; }
  .c2-cg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .c2-nv a, .c2-kp a, .c2-pn a, .c2-bt { transition: background-color .15s ease, color .15s ease; }
}

@media print {
  .c2-sb, .c2-pn, .c2-ft { display: none; }
  body { background: #fff; }
}
