/*
Theme Name: Gunners Daily
Theme URI: https://gunnersdaily.com
Author: Gunners Daily
Author URI: https://gunnersdaily.com
Description: A fast, lightweight Arsenal FC news theme — clean magazine layout, Arsenal-red branding, built for speed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gunners-daily
Tags: blog, news, two-columns, custom-menu, featured-images, threaded-comments
*/

/* =========================================================================
   Gunners Daily — theme styles. Lightweight, system fonts, mobile-first.
   ========================================================================= */

/* Self-hosted Archivo (variable, weights 600–900). SIL Open Font License. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.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;
}

:root {
  --red: #ef0107;
  --red-dark: #c9010b;
  --navy: #023474;
  --gold: #9c824a;

  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-card: #ffffff;
  --border: #e6e8eb;
  --text: #14181f;
  --text-soft: #5b6470;
  --text-faint: #8a93a0;

  --header-h: 62px;
  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 6px 20px rgba(16, 24, 40, 0.06);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-head: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --bg-soft: #161a20;
    --bg-card: #171b21;
    --border: #262c34;
    --text: #eef1f4;
    --text-soft: #a9b2bd;
    --text-faint: #79828d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.5em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---- Buttons & badges -------------------------------------------------- */
.btn {
  display: inline-block; background: var(--red); color: #fff;
  padding: 10px 20px; border-radius: 8px; font-weight: 700;
  transition: background 0.15s ease; border: none; cursor: pointer; font: inherit;
}
.btn:hover { background: var(--red-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-soft); }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--red);
  background: rgba(239, 1, 7, 0.08); padding: 3px 9px; border-radius: 999px;
}
.badge:hover { text-decoration: none; }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.1) blur(6px);
}
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo__mark { display: inline-flex; align-items: center; }
.logo__mark svg { display: block; }
.logo__text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.logo__text strong { color: var(--text); }
.logo__text span { color: var(--red); margin-left: 3px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; color: var(--text-soft);
  font-weight: 600; font-size: 0.95rem; border-radius: 7px; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--red); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; background: transparent;
  border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin-inline: auto; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .site-nav.open { max-height: 80vh; }
  .site-nav ul { flex-direction: column; padding: 8px clamp(16px, 4vw, 28px) 16px; gap: 2px; }
  .site-nav a { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
}

/* ---- Card grid --------------------------------------------------------- */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--text-faint); font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--bg-soft), color-mix(in srgb, var(--red) 12%, var(--bg-soft)));
}
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body .badge { align-self: flex-start; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--red); text-decoration: none; }
.card__excerpt { color: var(--text-soft); font-size: .95rem; margin: 0; }
.card__meta { margin-top: auto; color: var(--text-faint); font-size: .82rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---- Section heads ----------------------------------------------------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 40px 0 20px; border-bottom: 2px solid var(--border); padding-bottom: 8px;
}
.section-head h2 { margin: 0; font-size: 1.35rem; position: relative; padding-left: 14px; }
.section-head h2::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; background: var(--red); border-radius: 3px; }
.section-head h2 a { color: var(--text); }
.section-head h2 a:hover { color: var(--red); text-decoration: none; }
.section-head__more { font-size: .85rem; font-weight: 700; color: var(--text-soft); white-space: nowrap; }
.section-head__more:hover { color: var(--red); }

/* ---- Hero -------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 8px; }
.hero__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 800; font-size: 1.4rem; color: var(--text-faint); background: linear-gradient(135deg, var(--bg-soft), color-mix(in srgb, var(--red) 14%, var(--bg-soft))); }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 12px 0 10px; }
.hero h1 a { color: var(--text); }
.hero h1 a:hover { color: var(--red); text-decoration: none; }
.hero__excerpt { color: var(--text-soft); font-size: 1.08rem; margin: 0 0 14px; }

@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 18px; } }

/* ---- Content + sidebar layout ----------------------------------------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.with-sidebar__main { min-width: 0; }
@media (max-width: 980px) { .with-sidebar { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Article prose ----------------------------------------------------- */
.article { padding-top: 28px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--text-faint); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-soft); }
.article__head h1 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); margin: 12px 0 12px; }
.article__excerpt { font-size: 1.2rem; color: var(--text-soft); margin: 0 0 16px; line-height: 1.5; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-faint); padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.article__hero { margin: 24px 0; }
.article__hero img { width: 100%; border-radius: var(--radius); }
.article__hero figcaption { font-size: .82rem; color: var(--text-faint); text-align: center; margin-top: 8px; }

.prose { font-size: 1.12rem; line-height: 1.75; margin-top: 24px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose img { border-radius: var(--radius); height: auto; }
.prose blockquote { margin: 1.6em 0; padding: 4px 20px; border-left: 4px solid var(--red); color: var(--text-soft); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose pre { background: var(--bg-soft); padding: 16px; border-radius: var(--radius); overflow-x: auto; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.prose figure { margin: 1.4em 0; }
.prose .wp-caption-text, .prose figcaption { font-size: .82rem; color: var(--text-faint); text-align: center; margin-top: 6px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.tags a { font-size: .82rem; color: var(--text-soft); background: var(--bg-soft); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; }
.tags a:hover { color: var(--red); text-decoration: none; }
.article__footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.related { margin-top: 48px; }
.related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .card__excerpt { display: none; }
@media (max-width: 640px) { .related .grid { grid-template-columns: 1fr; } }

/* ---- Share buttons ----------------------------------------------------- */
.share {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px; margin: 24px 0;
}
.share__label { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-right: 4px; }
.share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 15px; border: none; border-radius: 8px; font-weight: 600;
  font-size: 0.85rem; color: #fff; cursor: pointer; font-family: inherit; line-height: 1;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.share__btn svg { flex: none; }
.share__btn:hover { color: #fff; text-decoration: none; opacity: 0.88; transform: translateY(-1px); }
.share__btn--x { background: #000; }
.share__btn--fb { background: #1877f2; }
.share__btn--wa { background: #25d366; }

/* Mobile: single centered row of icon-only brand buttons */
@media (max-width: 600px) {
  .share { flex-wrap: nowrap; gap: 10px; }
  .share__label { display: none; }
  .share__btn span { display: none; }
  .share__btn { padding: 12px 18px; }
}

/* ---- Facebook follow bar (before first paragraph) ---------------------- */
.fb-follow-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 30px 0 0;
}
.fb-follow-bar__label { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.fb-follow-bar .fb-page { line-height: 1; }
.fb-follow-fallback {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px;
  background: #1877f2; color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
}
.fb-follow-fallback:hover { background: #0f66d6; color: #fff; text-decoration: none; }

/* Custom-styled Facebook follow button */
.fb-follow-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  background: #1877f2; color: #fff; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.fb-follow-btn:hover {
  background: #0f66d6; color: #fff; text-decoration: none;
  transform: translateY(-1px); box-shadow: 0 5px 14px rgba(24, 119, 242, 0.35);
}
.fb-follow-btn svg { flex: none; }
.prose .fb-follow-btn,
.prose .fb-follow-btn:hover { text-decoration: none; }

/* ---- Sidebar widgets --------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 20px; }
.widget__title, .widget .widget-title, .widget h2 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); position: relative; font-weight: 800;
}
.widget__title::after, .widget .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--red); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget__recent li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.widget__recent li:last-child { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }
.widget__recent-thumb { flex: none; width: 108px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--bg-soft); display: block; }
.widget__recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget__recent-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-weight: 800; font-size: 0.8rem; color: var(--text-faint); background: linear-gradient(135deg, var(--bg-soft), color-mix(in srgb, var(--red) 12%, var(--bg-soft))); }
.widget__recent-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.widget__recent-body a { color: var(--text); font-weight: 600; font-size: 0.92rem; line-height: 1.32; }
.widget__recent-body a:hover { color: var(--red); text-decoration: none; }
.widget__recent-body time { color: var(--text-faint); font-size: 0.78rem; }
.widget__cats li + li, .widget ul li + li { border-top: 1px solid var(--border); }
.widget__cats a, .widget ul a { display: block; padding: 9px 0; color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.widget__cats a:hover, .widget ul a:hover { color: var(--red); text-decoration: none; }
.widget__social { display: flex; flex-wrap: wrap; gap: 8px; }
.widget__social a { padding: 7px 13px; border: 1px solid var(--border); border-radius: 7px; font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.widget__social a:hover { color: var(--red); border-color: var(--red); text-decoration: none; }
.widget--ad { text-align: center; background: var(--bg-soft); }
.widget__adlabel { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 8px; }
.ad-slot { display: flex; align-items: center; justify-content: center; min-height: 250px; border: 1px dashed var(--border); border-radius: 8px; color: var(--text-faint); font-size: .85rem; }

/* ---- Category / archive header ---------------------------------------- */
.cat-head { padding: 36px 0 8px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.cat-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 12px 0 8px; }
.cat-head .badge { display: inline-block; }
.muted { color: var(--text-soft); }
.empty { padding: 60px 0; text-align: center; }

/* ---- Pagination -------------------------------------------------------- */
.pager, .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager a, .pager span, .nav-links a, .nav-links span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--text);
}
.pager a:hover, .nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- Simple page (About / legal) -------------------------------------- */
.page-wrap { max-width: 780px; padding-top: 40px; padding-bottom: 20px; }
.page-wrap .page__head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.page-wrap .page__head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; }

/* ---- 404 --------------------------------------------------------------- */
.notfound { text-align: center; padding: 80px 0 100px; max-width: 560px; margin-inline: auto; }
.notfound .code { font-size: clamp(4rem, 16vw, 8rem); font-weight: 900; line-height: 1; color: var(--red); margin: 0; }
.notfound h1 { font-size: 1.8rem; margin: 8px 0 12px; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { margin-top: 64px; background: var(--bg-soft); border-top: 1px solid var(--border); padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-logo { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.footer-logo span { color: var(--red); margin-left: 3px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.footer-social a { color: var(--text-soft); font-weight: 600; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--red); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: .85rem; }
.footer-bottom p { margin: 4px 0; }
.disclaimer-note { max-width: 60ch; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } body { font-size: 16px; } .prose { font-size: 1.05rem; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Contact form ------------------------------------------------------ */
.contact-form { display: grid; gap: 16px; max-width: 560px; margin: 20px 0; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg); color: var(--text); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.contact-form button { justify-self: start; }
.gd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 12px 16px; border-radius: 8px; font-weight: 600; margin: 20px 0; }
.form-note--ok { background: rgba(29, 158, 117, 0.12); color: #0f6e56; border: 1px solid rgba(29, 158, 117, 0.3); }
.form-note--err { background: rgba(239, 1, 7, 0.08); color: var(--red-dark); border: 1px solid rgba(239, 1, 7, 0.25); }

/* ---- Cookie consent banner --------------------------------------------- */
.gd-cookie {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 28px);
  background: var(--bg-card); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(16, 24, 40, 0.12);
}
.gd-cookie.is-visible { display: flex; }
.gd-cookie__text { margin: 0; font-size: 0.92rem; color: var(--text-soft); max-width: 720px; }
.gd-cookie__text a { color: var(--red); text-decoration: underline; }
.gd-cookie__actions { display: flex; gap: 10px; flex: none; }
.gd-cookie .btn { padding: 8px 18px; font-size: 0.9rem; }

/* ---- Ad slots ---------------------------------------------------------- */
.gd-ad { margin: 26px auto; text-align: center; max-width: 100%; overflow: hidden; }
.gd-ad--below_header { margin: 14px auto; }
.gd-ad--in_article { margin: 30px auto; }
.gd-ad img, .gd-ad ins, .gd-ad iframe { max-width: 100%; height: auto; }

/* ---- Comments (minimal) ----------------------------------------------- */
.comments-area { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 12px 0; border-bottom: 1px solid var(--border); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); margin-top: 6px;
}
