/* ==========================================================================
   Szentgotthárdi Civil Fórum Egyesület - Fő Stíluslap (Modern CSS)
   ========================================================================== */

/* Google Fonts betöltése a header.php-ban preconnect-tel optimalizálva */

:root {
  /* Színpaletta - Szentgotthárd és Rába ihlette elegáns kék és zöld */
  --primary: #0c2340;
  --primary-light: #163660;
  --primary-dark: #071526;
  --primary-rgb: 12, 35, 64;

  --accent-green: #15803d;
  --accent-green-light: #22c55e;
  --accent-green-soft: #f0fdf4;
  --accent-green-border: #bbf7d0;

  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-gold-soft: #fef3c7;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-card: #ffffff;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Tipográfia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Árnyékok és effektek */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 35px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alap reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipográfia segédosztályok */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Konténer */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Fejléc és Navigáció
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.86rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.top-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.top-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tickerFloat 30s linear infinite;
}

.top-ticker-wrapper:hover .top-ticker-track {
  animation-play-state: paused;
}

.top-ticker-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.ticker-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.ticker-item a:hover {
  color: #86efac;
  text-decoration: underline;
}

.ticker-sep {
  color: var(--accent-green);
  opacity: 0.8;
  font-size: 0.85rem;
  user-select: none;
}

@keyframes tickerFloat {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Fő Navigáció */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 2px solid #ffffff;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* Nav Menü - Modern Gomb Stílus */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.52rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--primary);
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--accent-green) 0%, #166534 100%) !important;
  border-color: var(--accent-green) !important;
  box-shadow: 0 3px 12px rgba(21, 128, 61, 0.28) !important;
  font-weight: 700;
}

.nav-link.active:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  box-shadow: 0 5px 15px rgba(21, 128, 61, 0.38) !important;
  transform: translateY(-2px);
}

.nav-link.active .dropdown-arrow {
  color: #ffffff;
  opacity: 0.9;
}

/* Navigációs Dropdown (Rólunk menü) */
.nav-item-dropdown {
  position: relative;
}

.nav-link.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
  display: inline-block;
  opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(7, 21, 38, 0.12);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 250;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--bg-muted);
  color: var(--primary);
  padding-left: 1.15rem;
}

.dropdown-item.active {
  color: var(--accent-green);
  background: var(--accent-green-soft);
  font-weight: 700;
}

.dropdown-item-badge {
  font-size: 0.72rem;
  background: var(--accent-green-soft);
  color: #15803d;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--accent-green), #166534);
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Hamburger Gomb */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  font-size: 1.6rem;
}

/* ==========================================================================
   Hero Szekció
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071526 0%, #0c2340 50%, #163660 100%);
  color: #ffffff;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-overlay-shapes {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.18), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.15), transparent 45%);
  pointer-events: none;
}

/* Belső aloldalak modern hero fejléce lágy háttérfotóval */
.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, #071526 0%, #0c2340 50%, #163660 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.subpage-hero .hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.subpage-hero .hero-overlay-shapes {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(34, 197, 94, 0.16), transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(14, 165, 233, 0.14), transparent 50%);
  pointer-events: none;
}

.subpage-hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 1.4rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span.highlight-green {
  color: #4ade80;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, #166534 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.45);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

/* Statisztikai Kártyasor a Heronál */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fef08a;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hero jobb oldali kártya */
.hero-card-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.hero-img-box:hover img {
  transform: scale(1.04);
}

.hero-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-highlight-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.highlight-text h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.highlight-text p {
  color: #cbd5e1;
  font-size: 0.82rem;
}

/* Hero Szervezet Információs Adatlap */
.hero-org-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.org-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.45rem;
}

.org-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.org-info-row .info-label {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.org-info-row .info-val {
  color: #f1f5f9;
  text-align: right;
  font-size: 0.86rem;
}

.org-info-row .info-val strong {
  color: #ffffff;
}

/* ==========================================================================
   Szekciók Általános Stílusa
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-muted);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  background: var(--accent-green-soft);
  border: 1px solid var(--accent-green-border);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Küldetés & Pillérek Kártyák (Mission & Pillars)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 128, 61, 0.25);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--accent-green-border);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pillar-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Tagszervezetek és Kereső Rendszer (Search & Member Directory)
   ========================================================================== */
.search-filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-pill {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.filter-pill.active-count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-light);
  border: none;
  background: transparent;
  cursor: default;
}

/* Tagszervezeti Kártyák Rács */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.member-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.member-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.member-cat-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--accent-green-soft);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-border);
}

.member-est {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.member-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.member-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}

.member-card-details {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.member-detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.member-detail-row i {
  color: var(--accent-green);
  width: 16px;
  text-align: center;
}

.member-detail-row a {
  color: var(--primary);
  font-weight: 600;
}

.member-detail-row a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

/* ==========================================================================
   Hírek és Események Kártyák
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Főoldali 3-oszlopos kompakt hírkártya rács:
   A legfrissebb 3 hír tökéletesen elfér egymás mellett egyetlen sorban! */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.home-news-grid .news-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .home-news-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.news-tag {
  background: var(--primary);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

.news-date {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--primary);
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.home-news-excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Dokumentumtár Stílusok
   ========================================================================== */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.doc-item:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.doc-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.doc-icon-badge.pdf { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.doc-icon-badge.docx { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.doc-icon-badge.xlsx { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }

.doc-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.doc-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.doc-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.doc-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.doc-view-btn:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(21, 128, 61, 0.2);
}

.doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-muted);
  color: var(--primary);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.doc-download-btn:hover {
  background: #e2e8f0;
  color: var(--primary-dark);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Kapcsolat és Űrlap (Contact & Forms)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--accent-green-border);
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-text p, .contact-text a {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.contact-text a:hover {
  color: var(--accent-green);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Toast Értesítés */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success {
  background: #065f46;
  color: #ffffff;
  border: 1px solid #10b981;
}

.toast-error {
  background: #991b1b;
  color: #ffffff;
  border: 1px solid #ef4444;
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   1% Kiemelt Szekció Banner
   ========================================================================== */
.tax-banner {
  background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.tax-banner::after {
  content: '1%';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 14rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  line-height: 1;
}

.tax-content h3 {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.tax-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 650px;
}

.tax-taxnumber {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid #f59e0b;
  color: #fef08a;
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Lábléc (Footer)
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-hosting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #38bdf8;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-green);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #cbd5e1;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Reszponzivitás (Mobile & Tablet Media Queries)
   ========================================================================== */
@media (max-width: 1200px) and (min-width: 993px) {
  .logo-subtitle {
    font-size: 0.68rem;
    max-width: 260px;
  }
  .nav-menu {
    gap: 0.28rem;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 0.45rem 0.7rem;
  }
}

@media (max-width: 992px) {
  .header-inner {
    height: 72px;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.6rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border-color);
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    margin-top: 0.35rem;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .tax-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .logo-subtitle {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doc-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .doc-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }

  .doc-view-btn,
  .doc-download-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .org-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .org-info-row .info-val {
    text-align: left;
  }
}

/* ==========================================================================
   Szakmai Szekciók Stílusai (5 Civil Szekció)
   ========================================================================== */
.szekciok-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.szekcio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.szekcio-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.szekcio-card-header {
  padding: 2rem 2.25rem 1.75rem;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.szekcio-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid var(--accent-green-border);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.szekcio-info {
  flex: 1;
  min-width: 280px;
}

.szekcio-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  background: var(--accent-green-soft);
  border: 1px solid var(--accent-green-border);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.szekcio-title {
  font-size: 1.65rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.szekcio-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.szekcio-card-body {
  padding: 2.25rem;
}

.szekcio-empty-state {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  background: #f8fafc;
}

.szekcio-empty-state h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.szekcio-empty-state p {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Krónika (Idővonal & Történet) Stílusok
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-green), var(--primary), var(--accent-green));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  padding-left: 72px;
}

.timeline-marker {
  position: absolute;
  left: 16px;
  top: 6px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--accent-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  z-index: 2;
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-green);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 197, 94, 0.45);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-badge.primary { background: #e0f2fe; color: #0369a1; }
.timeline-badge.accent { background: #dcfce7; color: #15803d; }
.timeline-badge.green { background: #dcfce7; color: #166534; }
.timeline-badge.orange { background: #ffedd5; color: #c2410c; }
.timeline-badge.red { background: #fee2e2; color: #b91c1c; }

.timeline-title {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.timeline-body {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.timeline-highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.timeline-highlights li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.timeline-highlights li:last-child {
  margin-bottom: 0;
}

.timeline-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 800;
}

.timeline-quote {
  border-left: 3px solid var(--accent-green);
  font-style: italic;
  color: #166534;
  font-size: 0.95rem;
  background: var(--accent-green-soft);
  padding: 0.85rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   Képek-Videók (Média Galéria) Stílusok
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.25rem;
  margin-top: 2rem;
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(34, 197, 94, 0.4);
}

.media-thumb-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-dark);
}

.media-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-card:hover .media-thumb-img {
  transform: scale(1.06);
}

.media-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.media-type-badge.photo {
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
}

.media-type-badge.video {
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
}

.media-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.92);
  color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: all var(--transition-fast);
}

.media-card:hover .media-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #dc2626;
  color: #ffffff;
}

.media-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.media-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.media-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.media-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.media-action-link:hover {
  color: var(--accent-green);
  gap: 0.75rem;
}

.media-gallery-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: var(--shadow-sm);
  background: rgba(22, 101, 52, 0.92);
  color: #ffffff;
  border: 1px solid rgba(134, 239, 172, 0.5);
}

.media-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-green);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.media-action-btn:hover {
  color: #15803d;
  gap: 0.65rem;
  text-decoration: underline;
}

.media-action-btn.video-btn {
  color: #dc2626;
  text-decoration: none;
}

.media-action-btn.video-btn:hover {
  color: #b91c1c;
}

/* ==========================================================================
   MÉDIA GALÉRIA LIGHTBOX MODAL
   ========================================================================== */
.media-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  animation: lightboxFadeIn 0.25s ease-out;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.media-lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.media-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.media-lightbox-close:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: rotate(90deg);
}

.media-lightbox-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 65vh;
  background: #030712;
  overflow: hidden;
}

.media-lightbox-img-wrap {
  width: 100%;
  height: 100%;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.media-lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: opacity 0.2s ease-in-out;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
  user-select: none;
  line-height: 1;
}

.media-lightbox-nav:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  transform: translateY(-50%) scale(1.1);
}

.media-lightbox-nav.prev {
  left: 1.25rem;
}

.media-lightbox-nav.next {
  right: 1.25rem;
}

.media-lightbox-footer {
  padding: 1.25rem 1.75rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.media-lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.media-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.media-lightbox-counter {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.82rem;
}

.media-lightbox-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.media-lightbox-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.media-lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.media-lightbox-thumb {
  width: 60px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.media-lightbox-thumb:hover {
  opacity: 0.85;
}

.media-lightbox-thumb.active {
  opacity: 1;
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@media (max-width: 768px) {
  .media-lightbox-dialog {
    max-height: 98vh;
  }
  .media-lightbox-main {
    min-height: 240px;
    max-height: 50vh;
  }
  .media-lightbox-img {
    max-height: 48vh;
  }
  .media-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
  .media-lightbox-nav.prev { left: 0.5rem; }
  .media-lightbox-nav.next { right: 0.5rem; }
  .media-lightbox-footer { padding: 1rem; }
  .media-lightbox-title { font-size: 1.05rem; }
}

/* ==========================================================================
   TELJES HÍR MODAL ("Tovább olvasom" felugró ablak)
   ========================================================================== */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  animation: newsModalFadeIn 0.25s ease-out;
}

@keyframes newsModalFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.news-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.news-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(241, 245, 249, 0.9);
  color: var(--text-main, #0f172a);
  border: 1px solid var(--border-color, #cbd5e1);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast, 0.15s ease);
}

.news-modal-close:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: rotate(90deg);
}

.news-modal-header {
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
}

.news-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary, #0c2340);
  margin-top: 0.35rem;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-right: 2.5rem;
}

.news-modal-scrollable {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  max-height: calc(90vh - 150px);
}

.news-modal-media-wrap {
  margin-bottom: 1.5rem;
}

.news-modal-main-img-box {
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: #0f172a;
  max-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-modal-main-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.news-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.25rem;
}

.news-modal-thumb {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.news-modal-thumb.active,
.news-modal-thumb:hover {
  opacity: 1;
  border-color: var(--accent-green, #16a34a);
  transform: translateY(-2px);
}

.news-modal-video-box {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  margin-top: 1rem;
}

.news-modal-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main, #334155);
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border-color, #f1f5f9);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-surface, #ffffff);
}

/* ==========================================================================
   Elnökségi Hierarchia Fa (Organigram)
   ========================================================================== */
.org-hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0 auto 3.5rem;
}

.hierarchy-level {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}

.hierarchy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.hierarchy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hierarchy-card.president {
  border: 2px solid var(--accent-green);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.15);
  background: linear-gradient(to bottom, #ffffff, #f0fdf4);
}

.hierarchy-card.vp {
  border: 2px solid #0284c7;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);
  background: linear-gradient(to bottom, #ffffff, #f0f9ff);
}

.hierarchy-card.secretary {
  border: 2px solid #d97706;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.12);
  background: linear-gradient(to bottom, #ffffff, #fffbeb);
  max-width: 440px;
}

.hierarchy-card.member {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.hierarchy-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.hierarchy-role-badge.badge-president {
  background: var(--accent-green-soft);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-border);
}

.hierarchy-role-badge.badge-vp {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.hierarchy-role-badge.badge-secretary {
  background: var(--accent-gold-soft);
  color: #b45309;
  border: 1px solid #fde68a;
}

.hierarchy-role-badge.badge-member {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.hierarchy-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.hierarchy-contact-box {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hierarchy-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -0.25rem 0;
  user-select: none;
}

.hierarchy-connector-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--accent-green), var(--border-color));
}

.hierarchy-connector-arrow {
  font-size: 0.8rem;
  color: var(--accent-green);
  line-height: 1;
  margin-top: -2px;
}

@media (max-width: 768px) {
  .hierarchy-level {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  
  .hierarchy-card {
    max-width: 100%;
  }
}

/* ==========================================================================
   SÜTI (COOKIE) HOZZÁJÁRULÁS MODAL & SÁV
   ========================================================================== */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 820px;
  z-index: 999999;
  animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner-wrapper.cookie-closing {
  animation: cookieFadeDown 0.35s ease forwards;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes cookieFadeDown {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 20px) scale(0.97);
  }
}

.cookie-banner-card {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.cookie-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(22, 163, 74, 0.2);
  border: 1.5px solid rgba(22, 163, 74, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-header-text {
  flex: 1;
}

.cookie-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.cookie-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0.15rem 0 0;
}

.cookie-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.cookie-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.cookie-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 1rem;
}

.cookie-desc a {
  color: #86efac;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-desc a:hover {
  color: #bbf7d0;
}

.cookie-details-drawer {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  animation: fadeIn 0.2s ease;
}

.cookie-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-category-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-info strong {
  display: block;
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.cookie-category-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.cookie-badge-fixed {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s;
  border-radius: 22px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: #16a34a;
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

.cookie-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-link {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cookie-btn-link:hover {
  color: #f1f5f9;
}

.cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1px solid #22c55e;
  color: #ffffff;
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  transition: all 0.2s;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.45);
}

@media (max-width: 640px) {
  .cookie-banner-wrapper {
    bottom: 12px;
    width: calc(100% - 20px);
  }
  .cookie-banner-card {
    padding: 1.25rem 1.15rem;
  }
  .cookie-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn-primary, .cookie-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

