:root {
  --pink: #f8bdd4;
  --teal: #2f7a8f;
  --white: #ffffff;
  --light-bg: #f8f9fb;
  --text-dark: #1a1a1a;
  --warning: #e74c3c;
}

body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  text-align: center;
  background-color: var(--light-bg);
  direction: rtl;
}

h2 {
  background: linear-gradient(90deg, var(--teal), var(--pink));
  color: var(--white);
  margin: 0;
  padding: 15px;
  font-weight: 600;
}

#map {
  height: 90vh;
  width: 100%;
}

/* الحاوية التي تحتوي الخريطة وكل عناصرها */
.map-section {
  position: relative; /* مهم عشان الـ absolute تحتها يكون داخل هذا القسم */
}

/* الرسالة فوق الخريطة */
.message {
  display: none;
  background: var(--teal);
  color: var(--white);
  padding: 10px 15px;
  font-size: 1.1em;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 1500;
}

.warning-message {
  background: var(--warning) !important;
}

/* Search box */
#searchContainer {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  gap: 8px;
  width: 320px;
}

#searchInput {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: "Cairo";
  outline: none;
}

#searchInput:focus {
  border-color: var(--teal);
  box-shadow: 0 0 4px rgba(47,122,143,0.3);
}

#searchBtn {
  background: var(--teal);
  border: none;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

#searchBtn:hover {
  background: var(--pink);
  color: var(--text-dark);
}

/* Modals */
#customModal,
#alertModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--white);
  padding: 20px 25px;
  border-radius: 14px;
  text-align: center;
  width: 320px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Cairo";
  font-size: 1em;
  transition: 0.3s;
}

.ok {
  background: var(--teal);
  color: var(--white);
}

.ok:hover {
  background: var(--pink);
  color: var(--text-dark);
}

.cancel {
  background: #ddd;
  color: var(--text-dark);
}

.cancel:hover {
  background: #ccc;
}

/* Language toggle */
.lang-btn {
  position: absolute;
  top: 10px;
  left: 20px;
  background: var(--pink);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
  z-index: 1100;
}

.lang-btn:hover {
  background: var(--teal);
  color: var(--white);
}

/* Hide Google default controls */
.gm-fullscreen-control,
.gm-control-active[title="عناصر التحكّم بطريقة عرض الخريطة"],
.gm-svpc,
.gm-style-cc,
.gmnoprint,
.gmnoscreen {
  display: none !important;
}

/* Stats Panel */
#statsToggle {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1100;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: 0.25s;
  font-weight: 600;
}

#statsToggle:hover {
  transform: translateY(-1px);
}

#statsPanel {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 320px;
  max-height: 70vh;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  padding: 12px;
  z-index: 1600;
  display: none;
  overflow: hidden;
}

#statsHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

#statsTitle {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

#statsActions {
  display: flex;
  gap: 6px;
}

.stats-btn {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Cairo";
  font-size: 0.9em;
}

#statsBody {
  border-top: 1px dashed #e5e7eb;
  padding-top: 8px;
  max-height: 56vh;
  overflow: auto;
  text-align: start;
}

#statsTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  table-layout: fixed;
}

#statsTable th,
#statsTable td {
  padding: 8px;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

#statsTable th {
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 1;
}

#statsEmpty {
  padding: 10px;
  color: #6b7280;
}

/* Tree marker label */
.tree-label {
  background-color: var(--white);
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  white-space: nowrap;
}


/* ==================== RESPONSIVE ==================== */

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
  /* Smaller heading */
  #plant-map h2,
  .map-section h2 {
    font-size: 1rem;
    padding: 10px;
    line-height: 1.6;
  }

  /* Map height */
  #map {
    height: 70vh;
  }

  /* Search box → full width */
  #searchContainer {
    top: 70px;
    width: calc(100% - 32px);
    max-width: none;
    padding: 8px 10px;
    gap: 6px;
    margin-bottom: 55px; /* space for stats button */
  }

  #searchInput {
    font-size: 0.9rem;
    padding: 6px 8px;
  }

  #searchBtn {
    font-size: 0.85rem;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* Language button */
  .lang-btn {
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* ⭐ FIXED: Stats button layout */
  #statsToggle {
    position: absolute;
    top: 132px; /* BELOW search box */
    right: 50%;
    transform: translateX(50%);

    padding: 6px 14px;
    font-size: 0.8rem;

    border-radius: 8px;
    width: auto;
    white-space: nowrap;
    z-index: 1100;

    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Stats panel → bottom sheet */
  #statsPanel {
    top: auto;
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 50vh;
    padding: 10px;
  }

  #statsTitle {
    font-size: 0.95rem;
  }

  #statsBody {
    max-height: 40vh;
  }

  #statsTable {
    font-size: 0.85rem;
  }

  .stats-btn {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  /* Toast message */
  .message {
    font-size: 0.9rem;
    padding: 8px 12px;
    bottom: 12px;
    max-width: calc(100% - 40px);
  }

  /* Modal adjustments */
  .modal-content {
    width: calc(100% - 40px);
    padding: 16px 18px;
  }

  .modal-btn {
    font-size: 0.9rem;
    padding: 7px 12px;
  }
}

@media (max-width: 480px) {
  #plant-map h2,
  .map-section h2 {
    font-size: 0.95rem;
  }

  #map {
    height: 65vh;
  }

  #searchContainer {
    top: 66px;
    padding: 6px 8px;
  }

  /* Refine stats button spacing on very small screens */
  #statsToggle {
    top: 128px;
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .message {
    font-size: 0.85rem;
  }
}


/* ==================== GLOBAL LAYOUT FOR NEW SECTIONS ==================== */

.hero-banner {
  position: relative;
  min-height: 60vh;
  background-image: url("images/hero-background.png");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.75));
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 40px 16px;
}

/* for the animation*/

/* base state for anything that animates */
/* initial state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 2s cubic-bezier(0.19, 1, 0.22, 1),
    transform 2s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.5s ease-out;
  will-change: opacity, transform, filter;
}

/* target state */
.fade-up {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}



.hero-kicker {
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--pink);
}

.hero-title {
  font-size: 2.4rem;
  margin: 0 0 12px;
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--text-dark);
  border-color: var(--pink);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.mt-24 { margin-top: 24px; }

/* Sections */

.section {
  padding: 60px 16px;
}

.section-alt {
  background-color: #f5f0f4;
}

.section-dotted {
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}

.section-floating {
  margin-top: -60px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: right;
}

.section-title {
  background: none;
  color: var(--text-dark);
  padding: 0;
  margin: 0 0 20px;
  margin-bottom: 50px;
  font-size: 1.8rem;
  font-weight: 800;
}

.section-title.center {
  text-align: center;
}

.section-kicker {
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  max-width: 650px;
  margin: 0 auto 24px;
  color: #555;
  line-height: 1.8;
}

/* About grid */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.18);
  padding: 32px 32px 40px;
}

.about-text p {
  color: #444;
  line-height: 1.9;
}

.list {
  padding-right: 18px;
  margin: 14px 0 0;
  text-align: right;
}

.list li {
  margin-bottom: 6px;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* Two-column dotted section */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}

.image-col img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.12);
  margin-bottom: 16px;
}

.card-soft {
  box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Numbers */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: 18px;
  padding: 18px 10px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.12);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: #555;
}

/* Events */

.events-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
}

.events-main h3 {
  margin: 0 0 8px;
}

.event-location,
.event-date {
  margin: 0;
  color: #444;
}

.events-text p {
  margin-top: 0;
  line-height: 1.8;
}

.small-note {
  font-size: 0.85rem;
  color: #777;
}

/* How-help narrow card */

#how-help {
  position: relative;
  background: radial-gradient(circle at top, #ffffff 0, #f8f9fb 40%, #f5f0f4 100%);
}

#how-help .container {
  text-align: center;
}

#how-help .section-title {
  margin-bottom: 32px;
}

/* Main card */
#how-help .narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 32px 22px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
}

/* Decorative glow in the corner */
#how-help .narrow::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto; /* bottom-left in RTL layout */
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(248, 189, 212, 0.35), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

/* List styling inside the card */
#how-help .list {
  list-style: none;
  padding-right: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#how-help .list li {
  position: relative;
  padding-right: 32px;
  font-size: 1.02rem;
  color: #333;
  line-height: 1.9;
}

/* Custom bullet icon */
#how-help .list li::before {
  content: "🌱";
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 1.1rem;
}

/* Note under the list */
#how-help .small-note {
  font-size: 0.85rem;
  color: #888;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #how-help .narrow {
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  #how-help .list li {
    padding-right: 28px;
  }
}


.narrow {
  max-width: 600px;
  margin: 0 auto;
}

/* Videos */

.card-grid.three-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.video-thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #fff;
  transition: color .3s ease, background .3s ease;
}

/* Social / تابعنا */

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(15,23,42,0.12);
  text-decoration: none;
  color: var(--text-dark);
}

.social-link img {
  width: 20px;
  height: 20px;
}

/* Footer */

.site-footer {
  padding: 24px 16px 30px;
  background: #0f172a;
  color: #e5e7eb;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .two-col,
  .events-card {
    grid-template-columns: 1fr;
  }

  .section-floating {
    margin-top: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  body {
    text-align: right;
  }
}

/* ====== YouTube modal ====== */


.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.video-modal.open {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* 16:9 responsive iframe */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 9 / 16 * 100 */
  height: 0;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 14px; /* أعلى يمين (متناسق مع RTL) */
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-close:hover {
  background: rgba(255, 255, 255, 0.1);
}


.video-thumb {
  position: relative;
  cursor: pointer;
}

.video-thumb .play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
}


.video-thumb {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.video-thumb .play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  pointer-events: none; /* clicks go to .video-thumb */
}

.video-thumb:hover .play-icon {
  color: var(--pink);
  background: rgba(0, 0, 0, 0.75); /* nicer hover effect */
}

/* ===================== NEW SECTIONS STYLES ===================== */

/* Intro card text */
.initiative-card {
  position: relative;
  overflow: hidden;
}

.initiative-card::before {
  content: "";
  position: absolute;
  inset: -40px auto auto -60px; /* top-left in RTL */
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(47, 122, 143, 0.18), transparent 70%);
  pointer-events: none;
}

.initiative-text {
  color: #444;
  line-height: 2;
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.initiative-quote {
  margin: 10px 0 0;
  padding: 14px 16px;
  border-right: 4px solid var(--pink);
  background: rgba(248, 189, 212, 0.18);
  border-radius: 14px;
  color: #333;
  line-height: 1.9;
}

.initiative-quote span {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--teal);
}

/* Feature list with custom bullets */
.feature-list {
  list-style: none;
  padding-right: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-right: 34px;
  margin-bottom: 10px;
  line-height: 1.9;
  color: #333;
}

.feature-list li::before {
  content: "🌿";
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 1.05rem;
}

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.audience-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(47, 122, 143, 0.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.audience-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.audience-icon {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.audience-title {
  font-weight: 800;
  color: var(--text-dark);
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.pill {
  background: rgba(47, 122, 143, 0.10);
  border: 1px solid rgba(47, 122, 143, 0.18);
  color: var(--teal);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}

.partner-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(248, 189, 212, 0.8);
  background: rgba(248, 189, 212, 0.10);
  text-align: right;
}

.partner-box strong {
  color: var(--text-dark);
}

/* Mechanisms title */
.mechanism-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 900;
  color: var(--teal);
}

/* Social buttons */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 10px 22px rgba(15,23,42,0.10);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.social-btn:hover {
  transform: translateY(-1px);
  background: var(--teal);
  color: var(--white);
}

/* Dark outline button for gallery actions */
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(26,26,26,0.25);
}

.btn-outline-dark:hover {
  background: rgba(47,122,143,0.08);
  border-color: rgba(47,122,143,0.25);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gallery-item {
  margin: 0;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,0.10);
  border: 1px solid rgba(15,23,42,0.06);
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 0.9rem;
  color: #666;
  text-align: right;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}