/* --- Tombola 2026 --- */
.tombola-card {
  box-shadow: var(--shadow);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2em 1em 1.5em 1em;
  margin-bottom: 2em;
}
.tombola-img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  margin-bottom: 1em;
  box-shadow: 0 2px 12px rgba(28,117,188,0.10);
}
.tombola-title {
  font-size: 2em;
  font-weight: bold;
  color: #d2691e;
  margin-bottom: 0.5em;
}
.tombola-date {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 1em;
}
.tombola-ticket {
  background: #1e90ff;
  color: #fff;
  display: inline-block;
  padding: 0.5em 1.2em;
  border-radius: 8px;
  font-size: 1.2em;
  margin: 1em 0;
}
.tombola-prizes {
  text-align: left;
  max-width: 350px;
  margin: 1em auto 1.2em auto;
  font-size: 1.1em;
}
.tombola-info-mobile {
  margin-top: 1.2em;
  font-size: 0.98em;
  color: #444;
}
@media (max-width: 600px) {
  .tombola-card {
    padding: 0.7em 0.2em 1em 0.2em;
  }
  .tombola-title {
    font-size: 1.3em;
  }
  .tombola-date, .tombola-ticket {
    font-size: 1em;
  }
  .tombola-img {
    max-width: 98vw;
  }
  .tombola-prizes {
    font-size: 1em;
  }
}
/* ========================================
   PWA Franco-Tamouls — Style ancien site
   Header fixe bleu + hamburger mobile
   ======================================== */

:root {
  --blue: #1c75bc;
  --blue-light: #3b96e2;
  --blue-dark: #155d96;
  --gold: #f0c831;
  --gold-dark: #c9a520;
  --green: #2d8a4e;
  --red: #d94130;
  --bg: #e8edf2;
  --bg-transparent: rgba(232, 237, 242, 0.97);
  --bg-card: #ffffff;
  --border: rgba(28, 117, 188, 0.1);
  --text: #1a2332;
  --text-sec: rgba(26, 35, 50, 0.65);
  --text-muted: rgba(26, 35, 50, 0.4);
  --shadow: 0 2px 12px rgba(28, 117, 188, 0.08), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-hover: 0 6px 24px rgba(28, 117, 188, 0.12), 0 2px 6px rgba(0,0,0,0.06);
  --radius: 12px;
  --header-h: 38px;
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ========================================
   DECORATIVE TAMIL BACKGROUND
   Scattered Tamil letters, Thirukkural & cultural symbols
   ======================================== */
#tamilBg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#tamilBg .bg-letter {
  position: absolute;
  left: 0; top: 0;
  font-family: 'Noto Sans Tamil', 'Tamil Sangam MN', 'Latha', sans-serif;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  white-space: nowrap;
}

/* Keep overlays above decorative background */

h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { line-height: 1.6; color: var(--text-sec); }

/* ========================================
   TOP HEADER (fixed blue bar)
   ======================================== */
.top-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--blue);
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  overflow: visible;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.header-logo-wrap {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  top: 19px;
  z-index: 210;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.header-logo {
  width: 56px; height: 56px;
}

.header-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.header-subtitle-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c0392b;
  letter-spacing: 0.02em;
  z-index: 200;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.header-subtitle-bar.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.header-right-mobile {
  color: #fff;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s;
  display: none;
}

.header-right-mobile:hover { opacity: 1; }

/* Desktop nav inside header */
.header-nav {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  padding: 4px 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-link.active { background: rgba(255,255,255,0.2); color: #fff; font-weight: 600; }
.nav-link.external { color: rgba(255,255,255,0.7); font-weight: 400; font-size: 0.78rem; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: show nav, hide hamburger */
@media (min-width: 900px) {
  .hamburger { display: none; }
  .header-nav { display: flex; }
  .header-right-mobile { display: none; }
}

@media (max-width: 899px) {
  .header-nav { display: none; }
  .header-right-mobile { display: block; }
}

/* ========================================
   MOBILE MENU (slide from left)
   ======================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: #fff;
  z-index: 310;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

@media (min-width: 900px) {
  .mobile-menu, .mobile-overlay { display: none !important; }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
  width: 48px; height: 48px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.mobile-menu-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.mobile-menu-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mobile-menu-nav {
  padding: 8px 0;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s;
}

.mobile-link:active,
.mobile-link:hover { background: rgba(28,117,188,0.05); }
.mobile-link.active { color: var(--blue); font-weight: 600; background: rgba(28,117,188,0.06); }
.mobile-link.external { color: var(--text-sec); }
.mobile-link svg { flex-shrink: 0; }

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 16px;
}

/* ========================================
   PAGE LAYOUT
   ======================================== */
.page-container {
  padding-top: var(--header-h);
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  animation: pageIn 0.35s ease;
}

.page.active { display: block; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Page banner (like original site) */
.page-banner {
  background: linear-gradient(135deg, #dce3ec, #e8edf2);
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

.banner-tamil {
  max-width: 900px;
  margin: 6px auto 0;
  font-size: 1.05rem;
  color: var(--blue-light);
  font-style: italic;
}

.content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

/* ========================================
   GLASS CARDS
   ======================================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.card-glow {
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(28,117,188,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(28,117,188,0.25);
  transform: translateY(-1px);
}

.btn-primary:active { transform: scale(0.97); }

.btn-primary.btn-full { width: 100%; padding: 14px; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid rgba(28,117,188,0.2);
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.btn-outline:hover { background: rgba(28,117,188,0.06); border-color: var(--blue); }

/* ========================================
   DASHBOARD
   ======================================== */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card { padding: 28px 24px; }
.hero-card h2 { margin: 12px 0 8px; }
.hero-card .btn-primary { margin-top: 16px; }

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Landing — "Échange culturel & solidarité" */
.glass-card.hero-landing {
  background: var(--bg-card) !important;
  padding: 40px 32px 36px !important;
}
.glass-card.hero-landing .hero-badge {
  background: rgba(28, 117, 188, 0.12);
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 24px;
}
.glass-card.hero-landing .hero-headline {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--blue);
  margin: 22px 0 20px;
  letter-spacing: -0.02em;
}
.glass-card.hero-landing .hero-highlight {
  color: #b5271d;
}
.glass-card.hero-landing .hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #4a3728;
  max-width: 480px;
  margin: 0 0 26px;
}
.glass-card.hero-landing .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.glass-card.hero-landing .hero-actions .btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 479px) {
  .glass-card.hero-landing { padding: 28px 20px 28px !important; }
  .glass-card.hero-landing .hero-headline { font-size: 2.1rem; }
  .glass-card.hero-landing .hero-subtitle { font-size: 0.92rem; }
  .glass-card.hero-landing .hero-actions { flex-direction: column; }
  .glass-card.hero-landing .hero-actions .btn-primary,
  .glass-card.hero-landing .hero-actions .btn-outline { width: 100%; text-align: center; }
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card { text-align: center; padding: 16px 8px; }
.stat-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.stat-value { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.section-title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; padding-left: 4px; }

/* Activities grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.activity-card { text-align: center; padding: 16px 10px; }
.activity-card h4 { font-size: 0.8rem; margin-top: 8px; margin-bottom: 4px; }
.activity-card p { font-size: 0.7rem; color: var(--text-muted); }

.activity-icon, .about-activity-icon, .contact-info-icon, .more-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.blue-bg  { background: rgba(28,117,188,0.1); color: var(--blue); }
.gold-bg  { background: rgba(240,200,49,0.12); color: var(--gold-dark); }
.green-bg { background: rgba(45,138,78,0.1); color: var(--green); }
.red-bg   { background: rgba(217,65,48,0.1); color: var(--red); }

/* Announce */
.announce-card h3 { margin: 12px 0 8px; }
.announce-card .btn-primary { margin-top: 16px; }
.announce-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(217,65,48,0.1);
  color: var(--red);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* Notif CTA */
.notif-cta-card { display: flex; align-items: center; gap: 14px; }
.notif-cta-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(240,200,49,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.notif-cta-card h4 { margin-bottom: 2px; }
.notif-cta-card p { font-size: 0.8rem; margin: 0; }
.notif-cta-card .btn-outline { margin-left: auto; }

/* Social */
.social-card { text-align: center; }
.social-card h4 { margin-bottom: 12px; }
.social-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: transform 0.2s;
}
.social-btn:active { transform: scale(0.96); }
.social-btn.facebook { background: rgba(24,119,242,0.1); color: #1877f2; }
.social-btn.youtube { background: rgba(255,0,0,0.08); color: #ff0000; }
.social-btn.notif-btn { background: rgba(28,117,188,0.1); color: var(--blue); border: none; cursor: pointer; font-family: inherit; }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content { display: flex; flex-direction: column; gap: 14px; }
.about-content .glass-card h2 { margin-bottom: 10px; }
.about-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.about-section-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(28,117,188,0.1); color: var(--blue);
}
.about-section-header h2 { margin-bottom: 0; }

/* Portrait fondatrice en arriere-plan */
.fondatrice-bg {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}
.fondatrice-bg-img {
  width: 100%;
  display: block;
  border-radius: 14px 14px 0 0;
}
.fondatrice-overlay {
  padding: 16px 20px;
  background: rgba(28,117,188,0.92);
  border-radius: 0 0 14px 14px;
}
.fondatrice-caption {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 12px;
}
.fondatrice-desc {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.about-quote {
  margin-top: 14px; padding: 14px 18px; border-left: 4px solid var(--gold);
  background: rgba(240,200,49,0.06); border-radius: 0 10px 10px 0;
  font-style: italic; font-size: 0.92rem; line-height: 1.6;
}
.about-activity { display: flex; align-items: flex-start; gap: 14px; }
.about-activity h4 { margin-bottom: 4px; }
.about-activity p { font-size: 0.88rem; }
.about-solidarity-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.about-solidarity-item { display: flex; align-items: flex-start; gap: 12px; }
.about-solidarity-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(45,138,78,0.1); color: var(--green);
}
.about-solidarity-item h4 { margin-bottom: 3px; font-size: 0.92rem; }
.about-solidarity-item p { font-size: 0.85rem; color: var(--text-sec); }
/* About timeline */
.about-timeline {
  position: relative; display: flex; flex-direction: column; gap: 0;
  padding-left: 28px;
}
.about-timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--blue), var(--gold), var(--green));
  border-radius: 3px;
}
.timeline-item {
  position: relative; margin-bottom: 14px; margin-left: 20px;
}
.timeline-marker {
  position: absolute; left: -36px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,117,188,0.1); color: var(--blue);
  border: 3px solid var(--bg-card); z-index: 1;
}
.timeline-date {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--blue); margin-bottom: 4px;
}
.timeline-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.85rem; line-height: 1.55; color: var(--text-sec); }
.timeline-list {
  margin: 10px 0 0 18px; padding: 0;
  font-size: 0.84rem; line-height: 1.6; color: var(--text-sec);
}
.timeline-list li { margin-bottom: 4px; }

/* About class cards (Tamoulcholai programme) */
.about-classes-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 6px;
}
@media (min-width: 600px) {
  .about-classes-grid { grid-template-columns: repeat(3, 1fr); }
}
.about-class-card {
  padding: 14px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid rgba(0,0,0,0.06);
}
.about-class-level {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 8px;
}
.about-class-card h4 { font-size: 1rem; margin-bottom: 6px; }
.about-class-card p { font-size: 0.82rem; color: var(--text-sec); line-height: 1.5; }

.about-member-card {
  border: 1px solid rgba(28,117,188,0.2);
  background: linear-gradient(135deg, rgba(28,117,188,0.03), rgba(28,117,188,0.08));
}

/* Activity detail pages */
.activity-detail-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.activity-detail-item { display: flex; align-items: flex-start; gap: 14px; }
.activity-detail-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.activity-detail-item p { font-size: 0.85rem; color: var(--text-sec); }
.activity-detail-icon { min-width: 40px; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.activity-info-list { list-style: none; padding: 0; margin: 8px 0 0; }
.activity-info-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.activity-info-list li:last-child { border-bottom: none; }
.activity-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); transition: transform 0.2s, box-shadow 0.2s; }

/* ========================================
   FEED
   ======================================== */
.feed-list { display: flex; flex-direction: column; gap: 20px; }
.feed-card { padding: 0; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.feed-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(28,117,188,0.15), 0 2px 8px rgba(0,0,0,0.06); }
.feed-card-image {
  width: 100%; max-height: 360px;
  display: flex; align-items: flex-start; justify-content: center;
  position: relative; overflow: hidden;
}
.feed-card-image.has-img { cursor: pointer; }
.feed-card-image.has-img img {
  width: 100%; display: block;
  object-fit: contain; object-position: top;
  transition: transform 0.4s;
}
.feed-card-image.has-img.tall-img {
  height: 360px; max-height: 360px;
}
.feed-card-image.has-img.tall-img img {
  object-fit: cover;
  width: 100%; height: 100%;
  animation: panImage 10s ease-in-out infinite alternate;
}
@keyframes panImage {
  0%   { object-position: center top; }
  100% { object-position: center bottom; }
}
.feed-card-image.has-img:hover img { animation-play-state: paused; transform: scale(1.03); }

/* ---- Hero Slider (Diaporama) ---- */
.hero-slider {
  position: relative; border-radius: 16px; overflow: hidden;
  margin-bottom: 16px; background: #000; box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero-slider-track {
  position: relative; width: 100%; height: 400px;
}
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero-slide.active img {
  transform: scale(1.08);
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.25) 100%);
  display: flex; padding: 32px 28px;
}
/* Caption container */
.hero-slide-caption {
  color: #fff; text-align: center; max-width: 80%;
  text-shadow: 0 3px 16px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0;
}
.hero-slide.active .hero-slide-caption { opacity: 1; }
.caption-fr {
  font-weight: 900; line-height: 1.2; margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.caption-ta {
  font-weight: 700; line-height: 1.3; opacity: 0.9;
  font-style: italic;
}
/* Diverse animation styles */
.hero-slide.active .hero-slide-caption.slide-up {
  animation: captionSlideUp 0.9s ease 0.3s both;
}
.hero-slide.active .hero-slide-caption.slide-left {
  animation: captionSlideLeft 0.9s ease 0.3s both;
}
.hero-slide.active .hero-slide-caption.slide-right {
  animation: captionSlideRight 0.9s ease 0.3s both;
}
.hero-slide.active .hero-slide-caption.zoom-in {
  animation: captionZoomIn 0.9s ease 0.3s both;
}
.hero-slide.active .hero-slide-caption.fade-drop {
  animation: captionFadeDrop 1s ease 0.3s both;
}
@keyframes captionSlideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes captionSlideLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes captionSlideRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes captionZoomIn {
  0% { opacity: 0; transform: scale(0.5); }
  60% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes captionFadeDrop {
  0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Navigation */
.hero-slider-nav {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  z-index: 5;
}
.hero-slider-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8);
  background: transparent; cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }
.hero-arrow {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background 0.3s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-slider-title {
  padding: 12px 16px; background: var(--bg-card);
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}
@media (max-width: 600px) {
  .hero-slider-track { height: 280px; }
  .caption-fr, .caption-ta { font-size: 1.1rem !important; }
  .hero-slide-overlay { padding: 20px 16px; }
  .hero-arrow { width: 30px; height: 30px; font-size: 0.9rem; }
}

/* Multi-image flash slideshow */
.feed-slideshow { position: relative; width: 100%; height: 100%; }
.feed-slideshow .feed-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
}
.feed-slideshow .feed-slide.active {
  opacity: 1; transform: scale(1);
  animation: flashSlide 0.6s ease;
}
@keyframes flashSlide {
  0%   { opacity: 0; transform: scale(1.08); filter: brightness(1.8); }
  30%  { opacity: 1; filter: brightness(1.3); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
.feed-card-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}
.feed-card-image svg { color: rgba(28,117,188,0.15); }

/* Date badge overlay on event images */
.feed-card-image.has-date-badge { min-height: 90px; }
.feed-card-date-badge {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
  color: #fff; text-align: center;
  padding: 10px 16px; border-radius: 10px;
  pointer-events: none;
  line-height: 1;
}
.feed-card-date-badge.date-upcoming {
  background: linear-gradient(135deg, #1c75bc, #3b96e2);
  box-shadow: 0 4px 16px rgba(28,117,188,0.4);
}
.feed-card-date-badge.date-past {
  background: linear-gradient(135deg, #8a95a5, #6b7685);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.feed-card-date-badge .date-day {
  display: block; font-size: 1.8rem; font-weight: 800; line-height: 1;
}
.feed-card-date-badge .date-month {
  display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; margin-top: 2px;
}
.feed-card-date-badge .date-status {
  display: block; font-size: 0.5rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-top: 4px; opacity: 0.85;
}
.feed-card.event-past { opacity: 0.7; }
.feed-card.event-past:hover { opacity: 1; }
.feed-card-body { padding: 18px 20px 20px; }
.feed-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.feed-card-date { font-size: 0.75rem; color: var(--text-muted); }
.feed-card-tag {
  font-size: 0.65rem; padding: 3px 10px; border-radius: 20px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.feed-card-tag.event { background: rgba(28,117,188,0.1); color: var(--blue); }
.feed-card-tag.news  { background: rgba(45,138,78,0.1); color: var(--green); }
.feed-card-tag.offer { background: rgba(240,200,49,0.12); color: var(--gold-dark); }
.feed-card-tag.slider { background: rgba(156,39,176,0.1); color: #9c27b0; }
.feed-card-body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.feed-card-excerpt { font-size: 0.88rem; line-height: 1.65; white-space: pre-line; }
.feed-card-location {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.82rem; color: var(--blue); margin-bottom: 8px;
  padding: 4px 10px; background: rgba(28,117,188,0.06); border-radius: 6px;
}
.feed-card-location svg { flex-shrink: 0; }

/* Share buttons */
.feed-card-share {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.feed-share-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-right: 4px; }
.feed-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feed-share-btn:hover { transform: scale(1.15); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.feed-share-btn.facebook { background: rgba(24,119,242,0.1); color: #1877f2; }
.feed-share-btn.whatsapp { background: rgba(37,211,102,0.1); color: #25d366; }
.feed-share-btn.twitter { background: rgba(0,0,0,0.06); color: #000; }
.feed-share-btn.native { background: rgba(28,117,188,0.1); color: var(--blue); }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
/* Cadre lightbox avec bordure arrondie */
.lightbox-frame {
  position: relative;
  border-radius: 40px 10px 10px 10px;
  overflow: hidden;
  border: 4px solid var(--blue-light);
  background: var(--blue-light);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  animation: lightboxIn 0.3s ease;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: calc(90vh - 36px);
  cursor: default;
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}
.lightbox-watermark {
  display: block;
  padding: 8px 16px;
  background: var(--blue-light);
  color: #fff;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}
/* Overlay anti-clic sur l'image */
.lightbox-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 36px;
  z-index: 1;
  background: transparent;
}
@keyframes lightboxIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  background: none; border: none;
  color: #fff; font-size: 2.5rem;
  cursor: pointer; line-height: 1;
  opacity: 0.8; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

@media (min-width: 600px) {
  .feed-card-image { max-height: 400px; }
}

/* Pinned article badge */
.feed-card-pinned {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(217,65,48,0.92); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

/* Featured article on homepage */
.featured-article { padding: 0; overflow: hidden; cursor: pointer; }
.featured-article-image {
  width: 100%; height: 280px; overflow: hidden; position: relative;
}
.featured-article-image img {
  width: 100%; display: block; object-fit: cover; object-position: center;
  transition: transform 0.4s;
}
.featured-article:hover .featured-article-image img { transform: scale(1.03); }
.featured-article-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none; z-index: 3;
}

/* Flash slider strips */
.flash-slider {
  position: relative; width: 100%; height: 100%;
}
.flash-strip {
  position: absolute; left: 0; width: 100%; overflow: hidden;
  opacity: 0;
  animation: flashIn 1.2s ease forwards;
}
.flash-strip img {
  position: absolute; left: 0; width: 100%;
  object-fit: cover;
}
@keyframes flashIn {
  0%   { opacity: 0; transform: scaleY(0.3); }
  40%  { opacity: 1; transform: scaleY(1.05); }
  60%  { opacity: 0.7; transform: scaleY(0.95); }
  100% { opacity: 1; transform: scaleY(1); }
}
/* Pan the assembled image after flash reveal */
.flash-slider.revealed .flash-strip {
  animation: none; opacity: 1;
}
.flash-slider.panning .flash-strip img {
  animation: panFeatured 12s ease-in-out infinite alternate;
}
@keyframes panFeatured {
  0%   { object-position: center top; }
  100% { object-position: center bottom; }
}
.featured-article-body { padding: 16px 20px 20px; }
.featured-article-body .announce-tag { margin-bottom: 8px; }
.featured-article-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.featured-article-body p { font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.featured-meta .feed-card-tag { font-size: 0.6rem; }
.featured-meta .feed-card-date { font-size: 0.72rem; }
.featured-meta .feed-card-location { font-size: 0.75rem; margin-bottom: 0; }

/* Multi-pinned rotation */
#featuredArticle { position: relative; }
.featured-rotate-item {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.featured-rotate-item.featured-active {
  display: block;
  opacity: 1;
}
.featured-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.featured-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.featured-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ========================================
   CONTACT
   ======================================== */
.contact-content { display: flex; flex-direction: column; gap: 16px; }
.contact-info-grid { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card { display: flex; align-items: center; gap: 14px; }
.contact-info-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.contact-info-value { font-size: 0.9rem; color: var(--blue); text-decoration: none; font-weight: 500; }
a.contact-info-value:hover { text-decoration: underline; }

.contact-form { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-sec); }
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28,117,188,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-success { text-align: center; padding: 32px 24px; }
.success-icon { color: var(--green); margin-bottom: 16px; }

/* ========================================
   NOTIFICATIONS
   ======================================== */
.notif-container { max-width: 440px; margin: 0 auto; }
.notif-main-card { text-align: center; padding: 32px 24px; }
.notif-hero-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; margin-bottom: 20px;
  color: var(--blue);
}
.notif-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(28,117,188,0.2); }
.notif-ring.ring-1 { width: 100%; height: 100%; animation: pulse-ring 2.5s ease-out infinite; }
.notif-ring.ring-2 { width: 130%; height: 130%; animation: pulse-ring 2.5s ease-out infinite 0.4s; }
.notif-ring.ring-3 { width: 160%; height: 160%; animation: pulse-ring 2.5s ease-out infinite 0.8s; }
@keyframes pulse-ring { 0% { opacity: 0.6; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.2); } }

.notif-main-card h2 { margin-bottom: 12px; }
.notif-desc { font-size: 0.9rem; margin-bottom: 24px; }
.notif-benefits { list-style: none; text-align: left; margin-bottom: 28px; }
.notif-benefits li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text-sec); font-size: 0.88rem; }
.benefit-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(45,138,78,0.12); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.notif-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 12px; }
.denied-icon { color: var(--red); margin-bottom: 16px; }
.notif-steps { text-align: left; padding-left: 20px; margin-top: 16px; }
.notif-steps li { color: var(--text-sec); font-size: 0.88rem; padding: 4px 0; }

/* ========================================
   LEGAL
   ======================================== */
.legal-content { display: flex; flex-direction: column; gap: 12px; }
.legal-content .glass-card h3 { color: var(--blue); margin-bottom: 10px; font-size: 1rem; }
.legal-content .glass-card p { font-size: 0.88rem; }
.legal-list { list-style: none; margin-top: 10px; }
.legal-list li { padding: 4px 0; font-size: 0.88rem; color: var(--text-sec); }

/* ========================================
   404
   ======================================== */
.not-found-container {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; padding: 20px;
}
.not-found-card { text-align: center; padding: 40px 24px; }
.not-found-code {
  font-size: 5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 12px;
}
.not-found-card h2 { margin-bottom: 8px; }
.not-found-card .btn-primary { margin-top: 24px; }

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-icon { color: var(--text-muted); margin-bottom: 16px; }
.empty-state h3 { color: var(--text-sec); margin-bottom: 8px; }
.empty-state p { font-size: 0.88rem; color: var(--text-muted); }

/* ========================================
   FOOTER
   ======================================== */
.app-footer {
  background: var(--blue);
  color: #fff;
  padding: 20px 16px;
  text-align: center;
}

.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-name { font-weight: 600; font-size: 0.85rem; color: #fff; margin-bottom: 4px; }
.footer-detail { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

.footer-links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,0.3); margin: 0 8px; font-size: 0.78rem; }

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ========================================
   RGPD BANNER
   ======================================== */
.rgpd-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(26, 35, 50, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 500;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.rgpd-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.rgpd-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.rgpd-text {
  flex: 1;
}

.rgpd-text p {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.rgpd-text p:first-child {
  margin-bottom: 4px;
}

.rgpd-text strong {
  color: #fff;
}

.rgpd-text a {
  color: var(--gold);
  text-decoration: underline;
}

.rgpd-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.rgpd-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.rgpd-btn:active { transform: scale(0.96); }

.rgpd-btn.accept {
  background: var(--green);
  color: #fff;
}

.rgpd-btn.accept:hover { opacity: 0.9; }

.rgpd-btn.refuse {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}

.rgpd-btn.refuse:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.rgpd-btn.details {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(240,200,49,0.3);
  font-size: 0.78rem;
  padding: 8px 14px;
}

.rgpd-btn.details:hover { border-color: var(--gold); }

.rgpd-details {
  margin: 8px 0 4px 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  line-height: 1.7;
  list-style: disc;
}

.rgpd-details strong { color: rgba(255,255,255,0.9); }

/* RGPD consent checkbox in contact form */
.rgpd-consent-group { margin-top: 4px; }
.rgpd-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.rgpd-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.rgpd-checkbox-label a { color: var(--blue); }

/* Video blocked placeholder */
.video-blocked {
  flex: 0 0 260px;
  height: 180px;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-align: center;
  padding: 12px;
}
.video-blocked button {
  margin-top: 4px;
  padding: 6px 14px;
  border: 1px solid var(--blue);
  background: none;
  color: var(--blue);
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
}
.video-blocked button:hover { background: var(--blue); color: #fff; }

@media (max-width: 600px) {
  .rgpd-inner { flex-direction: column; gap: 12px; }
  .rgpd-actions { width: 100%; flex-wrap: wrap; }
  .rgpd-btn { flex: 1; }
  .video-blocked { flex: 0 0 160px; height: 110px; font-size: 0.72rem; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-in { opacity: 0; transform: translateY(16px); animation: slideUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.hidden { display: none !important; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 480px) {
  .content-area { padding: 24px 24px 32px; }
}

@media (min-width: 600px) {
  .contact-info-grid { flex-direction: row; gap: 12px; }
  .contact-info-card { flex: 1; flex-direction: column; text-align: center; padding: 20px 12px; }
}

@media (max-width: 479px) {
  .form-row { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-row { gap: 8px; }
}

/* ========================================
   GALLERY CAROUSEL
   ======================================== */
.gallery-carousel-card { padding: 12px 8px; }

.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-track {
  display: flex;
  gap: 8px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.gallery-thumb {
  flex: 0 0 340px;
  height: 230px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(28,117,188,0.2);
  border-color: var(--blue-light);
}

.gallery-arrow {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
  line-height: 1;
}

.gallery-arrow:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

@media (max-width: 479px) {
  .gallery-track { gap: 0; }
  .gallery-thumb { flex: 0 0 calc(100vw - 90px); height: 220px; border-radius: 6px; }
  .gallery-arrow { flex: 0 0 28px; width: 28px; height: 28px; font-size: 1rem; }
}

/* ========================================
   VIDEO IN GALLERY CAROUSEL
   ======================================== */
/* Video preview in photo carousel */
.gallery-video-thumb {
  position: relative;
  flex: 0 0 400px;
  height: 230px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #000;
}

.gallery-video-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255,0,0,0.25);
  border-color: #ff0000;
}

.gallery-video-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

/* Clickable overlay on video thumb */
.gallery-video-thumb .video-click-zone {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* Play icon overlay (bottom-right) */
.video-thumb-play-mini {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(255,0,0,0.9);
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-thumb-play-mini::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

/* Video player overlay */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-overlay iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
}

.video-overlay-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 2001;
}

@media (max-width: 479px) {
  .gallery-video-thumb { flex: 0 0 calc(100vw - 90px); height: 220px; }
  .video-thumb-play-mini { width: 20px; height: 20px; }
  .video-thumb-play-mini::after { border-width: 3px 0 3px 6px; }
}

/* ========================================
   PROTECTION DES IMAGES
   ======================================== */
/* Protection globale sur toutes les images du site */
img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(28,117,188,0.15); border-radius: 3px; }
::selection { background: rgba(28,117,188,0.2); }

/* === YouTube Playlist HERO Slider === */
.yt-hero-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-hero-pl-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 0;
}
.yt-hero-pl-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted, #555);
}
.yt-hero-pl-select {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid rgba(28,117,188,.25);
  border-radius: 6px;
  background: #fff;
  color: var(--text, #1a1a2e);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  max-width: 320px;
}
.yt-hero-pl-select:focus { outline: 2px solid var(--blue, #1c75bc); outline-offset: 1px; }

.yt-hero-stage {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.yt-hero-viewport {
  position: absolute;
  inset: 0;
}

.yt-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.yt-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.yt-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-hero-slide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-hero-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.yt-hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 0, 0, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
  transition: transform .2s, background .2s;
  z-index: 2;
  pointer-events: none;
}
.yt-hero-stage:hover .yt-hero-play { transform: translate(-50%, -50%) scale(1.08); background: #ff0000; }

.yt-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.yt-hero-arrow:hover { background: rgba(0, 0, 0, .85); transform: translateY(-50%) scale(1.05); }
.yt-hero-arrow-left { left: 10px; }
.yt-hero-arrow-right { right: 10px; }

.yt-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px;
}
.yt-hero-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue, #1c75bc);
  flex: 1;
  line-height: 1.35;
}
.yt-hero-counter {
  font-size: .75rem;
  color: var(--text-muted, #888);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.yt-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 2px 4px;
}
.yt-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 117, 188, .25);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.yt-hero-dot.active { background: var(--blue, #1c75bc); transform: scale(1.3); }
.yt-hero-dot:hover { background: rgba(28, 117, 188, .55); }

.yt-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0 2px;
}
.btn-yt-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  background: #ff0000;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-yt-watch:hover { background: #cc0000; transform: translateY(-1px); }

@media (max-width: 600px) {
  .yt-hero-card { padding: 10px; }
  .yt-hero-arrow { width: 36px; height: 36px; font-size: 20px; }
  .yt-hero-play { width: 60px; height: 60px; }
  .yt-hero-title { font-size: .9rem; }
}

/* === YouTube Playlist Slider === */
.yt-slider-wrap { padding: 10px 8px 14px; }

.yt-slider-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.yt-track-wrapper { overflow: hidden; flex: 1; }

.yt-slider-track {
  display: flex;
  gap: 8px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.yt-card-item {
  flex: 0 0 212px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text, #1a1a2e);
  background: #fff;
  border: 1px solid rgba(28,117,188,.15);
  box-shadow: var(--shadow);
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.yt-card-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.yt-card-thumb {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #000;
}

.yt-card-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: opacity .3s;
}

.yt-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .2s;
}
.yt-card-item:hover .yt-play-overlay { opacity: 1; }
.yt-play-overlay::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border: 14px solid transparent;
  border-left: 24px solid #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.5));
}

.yt-card-title {
  padding: 6px 8px 8px;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.yt-slider-footer { display: flex; justify-content: flex-end; margin-top: 10px; }
.btn-fb-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: #1877f2;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-fb-share:hover { background: #1558b0; transform: translateY(-1px); }

@media (max-width: 479px) {
  .yt-card-item { flex: 0 0 calc(100vw - 90px); }
  .yt-card-thumb { height: 170px; }
  .yt-card-item img { height: 170px; }
}

/* ===== QR CODE MODAL ===== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qr-modal.hidden { display: none; }
.qr-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 40, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.qr-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: qrModalIn 0.22s ease-out;
}
@keyframes qrModalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.qr-modal-content h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1c75bc;
  font-weight: 700;
}
.qr-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  color: #777;
  cursor: pointer;
  width: 36px;
  height: 36px;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-modal-close:hover { background: #f2f2f2; color: #333; }
.qr-modal-canvas {
  display: flex;
  justify-content: center;
  margin: 0 auto 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  width: 240px;
  height: 240px;
  box-sizing: border-box;
}
.qr-modal-canvas canvas,
.qr-modal-canvas img,
.qr-modal-canvas svg { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-modal-url {
  font-size: 13px;
  color: #1c75bc;
  font-weight: 600;
  margin: 0 0 8px;
  word-break: break-all;
}
.qr-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 4px 0 12px;
}
.qr-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1c75bc;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.qr-dl-btn:hover { background: #155d96; }
.qr-modal-hint {
  font-size: 12px;
  color: rgba(26,35,50,.65);
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   FEED — Vue article seul + bouton QR partage
   ============================================ */
.feed-single { margin-bottom: 24px; }
.feed-single.hidden { display: none; }
.feed-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin-bottom: 14px;
  background: rgba(28,117,188,0.08);
  border: 1px solid rgba(28,117,188,0.2);
  color: #1c75bc;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.feed-back-btn:hover {
  background: rgba(28,117,188,0.16);
  transform: translateX(-2px);
}
.feed-single .feed-card {
  /* Article seul = plus large, plus aéré */
  max-width: 100%;
}
.feed-single .feed-card-excerpt {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.65;
}

.feed-share-btn.qrcode {
  background: #1a2332;
  color: #fff;
}
.feed-share-btn.qrcode:hover { background: #2a3548; }

/* ============================================
   CUISINE TAMOULE — Filtres, plats et recettes
   ============================================ */

.cuisine-filters h3 {
  margin: 0 0 14px 0;
}
.cuisine-filters .filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cuisine-filters .filter-group label {
  font-weight: 600;
  color: var(--text-sec);
  margin-right: 6px;
  min-width: 70px;
  font-size: 0.9rem;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(28, 117, 188, 0.2);
  color: var(--text-sec);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue), #2a8fd4);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 3px 10px rgba(28, 117, 188, 0.25);
}
.cuisine-count {
  margin: 10px 0 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Grille des plats */
.cuisine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 4px;
}
@media (min-width: 640px) {
  .cuisine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cuisine-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Carte plat */
.dish-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 117, 188, 0.14);
}
.dish-emoji {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  align-self: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.7);
}
.dish-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  align-self: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: rgba(28, 117, 188, 0.05);
  display: block;
}
.dish-card h4 {
  margin: 6px 0 0 0;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text);
}
.dish-card .dish-tamil {
  display: inline-block;
  margin-left: 6px;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  font-family: "Noto Sans Tamil", "Latha", sans-serif;
}
.dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.dish-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.dish-tag.tag-tn { background: rgba(28, 117, 188, 0.15); color: var(--blue); }
.dish-tag.tag-sl { background: rgba(217, 65, 48, 0.15); color: var(--red); }
.dish-tag.tag-veg { background: rgba(45, 138, 78, 0.15); color: var(--green); }
.dish-tag.tag-nonveg { background: rgba(210, 105, 30, 0.18); color: #b75817; }

/* Bandeau d'indicateurs gustatifs */
.dish-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 6px 0;
  border-top: 1px dashed rgba(28, 117, 188, 0.12);
  border-bottom: 1px dashed rgba(28, 117, 188, 0.12);
}
.dish-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.9), rgba(255, 235, 200, 0.7));
  border: 1px solid rgba(240, 200, 49, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  cursor: help;
  transition: transform 0.15s ease;
}
.dish-indicator:hover {
  transform: translateY(-1px);
}
.dish-ind-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.dish-ind-label {
  color: var(--text-sec);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Légende des indicateurs (collapsible) */
.indicators-legend {
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.6), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(240, 200, 49, 0.3);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}
.indicators-legend > summary {
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
.indicators-legend > summary:hover {
  background: rgba(240, 200, 49, 0.08);
}
.indicators-legend > summary::-webkit-details-marker { display: none; }
.indicators-legend > summary::after {
  content: '▾';
  font-size: 0.9rem;
  color: var(--text-sec);
  transition: transform 0.2s;
}
.indicators-legend[open] > summary::after {
  transform: rotate(180deg);
}
.legend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 4px 14px 14px;
}
@media (min-width: 720px) {
  .legend-grid { grid-template-columns: 1fr 1fr; }
}
.legend-section h4 {
  font-size: 0.85rem;
  color: var(--blue);
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(28, 117, 188, 0.15);
}
.legend-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legend-section li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
  color: var(--text-sec);
  line-height: 1.4;
}
.legend-section li strong {
  color: var(--text);
  font-weight: 600;
}
.leg-icon {
  flex-shrink: 0;
  font-size: 1rem;
  min-width: 40px;
  display: inline-block;
}
.dish-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.5;
  margin: 0;
}
.dish-ingredients {
  font-size: 0.82rem;
  color: var(--text-sec);
  background: rgba(240, 200, 49, 0.08);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1.45;
}
.dish-ingredients strong { color: var(--text); }
.dish-card .btn-recipe {
  margin-top: auto;
  align-self: stretch;
  font-size: 0.85rem;
}

/* ===== Recipe modal ===== */
.recipe-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.recipe-modal.hidden { display: none; }
.recipe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 40, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.recipe-modal-content {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: recipeModalIn 0.25s ease-out;
}
@keyframes recipeModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.recipe-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 117, 188, 0.1);
  color: var(--blue);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.recipe-modal-close:hover { background: rgba(28, 117, 188, 0.2); }
.recipe-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(28, 117, 188, 0.12);
}
.recipe-emoji {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c831, #e89a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232, 154, 58, 0.3);
}
.recipe-header h2 {
  margin: 0 0 6px 0;
  font-size: 1.4rem;
  color: var(--text);
}
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-sec);
}
.recipe-meta span {
  background: rgba(28, 117, 188, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}
.recipe-modal-content h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin: 18px 0 10px 0;
}
.recipe-ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 540px) {
  .recipe-ingredients-list { grid-template-columns: 1fr 1fr; }
}
.recipe-ingredients-list li {
  background: rgba(240, 200, 49, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text);
  border-left: 3px solid var(--gold);
}
.recipe-qty {
  display: inline-block;
  font-weight: 700;
  color: var(--blue);
  margin-right: 6px;
}
.recipe-ing-name { color: var(--text-sec); }
.recipe-steps-list {
  padding-left: 24px;
  margin: 0;
}
.recipe-steps-list li {
  padding: 6px 0 10px 6px;
  color: var(--text);
  line-height: 1.55;
  font-size: 0.92rem;
}
.recipe-steps-list li::marker {
  color: var(--blue);
  font-weight: 700;
}
