/* Rynker.dk – rolig, feminin og professionel editorial stil */
:root {
  --forest: #063d35;
  --forest-soft: #0f4a40;
  --rose: #ad6170;
  --rose-dark: #844351;
  --cream: #fffaf2;
  --paper: #fffdf9;
  --gold: #b78328;
  --sage: #eef5f1;
  --blush: #f7e9e4;
  --blush-deep: #f3e2dc;
  --ink: #2f3b36;
  --muted: #5c6a64;
  --line: #e9ddd3;
  --line-soft: #efe6dc;
  --serif: Georgia, Cambria, "Times New Roman", serif;
  --sans: Arial, Helvetica, system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(6, 61, 53, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--rose-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
a:hover { color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--rose); color: #fff; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.22;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.07em;
  color: var(--forest);
  text-decoration: none;
}
.brand span { color: var(--rose); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover { color: var(--rose-dark); border-bottom-color: var(--rose); }
.site-nav a[aria-current="page"] {
  color: var(--rose-dark);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open {
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 0.5rem;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.85rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #fffaf2 0%, #faeee8 55%, #f5e2dc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(183, 131, 40, 0.28);
  border-radius: 50%;
  top: -170px;
  right: -130px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(173, 97, 112, 0.22);
  border-radius: 50%;
  bottom: -150px;
  left: -110px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) 1.25rem;
}
.hero-frame {
  border: 1px solid rgba(183, 131, 40, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.55);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.hero-grid { align-items: center; }
@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.hero-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3rem);
  margin: 0 0 1.1rem;
}
.hero-intro {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  margin: 0 0 0.5rem;
  max-width: 58ch;
}
.meta-line {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.1rem 0 0;
}
.hero-media img {
  width: 100%;
  max-width: 380px;
  margin: 2rem auto 0;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(6, 61, 53, 0.14);
}
.hero-media--photo img {
  max-width: 460px;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero-media img { margin: 0 auto; }
}

/* ---------- Kilder ---------- */
.sources {
  font-size: 0.92rem;
  color: var(--muted);
}
.sources li { margin-bottom: 0.4em; }

/* Slim hero til artikler */
.hero-slim .hero-inner { max-width: 800px; }
.hero-slim h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  margin: 0 0 1rem;
}
.hero-slim .hero-intro { max-width: 62ch; }

/* ---------- Brødkrummer ---------- */
.breadcrumb { font-size: 0.84rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}
.breadcrumb li + li::before {
  content: "\203A";
  color: var(--rose);
  margin-right: 0.4rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rose-dark); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- Artikel / hub ---------- */
.article, .hub {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem 1rem;
}
.hub { max-width: 860px; }

.content p { margin: 0 0 1.35em; }
.content h2 {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 1.9rem);
  margin: 2.4em 0 0.8em;
}
.content h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  opacity: 0.75;
  margin-top: 0.55rem;
}
.content h3 {
  font-size: 1.2rem;
  margin: 2em 0 0.6em;
}
.content ul, .content ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.content li { margin-bottom: 0.5em; }
.content li::marker { color: var(--rose); }

.note {
  background: var(--sage);
  border: 1px solid #dbe8e0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.note p:last-child, .warning p:last-child, .fact p:last-child { margin-bottom: 0; }

.warning {
  background: var(--blush);
  border: 1px solid #eed8d0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.fact {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--forest);
  border-left: 3px solid var(--rose);
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
}

/* ---------- Guide-lister (hubs) ---------- */
.hub-list-heading {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 1.9rem);
  margin: 0 0 0.5rem;
}
.guide-list { list-style: none; padding: 0; margin: 1rem 0 2.5rem; }
.guide-list li {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
}
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-list h3 { margin: 0 0 0.35rem; font-size: 1.3rem; }
.guide-list h3 a { color: var(--forest); text-decoration: none; }
.guide-list h3 a:hover { color: var(--rose-dark); text-decoration: underline; }
.guide-list p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Relaterede guider ---------- */
.related {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.related h2 { font-size: 1.3rem; margin: 0 0 0.9rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { margin-top: 3.2rem; }
.faq h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem); margin: 0 0 1.2rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  font-weight: 700;
  color: var(--forest);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rose);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 1.35rem 1.25rem; }
.faq .faq-answer p { margin: 0; }

/* ---------- Author box ---------- */
.author-box {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--blush);
  border: 1px solid #eed8d0;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 3.5rem;
}
.author-box picture {
  width: 37%;
  flex-shrink: 0;
}
.author-box img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(132, 67, 81, 0.15);
}
.author-box p { margin: 0 0 0.9rem; font-size: 0.97rem; }
.author-box p:last-child { margin-bottom: 0; }
.author-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}
.author-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--forest);
}
.author-more a { font-weight: 700; text-decoration: none; }
.author-more a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .author-box { flex-direction: column; gap: 1.4rem; text-align: left; }
  .author-box picture { width: 100%; max-width: 330px; margin: 0 auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blush-deep);
  border-top: 1px solid #e5d1c9;
  margin-top: 4.5rem;
  color: #51423c;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.07em;
  color: var(--forest);
  margin: 0 0 0.7rem;
}
.footer-logo span { color: var(--rose-dark); }
.footer-brand p { font-size: 0.94rem; margin: 0; }
.footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rose-dark);
  margin: 0 0 0.9rem;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}
.footer-col a { color: #51423c; text-decoration: none; }
.footer-col a:hover { color: var(--forest); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(6, 61, 53, 0.09);
  padding: 1.1rem 1.25rem;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; color: #6b5a54; }
.footer-bottom a { color: #6b5a54; }

/* ---------- Tilgængelighed ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
