/* ===========================
   BM Theme - Main Stylesheet
   Палітра: темний флот + синій (UA) + пурпур (акцент)
   =========================== */

:root {
  --bg-base:        #030407;
  --bg-surface:     #07090F;
  --bg-card:        #0D1117;
  --bg-card-hover:  #111827;
  --border:         rgba(255,255,255,0.07);
  --border-accent:  rgba(29,155,240,0.35);

  --accent-blue:    #1D9BF0;
  --accent-blue-dk: #1476B8;
  --accent-gold:    #9B27AF;
  --accent-gold-dk: #7B1F8A;

  --text-primary:   #E4EBF4;
  --text-secondary: #B4C0D2;
  --text-muted:     #8A97AB;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.22s ease;

  --max-w: 1200px;
  --section-gap: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.hero-dramatic-title,
.hero-overtitle,
.section-title,
.page-hero h1,
.how-step-title,
.campaign-card-title,
.report-title,
.news-card-title,
.about-value-title,
.section-label,
.sidebar-widget-title,
.footer-col-title {
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-gold-dk); }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .container { padding: 0 12px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--accent-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-blue-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,155,240,0.35);
}
.btn-gold {
  position: relative;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: visible;
}
.btn-gold::before,
.btn-gold::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-gold::before {
  bottom: 3px;
  left: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  border-left: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-gold::after {
  top: 3px;
  right: 3px;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  border-right: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-gold:hover {
  background: var(--accent-gold-dk);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn-gold:hover::before,
.btn-gold:hover::after {
  opacity: 1;
}
.btn-outline {
  position: relative;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: visible;
}
.btn-outline::before,
.btn-outline::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-outline::before {
  bottom: 3px;
  left: 3px;
  border-bottom: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
}
.btn-outline::after {
  top: 3px;
  right: 3px;
  border-top: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}
.btn-outline:hover {
  border-color: rgba(106,13,173,0.4);
  color: var(--text-primary);
  transform: none;
  box-shadow: none;
}
.btn-outline:hover::before,
.btn-outline:hover::after {
  opacity: 1;
}
.btn-sm { padding: 9px 20px; font-size: 15px; }

/* ── Section headings ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 18px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: -10px;
  top: -10px;
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-title { display: inline-block; }
.section-header.centered .section-desc { margin-left: auto; margin-right: auto; }

/* ── Section spacing ── */
section { padding: var(--section-gap) 0; }

/* ── Divider ── */
.section-divider {
  display: none;
}

/* ══════════════════════════════
   HEADER / NAV
══════════════════════════════ */
#site-header {
  position: static;
  background: rgba(7,9,15,0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  height: 48px;
  width: auto;
}
.site-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--text-primary);
  white-space: nowrap;
}
.site-logo-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.site-logo-text span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.055em;
  text-transform: none;
  line-height: 1.2;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  display: block;
  padding: 8px 10px;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
}
.main-nav a::before,
.main-nav a::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  opacity: 0.72;
  transition: opacity var(--transition), filter var(--transition), border-width var(--transition);
  filter: drop-shadow(0 0 5px rgba(106, 13, 173, 0.8));
}
.main-nav a::before {
  bottom: 2px;
  left: 2px;
  border-bottom: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
}
.main-nav a::after {
  top: 2px;
  right: 2px;
  border-top: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  color: #fff;
}
.main-nav a:hover {
  font-weight: 600;
}
.main-nav .current-menu-item a {
  font-weight: 600;
}
.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav .current-menu-item a::before,
.main-nav .current-menu-item a::after {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(106, 13, 173, 1)) drop-shadow(0 0 4px rgba(180, 90, 255, 0.85));
}
.main-nav a:hover::before,
.main-nav .current-menu-item a::before {
  border-bottom-width: 3px;
  border-left-width: 3px;
}
.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  border-top-width: 3px;
  border-right-width: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.lang-switch:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg-base);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

/* ══════════════════════════════
   HERO - DRAMATIC VERSION
══════════════════════════════ */
.hero-dramatic {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
  background-color: #050709;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* When a custom background photo is uploaded via Customizer */
.hero-dramatic.hero-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 7, 9, calc(var(--hero-overlay-alpha, 0.55) * 0.85)) 0%,
      rgba(5, 7, 9, var(--hero-overlay-alpha, 0.55)) 50%,
      rgba(5, 7, 9, calc(var(--hero-overlay-alpha, 0.55) * 1.05)) 100%
    );
}
.hero-dramatic.hero-has-bg .hero-glow { opacity: 0.55; }

/* Particle canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-glow-left {
  width: 720px; height: 720px;
  left: -220px; top: 38%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(247,175,92,0.07) 0%, transparent 70%);
}
.hero-glow-right {
  width: 720px; height: 720px;
  right: -220px; top: 62%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(140,165,200,0.06) 0%, transparent 70%);
}
.hero-glow-top {
  width: 900px; height: 460px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,240,220,0.04) 0%, transparent 75%);
}

/* Layout */
.hero-dramatic-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: -48px auto 0;
  padding: 80px 32px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  min-height: 100vh;
}

/* ── Emblems ── */
.hero-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-emblem img {
  width: clamp(160px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(29,155,240,0.35));
  animation: emblem-float 4s ease-in-out infinite;
}
@keyframes emblem-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.hero-emblem-left  img { animation-delay: 0s; }
.hero-emblem-right     { animation-delay: 0.5s; }

/* Corner brackets */
.hero-emblem-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--accent-gold);
  border-style: solid;
  opacity: 0.5;
}
.hero-emblem-corner--tl { top: -8px; left: -8px;  border-width: 2px 0 0 2px; }
.hero-emblem-corner--tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.hero-emblem-corner--bl { bottom: -8px; left: -8px;  border-width: 0 0 2px 2px; }
.hero-emblem-corner--br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

/* Right emblem - text shield */
.hero-emblem-text-shield {
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: emblem-float 4s ease-in-out infinite;
  animation-delay: 0.8s;
  filter: drop-shadow(0 0 32px rgba(106,13,173,0.25));
}
.hero-shield-outline {
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-gold);
  clip-path: polygon(50% 0%, 100% 15%, 100% 70%, 50% 100%, 0% 70%, 0% 15%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20% 10% 25%;
  background: rgba(106,13,173,0.04);
}
.hero-shield-line1,
.hero-shield-line2,
.hero-shield-line3 {
  display: block;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-align: center;
  line-height: 1.1;
}
.hero-shield-line1 { font-size: clamp(11px, 1.4vw, 18px); }
.hero-shield-line2 { font-size: clamp(11px, 1.4vw, 18px); }
.hero-shield-line3 { font-size: clamp(9px, 1.1vw, 14px); color: rgba(106,13,173,0.6); }
.hero-shield-divider {
  width: 60%;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.4;
  margin: 4px 0;
}
.hero-shield-year {
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
}

/* ── Center ── */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.hero-overtitle {
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-top: 32px;
  margin-bottom: 22px;
  opacity: 0.9;
}
.hero-dramatic-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(48px, 7.5vw, 110px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow: 0 0 80px rgba(29,155,240,0.2);
}
.hero-title-accent {
  display: block;
  color: var(--accent-gold);
  text-shadow: 0 0 60px rgba(106,13,173,0.4);
}
.hero-sub {
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-top: 26px;
  margin-bottom: 0;
}
.hero-extra {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.78);
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 640px;
  line-height: 1.5;
}

/* CTA button */
.hero-cta-btn {
  display: inline-block;
  padding: 15px 48px;
  background: var(--accent-gold);
  color: #07090F;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s ease;
  margin-bottom: 40px;
  box-shadow: 0 0 32px rgba(106,13,173,0.3);
  text-decoration: none;
}
.hero-cta-btn:hover {
  background: #fff;
  color: #07090F;
  box-shadow: 0 0 48px rgba(106,13,173,0.6);
  transform: translateY(-2px);
}

/* Social icons */
.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-social-btn {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}
.hero-social-btn svg { width: 18px; height: 18px; }
.hero-social-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(29,155,240,0.08);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-hint span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  animation: scroll-mouse 2s ease-in-out infinite;
}
@keyframes scroll-mouse {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Light mode adjustments */
body.light-mode .hero-dramatic { background: #1a2035; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-dramatic-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 24px;
    min-height: auto;
  }
  .hero-emblem-left  { order: 2; }
  .hero-center       { order: 1; }
  .hero-emblem-right { order: 3; }
  .hero-emblem img,
  .hero-emblem-text-shield { width: 120px; }
  .hero-dramatic-title { font-size: clamp(48px, 14vw, 80px); }
}
@media (max-width: 480px) {
  .hero-emblem { display: none; }
  .hero-dramatic-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   CAMPAIGNS / ЗБОРІВ (Cards)
══════════════════════════════ */
.campaigns-section {
  background: var(--bg-surface);
}
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.campaign-card {
  background: transparent;
  border: none;
  overflow: hidden;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.campaign-card:hover { transform: translateY(-4px); }

/* Square image */
.campaign-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 0;
  margin-bottom: 16px;
}
.campaign-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
}
.campaign-card-image a { display: block; width: 100%; height: 100%; }
.campaign-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.campaign-card:hover .campaign-card-image img { transform: scale(1.05); }

/* Corner accent */
.campaign-card-image::before,
.campaign-card-image::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  z-index: 2;
}
.campaign-card-image::before {
  top: 10px; left: 10px;
  border-top: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
}
.campaign-card-image::after {
  bottom: 10px; right: 10px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}

.campaign-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent-gold);
  color: #07090F;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.campaign-card-badge.active { background: #10B981; color: #fff; }
.campaign-card-badge.urgent { background: #9B27AF; color: #FFFFFF; }
.campaign-card-badge.closed { background: #EF4444; color: #fff; }

.campaign-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.campaign-card-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}
.campaign-card-title a { color: inherit; }

.campaign-progress { }
.campaign-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.campaign-progress-fill {
  height: 100%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width 0.8s ease;
}
.campaign-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--text-muted);
}
.campaign-progress-meta strong { color: var(--text-primary); }

.campaign-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .campaigns-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .campaigns-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   NEWS
══════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
}
.news-card-body { padding: 18px 0; }
.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface);
}
.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-muted);
}
.news-card-cat {
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.news-card-cat a:hover {
  color: var(--accent-gold-dk);
}
.news-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
  flex: 1;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--accent-gold); }
.news-card-excerpt {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card-link:hover {
  color: var(--accent-gold-dk);
}
.news-card-link::after { content: '→'; transition: transform var(--transition); }
.news-card:hover .news-card-link::after { transform: translateX(4px); }

/* ══════════════════════════════
   ACCOUNTABILITY / ЗВІТНІСТЬ
══════════════════════════════ */
.reports-section { background: var(--bg-surface); }
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Zvítnist archive - 2-column photo cards */
.zvitnist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}
.zvitnist-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
}
.zvitnist-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-card);
  margin-bottom: 18px;
}
.zvitnist-card-image a { display: block; width: 100%; height: 100%; }
.zvitnist-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.zvitnist-card:hover .zvitnist-card-image img { transform: scale(1.04); }
.zvitnist-card-noimg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  opacity: 0.4;
}
.zvitnist-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zvitnist-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-muted);
}
.zvitnist-card-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}
.zvitnist-card-title a { color: inherit; }
.zvitnist-card-title a:hover { color: var(--accent-gold); }
.zvitnist-card-excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 700px) {
  .zvitnist-grid { grid-template-columns: 1fr; }
}
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.report-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}
.report-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(29,155,240,0.1);
  border: 1px solid rgba(29,155,240,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.report-info {}
.report-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.report-title a { color: inherit; }
.report-title a:hover { color: var(--accent-blue); }
.report-date { font-size: 15px; color: var(--text-muted); margin-bottom: 10px; }
.report-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.report-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
}

/* ══════════════════════════════
   ABOUT FUND / ПРО ФОНД
══════════════════════════════ */
.about-section {}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: 0;
  width: 100%;
  border: 1px solid var(--border);
}
.about-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}
.about-image-badge-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-blue);
}
.about-image-badge-label { font-size: 15px; color: var(--text-secondary); }
.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.about-value-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(106,13,173,0.1);
  border-radius: var(--radius-sm);
}
.about-value-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.about-value-text { font-size: 16px; color: var(--text-secondary); }

/* ══════════════════════════════
   FUNDRAISERS / ФАНДРАЙЗЕРИ
══════════════════════════════ */
.reps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.rep-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.rep-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.rep-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid var(--border-accent);
  background: var(--bg-surface);
}
.rep-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rep-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(29,155,240,0.08);
}
.rep-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.rep-role {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.rep-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(29,155,240,0.1);
  border: 1px solid rgba(29,155,240,0.25);
  color: var(--accent-blue);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  transition: all var(--transition);
}
.rep-tg:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}
.rep-tg svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════
   HOW IT WORKS / ЯК МИ ДІЄМО
══════════════════════════════ */
.how-section { background: var(--bg-surface); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.how-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  counter-increment: step;
}
.how-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px; right: 20px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(29,155,240,0.08);
  line-height: 1;
}
.how-step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.how-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.how-step-text { font-size: 16px; color: var(--text-secondary); line-height: 1.6; }

/* ══════════════════════════════
   DONATE BLOCK
══════════════════════════════ */
.donate-block {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.donate-block-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
}
.donate-title-accent { color: var(--accent-gold); }
.mission-title-accent { color: #9B27AF; }
.about-title-accent   { color: #9B27AF; }
.donate-block-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.05;
}
.donate-block-sub {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 400;
}

/* Tabs nav */
.donate-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.donate-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.donate-tab-btn:hover { color: var(--text-primary); }
.donate-tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

/* Tab panels */
.donate-tab-panel { display: none; }
.donate-tab-panel.active { display: block; }

/* Requisites table */
.donate-requisites {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.donate-req-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.donate-req-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-width: 140px;
  flex-shrink: 0;
}
.donate-req-value {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 500;
}
.donate-req-iban {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.donate-iban-num {
  font-family: 'Courier New', monospace;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}
.donate-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,155,240,0.1);
  border: 1px solid rgba(29,155,240,0.25);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: auto;
  white-space: nowrap;
}
.donate-copy-btn:hover {
  background: rgba(29,155,240,0.2);
  border-color: var(--accent-blue);
}
.donate-req-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .donate-block-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .donate-iban-num { font-size: 16px; }
}

/* ══════════════════════════════
   FEATURE ROWS (checkerboard)
══════════════════════════════ */
.feature-row { padding: var(--section-gap) 0; }

.feature-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row--img-right { }
.feature-row--img-left  { }
.feature-row--img-left .feature-row-image  { order: -1; }
.feature-row--img-left .feature-row-text   { order:  1; }

/* Image side */
.feature-row-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}
.feature-row-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  filter: brightness(0.88) contrast(1.08);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.feature-row-image:hover img {
  transform: scale(1.03);
  filter: brightness(0.95) contrast(1.05);
}
.feature-row-image-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29,155,240,0.18);
  pointer-events: none;
}
/* Corner accent lines on image */
.feature-row-image::before,
.feature-row-image::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
}
.feature-row-image::before {
  top: 12px; left: 12px;
  border-top: 2px solid var(--accent-blue);
  border-left: 2px solid var(--accent-blue);
}
.feature-row-image::after {
  bottom: 12px; right: 12px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}

/* Text side */
.feature-row-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.feature-row-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
}
.feature-row-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-row-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--text-secondary);
}
.frl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-row-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-row--img-left .feature-row-image { order: 0; }
  .feature-row--img-left .feature-row-text  { order: 0; }
  .feature-row-image img { height: 280px; }
}

/* How-step number badge */
.how-step-num {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: rgba(29,155,240,0.15);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════
   TEAM GRID
══════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 24px 64px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}
.team-cs-icon {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-gold);
}
.team-cs-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.team-cs-desc {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106,13,173,0.35);
}
.team-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.04); }
.team-card-initials {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(29,155,240,0.06);
}
.team-card-info {
  padding: 20px 22px 24px;
}
.team-card-name {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.team-card-role {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #0D1525 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,155,240,0.07) 0%, transparent 70%);
}
.cta-banner-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
}
.cta-banner h2 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ══════════════════════════════
   CONTACTS PAGE
══════════════════════════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {}
.contact-info--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}
.contact-info--grid .contact-block {
  border-bottom: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
@media (max-width: 720px) {
  .contact-info--grid { grid-template-columns: 1fr; gap: 16px; }
}
.contact-form-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.contact-form-sub {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Contact Form 7 styling to match theme */
.contact-form--cf7 .wpcf7 form > p,
.contact-form--cf7 .wpcf7-form > p { margin: 0 0 16px; }
.contact-form--cf7 .wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.contact-form--cf7 .wpcf7 input[type="text"],
.contact-form--cf7 .wpcf7 input[type="email"],
.contact-form--cf7 .wpcf7 input[type="tel"],
.contact-form--cf7 .wpcf7 input[type="url"],
.contact-form--cf7 .wpcf7 textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
  margin-top: 6px;
}
.contact-form--cf7 .wpcf7 textarea { min-height: 140px; resize: vertical; }
.contact-form--cf7 .wpcf7 input:focus,
.contact-form--cf7 .wpcf7 textarea:focus {
  border-color: var(--accent-blue);
  outline: none;
}
.contact-form--cf7 .wpcf7 input[type="submit"] {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}
.contact-form--cf7 .wpcf7 input[type="submit"]:hover {
  background: var(--accent-blue-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(29,155,240,0.25);
}
.contact-form--cf7 .wpcf7-not-valid-tip {
  color: #d96d4a;
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
}
.contact-form--cf7 .wpcf7-response-output {
  border-radius: var(--radius-md);
  padding: 14px 18px !important;
  margin: 16px 0 !important;
  font-size: 14px;
}
.contact-form--cf7 .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(34,197,94,0.4);
  color: #22C55E;
  background: rgba(34,197,94,0.06);
}
.contact-form--cf7 .wpcf7 form.invalid .wpcf7-response-output,
.contact-form--cf7 .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(217,109,74,0.45);
  color: #d96d4a;
  background: rgba(217,109,74,0.08);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}
.contact-block:last-child { border-bottom: none; }
.contact-block-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(29,155,240,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-block-label { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-block-value { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.contact-block-value a { color: inherit; }
.contact-block-value a:hover { color: var(--accent-blue); }

.contact-form {}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 15px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.03em; }
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(29,155,240,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 120px; }

/* ══════════════════════════════
   BANK DETAILS (Реквізити)
══════════════════════════════ */
.requisites-section { background: var(--bg-surface); }
.requisites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.requisite-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition);
}
.requisite-card:hover { border-color: var(--border-accent); }
.requisite-currency {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.requisite-flag {
  font-size: 24px;
}
.requisite-currency-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}
.requisite-currency-code {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}
.requisite-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.requisite-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.requisite-key { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.requisite-val {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 16px;
  transition: all var(--transition);
  vertical-align: middle;
}
.copy-btn:hover { color: var(--accent-blue); background: rgba(29,155,240,0.1); }

/* ══════════════════════════════
   PAGE HERO (Inner pages)
══════════════════════════════ */
.page-hero {
  padding: 40px 0 40px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 100%; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  user-select: none;
}
.breadcrumb-current {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.page-hero h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero p { font-size: 18px; color: var(--text-secondary); }

/* ══════════════════════════════
   SINGLE POST / ARTICLE
══════════════════════════════ */
.single-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 64px 0;
  align-items: start;
}
.single-content {}
.single-content h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.post-meta-item { font-size: 15px; color: var(--text-muted); }
.post-meta-item a { color: var(--accent-blue); }
.post-featured-image {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--border);
}
.post-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
}
.post-body--zbirky {
  font-size: 20px;
  line-height: 1.85;
}
.post-body--zbirky p { margin-bottom: 22px; }
.post-body--zbirky h2 { font-size: 32px; }
.post-body--zbirky h3 { font-size: 24px; }
.post-body--zbirky li { font-size: 19px; }
.campaign-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 500;
  border-left: 3px solid var(--accent-gold);
  padding: 6px 0 6px 20px;
  margin: 0 0 32px;
}
.post-body h2, .post-body h3 { color: var(--text-primary); margin: 32px 0 14px; font-weight: 700; }
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 22px; }
.post-body p { margin-bottom: 20px; }
.post-body strong { color: var(--text-primary); font-weight: 700; }
.post-body a { color: var(--accent-blue); }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--accent-blue);
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-primary);
}

.single-sidebar {}
.sidebar-widget {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  position: relative;
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 20px;
  padding-bottom: 14px;
}
.sidebar-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--accent-gold);
}

/* ══════════════════════════════
   PARTNERS
══════════════════════════════ */
.partners-section {
  padding: 56px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-title {
  margin-bottom: 36px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
}
.partner-logo {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 36px;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.65;
}
.partner-logo:last-child {
  border-right: none;
}
.partner-logo:nth-child(4n) {
  border-right: none;
}
.partner-logo:hover {
  color: var(--text-primary);
  opacity: 1;
}
.partner-logo svg {
  width: 100%;
  max-width: 360px;
  height: 120px;
}
.partner-logo img {
  max-width: 100% !important;
  max-height: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
@media (max-width: 900px) {
  .partner-logo { flex: 0 0 50%; padding: 24px 28px; }
  .partner-logo:nth-child(4n) { border-right: 1px solid var(--border); }
  .partner-logo:nth-child(2n) { border-right: none; }
  .partner-logo svg { height: 96px; }
  .partner-logo img { max-height: 96px !important; }
}
@media (max-width: 600px) {
  .partner-logo { flex: 0 0 50%; padding: 14px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .partner-logo:nth-child(2n) { border-right: none; }
  .partner-logo svg { height: 48px; }
  .partner-logo img { max-height: 48px !important; }
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
#site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo img { height: 36px; }
.footer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-brand-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--transition);
}
.footer-social:hover {
  background: rgba(29,155,240,0.1);
  border-color: rgba(29,155,240,0.3);
  color: var(--accent-blue);
}
.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { list-style: none; padding: 0; margin: 0; }
.footer-nav a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text-primary); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}
.footer-contact-item a { color: var(--text-secondary); }
.footer-contact-item a:hover { color: var(--accent-blue); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom-text { font-size: 15px; font-weight: 400; color: var(--text-secondary); }
.footer-bottom-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom-links li { list-style: none; padding: 0; margin: 0; }
.footer-bottom-links a { font-size: 15px; font-weight: 400; color: var(--text-secondary); }
.footer-bottom-links a:hover { color: var(--accent-blue); }

/* ══════════════════════════════
   PAGINATION
══════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 48px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.pagination .page-numbers.current,
.pagination .page-numbers:not(.dots):hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}
.pagination .page-numbers.dots {
  border-color: transparent;
  color: var(--text-muted);
  pointer-events: none;
}

/* ══════════════════════════════
   NOTIFICATION / TOAST
══════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 16px;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 18px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .single-wrapper { grid-template-columns: 1fr; }
  .single-sidebar { order: -1; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 24px; }
  .campaigns-grid, .news-grid { grid-template-columns: 1fr; }
  .reps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .footer-bottom-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .reps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .requisites-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   DESIGNER ARCHITECTURAL LINES
══════════════════════════════ */

/* ── Hero grid overlay ── */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hgo-line {
  position: absolute;
}

/* Horizontal guide lines */
.hgo-line--h {
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.10) 12%,
    rgba(255,255,255,0.10) 88%,
    transparent 100%
  );
}
.hgo-line--top    { top: 14%; }
.hgo-line--bottom { bottom: 14%; }

/* Vertical guide lines */
.hgo-line--v {
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.10) 12%,
    rgba(255,255,255,0.10) 88%,
    transparent 100%
  );
}
.hgo-line--left  { left: 48px; }
.hgo-line--right { right: 48px; }

/* Corner cross marks at intersections */
.hgo-cross {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}
.hgo-cross::before,
.hgo-cross::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.2);
}
.hgo-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.hgo-cross::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

.hgo-cross--tl { top: calc(14% - 5px);  left: calc(48px - 5px); }
.hgo-cross--tr { top: calc(14% - 5px);  right: calc(48px - 5px); }
.hgo-cross--bl { bottom: calc(14% - 5px); left: calc(48px - 5px); }
.hgo-cross--br { bottom: calc(14% - 5px); right: calc(48px - 5px); }

@media (max-width: 768px) {
  .hgo-line--left  { left: 20px; }
  .hgo-line--right { right: 20px; }
  .hgo-cross--tl, .hgo-cross--bl { left: calc(20px - 5px); }
  .hgo-cross--tr, .hgo-cross--br { right: calc(20px - 5px); }
}

/* ── Section side accent line ── */
.section-side-line {
  position: relative;
}
.section-side-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(29,155,240,0.18) 30%,
    rgba(29,155,240,0.18) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Decorative horizontal section rule ── */
.section-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 20%,
    rgba(29,155,240,0.12) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent 100%
  );
  margin: 0;
  border: none;
}

/* ══════════════════════════════
   SHARE WIDGET (sidebar)
══════════════════════════════ */
.bm-share-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bm-share-icon { color: var(--accent-gold); flex-shrink: 0; width: 22px; height: 22px; }
.bm-share-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bm-share-list .btn {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  justify-content: flex-start;
  gap: 12px;
}

/* Other campaigns list */
.bm-other-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.bm-other-item + .bm-other-item { border-top: 1px solid var(--border); }
.bm-other-link {
  display: block;
  padding: 18px 0;
  color: var(--text-primary);
  transition: color .18s ease, transform .18s ease;
}
.bm-other-link:hover { color: var(--accent-gold); transform: translateX(2px); }
.bm-other-title {
  display: block;
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.bm-other-date {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bm-other-item:first-child .bm-other-link { padding-top: 0; }
.bm-other-item:last-child  .bm-other-link { padding-bottom: 0; }

/* Prev / next post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.post-nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .18s ease, transform .18s ease;
  max-width: 48%;
}
.post-nav-link:hover { color: var(--accent-gold); }
.post-nav-prev:hover { transform: translateX(-2px); }
.post-nav-next:hover { transform: translateX(2px); }
.post-nav-next { margin-left: auto; text-align: right; }
.post-nav-arrow { color: var(--text-muted); flex-shrink: 0; font-size: 20px; }
.post-nav-link:hover .post-nav-arrow { color: var(--accent-gold); }
.post-nav-title { display: inline; }
@media (max-width: 600px) {
  .post-nav { flex-direction: column; gap: 18px; }
  .post-nav-link { max-width: 100%; }
  .post-nav-next { margin-left: 0; text-align: left; flex-direction: row-reverse; }
}

/* Sidebar support card */
.bm-support-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.bm-support-btn {
  width: 100%;
  justify-content: center;
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
}
.bm-share-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bm-share-btn svg { flex-shrink: 0; opacity: 0.85; }
.bm-share-btn:hover svg { opacity: 1; }
.bm-share-copy.copied { color: var(--accent-gold) !important; border-color: rgba(106,13,173,0.5); }

/* ══════════════════════════════
   CAMPAIGN HERO (single zbirky)
══════════════════════════════ */
.campaign-hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.campaign-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(106,13,173,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.campaign-hero--urgent::before {
  background: radial-gradient(ellipse at center, rgba(220,80,40,0.18) 0%, transparent 65%);
}
.campaign-hero--closed::before {
  background: radial-gradient(ellipse at center, rgba(120,130,150,0.10) 0%, transparent 65%);
}
.campaign-hero-top {
  position: relative;
  margin-top: 8px;
  margin-bottom: 28px;
}
.campaign-hero-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.campaign-hero-main { min-width: 0; order: 1; }
.campaign-hero-aside {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.campaign-hero-status {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.campaign-hero-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 16px;
  max-width: 100%;
}
.campaign-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 880px;
}
.campaign-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 4px 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.campaign-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.campaign-hero-progress {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0;
  padding: 22px 24px;
  margin-bottom: 0;
}
.campaign-hero-progress .campaign-progress-bar {
  height: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  overflow: hidden;
}
.campaign-hero-progress .campaign-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-dk) 100%);
  border-radius: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.campaign-hero-progress-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 8px 24px;
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.campaign-hero-progress-meta .campaign-hero-raised      { text-align: left; }
.campaign-hero-progress-meta .campaign-hero-pct         { text-align: center; }
.campaign-hero-progress-meta .campaign-hero-goal-inline { text-align: right; }
.campaign-hero-progress-meta strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 22px;
}
.campaign-hero-goal-inline strong { color: var(--text-secondary); }
@media (max-width: 600px) {
  .campaign-hero-progress-meta { grid-template-columns: 1fr 1fr; }
  .campaign-hero-progress-meta .campaign-hero-pct { grid-column: 1 / -1; text-align: left; order: 0; }
  .campaign-hero-progress-meta .campaign-hero-raised { text-align: left; }
  .campaign-hero-progress-meta .campaign-hero-goal-inline { text-align: right; }
}
.campaign-hero-pct {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .campaign-hero-progress-meta { font-size: 17px; }
  .campaign-hero-progress-meta strong { font-size: 19px; }
  .campaign-hero-pct { font-size: 26px; }
}
.campaign-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.campaign-hero-cta {
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(247, 147, 30, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.campaign-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(247, 147, 30, 0.42);
}
.campaign-hero-cta svg { flex-shrink: 0; }

/* Three buttons in one row: Підтримати + Монобанка + LiqPay
   — same size/spacing as homepage card "Підтримати" (.btn-sm),
   left-aligned, content-width (no equal-fill stretching). */
.campaign-hero-actions--row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.campaign-hero-actions--row .campaign-hero-cta {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  gap: 8px;
  box-shadow: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
}
.campaign-hero-actions--row .campaign-hero-cta:hover {
  transform: none;
  box-shadow: 0 4px 14px rgba(106,13,173,0.20);
}
.campaign-hero-actions--row .campaign-hero-cta svg {
  width: 16px;
  height: 16px;
}

/* Outline / brand variants */
.campaign-hero-cta.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--text-primary);
}
.campaign-hero-cta.btn-outline:hover {
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}
.campaign-hero-cta--mono {
  border-color: rgba(0,0,0,0.4);
  background: #000;
  color: #fff;
}
.campaign-hero-cta--mono:hover {
  background: #111;
  border-color: rgba(255,255,255,0.18);
}
.campaign-hero-cta--liqpay {
  border-color: rgba(29,155,240,0.55);
  color: #fff;
}
.campaign-hero-cta--liqpay:hover {
  background: rgba(29,155,240,0.10);
  border-color: rgba(29,155,240,0.85);
}

/* On mobile — stack buttons in column for readable labels */
@media (max-width: 540px) {
  .campaign-hero-actions--row {
    flex-direction: column;
  }
  .campaign-hero-actions--row .campaign-hero-cta {
    flex: 0 0 auto;
    width: 100%;
    font-size: 13px;
    padding: 12px 16px;
  }
}
.campaign-hero-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  margin-bottom: 18px;
}
.campaign-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campaign-hero-image-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(106,13,173,0.35);
  pointer-events: none;
  border-radius: 0;
}
@media (max-width: 900px) {
  .campaign-hero-body { gap: 20px; }
  .campaign-hero { padding: 48px 0 40px; }
}

/* ══════════════════════════════
   FOOTER DECOR (subtle lines, no red glow)
══════════════════════════════ */

#site-footer {
  position: relative;
  overflow: hidden;
}

/* Footer grid lines */
.footer-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.fgl-line {
  position: absolute;
}
.fgl-line--v {
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(29, 155, 240, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 45%,
    transparent 100%
  );
}
.fgl-line--left  { left: 48px; }
.fgl-line--right { right: 48px; }

.fgl-line--h {
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 15%,
    rgba(29, 155, 240, 0.10) 50%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%
  );
}
.fgl-line--top { top: 0; }

/* Make footer content stack above glow & lines */
#site-footer .container,
#site-footer .footer-grid,
#site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

/* ── Donate block: warm red accent ── */
.donate-block {
  position: relative;
  overflow: hidden;
}
.donate-block::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 520px;
  height: 420px;
  background: radial-gradient(
    ellipse 55% 55% at 70% 40%,
    rgba(140, 15, 15, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.donate-block .container {
  position: relative;
  z-index: 1;
}

.partners-section {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fgl-line--left  { left: 20px; }
  .fgl-line--right { right: 20px; }
}

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeup { animation: fadeUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ── Accessibility ── */
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ══════════════════════════════
   LIGHT MODE
══════════════════════════════ */
body.light-mode {
  --bg-base:        #F4F6FA;
  --bg-surface:     #EAEEF5;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F0F4FF;
  --border:         rgba(0,0,0,0.09);
  --border-accent:  rgba(29,155,240,0.4);

  --text-primary:   #0D1220;
  --text-secondary: #3D4A5C;
  --text-muted:     #7A8899;
}
body.light-mode #site-header {
  background: rgba(244,246,250,0.9);
  border-bottom-color: rgba(0,0,0,0.1);
}
body.light-mode #site-header.scrolled {
  background: rgba(244,246,250,0.98);
}
body.light-mode .hero-bg {
  background: linear-gradient(135deg, #E8EDF8 0%, #D8E2F5 50%, #E2E8F5 100%);
}
body.light-mode .hero-bg::before {
  background: radial-gradient(circle, rgba(29,155,240,0.12) 0%, transparent 70%);
}
body.light-mode .hero-image-overlay::after {
  background: linear-gradient(to right, rgba(244,246,250,0.92) 40%, rgba(244,246,250,0.5) 100%),
              linear-gradient(to top, rgba(244,246,250,0.85) 0%, transparent 60%);
}
body.light-mode .mobile-nav {
  background: var(--bg-base);
}

/* ══════════════════════════════
   HIGH CONTRAST MODE
══════════════════════════════ */
body.high-contrast {
  --bg-base:        #000000;
  --bg-surface:     #0A0A0A;
  --bg-card:        #111111;
  --bg-card-hover:  #1A1A1A;
  --border:         rgba(255,255,255,0.25);
  --border-accent:  #FFFF00;

  --accent-blue:    #00CFFF;
  --accent-gold:    #FFFF00;

  --text-primary:   #FFFFFF;
  --text-secondary: #DDDDDD;
  --text-muted:     #AAAAAA;
}
body.high-contrast a { text-decoration: underline; }
body.high-contrast .btn { border: 2px solid currentColor !important; }
body.high-contrast img { filter: contrast(1.15); }

/* ══════════════════════════════
   DYSLEXIA FONT
══════════════════════════════ */
/* Lexend підвантажується разом із bm-fonts у enqueue.php */
body.dyslexia-font,
body.dyslexia-font input,
body.dyslexia-font textarea,
body.dyslexia-font button {
  font-family: 'Lexend', 'Arial', sans-serif !important;
  letter-spacing: 0.03em;
  word-spacing: 0.1em;
  line-height: 1.85;
}

/* ══════════════════════════════
   FONT SIZE SCALE
══════════════════════════════ */
html.fs-sm { font-size: 16px; }
html.fs-md { font-size: 16px; }
html.fs-lg { font-size: 19px; }
html.fs-xl { font-size: 22px; }

/* ══════════════════════════════
   EDITORIAL CAMPAIGNS SECTION
   (Ventra-inspired: dark, columns, typographic)
══════════════════════════════ */
.campaigns-editorial-section {
  background: var(--bg-base);
  border-top:    1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 64px;
}

/* Section header — right-aligned title like in reference */
.ced-section-header {
  padding: 72px 0 40px;
  text-align: left;
}
.ced-section-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.05;
}
.ced-title-accent { color: #9B27AF; }

/* ── /zbirky/ archive pagination ── */
.zbirky-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 0 24px;
}
.zbirky-pagination-info {
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.zbirky-pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zbirky-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Oswald', 'Onest', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.zbirky-pagination .page-numbers:not(.dots):hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}
.zbirky-pagination .page-numbers.current {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
  font-weight: 700;
}
.zbirky-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  pointer-events: none;
}
.zbirky-pagination .page-numbers.prev,
.zbirky-pagination .page-numbers.next {
  font-size: 18px;
}
@media (max-width: 480px) {
  .zbirky-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; font-size: 14px; }
}

/* Grid wrapper — full container width with dividers */
.ced-grid-wrap {
  border-top:    1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ced-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* Column */
.ced-col {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  min-height: 420px;
}
/* 3-колонкова сітка: кожен 3-й — без правої межі; нижній ряд — без нижньої */
.ced-col:nth-child(3n)        { border-right: none; padding-right: 0; }
.ced-col:nth-child(3n+1)      { padding-left: 0; }
.ced-grid > .ced-col:nth-last-child(-n+3):nth-child(3n+1),
.ced-grid > .ced-col:nth-last-child(-n+3):nth-child(3n+1) ~ .ced-col {
  border-bottom: none;
}

/* Column top */
.ced-col-top { padding-bottom: 24px; }

.ced-index {
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(247, 147, 30, 0.35);
  margin-bottom: 18px;
}

.ced-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
}
.ced-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.ced-title a:hover { color: var(--accent-gold); }

/* Horizontal rule below title */
.ced-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Spacer grows to push bottom section down */
.ced-spacer { flex: 1; }

/* Column bottom */
.ced-col-bottom { padding-top: 24px; }

.ced-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.ced-meta-label {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(12px, 1.25vw, 16px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ced-meta-value {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(16px, 1.75vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.ced-goal   { color: #F7931E; }
.ced-raised { color: #ffffff; }

/* Mini progress bar */
.ced-progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
  margin: 12px 0 20px;
  overflow: hidden;
}
.ced-progress-bar {
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.6s ease;
}

.ced-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 16px;
}
.ced-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}
.ced-actions .btn.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (max-width: 420px) {
  .ced-actions { flex-wrap: wrap; }
  .ced-actions .btn { flex-basis: 100%; }
}

/* Footer link */
.ced-footer-link {
  padding-top: 40px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .ced-grid { grid-template-columns: 1fr 1fr; }
  .ced-col,
  .ced-col:nth-child(3n),
  .ced-col:nth-child(3n+1) {
    padding: 32px;
    border-right: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .ced-col:nth-child(2n)        { border-right: none; padding-right: 0; }
  .ced-col:nth-child(2n+1)      { padding-left: 0; }
  .ced-grid > .ced-col:nth-last-child(-n+2):nth-child(2n+1),
  .ced-grid > .ced-col:nth-last-child(-n+2):nth-child(2n+1) ~ .ced-col {
    border-bottom: none;
  }
}
@media (max-width: 620px) {
  .ced-section-header { text-align: left; padding: 48px 0 36px; }
  .ced-grid { grid-template-columns: 1fr; }
  .ced-col,
  .ced-col:nth-child(2n),
  .ced-col:nth-child(2n+1),
  .ced-col:nth-child(3n),
  .ced-col:nth-child(3n+1) {
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    min-height: auto;
  }
  .ced-col:last-child { border-bottom: none; }
}


/* ══════════════════════════════
   ZVIT DASHBOARD (звітність)
══════════════════════════════ */

.zvit-dashboard { padding: 40px 0 80px; }

.zvit-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.zvit-tab {
    padding: 14px 22px;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.zvit-tab:hover { color: var(--text-secondary); }
.zvit-tab.is-active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.zvit-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    background: var(--bg-card);
}
.zvit-kpi {
    padding: 28px 32px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.zvit-kpi:last-child { border-right: none; }
.zvit-kpi-label {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.zvit-kpi-value {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: 0.01em;
}
.zvit-kpi-unit {
    font-size: 0.5em;
    color: var(--accent-gold);
    margin-left: 6px;
    vertical-align: super;
    font-weight: 600;
}
.zvit-kpi-hint {
    font-size: 12px;
    color: var(--text-muted);
}
@media (max-width: 800px) {
    .zvit-kpis { grid-template-columns: 1fr; }
    .zvit-kpi { border-right: none; border-bottom: 1px solid var(--border); }
    .zvit-kpi:last-child { border-bottom: none; }
}

/* ── Звітність на головній (дублікат /zvitnist/) ── */
.zvit-home-heading {
    text-align: left;
    margin-bottom: 36px;
}
.zvit-home-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 14px;
    line-height: 1.05;
}
.zvit-home-title-accent { color: #9B27AF; }
/* Як .donate-block-sub — той самий наголос під заголовком секції */
.zvit-home-sub {
    font-size: 22px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    max-width: 880px;
    margin: 0;
}
@media (max-width: 600px) {
    .zvit-home-heading { margin-bottom: 24px; }
}

.zvit-note {
    border-left: 3px solid var(--accent-gold);
    padding: 16px 20px;
    background: rgba(106,13,173,0.06);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.zvit-chart-card {
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 24px 28px;
    margin-bottom: 28px;
}
.zvit-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.zvit-chart-head h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0;
}
.zvit-chart-legend {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.zvit-legend-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 2px;
}
.zvit-legend-line {
    width: 22px;
    height: 2px;
    display: inline-block;
    background: linear-gradient(90deg, #9B27AF, #9044D4);
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 4px;
    position: relative;
}
.zvit-legend-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0D1117;
    border: 2px solid #9B27AF;
    transform: translate(-50%, -50%);
}
.zvit-chart { width: 100%; min-height: 280px; }
.zvit-chart-svg { display: block; }

/* ─── Filters card ─── */
.zvit-filters {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0) 100%), var(--bg-card);
    border: 1px solid var(--border);
    padding: 22px 24px;
    margin-bottom: 28px;
}
.zvit-filters-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(110px, 0.7fr) minmax(140px, 1fr) minmax(140px, 1fr) auto;
    align-items: end;
    gap: 16px 18px;
}

.zvit-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.zvit-field-label {
    font-family: 'Oswald', 'Onest', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.zvit-filters input,
.zvit-filters select {
    height: 44px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0 14px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1;
    min-width: 0;
    width: 100%;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    appearance: none;
    -webkit-appearance: none;
}
.zvit-filters input::placeholder { color: var(--text-muted); }
.zvit-filters input:hover,
.zvit-filters select:hover { border-color: rgba(106,13,173,0.35); }
.zvit-filters input:focus,
.zvit-filters select:focus {
    outline: none;
    border-color: #9B27AF;
    background: rgba(106,13,173,0.04);
    box-shadow: 0 0 0 3px rgba(106,13,173,0.12);
}
.zvit-filters select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
        linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 19px,
        calc(100% - 13px) 19px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
    cursor: pointer;
}
.zvit-filters input[type="date"] {
    color-scheme: dark;
    font-variant-numeric: tabular-nums;
}
.zvit-filters input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.55);
    cursor: pointer;
}
.zvit-filters input[type="date"]:hover::-webkit-calendar-picker-indicator { filter: invert(1) opacity(0.85); }

/* Date range field — two inputs joined */
.zvit-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}
.zvit-range-sep {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    user-select: none;
}

/* Action buttons (.btn .btn-gold/.btn-outline .btn-sm + filter sizing) */
.zvit-field--actions {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
}
.zvit-filter-btn {
    flex: 1 1 0;
    min-width: 130px;
    height: 44px;
    padding: 0 22px;
    justify-content: center;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .zvit-filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .zvit-field--range    { grid-column: 1 / -1; }
    .zvit-field--actions  { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 560px) {
    .zvit-filters { padding: 18px; }
    .zvit-filters-grid { grid-template-columns: 1fr; }
    .zvit-field--actions { flex-direction: column; }
    .zvit-filter-btn { width: 100%; flex-basis: auto; }
}

.zvit-table-card {
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.zvit-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}
.zvit-table-head h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0;
}
.zvit-table-count {
    font-size: 13px;
    color: var(--text-muted);
}
.zvit-table-wrap { overflow-x: auto; }
.zvit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.zvit-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.zvit-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: top;
}
.zvit-table tr:last-child td { border-bottom: none; }
.zvit-table tr:hover { background: rgba(255,255,255,0.02); }
.zvit-table .t-num    { font-variant-numeric: tabular-nums; white-space: nowrap; }
.zvit-table .t-right  { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-muted); }

.zvit-table-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}
.zvit-perpage {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zvit-pp {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    transition: var(--transition);
}
.zvit-pp:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.zvit-pp.is-active {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    font-weight: 700;
}
.zvit-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.zvit-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.zvit-pagination .page-numbers:not(.dots):hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}
.zvit-pagination .page-numbers.current {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    font-weight: 700;
}
.zvit-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--text-muted);
    min-width: 20px;
    padding: 0 4px;
    pointer-events: none;
}
.zvit-pages-info {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
    .zvit-table-foot { justify-content: center; text-align: center; }
}
.zvit-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-secondary);
}

.zvit-reports { padding: 60px 0 80px; border-top: 1px solid var(--border); }

/* ─── ZVIT KPI варіанти ─── */
.zvit-kpi--expenses .zvit-kpi-value { color: #d96d4a; }
.zvit-kpi--expenses .zvit-kpi-unit  { color: #d96d4a; }
.zvit-kpi--balance  .zvit-kpi-value { color: var(--accent-gold); }
.zvit-kpi--balance  .zvit-kpi-unit  { color: var(--accent-gold); }

/* ─── Дисклеймер під таблицею ─── */
.zvit-disclaimer {
    margin-top: 36px;
    padding: 32px 36px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}
.zvit-disclaimer h4 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text-primary);
    margin: 0 0 18px;
    line-height: 1.35;
}
.zvit-disclaimer p { margin: 0 0 18px; }
.zvit-disclaimer p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .zvit-disclaimer { padding: 24px 22px; font-size: 16px; line-height: 1.7; }
    .zvit-disclaimer h4 { font-size: 19px; }
}

/* ─── Дата + час у таблиці звітності ─── */
.zvit-cell-date { white-space: nowrap; }
.zvit-cell-date .zvit-date { color: var(--text-secondary); }
.zvit-cell-date .zvit-time {
    margin-left: 16px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ─── Документи фонду (скани WebP) ─── */
.charter-documents-section { padding-bottom: 48px; }
.charter-documents-container { max-width: 920px; }
.charter-documents-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.charter-documents-download {
    margin-top: 20px;
    text-align: center;
}
.charter-documents-empty { color: var(--text-secondary); }

.charter-doc-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.charter-doc-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}
.charter-doc-panel__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}
.charter-doc-panel__sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
.charter-doc-panel__meta {
    margin: 6px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.charter-doc-panel__body {
    overflow: hidden;
    transition: max-height 0.45s ease;
    background: #e8e6e1;
}
.charter-doc-panel__foot {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.charter-doc-scroller {
    max-height: min(75vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px 20px;
    scroll-behavior: smooth;
}
.charter-doc-panel__body[style*="max-height: none"] .charter-doc-scroller {
    max-height: none;
}
.charter-scan-page {
    margin: 0 auto 14px;
    max-width: 100%;
    text-align: center;
}
.charter-scan-page img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.18);
    background: #f5f3ee;
}
.charter-scan-page figcaption {
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}
.charter-doc-panel--compact .charter-preview-link {
    display: block;
    position: relative;
    line-height: 0;
}
.charter-doc-panel--compact .charter-preview-link img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: top center;
}
.charter-preview-link__label {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    border-top: 1px solid var(--border);
}
.charter-pdf-iframe {
    width: 100%;
    height: min(70vh, 520px);
    border: none;
    display: block;
    background: #e8e6e1;
}
@media (max-width: 600px) {
    .charter-doc-panel__head { flex-direction: column; align-items: stretch; }
    .charter-doc-panel__toggle { align-self: flex-end; }
}

/* ══════════════════════════════
   PARTNERS HOME TEASER
══════════════════════════════ */
.partners-home-section { padding: 56px 0; }
.partners-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.partner-home-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: border-color var(--transition);
}
.partner-home-card:hover { border-color: var(--accent-gold); }
.partners-home-empty {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 480px;
}
.partners-home-cta { margin-top: 8px; }

/* ══════════════════════════════
   PARTNERS PAGE
══════════════════════════════ */
.partners-intro { padding: 48px 0 32px; }
.partners-intro-text {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 48px;
}
.partners-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}
@media (max-width: 768px) { .partners-types { grid-template-columns: 1fr; } }
.partners-type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.partners-type-icon { color: var(--accent-gold); }
.partners-type-title { font-size: 20px; font-weight: 700; margin: 0; }
.partners-type-desc  { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Partners grid */
.partners-section { padding: 48px 0; background: var(--bg-surface); }
.partners-group-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 32px 0 16px;
}
.partners-group-title:first-of-type { margin-top: 0; }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: border-color var(--transition);
}
.partner-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}
.partner-card:hover { border-color: var(--accent-gold); }
.partner-card-logo { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.partner-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-card-initials {
    width: 80px; height: 80px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    color: var(--accent-gold);
}
.partner-card-name { font-size: 15px; font-weight: 600; margin: 0; }
.partner-card-desc { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Empty state */
.partners-empty {
    display: flex; flex-direction: column; align-items: center;
    gap: 16px; padding: 64px 24px; text-align: center;
    border: 1px dashed var(--border); border-radius: var(--radius-md);
}
.partners-empty-icon {
    width: 80px; height: 80px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-gold);
}
.partners-empty-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0; }
.partners-empty-desc  { max-width: 420px; font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* CTA section */
.partners-cta-section { padding: 64px 0; }
.partners-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) { .partners-cta-box { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .partners-cta-box { padding: 28px 20px; } }
.partners-cta-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 12px; }
.partners-cta-desc  { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Form */
.partners-form { display: flex; flex-direction: column; gap: 16px; }
.partners-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .partners-form-row { grid-template-columns: 1fr; } }
.partners-form-group { display: flex; flex-direction: column; gap: 6px; }
.partners-form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.partners-form-label span { color: var(--accent-gold); }
.partners-form-input {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color var(--transition);
    width: 100%;
    box-sizing: border-box;
}
.partners-form-input:focus { outline: none; border-color: var(--accent-gold); }
.partners-form-textarea { min-height: 120px; resize: vertical; }

/* Success message */
.partners-success {
    background: rgba(97,24,168,0.1);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 16px;
}
