/* Спільний стиль SEO-сторінок (гайди). Лендінг home.html має власні інлайн-стилі тієї ж палітри. */
@font-face { font-family: 'Dela'; src: url('/font/delagothicone-cyrillic.woff2') format('woff2'); unicode-range: U+0400-04FF; font-display: swap; }
@font-face { font-family: 'Dela'; src: url('/font/delagothicone-latin.woff2') format('woff2'); unicode-range: U+0000-00A9, U+00AC-00FF; font-display: swap; }
:root { --bg: #14170f; --bg2: #1c2015; --card: #232819; --line: #3a4128; --text: #e9e6d8; --muted: #a7a58f; --gold: #ffc83d; --tg: #2aabee; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: 'Dela', system-ui, sans-serif; font-weight: 400; line-height: 1.2; }

header { position: sticky; top: 0; z-index: 10; background: rgba(20, 23, 15, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: 'Dela', sans-serif; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--gold); }
header nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header nav a:hover, header nav a[aria-current] { color: var(--text); }
@media (max-width: 640px) { header nav a.hide-m { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-family: 'Dela', system-ui, sans-serif; font-size: 17px; text-decoration: none; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-tg { background: var(--tg); color: #fff; box-shadow: 0 6px 22px rgba(42, 171, 238, .35); }
.btn-tg svg { width: 24px; height: 24px; }

.crumbs { font-size: 14px; color: var(--muted); margin: 26px 0 0; }
.crumbs a { color: var(--muted); }
article { max-width: 780px; margin: 0 auto; padding: 0 0 60px; }
article h1 { font-size: clamp(28px, 4.6vw, 44px); color: var(--gold); margin: 14px 0 12px; }
article .lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
article .meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
article h2 { font-size: clamp(22px, 3.2vw, 30px); color: var(--gold); margin: 44px 0 12px; }
article h3 { font-size: 19px; margin: 28px 0 8px; }
article p, article li { color: var(--text); }
article ul, article ol { padding-left: 22px; }
article li { margin-bottom: 6px; }
article figure { margin: 26px 0; }
article figure img { border-radius: 12px; border: 1px solid var(--line); }
article figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin: 0 0 10px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.tip { background: rgba(255, 200, 61, .08); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 12px 18px; margin: 20px 0; }
.tbl { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--gold); font-weight: 600; background: var(--card); }
.cta { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 20px; margin: 44px 0 0; }
.cta h2 { margin-top: 0; }
.cta p { color: var(--muted); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--text); }
.related a b { display: block; color: var(--gold); font-family: 'Dela', sans-serif; font-weight: 400; margin-bottom: 4px; }
.related a span { color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 26px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); display: block; transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card div { padding: 14px 18px 18px; }
.card b { display: block; font-family: 'Dela', sans-serif; font-weight: 400; color: var(--gold); font-size: 19px; margin-bottom: 6px; line-height: 1.25; }
.card span { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }
