/* rentachef.dk — vigtigste træk fra sidens udseende i 2014: hvid side, smal centreret spalte,
   centreret hoved, menu med smal overskriftsskrift, grønne græsstriber over og under indholdet,
   brødtekst i smal sans-serif og lille grå centreret sidefod. */

@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pt-sans-narrow-400.woff2") format("woff2");
}
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-sans-narrow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Yanone Kaffeesatz";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/yanone-kaffeesatz.woff2") format("woff2");
}

:root {
  --ink: #111;
  --muted: #666;
  --green: #2f6b35;
  --green-dark: #1f4d25;
  --green-soft: #eef5ea;
  --line: #dfe6da;
  --frame: 46rem;
  --body: "PT Sans Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --display: "Yanone Kaffeesatz", "PT Sans Narrow", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.5;
  word-spacing: 0.06em;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--green); text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hoved: centreret navn og undertitel */
.site-header { text-align: center; padding: 2.25rem 0 1rem; }
.site-name {
  margin: 0;
  font-family: var(--display);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}
.site-name a { color: var(--ink); text-decoration: none; }
.site-tagline { margin: 0.4rem 0 0; color: var(--muted); font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Menu i én række som i 2014, ombrydes på telefon */
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  margin: 1.25rem 0 0.75rem;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
}
.site-nav a {
  display: inline-block;
  padding: 0.15rem 0.35rem;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--green); color: var(--green-dark); }

/* Grøn græsstribe over og under indholdet */
.grass {
  height: 10px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(80deg, #4f9a3f 0 3px, #72b84b 3px 5px, #2f6b35 5px 7px, #5aa844 7px 11px, #3d8139 11px 13px);
}

main { padding: 2rem 0 2.5rem; }

.content h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.content h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-dark);
}
.content h3 { margin: 1.5rem 0 0.4rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.content p, .content ul, .content ol { margin: 0 0 1rem; }
.content ul, .content ol { padding-left: 1.4rem; }
.content li { margin-bottom: 0.35rem; }
.content table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: 1rem; }
.content th, .content td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content th { background: var(--green-soft); }
.table-scroll { overflow-x: auto; }

/* Artikler fra skabelonen */
.content .vw-kicker {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content .vw-lede { font-size: 1.3rem; line-height: 1.45; color: #333; }
.content .vw-faq { margin-top: 2.5rem; padding: 1.25rem 1.25rem 0.5rem; background: var(--green-soft); border-radius: 4px; }
.content .vw-faq h2 { margin-top: 0; }
.content .vw-conclusion { border-left: 4px solid var(--green); padding-left: 1rem; }

.photo { margin: 1.75rem 0; }
.photo img { display: block; width: 100%; border-radius: 3px; }

/* Forside */
.welcome { text-align: center; margin-bottom: 2rem; }
.welcome h1 { font-size: 3rem; }
.welcome .lead { font-size: 1.35rem; color: #333; max-width: 36rem; margin: 0 auto; }
.home-text { margin-bottom: 2rem; }

.articles h2 { text-align: center; }
.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.article-list li { margin: 0; }
.article-list a {
  display: block;
  height: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}
.article-list a:hover { background: var(--green-soft); color: var(--green-dark); }

.contact-intro { color: #333; }

/* Sidefod: lille grå tekst, centreret */
.site-footer {
  padding: 1.25rem 0 2.5rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
}
.site-footer a { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.site-footer p { margin: 0 0 0.5rem; }
.age { display: inline-block; margin-right: 0.4rem; padding: 0 0.35rem; border: 1px solid var(--muted); border-radius: 3px; font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .site-header { padding-top: 1.5rem; }
  .site-name { font-size: 2.6rem; }
  .site-nav ul { gap: 0.1rem 1rem; font-size: 1.35rem; }
  main { padding-top: 1.5rem; }
  .content h1, .welcome h1 { font-size: 2.15rem; }
  .content h2 { font-size: 1.6rem; }
  .article-list { grid-template-columns: 1fr; }
  .content .vw-faq { padding: 1rem 0.9rem 0.25rem; }
}
