@font-face{font-family:"Playfair Display";font-style:normal;font-weight:500 600;font-display:swap;src:url(/assets/fonts/playfair-latin-ext-500.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:500 600;font-display:swap;src:url(/assets/fonts/playfair-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Roboto";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Roboto";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Вигляд denhvidefabrik.dk за архівом 2024-12..2025-03: назва сайта з підписом і пошуком у шапці, герой з H1,
   сітка карток, текстові розділи, футер з посиланнями. Стилі архіву не збереглися, тож колір і розташування —
   власні: білий фон, Playfair Display у заголовках, Roboto у тексті, як у розмітці архівних сторінок. */
:root {
  --ink: #1d1c1a;
  --text: #34322f;
  --muted: #6b6760;
  --line: #e4e0d9;
  --soft: #f7f5f1;
  --bg: #ffffff;
  --accent: #a6814c;
  --wrap: 1160px;
  --read: 760px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

/* Шапка */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: block; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { display: block; font: 600 28px/1.1 var(--serif); letter-spacing: .01em; }
.brand-name small { font-size: .55em; font-weight: 500; color: var(--accent); margin-left: 1px; }
.brand-tag { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a { display: block; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }

main { padding-bottom: 80px; }

/* Заголовки й текст */
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.18; }
h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 18px; letter-spacing: -.005em; }
h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 44px 0 14px; }
h3 { font-size: 21px; margin: 0; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 10px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }

/* Головна */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0 24px; }
.hero-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 72px 0 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card h3 { margin-top: 18px; font-size: 21px; }
.card h3 a:hover { text-decoration: none; color: var(--accent); }
.card p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.home-text { margin-top: 80px; padding: 8px 0 0; }
.home-text h2:first-child { margin-top: 24px; }

/* Текст статей */
.prose { max-width: var(--read); }
.prose p, .prose ul { margin: 0 0 18px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 500; }

/* Сторінка гіда */
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; color: var(--line); }
.guide-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; padding: 48px 0 56px; }
.guide-top h1 { font-size: clamp(30px, 3.8vw, 46px); }
.guide-body { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; border-top: 1px solid var(--line); padding-top: 12px; }
.related { margin-top: 24px; }

/* Службові сторінки */
.page { max-width: var(--read); padding-top: 56px; }
.not-found { text-align: center; max-width: none; padding: 96px 0 40px; }
.not-found .code { font: 600 96px/1 var(--serif); color: var(--line); margin-bottom: 12px; }
.btn { display: inline-block; margin-top: 16px; padding: 13px 28px; border: 1px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.btn:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* Футер */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.footer-brand { font: 600 22px/1.2 var(--serif); color: var(--ink); margin-bottom: 12px; }
.footer-title { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-main p { margin: 0 0 12px; line-height: 1.6; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; }

@media (max-width: 991px) {
  .hero, .guide-top { gap: 36px; }
  .cards { gap: 36px 20px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 18px; padding-bottom: 12px; }
  .brand-name { font-size: 25px; }
  .nav ul { gap: 2px 20px; }
  .nav a { font-size: 15px; }
  .hero, .guide-top, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 28px; gap: 24px; }
  .hero-img { order: -1; }
  .guide-top { padding: 24px 0 32px; gap: 22px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card h3 { font-size: 17px; margin-top: 12px; }
  .card p { display: none; }
  .section-head { flex-direction: column; gap: 4px; margin-top: 52px; }
  .lead { font-size: 17px; }
  .page { padding-top: 32px; }
  .not-found { padding-top: 56px; }
}
