/* ============================================================
   PARINTI DE CIRESARI — Design System
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

/* ── CSS Variables ── */
:root {
  --brand-green:       #68BE5A;
  --brand-pink:        #E5165F;
  --brand-green-light: #e8f5e4;
  --brand-pink-light:  #fde8ee;
  --brand-green-dark:  #4fa344;
  --brand-pink-dark:   #c4104f;

  --text-dark:  #2d2d2d;
  --text-gray:  #6b7280;
  --bg-white:   #ffffff;
  --bg-light:   #f9fafb;
  --border:     #e5e7eb;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

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

  --max-width:  1200px;
  --nav-height: 70px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Intro', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-dark); }
ul { list-style: none; }

/* ── Intro Font (self-hosted fallback to system) ── */
/* If Intro woff2 files are available in assets/fonts/, uncomment:
@font-face {
  font-family: 'Intro';
  src: url('../assets/fonts/Intro-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Intro';
  src: url('../assets/fonts/Intro-SemiBold.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'Intro';
  src: url('../assets/fonts/Intro-Bold.woff2') format('woff2');
  font-weight: 700;
}
*/

/* ── Typography ── */
h1, h2, .brand-font {
  font-family: 'Fredoka One', 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-gray); line-height: 1.7; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title p {
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, border-color .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.btn-primary:hover {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
}

.btn-accent {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
}
.btn-accent:hover {
  background: var(--brand-pink-dark);
  border-color: var(--brand-pink-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-outline:hover {
  background: var(--brand-green);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: .82rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-green  { background: var(--brand-green-light); color: var(--brand-green-dark); }
.badge-pink   { background: var(--brand-pink-light);  color: var(--brand-pink-dark); }
.badge-gray   { background: #f3f4f6; color: var(--text-gray); }

/* ── Cards ── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-light);
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--brand-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
}
.card-body {
  padding: 20px;
}
.card-meta {
  font-size: .78rem;
  color: var(--text-gray);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.card-excerpt {
  font-size: .88rem;
  color: var(--text-gray);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Grid ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo-text {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.15rem;
  color: var(--brand-green);
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-green);
  background: var(--brand-green-light);
}
.nav-donate {
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-white);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1.1rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn {
  margin-top: 16px;
  justify-content: center;
  font-size: 1rem;
}

/* ── Footer ── */
.site-footer {
  background: #1a2a1a;
  color: #c8d9c8;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.1rem;
  color: #fff;
}
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: #9ab09a;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: background .2s;
}
.footer-social a:hover { background: var(--brand-green); }

.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .875rem;
  color: #9ab09a;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--brand-green); }
.footer-col p { font-size: .875rem; color: #9ab09a; line-height: 1.7; }

.footer-newsletter label {
  display: block;
  font-size: .82rem;
  color: #9ab09a;
  margin-bottom: 8px;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: #6b8c6b; }
.newsletter-form input:focus { border-color: var(--brand-green); }
.newsletter-form button {
  padding: 10px 16px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: .85rem;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--brand-green-dark); }
.newsletter-gdpr {
  font-size: .75rem;
  color: #6b8c6b;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.newsletter-gdpr input { margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: #6b8c6b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #6b8c6b; transition: color .2s; }
.footer-legal a:hover { color: var(--brand-green); }

/* ── Hero ── */
.hero {
  min-height: 520px;
  background: linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 50%, #1a4a30 100%);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: .25;
}
.hero-content {
  position: relative;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(104,190,90,.2);
  border: 1px solid rgba(104,190,90,.4);
  color: #90d980;
  font-size: .82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-lead {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Teaser (sound wave) ── */
.teaser-wave {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--brand-green-light);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid rgba(104,190,90,.3);
  transition: box-shadow .2s;
  text-decoration: none;
}
.teaser-wave:hover {
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
}
.wave-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wave-rings {
  position: relative;
  width: 40px; height: 40px;
}
.wave-rings span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--brand-green);
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}
.wave-rings span:nth-child(1) { inset: 0; }
.wave-rings span:nth-child(2) { inset: -8px; animation-delay: .5s; }
.wave-rings span:nth-child(3) { inset: -16px; animation-delay: 1s; }
@keyframes pulse-ring {
  0%   { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wave-dot {
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-green);
}

/* ── Date badge ── */
.date-badge {
  width: 52px;
  flex-shrink: 0;
  text-align: center;
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 0;
}
.date-badge .day {
  font-size: 1.5rem;
  font-family: 'Fredoka One', sans-serif;
  line-height: 1;
}
.date-badge .month {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--brand-green-light);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  color: var(--text-dark);
  margin-bottom: 12px;
}
.page-hero p { max-width: 560px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--brand-green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* ── Team grid ── */
.team-card {
  text-align: center;
  padding: 28px 20px;
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--brand-green-light);
}
.team-avatar-placeholder {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--brand-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-green);
  font-size: 2rem;
  font-family: 'Fredoka One', sans-serif;
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: .83rem;
  color: var(--brand-green);
  font-weight: 600;
}

/* ── Donate page ── */
.donate-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.donate-card.primary { border-color: var(--brand-green); }
.donate-card.accent  { border-color: var(--brand-pink); }
.donate-pct {
  font-family: 'Fredoka One', sans-serif;
  font-size: 4rem;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 12px;
}
.iban-display {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.copy-btn {
  padding: 6px 14px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s;
}
.copy-btn:hover { background: var(--brand-green-dark); }

/* ── Contact form ── */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(104,190,90,.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a2a1a;
  color: #c8d9c8;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
#cookie-banner p {
  flex: 1;
  font-size: .85rem;
  color: #9ab09a;
  min-width: 200px;
}
#cookie-banner p a { color: var(--brand-green); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner.hidden { display: none; }

/* ── Map page ── */
.map-page-wrap {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--nav-height));
}
.map-page-wrap .map-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.map-page-wrap .map-header h2 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-green  { color: var(--brand-green); }
.text-pink   { color: var(--brand-pink); }
.text-gray   { color: var(--text-gray); }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }

/* ── Floating social sidebar ── */
.social-float {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand-green);
  color: #fff;
  text-decoration: none;
  transition: width .2s ease, background .2s ease;
  box-shadow: 2px 2px 8px rgba(0,0,0,.15);
}
.social-float a:first-child { border-radius: 0 8px 0 0; }
.social-float a:last-child  { border-radius: 0 0 8px 0; }
.social-float a:hover { width: 56px; }
.social-float a.sf-fb:hover { background: #1877F2; }
.social-float a.sf-yt:hover { background: #FF0000; }
.social-float a.sf-ig:hover { background: #E4405F; }
@media (max-width: 768px) {
  .social-float { display: none; }
}

/* ── Events gallery grid ── */
.ev-year-block { margin-bottom: 48px; }
.ev-year-heading {
  color: var(--brand-green);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.5rem;
}
.ev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ev-card {
  background: var(--bg-white);
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  width: 100%;
}
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ev-card-photo {
  aspect-ratio: 4/3;
  background: var(--brand-green-light);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ev-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.ev-card:hover .ev-card-photo img { transform: scale(1.05); }
.ev-card-placeholder { color: var(--brand-green); }
.ev-card-info {
  background: var(--bg-white);
  padding: 10px 12px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.ev-card-date { font-size: .73rem; color: var(--text-gray); }
.ev-card-title { font-size: .88rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }

/* ── Event modal ── */
.ev-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ev-modal[hidden] { display: none; }
.ev-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
}
.ev-modal-inner {
  position: relative; z-index: 1;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 820px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.ev-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,.45); color: #fff;
  border: none; border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem; line-height: 36px; text-align: center;
  cursor: pointer; transition: background .15s;
}
.ev-modal-close:hover { background: rgba(0,0,0,.8); }
.ev-modal-main-wrap {
  background: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.ev-modal-main-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}
.ev-modal-no-photo {
  width: 100%; height: 220px;
  background: var(--brand-green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-green);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ev-modal-thumbs {
  display: flex; gap: 8px; padding: 10px 16px;
  overflow-x: auto;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.ev-modal-thumbs:empty { display: none; }
.ev-modal-thumb {
  flex-shrink: 0;
  width: 68px; height: 50px;
  border: 2px solid transparent;
  border-radius: 6px; overflow: hidden;
  padding: 0; background: none; cursor: pointer;
  transition: border-color .15s;
}
.ev-modal-thumb.active { border-color: var(--brand-green); }
.ev-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-modal-body { padding: 22px 28px 28px; }
.ev-modal-meta {
  font-size: .82rem; color: var(--text-gray);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.ev-modal-title {
  font-size: 1.35rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 12px; line-height: 1.3;
}
.ev-modal-desc { color: var(--text-gray); line-height: 1.75; white-space: pre-line; }
.ev-modal-body .prose { margin-top: 12px; }

/* ── Prose (markdown rendered content) ── */
.prose { color: var(--text-dark); line-height: 1.75; font-size: .92rem; }
.prose p { color: var(--text-gray); margin-bottom: 12px; }
.prose h2, .prose h3 { color: var(--text-dark); margin: 20px 0 8px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 12px; color: var(--text-gray); }
.prose li { margin-bottom: 4px; }
.prose strong { color: var(--text-dark); }
.prose a { color: var(--brand-green); }

/* ── Announcement images ── */
.ann-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.ann-images img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.ann-images.multi img {
  width: calc(50% - 5px);
  max-height: 220px;
}
@media (max-width: 480px) {
  .ann-images.multi img { width: 100%; max-height: 200px; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .donate-card { padding: 28px 20px; }
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-modal-body { padding: 16px 18px 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .ev-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Newsletter CTA form on homepage */
  #cta-newsletter-form > div:first-child { flex-direction: column; }
  #cta-newsletter-form .btn-accent { width: 100%; }
  /* Footer newsletter form */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; }
}
