/*
 Theme Name:   Bezpečná Vina — Evidence-Based Design
 Theme URI:    https://bezpecnavina.cz
 Description:  Flatsome child theme implementing Variant D Evidence-Based Design. Blue primary (#2563a8), Merriweather headings, Source Sans 3 body, warm cream background, Quick Exit safety feature.
 Author:       Bezpečná Vina
 Author URI:   https://bezpecnavina.cz
 Template:     flatsome
 Version:      1.0.0
 Text Domain:  bezpecna-vina-child
*/

/* ═══════════════════════════════════════
   CSS Custom Properties — Design Tokens
   Every value from the PRD in one place.
   ═══════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg:          #f8f6f1;
  --bg-white:    #ffffff;
  --bg-subtle:   #f0ede6;

  /* Ink / text */
  --ink:         #1c1917;
  --ink-mid:     #44403c;
  --ink-muted:   #78716c;
  --ink-faint:   #a8a29e;

  /* Primary — blue (trust, -30% anxiety) */
  --blue:        #2563a8;
  --blue-hover:  #1a4f8a;
  --blue-light:  #eff6ff;
  --blue-mid:    #bfdbfe;

  /* Secondary — green (healing, success) */
  --green:       #15803d;
  --green-light: #f0fdf4;
  --green-mid:   #bbf7d0;

  /* Danger — red (Quick Exit ONLY) */
  --red-cta:     #b91c1c;
  --red-cta-h:   #991b1b;
  --red-light:   #fef2f2;

  /* Borders */
  --border:      #e2ddd6;
  --border-mid:  #ccc8c0;

  /* Fonts */
  --serif:       'Merriweather', Georgia, serif;
  --sans:        'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --max-w:       1080px;
  --article-w:   720px;
  --nav-h:       56px;

  /* Shadows */
  --shadow:      0 2px 12px rgba(28, 25, 23, 0.07);
  --shadow-md:   0 4px 24px rgba(28, 25, 23, 0.10);
}

/* ── Název webu vedle loga ── */
.bv-site-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a0a0a;
  white-space: nowrap;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: .35em;
}
@media (max-width: 549px) {
  .bv-site-name { display: none; }
}

/* ── Nav links — patkový font ── */
.header-nav-main.nav > li > a,
.header-nav-main > li > a,
.nav-top-link {
  font-family: var(--serif) !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ── Header vertical alignment fix ── */
.header-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.header-main .header-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#masthead {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* FIX pro wpautop v grids (skryti vlozenych p a br elementu) */
.articles-grid > p,
.articles-grid > br,
.defense-grid > p,
.defense-grid > br {
    display: none !important;
}

