/* street-dogs.dk — vigtigste farver og mål fra arkivets tema (hvid header, koralaccent, grå sidefod). */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/outfit-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/figtree-latin.woff2") format("woff2"); }

:root {
  --ink: #000;
  --text: #545454;
  --muted: #868686;
  --accent: #ec7a5c;
  --accent-dark: #b9492d;
  --bar: #333;
  --foot: #f4f4f4;
  --line: rgba(84, 84, 84, .15);
  --soft: rgba(84, 84, 84, .05);
  --head: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --wide: 1240px;
  --read: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.75 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 12px; z-index: 10; }

/* Top bar og header */
.topbar { background: var(--bar); color: #ddd; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font: 700 26px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.brand-name span { color: var(--accent); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.nav a { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 8px 0; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--ink); }

/* Forside */
.intro { text-align: center; padding-block: 64px 28px; }
.intro h1 { font-size: clamp(34px, 5vw, 54px); margin: 0 auto 16px; max-width: 900px; }
.intro p { margin: 0 auto; max-width: 680px; font-size: 18px; }
.cats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; }
.cats a { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.cats a:hover { color: var(--accent-dark); }
.section { padding: 48px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 12px; }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head a { font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.card { display: flex; flex-direction: column; position: relative; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); margin-bottom: 18px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
/* Arkivets artikler har ingen fotos: tekstkort med koralstreg i stedet for et tomt billedfelt. */
.card.text { border-top: 3px solid var(--accent); padding-top: 18px; }
.kicker { font: 600 12px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 8px; }
.card h3 { font-size: 21px; margin: 0 0 10px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.more { font: 600 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-top: auto; }
.more::after { content: " \2192"; color: var(--accent); }

/* Artikel */
.post-head { text-align: center; padding: 64px 0 36px; border-bottom: 1px solid var(--line); background: var(--soft); }
.post-head h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 0 auto; max-width: 940px; }
.post-head .kicker { margin-bottom: 16px; }
.post-head .kicker a { color: inherit; text-decoration: none; }
.content { max-width: var(--read); margin: 0 auto; padding: 44px 24px 24px; }
.content h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 1.8em 0 .6em; }
.content h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.content p { margin: 0 0 1.15em; }
.content ul, .content ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.content li { margin-bottom: .45em; }
.content li::marker { color: var(--accent); }
.content figure { margin: 2em 0; }
.content > p:first-child { font-size: 19px; color: #3d3d3d; }
.lead-page h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 .6em; }
.post-nav { max-width: var(--read); margin: 24px auto 64px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; display: block; }
.post-nav small { display: block; font: 600 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post-nav span { font: 600 18px/1.35 var(--head); color: var(--ink); }
.post-nav .next { text-align: right; }

/* Kategoriside */
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.list a { font: 600 20px/1.35 var(--head); text-decoration: none; }
.list p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }

/* Sidefod */
.site-footer { background: var(--foot); color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 56px; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h2 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); }
.site-footer .bottom { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; text-align: center; font-size: 14px; }
.site-footer .bottom p { margin: 0 0 6px; }
.age { display: inline-block; font: 700 12px/1 var(--head); color: #fff; background: var(--bar); border-radius: 50%; width: 30px; height: 30px; line-height: 30px; text-align: center; margin-right: 8px; vertical-align: middle; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols section:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .topbar .wrap span:last-child { display: none; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding-top: 16px; padding-bottom: 12px; }
  .brand-name { font-size: 21px; }
  .nav ul { gap: 4px 20px; }
  .intro { padding-block: 40px 16px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .post-head { padding: 40px 0 26px; }
  .content { padding: 30px 18px 16px; }
  .post-nav { grid-template-columns: 1fr; padding: 20px 18px; }
  .post-nav .next { text-align: left; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
}
