/*
Theme Name: GAL Berceni
Theme URI: https://gal-berceni.ro
Author: GAL Berceni
Author URI: https://gal-berceni.ro
Description: Tema oficială GAL Berceni - Grup de Acțiune Locală Comuna Berceni
Version: 1.5.3
License: GNU General Public License v2 or later
Text Domain: gal-berceni
Tags: responsive, clean, modern
*/

:root {
  --gal-bg-deep: #050a14;
  --gal-green: #00a651;
  --gal-green-hover: #008f46;
  --gal-green-soft: #34d399;
  --gal-text-muted: #94a3b8;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* ===================== NAVBAR ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; background: transparent; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,0.94); backdrop-filter: blur(16px); border-bottom: 1px solid #e2e8f0; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; min-width: 0; }
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
}
/* Fixed box: WordPress puts .custom-logo on the <img>, so old `.custom-logo img` never matched. */
.navbar-logo-slot {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.navbar-logo-slot img,
.navbar-logo .navbar-custom-logo-img,
.navbar-logo img.navbar-logo-mark {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.navbar-wordmark { display: inline-flex; align-items: baseline; gap: 0.35rem; flex-shrink: 0; white-space: nowrap; }
.logo-gal { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; transition: color 0.35s; }
.scrolled .logo-gal { color: #0f172a; }
.logo-berceni { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gal-green); transition: color 0.35s; }
.scrolled .logo-berceni { color: var(--gal-green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav-links li { list-style: none; flex-shrink: 0; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: #f1f5f9; transition: color 0.25s; white-space: nowrap; }
.scrolled .nav-links a { color: #334155; }
.nav-links a:hover { color: var(--gal-green) !important; }
.nav-cta { padding: 0.5rem 1.35rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); transition: all 0.35s; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.scrolled .nav-cta { background: var(--gal-green); color: #fff; border-color: var(--gal-green); }
.nav-cta:hover { border-color: #fff; opacity: 0.95; }
.scrolled .nav-cta:hover { opacity: 0.9; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: #fff; transition: color 0.35s; }
.scrolled .menu-toggle { color: #0f172a; }
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open {
  display: block;
  max-height: min(75vh, calc(100dvh - 4.5rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu .mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu .mobile-nav li {
  margin: 0;
}
.mobile-menu .mobile-nav > li > a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}
.mobile-menu .mobile-nav > li > a:hover { color: var(--gal-green); }
.mobile-menu .mobile-nav .sub-menu {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0.25rem 0 0.5rem 0.85rem;
  border-left: 2px solid #e2e8f0;
}
.mobile-menu .mobile-nav .sub-menu li { margin: 0; }
.mobile-menu .mobile-nav .sub-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: none;
}
.mobile-menu .mobile-nav .sub-menu a:hover { color: var(--gal-green); }
.mobile-menu a { display: block; padding: 0.75rem 0; font-weight: 500; color: #374151; border-bottom: 1px solid #f1f5f9; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--gal-green); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  background: var(--gal-green);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  border-bottom: none;
}
.mobile-menu .mobile-cta:hover { color: #fff; opacity: 0.95; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  background-color: var(--gal-bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(0, 166, 81, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 85% 65%, rgba(0, 200, 170, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 10% 55%, rgba(0, 166, 81, 0.08) 0%, transparent 48%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 166, 81, 0.06) 0%, transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 720px; }
/* Fără cerc în jurul logo-ului — doar centrare (pagina principală / fallback hero). */
.hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  line-height: 0;
}
.hero-icon img { width: 5.5rem; height: 5.5rem; object-fit: contain; }
.hero-icon-logo .custom-logo-link { display: flex; align-items: center; justify-content: center; }
.hero-icon-logo img { max-width: 5.5rem; max-height: 5.5rem; width: auto; height: auto; object-fit: contain; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 166, 81, 0.12);
  border: 1px solid rgba(0, 166, 81, 0.28);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gal-green);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 166, 81, 0.8);
}
.hero-title { margin: 0 0 1.25rem; max-width: 100%; }
.hero-title-stack { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.hero-title-line {
  display: block;
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.06em;
}
.hero-title-gal { color: #fff; }
.hero-title-berceni { color: var(--gal-green); }
.hero-desc {
  color: #f8fafc;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  max-width: 28rem;
  margin: 0 auto 2.25rem;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.btn-primary {
  padding: 0.9rem 1.85rem;
  background: var(--gal-green);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  box-shadow: 0 0 28px rgba(0, 166, 81, 0.45);
}
.btn-primary:hover { background: var(--gal-green-hover); transform: translateY(-2px); box-shadow: 0 0 36px rgba(0, 166, 81, 0.55); }
.btn-chevron { font-size: 1.15em; font-weight: 700; line-height: 1; margin-left: 0.15rem; }
.btn-outline {
  padding: 0.9rem 1.85rem;
  background: transparent;
  color: #fff;
  border: 1px solid var(--gal-green);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(0, 166, 81, 0.12); border-color: var(--gal-green-soft); color: #fff; }

/* ===================== PILLARS ===================== */
.pillars { background: #f8fafc; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.pillar-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 2rem; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.pillar-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: #d1fae5; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; }
.pillar-card h3 { margin-bottom: 0.5rem; color: #0f172a; }
.pillar-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.about-card { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #a7f3d0; border-radius: 1.5rem; padding: 2rem; }
.about-tag { display: inline-block; background: #d1fae5; color: #065f46; border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; }

/* ===================== STATS ===================== */
.stats { background: #0f172a; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 3rem; }
.stat-card { text-align: center; padding: 2rem 1rem; border: 1px solid #1e293b; border-radius: 1rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--gal-green); display: block; }
.stat-label { color: #64748b; font-size: 0.875rem; margin-top: 0.5rem; }

/* ===================== QUOTE ===================== */
.quote-section { background: #0f172a; text-align: center; padding: 6rem 1.5rem; }
.quote-text { font-size: clamp(1.25rem, 3vw, 2rem); color: #e2e8f0; font-style: italic; max-width: 700px; margin: 0 auto 1rem; line-height: 1.6; }
.quote-author { color: #475569; font-size: 0.875rem; }

/* ===================== CTA ===================== */
.cta-section { background: linear-gradient(135deg, var(--gal-green), var(--gal-green-hover)); text-align: center; padding: 6rem 1.5rem; position: relative; overflow: hidden; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 2.5rem; }
.btn-white { display: inline-block; padding: 0.875rem 2rem; background: #fff; color: var(--gal-green); border-radius: 9999px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-contacts { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.cta-contacts a { color: rgba(255,255,255,0.75); font-size: 0.875rem; transition: color 0.2s; }
.cta-contacts a:hover { color: #fff; }

/* ===================== FOOTER ===================== */
.site-footer { background: #020617; border-top: 1px solid #1e293b; padding: 4rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-logo-gal { color: #fff !important; }
.footer-brand p { color: #94a3b8; font-size: 0.875rem; line-height: 1.5; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-link { width: 2rem; height: 2rem; border-radius: 50%; background: #1e293b; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 0.75rem; transition: all 0.2s; }
.social-link:hover { background: var(--gal-green); color: #fff; }
.footer-links h4 { color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #cbd5e1; font-size: 0.875rem; transition: color 0.2s; line-height: 1.45; }
.footer-links a:hover { color: var(--gal-green-soft); }
.footer-contact h4 { color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.75rem; color: #94a3b8; font-size: 0.875rem; margin-bottom: 0.75rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gal-green-soft); }
.footer-contact p.footer-bank-name,
.footer-contact p.footer-bank-iban,
.footer-contact p.footer-bank-bic {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.footer-contact p.footer-bank-name {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.footer-contact p.footer-bank-iban,
.footer-contact p.footer-bank-bic {
  color: #cbd5e1;
  font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
  letter-spacing: 0.02em;
}
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 2rem; text-align: center; color: #94a3b8; font-size: 0.75rem; line-height: 1.6; }
.footer-bottom a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gal-green-soft); text-decoration: underline; }
.footer-bottom-sep { color: #64748b; }

/* ===================== PAGE HERO ===================== */
.page-hero { background: linear-gradient(160deg, var(--gal-bg-deep) 0%, #0f172a 45%, #1e293b 100%); padding: 8rem 1.5rem 4rem; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #94a3b8; max-width: 520px; margin: 0 auto; }
.gal-archive-kicker {
  color: var(--gal-green-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
/* Valori: citat Paler în rezumat — lățime și stil ca pe gal-berceni-digital */
.page-template-page-valori .page-hero p,
.slug-valori .page-hero p {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  font-style: italic;
  color: #cbd5e1;
}
.page-template-page-program .page-hero p,
.slug-program-gal .page-hero p {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* ===================== VALUES PAGE ===================== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.value-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 2rem; transition: transform 0.2s, box-shadow 0.2s; }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.value-number { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: #d1fae5; color: #065f46; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.875rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--gal-green); margin-bottom: 0.5rem; }
.value-card p { color: #64748b; font-size: 0.9rem; line-height: 1.65; }

/* ----- Valori (layout aliniat GAL Berceni Digital) ----- */
.gal-valori-mission { padding-top: 3rem; }
.gal-valori-mission-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.gal-valori-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #0f172a;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.gal-valori-lead {
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}
.gal-valori-split-section { padding-top: 2rem; padding-bottom: 2rem; }
.gal-valori-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.gal-valori-panel {
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}
.gal-valori-panel--quote {
  background: linear-gradient(160deg, rgba(0, 166, 81, 0.06) 0%, #f8fafc 55%);
  border-color: rgba(0, 166, 81, 0.2);
}
.gal-valori-panel--vision {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gal-valori-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gal-green);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gal-valori-blockquote {
  margin: 0;
  padding: 0;
  border: none;
}
.gal-valori-blockquote p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  font-style: italic;
  margin: 0 0 1rem;
}
.gal-valori-blockquote cite {
  font-size: 0.875rem;
  font-style: normal;
  color: #64748b;
}
.gal-valori-vision-text {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}
.gal-valori-principles .section-header { margin-bottom: 0.5rem; }
.gal-valori-values-grid { margin-top: 2.5rem; }
.gal-valori-cta .section-label { display: block; margin-bottom: 0.75rem; }
.gal-valori-cta h2 { margin-bottom: 1.25rem; }
.gal-valori-cta-quote {
  margin: 0 auto 2rem;
  max-width: 40rem;
  border: none;
  padding: 0;
  text-align: center;
}
.gal-valori-cta-quote p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
  margin: 0 0 0.75rem;
}
.gal-valori-cta-quote footer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.gal-valori-cta-btn { text-transform: none; letter-spacing: 0.02em; }
@media (max-width: 768px) {
  .gal-valori-split { grid-template-columns: 1fr; }
}

/* ===================== PROGRAM PAGE ===================== */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.program-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.program-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.program-card-img { width: 100%; height: 180px; object-fit: cover; }
.program-card-body { padding: 1.5rem; }
.program-badge { display: inline-block; background: #d1fae5; color: #065f46; border-radius: 9999px; padding: 0.2rem 0.75rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.program-card h3 { color: #0f172a; margin-bottom: 1rem; font-size: 1.05rem; }
.program-card ul { list-style: none; padding: 0; }
.program-card ul li { padding: 0.4rem 0; padding-left: 1.25rem; position: relative; color: #475569; font-size: 0.875rem; border-bottom: 1px solid #f1f5f9; }
.program-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--gal-green); }

/* ===================== ARTICOLE — TIMELINE ===================== */
.gal-articole-timeline-section { padding-top: 2.5rem; padding-bottom: 4rem; }
.gal-timeline-outer { max-width: 52rem; margin-left: auto; margin-right: auto; }
.gal-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
}
.gal-timeline::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 0.35rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gal-green) 0%, rgba(0, 166, 81, 0.28) 45%, #e2e8f0 100%);
}
.gal-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: stretch;
  margin: 0 0 1.75rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.gal-timeline-item:last-child { margin-bottom: 0; }
.gal-timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
}
.gal-timeline-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gal-green);
  box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.12);
  z-index: 1;
  flex-shrink: 0;
}
.gal-timeline-item--informatie .gal-timeline-dot { border-color: #0ea5e9; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15); }
.gal-timeline-item--calendar-activitati .gal-timeline-dot { border-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }
.gal-timeline-card { min-width: 0; }
.gal-timeline-card-inner {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.gal-timeline-item:hover .gal-timeline-card-inner {
  border-color: #d1fae5;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}
.gal-timeline-item--articol-text .gal-timeline-card-inner { border-left: 3px solid var(--gal-green); }
.gal-timeline-item--informatie .gal-timeline-card-inner { border-left: 3px solid #0ea5e9; }
.gal-timeline-item--calendar-activitati .gal-timeline-card-inner { border-left: 3px solid #f59e0b; }
.gal-timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}
.gal-timeline-date {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gal-timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gal-timeline-badge--articol-text { background: #ecfdf5; color: #047857; }
.gal-timeline-badge--informatie { background: #e0f2fe; color: #0369a1; }
.gal-timeline-badge--calendar-activitati { background: #fffbeb; color: #b45309; }
.gal-timeline-badge-icon { font-size: 0.85rem; line-height: 1; }
.gal-timeline-thumb {
  display: block;
  margin: 0 0 1rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}
.gal-timeline-img { width: 100%; height: auto; vertical-align: middle; display: block; }
.gal-timeline-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin: 0 0 0.65rem;
  line-height: 1.35;
  font-weight: 700;
}
.gal-timeline-title a { color: #0f172a; text-decoration: none; }
.gal-timeline-title a:hover { color: var(--gal-green); }
.gal-timeline-excerpt {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.gal-timeline-readmore {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gal-green);
  text-decoration: none;
}
.gal-timeline-readmore:hover { text-decoration: underline; }
.gal-timeline-pagination { margin-top: 2.5rem; }

.gal-single-hero { text-align: left; }
.gal-single-hero .container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.gal-single-hero h1 { text-align: left; }
.gal-single-meta time { color: inherit; }
.gal-single-meta-sep { opacity: 0.65; }
.gal-single-tip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gal-single-tip-badge-icon { font-size: 1rem; line-height: 1; }
.gal-single-tip-badge--articol-text { background: rgba(16, 185, 129, 0.22); color: #a7f3d0; }
.gal-single-tip-badge--informatie { background: rgba(14, 165, 233, 0.28); color: #bae6fd; }
.gal-single-tip-badge--calendar-activitati { background: rgba(245, 158, 11, 0.28); color: #fde68a; }
.gal-single-section .gal-single-inner { max-width: 760px; margin-left: auto; margin-right: auto; }
.gal-single-featured {
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.gal-single-featured-img { width: 100%; height: auto; display: block; }
.gal-single--informatie .gal-single-body {
  border-left: 3px solid #0ea5e9;
  padding-left: 1.25rem;
}
.gal-single--calendar-activitati .gal-single-body {
  border-left: 3px solid #f59e0b;
  padding-left: 1.25rem;
}

/* Etichete WordPress (post_tag) */
.gal-tags-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.65rem;
}
.gal-single-tags {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}
.gal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gal-tags-list li { margin: 0; padding: 0; }
.gal-tag-pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #f1f5f9;
  color: #334155;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gal-tag-pill:hover {
  background: #ecfdf5;
  color: var(--gal-green-hover);
  border-color: #a7f3d0;
}
.gal-timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.gal-timeline-tags li { margin: 0; }
.gal-timeline-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: #f8fafc;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: color 0.2s, border-color 0.2s;
}
.gal-timeline-tag:hover {
  color: var(--gal-green);
  border-color: #a7f3d0;
}
.gal-all-tags-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 45%);
  border-top: 1px solid #e2e8f0;
}
.gal-all-tags-inner { max-width: 52rem; margin: 0 auto; }
.gal-all-tags-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.gal-all-tags-lead {
  margin: 0 0 1.5rem;
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.gal-all-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gal-all-tags-list li { margin: 0; }
.gal-all-tags-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.gal-all-tags-chip:hover {
  border-color: var(--gal-green);
  color: var(--gal-green-hover);
  box-shadow: 0 4px 14px rgba(0, 166, 81, 0.12);
}
.gal-all-tags-count {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .gal-timeline::before { left: 0.45rem; }
  .gal-timeline-item {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0 0.85rem;
    margin-bottom: 1.35rem;
  }
  .gal-timeline-card-inner { padding: 1.1rem 1.15rem; }
}

/* ----- Program GAL (layout aliniat GAL Berceni Digital) ----- */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.gal-program-back { margin: 0 0 1rem; text-align: left; }
.gal-program-back a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gal-green);
}
.gal-program-back a:hover { text-decoration: underline; }
.gal-program-stats-bar {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #ecfdf5 100%);
  border-top: 1px solid #a7f3d0;
  border-bottom: 1px solid #a7f3d0;
  padding: 2.5rem 1.5rem;
  margin-bottom: 0;
}
.gal-program-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}
.gal-program-stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gal-green);
  line-height: 1.1;
}
.gal-program-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.gal-program-domains-section { padding-top: 3rem; }
.gal-program-domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gal-program-domain-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gal-program-domain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.gal-program-domain-media {
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
}
.gal-program-domain-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-program-domain-card .gal-program-count { margin-bottom: 0.75rem; }
.gal-program-domain-card h3 {
  color: #0f172a;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  line-height: 1.35;
}
.gal-program-details { margin: 0; }
.gal-program-objectives {
  list-style: none;
  padding: 0.75rem 0 0;
  margin: 0.75rem 0 0;
  border-top: 1px solid #f1f5f9;
}
.gal-program-objectives li {
  padding: 0.4rem 0 0.4rem 1.15rem;
  position: relative;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: 1px solid #f8fafc;
}
.gal-program-objectives li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gal-green);
  font-weight: 600;
}
.gal-program-cta { margin-top: 0; }

/* Program GAL — document oficial PDF (ediția 2 / aprilie 2024) */
.gal-program-document-section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
.gal-program-document {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.gal-program-doc-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.gal-program-doc-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.gal-program-doc-edition {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.gal-program-doc-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gal-green);
  margin: 1.75rem 0 1rem;
  line-height: 1.3;
}
.gal-program-doc-heading--major {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.gal-program-doc-block p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.gal-program-doc-principles {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.gal-program-doc-principles li {
  margin-bottom: 0.35rem;
  color: #334155;
  line-height: 1.55;
}
.gal-program-chapter {
  margin-top: 2rem;
}
.gal-program-chapter-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d1fae5;
}
.gal-program-doc-ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: galprog;
}
.gal-program-doc-ol > li {
  counter-increment: galprog;
  position: relative;
  margin-bottom: 1.35rem;
  padding-left: 2.25rem;
}
.gal-program-doc-ol > li::before {
  content: counter(galprog) '.';
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-weight: 800;
  color: var(--gal-green);
  font-size: 0.95rem;
}
.gal-program-doc-li-lead {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.62;
}
.gal-program-doc-ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.gal-program-doc-ul > li {
  position: relative;
  margin: 0.4rem 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.gal-program-doc-ul > li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gal-green);
  font-weight: 600;
}
.gal-program-doc-ul-nested {
  margin: 0.35rem 0 0 0.5rem;
  padding-left: 1.1rem;
  list-style: disc;
}
.gal-program-doc-ul-nested li {
  margin: 0.25rem 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Statut GAL — text integral (PDF) pe pagina Despre noi */
.gal-statut-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: #fafbfc;
  border-top: 1px solid #e2e8f0;
}
.gal-statut-document {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.gal-statut-doc-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.gal-statut-doc-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.gal-statut-doc-meta {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.gal-statut-preamble {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
}
.gal-statut-chapter {
  margin-top: 2.25rem;
}
.gal-statut-chapter:first-of-type {
  margin-top: 0;
}
.gal-statut-chapter-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gal-green);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d1fae5;
  line-height: 1.35;
}
.gal-statut-subsection {
  margin-bottom: 1.75rem;
}
.gal-statut-section-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 1rem;
  line-height: 1.4;
}
.gal-statut-art {
  margin-bottom: 1.25rem;
}
.gal-statut-art-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.gal-statut-art-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
}
.gal-statut-art-body p {
  margin: 0 0 0.65rem;
}
.gal-statut-art-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}
.gal-statut-art-body li {
  margin: 0.3rem 0;
}
.gal-statut-anexe {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #cbd5e1;
}
.gal-statut-anex {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

/* ----- Despre noi: CTA + PDF + echipă (BEX / consilieri) ----- */
.gal-despre-page { margin-top: 0; }
.gal-despre-back { margin-top: 0 !important; }
.gal-despre-intro {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 166, 81, 0.06) 0%, transparent 42%),
    linear-gradient(165deg, #f0fdf4 0%, #f8fafc 38%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.gal-despre-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gal-green), var(--gal-green-soft), var(--gal-green));
  opacity: 0.85;
  pointer-events: none;
}
.gal-despre-intro .container { position: relative; }
.gal-despre-intro-header { margin-bottom: 2rem; }
.gal-despre-kicker { margin-bottom: 0.65rem; }
.gal-despre-intro-title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem !important;
}
.gal-despre-intro-desc {
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #475569;
}
.gal-despre-actions-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.35rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.07);
}
.gal-despre-actions-label {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}
.gal-despre-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 7.35rem;
  gap: 1rem;
  align-items: stretch;
}
.gal-despre-btn-values {
  flex-shrink: 0;
  min-height: 3rem;
  align-items: center;
}
.gal-btn-pdf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0.65rem 0.9rem 0.65rem 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.gal-btn-pdf:hover {
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow:
    0 4px 16px rgba(220, 38, 38, 0.1),
    0 0 0 1px rgba(0, 166, 81, 0.08);
  transform: translateY(-2px);
}
.gal-btn-pdf-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fef2f2, #fecaca);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.gal-btn-pdf-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
.gal-btn-pdf-title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.gal-btn-pdf-meta {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gal-btn-pdf-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gal-green);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.9;
}
.gal-team-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 55%, #fff 100%);
}
.gal-team-section-header { margin-bottom: 2.25rem; }
.gal-team-section-header .section-label { margin-bottom: 0.65rem; }
.gal-team-page-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem !important;
}
.gal-team-page-lead {
  margin-bottom: 0 !important;
  max-width: 40rem;
}
.gal-team-block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.35rem;
  padding: 0.5rem 0 0.65rem;
  border-bottom: none;
  max-width: none;
}
.gal-team-block-icon {
  width: 0.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--gal-green), var(--gal-green-soft));
  flex-shrink: 0;
}
.gal-team-block-icon--muted {
  background: linear-gradient(180deg, #94a3b8, #cbd5e1);
}
.gal-team-block-title--spaced {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.gal-team-grid {
  display: grid;
  gap: 1.25rem;
}
.gal-team-grid--bex {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
/* 7 members: 3 + 3 + 1 — center the last card */
.gal-team-grid--bex .gal-team-card--bex:nth-child(7) {
  grid-column: 2;
}
@media (max-width: 768px) {
  .gal-team-grid--bex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .gal-team-grid--bex .gal-team-card--bex:nth-child(7) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 22rem;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .gal-team-grid--bex {
    grid-template-columns: 1fr;
  }
  .gal-team-grid--bex .gal-team-card--bex:nth-child(7) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}
.gal-team-grid--consilieri {
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.gal-team-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 1.125rem;
  padding: 1.35rem 1.15rem 1.25rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.gal-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gal-green), var(--gal-green-soft));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.gal-team-card:hover {
  transform: translateY(-4px);
  border-color: #d1fae5;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(0, 166, 81, 0.06);
}
.gal-team-card:hover::before { opacity: 1; }
.gal-team-card--consilier::before {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}
.gal-team-photo-wrap {
  margin: 0 auto 1rem;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 2px solid #d1fae5;
  outline-offset: 0;
  background: linear-gradient(145deg, #ecfdf5, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.gal-team-photo-wrap--consilier {
  width: 112px;
  height: 112px;
}
.gal-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal-team-name {
  font-size: 1rem;
  color: #0f172a;
  margin: 0 0 0.4rem;
  font-weight: 700;
  line-height: 1.3;
}
.gal-team-role {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gal-green);
}
.gal-team-bio {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.62;
  color: #64748b;
  text-align: left;
}
.gal-team-bio p {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: #475569;
}
.gal-team-bio p:last-child {
  margin-bottom: 0;
}
.gal-team-bio-quote {
  margin-top: 0.5rem !important;
  padding: 0.85rem 1rem;
  font-size: 0.9rem !important;
  font-style: italic;
  line-height: 1.55 !important;
  color: #334155 !important;
  background: #f8fafc;
  border-left: 3px solid var(--gal-green);
  border-radius: 0 0.5rem 0.5rem 0;
}
.gal-team-card--consilier {
  text-align: left;
  padding: 1.5rem 1.5rem 1.65rem;
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0 1.25rem;
  align-items: start;
}
.gal-team-card--consilier .gal-team-photo-wrap--consilier {
  margin: 0;
  width: 6.75rem;
  height: 6.75rem;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.gal-team-card--consilier .gal-team-name {
  text-align: left;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: clamp(0.95rem, 2vw, 1.0625rem);
  line-height: 1.3;
  margin: 0;
}
.gal-team-card--consilier .gal-team-bio {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 1.1rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
}

/* Conținut „Despre noi” în editor: fără margini duble pe titluri */
.gal-page-content.entry-content .gal-despre-page > .gal-despre-back { margin-bottom: 1rem; }
.gal-page-content.entry-content .gal-despre-page .section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.gal-page-content.entry-content .gal-despre-page h2,
.gal-page-content.entry-content .gal-despre-page h3,
.gal-page-content.entry-content .gal-despre-page h4 {
  margin-top: 0;
}
.gal-page-content.entry-content .gal-despre-page .gal-despre-intro-header .section-title { margin-bottom: 0.5rem; }
.gal-page-content.entry-content .gal-despre-page .gal-team-section-header .section-desc { margin-top: 0.5rem; }
.gal-page-content.entry-content .gal-despre-page h3.gal-team-block-title {
  margin-top: 0;
  margin-bottom: 1.35rem;
}
.gal-page-content.entry-content .gal-despre-page h3.gal-team-block-title--spaced { margin-top: 2.75rem; }
.gal-page-content.entry-content .gal-despre-page .gal-team-bio p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}
.gal-page-content.entry-content .gal-despre-page .gal-team-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 559px) {
  .gal-team-card--consilier {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 1.35rem 1.25rem 1.5rem;
  }
  .gal-team-card--consilier .gal-team-photo-wrap--consilier {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 7rem;
    height: 7rem;
  }
  .gal-team-card--consilier .gal-team-name {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    margin-top: 0.85rem;
  }
  .gal-team-card--consilier .gal-team-bio {
    grid-column: 1;
    grid-row: 3;
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

@media (max-width: 600px) {
  .gal-program-stats { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid,
.gal-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
  margin-top: 0;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
.gal-contact-page { margin-top: 0; }
.gal-contact-aside {
  min-width: 0;
}
@media (min-width: 961px) {
  .gal-contact-aside {
    position: sticky;
    top: 5.5rem;
  }
}
.gal-contact-card {
  position: relative;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.gal-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, var(--gal-green), var(--gal-green-soft));
  pointer-events: none;
}
.gal-contact-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.gal-contact-form-head {
  margin-bottom: 1.25rem;
}
.gal-contact-form-head .gal-contact-section-title {
  margin-bottom: 0.5rem;
}
.gal-contact-lead {
  margin: 0;
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 36rem;
}
.gal-contact-main {
  min-width: 0;
}
.gal-contact-quickdocs {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}
.gal-contact-quickdocs-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.gal-contact-docs-panel {
  margin: 0 auto;
}
.contact-info-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.contact-info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: #d1fae5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-info-item h4 { color: #0f172a; font-size: 0.875rem; margin-bottom: 0.25rem; }
.contact-info-item a, .contact-info-item p { color: var(--gal-green); font-size: 0.875rem; }
.contact-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gal-green); box-shadow: 0 0 0 3px rgba(0,166,81,0.12); }
.form-group textarea { height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 0.875rem; background: var(--gal-green); color: #fff; border: none; border-radius: 9999px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--gal-green-hover); }
.gal-form-notice { margin: 0 0 1.25rem; padding: 0.875rem 1rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.9375rem; }
.gal-form-notice--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.gal-form-notice--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ----- Documente legale (import politică etc.) ----- */
.gal-legal-document { max-width: 48rem; margin-left: auto; margin-right: auto; }
.gal-legal-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; }
.gal-legal-header h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); color: #0f172a; margin-bottom: 0.5rem; }
.gal-legal-meta { color: #64748b; font-size: 0.9375rem; margin: 0; }
.gal-legal-section { margin-top: 2rem; }
.gal-legal-section h2 { font-size: 1.2rem; color: #0f172a; margin: 0 0 0.75rem; }
.gal-legal-section h3 { font-size: 1rem; color: #334155; margin: 1.25rem 0 0.5rem; }
.gal-legal-section p,
.gal-legal-section li { color: #475569; font-size: 0.9375rem; line-height: 1.75; }
.gal-legal-section ul { margin: 0.75rem 0 1rem; padding-left: 1.25rem; }
.gal-legal-section ul ul { margin-top: 0.35rem; }
.gal-legal-section a { color: var(--gal-green); text-decoration: underline; text-underline-offset: 2px; }

/* ===================== SECTION HEADERS ===================== */
.section-header { text-align: center; margin-bottom: 1rem; }
.section-label { display: inline-block; color: var(--gal-green); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.stats .section-label-on-dark { color: var(--gal-green-soft); }
.section-title { color: #0f172a; }
.section-title.white { color: #fff; }
.section-desc { color: #64748b; max-width: 520px; margin: 0.75rem auto 0; }
.section-desc.light { color: #94a3b8; }

/* ===================== SKIP LINK ===================== */
/* Fully off-screen until focus — top:-40px left a green strip visible (taller than 40px with padding). */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-100%);
  background: var(--gal-green);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 99999;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===================== CMS / BLOCK EDITOR ===================== */
.gal-page-body { padding: 0 0 4rem; }
.gal-page-content.entry-content > *:first-child { margin-top: 0; }
.gal-page-content.entry-content > *:last-child { margin-bottom: 0; }
.gal-page-content.entry-content h2,
.gal-page-content.entry-content h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.gal-page-content.entry-content .gal-contact-card .gal-contact-section-title {
  margin-top: 0;
  margin-bottom: 1.35rem;
}
.gal-page-content.entry-content .gal-contact-form-head .gal-contact-section-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.gal-page-content.entry-content p,
.gal-page-content.entry-content ul,
.gal-page-content.entry-content ol { margin-bottom: 1rem; }
.gal-page-content.entry-content .alignwide { max-width: 1152px; margin-left: auto; margin-right: auto; }
.gal-page-content.entry-content .alignfull,
.gal-front-page-content.entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.gal-front-page-content.entry-content > *:first-child { margin-top: 0; }
.gal-page-links { margin-top: 2rem; font-size: 0.875rem; }
.gal-page-links-label { margin-right: 0.5rem; color: #64748b; }
.gal-posts-intro { padding-top: 2rem; padding-bottom: 0; }
.gal-posts-intro + .section { padding-top: 2rem; }
.gal-card-title-link { color: #0f172a; text-decoration: none; }
.gal-card-title-link:hover { color: var(--gal-green); }
.gal-card-excerpt { color: #64748b; font-size: 0.875rem; margin: 0; }
.gal-card-read-more { display: inline-block; margin-top: 1rem; color: var(--gal-green); font-size: 0.875rem; font-weight: 600; }
.gal-card-read-more:hover { text-decoration: underline; }
.gal-posts-pagination { text-align: center; margin-top: 3rem; }
.gal-empty-posts { text-align: center; color: #64748b; padding: 4rem 0; margin: 0; }
.gal-single-meta {
  color: var(--gal-green-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.gal-single-hero .gal-single-meta { margin-bottom: 0.5rem; }
.gal-single-body { color: #374151; line-height: 1.85; font-size: 1rem; }
.gal-single-nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.gal-text-link { color: var(--gal-green); font-weight: 600; font-size: 0.875rem; }
.gal-text-link:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .contact-grid,
  .gal-contact-layout {
    grid-template-columns: 1fr;
  }
  .gal-contact-main {
    order: 1;
  }
  .gal-contact-aside {
    order: 2;
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
  }
  .gal-despre-actions {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gal-btn-pdf {
    min-height: 4.75rem;
    height: auto;
    overflow: visible;
  }
}