/* ============================================
   MY DISTRICT FOR CHRIST – Main Stylesheet
   Campaign brand: #F07B10 (SDA Orange), #1A1A1A, #FFFFFF
   ============================================ */

:root {
  --orange: #F07B10;
  --orange-dark: #C25F00;
  --orange-light: #FFF0DE;
  --black: #1A1A1A;
  --dark-2: #2C2C2C;
  --dark-3: #3D3D3D;
  --gray-mid: #888;
  --gray-light: #F5F5F0;
  --white: #FFFFFF;
  --text-body: #333333;
  --border: #E0DDD8;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1160px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 2px solid var(--orange);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 60px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.nav-active {
  color: var(--orange) !important;
  background: rgba(240,123,16,0.15) !important;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-social {
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-social:hover { color: var(--white); background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }

/* Language toggle button */
.btn-lang {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.btn-lang:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--orange);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #F07B10 0%, #C25F00 100%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 36px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  background: rgba(0,0,0,0.2);
  padding: 5px 14px;
  border-radius: 100px;
}

.hero-campaign-logo {
  max-width: 480px;
  width: 80%;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-title em { font-style: italic; font-weight: 700; }
.hero-title strong { display: block; font-size: 1.4em; font-style: normal; }

.hero-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 12px;
}

.hero-mission {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover { background: var(--dark-2); border-color: var(--dark-2); text-decoration: none; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); text-decoration: none; color: var(--white); }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

.hero-dates {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.date-badge {
  background: rgba(0,0,0,0.25);
  padding: 4px 14px;
  border-radius: 100px;
  font-weight: 600;
}
.date-sep { opacity: 0.5; }

.hero-scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block; width: 20px; height: 32px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 80% { opacity: 0; transform: translateX(-50%) translateY(12px); } 100% { opacity: 0; } }

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--black);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-align: center;
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-intro {
  font-size: 17px;
  color: #555;
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: #444; margin-bottom: 16px; line-height: 1.8; }
.about-text strong { color: var(--black); }
.about-vision {
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  margin-top: 28px;
  background: var(--orange-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-vision p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--orange-dark);
  margin-bottom: 8px !important;
}
.about-vision cite { font-size: 13px; color: #666; font-style: normal; }

.about-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--orange);
}
.banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.banner-overlay-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(240,123,16,0.7), rgba(194,95,0,0.9));
  padding: 24px;
}
.banner-overlay-text span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
}
.banner-fallback .banner-overlay-text { position: static; }

/* ============ SCHEDULE ============ */
.schedule-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.schedule-filter, .schedule-search {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  color: var(--text-body);
  outline: none;
  transition: border-color var(--transition);
}
.schedule-filter { min-width: 180px; }
.schedule-search { flex: 1; min-width: 240px; }
.schedule-filter:focus, .schedule-search:focus { border-color: var(--orange); }

.schedule-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}
.schedule-table thead {
  background: var(--black);
  color: var(--white);
}
.schedule-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--orange-light); }

.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #DC2626; color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.live-badge::before { content: ''; display: block; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.stream-link { color: var(--orange-dark); font-weight: 600; font-size: 13px; }

.schedule-note { font-size: 13px; color: var(--gray-mid); margin-top: 16px; }
.schedule-note a { color: var(--orange-dark); }
.loading-row td { text-align: center; padding: 40px; color: var(--gray-mid); }

/* ============ LIVESTREAM ============ */
.live-indicator {
  background: #DC2626;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.live-dot {
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stream-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.stream-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange); }

.stream-card-thumb {
  background: var(--black);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.stream-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
}
.play-overlay svg { color: white; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.stream-card-info { padding: 14px 16px; }
.stream-card-title { font-weight: 600; font-size: 14px; color: var(--black); margin-bottom: 4px; }
.stream-card-meta { font-size: 12px; color: var(--gray-mid); }

.stream-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-mid);
}
.stream-thumb {
  width: 80px; height: 80px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #bbb;
}
.stream-thumb span { display: none; }
.stream-placeholder p { max-width: 400px; margin: 0 auto; font-size: 15px; }
.stream-placeholder p a { color: var(--orange-dark); }

.stream-embed-wrap {
  margin-bottom: 32px;
  text-align: center;
}
.stream-embed-container {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  margin-bottom: 12px;
}
.stream-embed-container iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.social-stream-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.social-link-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-body);
  flex: 1; min-width: 220px;
  transition: all var(--transition);
}
.social-link-card:hover { border-color: var(--orange); background: var(--orange-light); text-decoration: none; }
.social-link-card svg { color: var(--orange); flex-shrink: 0; }
.social-link-card strong { display: block; color: var(--black); font-size: 15px; }
.social-link-card span { font-size: 13px; color: var(--gray-mid); }

/* ============ PREACHERS ============ */
.preachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.preacher-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.preacher-card:hover { box-shadow: var(--shadow-md); }
.preacher-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.preacher-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.preacher-name { font-weight: 600; font-size: 15px; color: var(--black); margin-bottom: 4px; }
.preacher-origin { font-size: 12px; color: var(--gray-mid); margin-bottom: 8px; }
.preacher-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-intl { background: #EFF6FF; color: #1D4ED8; }
.tag-local { background: var(--orange-light); color: var(--orange-dark); }

.preacher-loading { grid-column: 1/-1; text-align: center; color: var(--gray-mid); padding: 40px; }

/* ============ FORMS ============ */
.two-col-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.campaign-form { margin-top: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
}
.optional { color: var(--gray-mid); font-weight: 400; }
.required { color: #DC2626; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--orange); }
.form-check label { font-size: 14px; color: #555; font-weight: 400; }

.btn-primary.btn-form {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-primary.btn-form:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-full.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
}
.btn-full.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.form-success {
  margin-top: 12px;
  color: #15803D;
  font-size: 14px;
  font-weight: 500;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--black); }
.contact-item span, .contact-item a { font-size: 14px; color: #555; }
.contact-item a:hover { color: var(--orange-dark); }

.about-logo-col {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--black);
}
.footer-logo { max-width: 220px; margin: 0 auto 20px; }
.church-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ============ SITE FOOTER ============ */
.site-footer {
  background: var(--black);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo-mono { max-height: 80px; width: auto; }
.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-vision { font-size: 13px; color: rgba(255,255,255,0.5); font-style: italic; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid, .two-col-forms, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-item:nth-child(4), .stat-item:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--black); padding: 20px 24px 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 4px; z-index: 99;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .nav-links.open a { padding: 13px 16px; font-size: 16px; border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 24px; color: var(--gray-mid);
  cursor: pointer; line-height: 1;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--gray-light); color: var(--black); }

.modal-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.modal-tag.orange { background: var(--orange-light); color: var(--orange-dark); }
.modal-tag.blue { background: #EFF6FF; color: #1D4ED8; }

.modal-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid var(--orange-light);
}
.modal-initials {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
  margin: 0 auto 16px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 6px;
}
.modal-subtitle {
  text-align: center;
  color: var(--gray-mid);
  font-size: 14px;
  margin-bottom: 20px;
}
.modal-details {
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}
.modal-detail-row {
  display: flex; gap: 12px; align-items: flex-start;
}
.modal-detail-icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.modal-detail-label { font-size: 12px; color: var(--gray-mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.modal-detail-value { font-size: 15px; color: var(--black); }
.modal-bio {
  margin-top: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.modal-stream-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 20px;
  background: var(--orange); color: white;
  border: none; border-radius: var(--radius);
  padding: 13px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body);
  transition: background var(--transition);
  text-decoration: none;
}
.modal-stream-btn:hover { background: var(--orange-dark); color: white; text-decoration: none; }

/* ============ SHOW MORE BUTTON ============ */
.btn-outline-page {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.btn-outline-page:hover { background: var(--black); color: var(--white); }

/* Clickable schedule rows */
.schedule-table tbody tr { cursor: pointer; }
.schedule-table tbody tr td:last-child { cursor: default; }

/* Clickable preacher cards */
.preacher-card { cursor: pointer; }

@media (max-width: 600px) {
  .modal-box { padding: 24px 18px; }
  .modal-title { font-size: 1.3rem; }
}

/* ============ SORTABLE TABLE HEADERS ============ */
.sortable-th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.sortable-th:hover { background: rgba(255,255,255,0.1); }
.sort-icon {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 4px;
}
.schedule-filter-bar { flex-wrap: wrap; }

/* ============ HERO – SPLIT LAYOUT ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  max-height: 740px;
  overflow: hidden;
  background: linear-gradient(160deg, #F07B10 0%, #C25F00 100%);
}

/* LEFT panel — campaign text */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 48px 56px;
  position: relative;
  z-index: 2;
}
.hero-left .hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 20px; display: block;
  background: rgba(0,0,0,0.2); padding: 5px 14px;
  border-radius: 100px; width: fit-content;
}
.hero-left .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05; color: var(--white);
  margin-bottom: 14px;
}
.hero-left .hero-title em { font-style: italic; font-weight: 700; }
.hero-left .hero-title strong { display: block; font-size: 1.35em; font-style: normal; }
.hero-left .hero-tagline {
  font-size: 14px; color: rgba(255,255,255,0.9);
  font-style: italic; margin-bottom: 14px;
}
.hero-left .hero-mission {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--white); font-weight: 500;
  line-height: 1.5; margin-bottom: 28px;
}
.hero-left .hero-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.hero-left .hero-dates {
  font-size: 13px; color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

/* RIGHT panel — slides */
.hero-right {
  position: relative;
  overflow: hidden;
  background: #C25F00;
}

/* Force right panel to fill full grid height */
.hero {
  align-items: stretch;
}

.hero-slide-fallback {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
}
.hero-fallback-inner { padding: 32px; text-align: center; }
.hero-fallback-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.9);
  font-style: italic; line-height: 1.5;
}

/* Carousel hidden state — use visibility+opacity not display:none
   so layout height is always preserved and Brave doesn't break reflow */
.carousel-loading {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Carousel */
.hero-carousel {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.7s ease; overflow: hidden;
}
.hero-slide.active { opacity: 1; }
/* Direct img children of slides are handled by .slide-img-wrap — keep hidden */
.hero-slide > img {
  display: none;
}

/* Slide image wrapper */
.slide-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #1a0a00;
}
/* Blurred background fills gaps around contained image */
.slide-img-wrap::before {
  content: '';
  position: absolute; inset: -40px; z-index: 1;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.3) saturate(1.2);
}
.slide-img-wrap img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  /* Start with no animation — applied when slide becomes active */
  transform-origin: center center;
}

/* Ken Burns keyframes — subtle zoom + pan in alternating directions */
@keyframes kenBurnsA {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  100% { transform: scale(1.08) translate(-2%, -1.5%); }
}
@keyframes kenBurnsB {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  100% { transform: scale(1.08) translate(2%, 1.5%); }
}
@keyframes kenBurnsC {
  0%   { transform: scale(1.05) translate(2%, 1%); }
  100% { transform: scale(1.0) translate(-1%, -1%); }
}

/* Animate image when its parent slide is active — image-type slides only */
.hero-slide.active[data-type="image"] .slide-img-wrap img {
  animation: kenBurnsA 6s ease-in-out forwards;
}
/* Alternate animation for even-indexed slides */
.hero-slide.active[data-type="image"][data-index="1"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="3"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="5"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="7"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="9"] .slide-img-wrap img {
  animation: kenBurnsB 6s ease-in-out forwards;
}
/* Third variant for every third slide */
.hero-slide.active[data-type="image"][data-index="2"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="5"] .slide-img-wrap img,
.hero-slide.active[data-type="image"][data-index="8"] .slide-img-wrap img {
  animation: kenBurnsC 6s ease-in-out forwards;
}

/* Also animate the blurred background to match */
.hero-slide.active[data-type="image"] .slide-img-wrap::before {
  animation: kenBurnsA 6s ease-in-out forwards;
}
.hero-slide.active[data-type="image"][data-index="1"] .slide-img-wrap::before,
.hero-slide.active[data-type="image"][data-index="3"] .slide-img-wrap::before,
.hero-slide.active[data-type="image"][data-index="5"] .slide-img-wrap::before,
.hero-slide.active[data-type="image"][data-index="7"] .slide-img-wrap::before,
.hero-slide.active[data-type="image"][data-index="9"] .slide-img-wrap::before {
  animation: kenBurnsB 6s ease-in-out forwards;
}
/* Slide caption — title/subtitle overlay for image slides */
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.slide-caption-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.slide-caption-sub {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-slide-inline-video {
  position: absolute; inset: 0; z-index: 5; display: none; background: #000;
}
.hero-slide-inline-video iframe { width: 100%; height: 100%; border: none; }
.hero-slide-overlay { display: none; }

/* Video play button — bottom center of right panel */
.hero-video-play-wrap {
  position: absolute; bottom: 52px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
}
.hero-slide-play-btn {
  width: 56px; height: 56px;
  background: rgba(240,123,16,0.95); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-video-play-wrap:hover .hero-slide-play-btn { transform: scale(1.1); background: #F07B10; }
.hero-video-label {
  color: white; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.55); padding: 4px 12px; border-radius: 100px;
  white-space: nowrap;
}

/* Carousel controls */
.hero-carousel-controls {
  position: absolute; bottom: 14px; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.carousel-btn {
  background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.4);
  color: white; width: 30px; height: 30px; border-radius: 50%; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.3s, transform 0.3s;
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
}
.carousel-btn:hover { background: rgba(255,255,255,0.4); }

/* Show arrows when hovering over the right panel (desktop) */
.hero-right:hover .carousel-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Show arrows when touch-active class is set (mobile tap) */
.hero-right.controls-visible .carousel-btn {
  opacity: 1;
  pointer-events: auto;
}

.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: none; cursor: pointer; padding: 0;
  transition: all 0.2s;
}
.carousel-dot.active { background: white; width: 20px; border-radius: 4px; }

/* VIDEO MODAL */
.video-modal-box {
  background: #000;
  border-radius: 14px;
  padding: 16px;
  max-width: 860px;
  width: 100%;
  position: relative;
}
/* Close button — always visible, top-right */
.video-modal-box .modal-close {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.video-modal-box .modal-close:hover { background: rgba(255,255,255,0.35); }
.video-modal-embed {
  position: relative; padding-top: 56.25%;
  border-radius: 8px; overflow: hidden; background: #000;
}
.video-modal-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
/* video-mode: used when playing Cloudinary direct video files */
.video-modal-embed.video-mode {
  padding-top: 0; overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-embed.video-mode video {
  width: 100%; max-height: 70vh;
  border-radius: 8px; background: #000; display: block; outline: none;
}
.video-modal-title {
  color: rgba(255,255,255,0.8); font-size: 14px;
  margin-top: 12px; text-align: center;
}
/* Mobile */
@media (max-width: 768px) {
  #video-modal.modal-overlay { align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
  .video-modal-box { max-height: calc(100vh - 32px); display: flex; flex-direction: column; justify-content: center; }
  .video-modal-embed.video-mode video { max-height: 55vw; }
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 300px;
    max-height: none;
    min-height: auto;
  }
  .hero-left { padding: 36px 32px 28px; }
  .hero-left .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-video-play-wrap { bottom: 44px; }
}

/* Mobile — full redesign */
@media (max-width: 600px) {
  /* ── Nav ── */
  .nav-inner { height: 60px; gap: 8px; }
  .logo-img { height: 46px; }
  .btn-social { width: 34px; height: 34px; }

  /* ── Hero: override ALL grid rules, switch to flex column ── */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Text panel — compact but complete, no overflow clipping */
  .hero-left {
    flex-shrink: 0;
    padding: 18px 18px 14px;
    width: 100%;
    overflow: visible;
  }
  .hero-left .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 11px;
    margin-bottom: 10px;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    display: inline-block;
  }
  .hero-left .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.4rem);
    margin-bottom: 6px;
    line-height: 1.0;
  }
  .hero-left .hero-title strong { font-size: 1.25em; }
  .hero-left .hero-tagline {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .hero-left .hero-mission {
    font-size: 13.5px;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .hero-left .hero-cta-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    width: 100%;
  }
  .hero-left .hero-cta-group .btn {
    flex: 1;
    padding: 11px 8px;
    font-size: 13px;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
  }
  .hero-left .hero-cta-group .btn svg { width: 14px; height: 14px; }
  .hero-left .hero-dates {
    font-size: 11px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .date-badge { padding: 3px 10px; font-size: 11px; }

  /* Carousel / right panel — explicit height so abs-positioned children have a parent to fill */
  .hero-right {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }
  #hero-carousel {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
  }
  #hero-slides {
    position: relative !important;
    width: 100% !important; height: 100% !important;
  }

  /* Fallback text — make it smaller so it fits */
  .hero-fallback-text {
    font-size: 1rem;
    text-align: center;
  }
  .hero-fallback-inner { padding: 20px; }

  .hero-video-play-wrap { bottom: 48px; }
  .hero-slide-play-btn { width: 48px; height: 48px; }
  .hero-video-label { font-size: 11px; }

  /* ── Stats band ── */
  .stats-band { padding: 20px 0; }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0;
  }
  .stat-item {
    padding: 12px 6px;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item:nth-child(3n) { border-right: none; }
  .stat-item:nth-last-child(-n+2),
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 10px; letter-spacing: 0.04em; }

  /* ── Sections ── */
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 1.9rem); margin-bottom: 10px; }
  .section-intro { font-size: 14px; margin-bottom: 24px; }

  /* ── About ── */
  .about-grid { gap: 24px; }
  .about-text p { font-size: 14px; }
  .about-vision p { font-size: 1rem; }
  .about-banner { min-height: 180px; }

  /* ── Schedule ── */
  .schedule-filter-bar { flex-direction: column; gap: 8px; }
  .schedule-filter, .schedule-search { width: 100%; min-width: 0; }
  .schedule-table th:nth-child(5),
  .schedule-table td:nth-child(5) { display: none; }
  .schedule-table th { font-size: 10px; padding: 10px 8px; }
  .schedule-table td { font-size: 13px; padding: 10px 8px; }

  /* ── Preachers ── */
  .preachers-filter-bar { flex-direction: column; gap: 8px; }
  .preachers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .preacher-card { padding: 16px 10px; }
  .preacher-avatar, .preacher-initials { width: 60px; height: 60px; }
  .preacher-initials { font-size: 1.1rem; }
  .preacher-name { font-size: 13px; }
  .preacher-origin { font-size: 11px; }

  /* ── Forms ── */
  .two-col-forms { gap: 32px; }
  .form-group input,
  .form-group textarea { font-size: 16px; }
  .form-group label { font-size: 13px; }

  /* ── Watch Live ── */
  .social-stream-links { flex-direction: column; }
  .social-link-card { min-width: 0; }

  /* ── Contact ── */
  .contact-grid { gap: 24px; }
  .about-logo-col { padding: 24px 16px; }
  .footer-logo { max-width: 150px; }

  /* ── Modals — slide up from bottom ── */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    padding: 24px 18px 32px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 88vh;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-left .hero-title { font-size: 1.75rem; }
  .logo-img { height: 40px; }
  .hero-left .hero-cta-group .btn { font-size: 12px; padding: 10px 6px; }
}

/* Slide no-thumbnail fallback */
.slide-no-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #C25F00, #8B3A00);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   MOBILE IMPROVEMENTS — Global (all pages)
   ============================================================ */

/* ── Schedule table: card layout on mobile ── */
@media (max-width: 600px) {
  .schedule-table-wrap { border: none; border-radius: 0; overflow: visible; }
  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody,
  .schedule-table tr, .schedule-table td { display: block; width: 100%; }
  .schedule-table tr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
  }
  .schedule-table tr:hover { background: var(--orange-light); }
  .schedule-table td {
    border: none;
    padding: 3px 0;
    font-size: 14px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .schedule-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-mid);
    min-width: 64px;
    flex-shrink: 0;
  }
  /* Hide stream URL column on mobile */
  .schedule-table td:nth-child(6) { display: none; }

  /* ── Filter bar selects full width ── */
  .schedule-filter-bar { gap: 8px; }
  .schedule-filter { min-width: 0; width: 100%; }
  .schedule-search { min-width: 0; width: 100%; }

  /* ── Preacher cards: 2-column tighter grid ── */
  .preachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .preacher-card { padding: 14px 10px; }
  .preacher-avatar,
  .preacher-initials { width: 56px; height: 56px; font-size: 1rem; margin-bottom: 8px; }
  .preacher-name { font-size: 13px; }
  .preacher-origin { font-size: 11px; }

  /* ── Preachers modal — slide up ── */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
    width: 100%;
    max-width: 100%;
    padding: 24px 18px 32px;
  }

  /* ── Buttons full-width on mobile ── */
  .btn-outline-page { width: 100%; justify-content: center; }

  /* ── Section padding tighter ── */
  .section { padding: 32px 0; }
  .container { padding: 0 14px; }

  /* ── Footer links wrap neatly ── */
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 12px; }

  /* ── Hero scroll indicator hide on mobile ── */
  .hero-scroll-indicator { display: none; }
}

/* ============================================================
   SHARE SHEET
   ============================================================ */
#share-sheet-overlay {
  position: fixed; inset: 0; z-index: 1000;
  opacity: 0; transition: opacity 0.25s;
}
#share-sheet-overlay.open { opacity: 1; }

.share-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
}

.share-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  max-width: 540px;
  margin: 0 auto;
}
#share-sheet-overlay.open .share-sheet {
  transform: translateY(0);
}

.share-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.share-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}
.share-sheet-close {
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-mid);
  transition: background 0.15s;
}
.share-sheet-close:hover { background: var(--border); }

.share-sheet-item-title {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-sheet-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; text-decoration: none; }

.share-wa  { background: #E7F9EF; color: #25D366; }
.share-fb  { background: #E7EEF9; color: #1877F2; }
.share-fbm { background: #EDE7F9; color: #0084FF; }
.share-copy { background: var(--gray-light); color: var(--black); }

/* Share icon button on table rows */
.share-icon-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--gray-mid);
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.share-icon-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Share button on stream/video cards */
.share-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-mid);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s, color 0.15s;
}
.share-card-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Share button inside modals */
.modal-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: var(--gray-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s, border-color 0.15s;
}
.modal-share-btn:hover { background: var(--orange-light); border-color: var(--orange); color: var(--orange-dark); }

@media (max-width: 400px) {
  .share-sheet-btns { grid-template-columns: repeat(2, 1fr); }
}

/* ── Event modal — Meeting Topics section ─── */
.modal-topics-section {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.modal-topics-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-mid);
  margin-bottom: 10px;
}
.modal-topics-heading svg { flex-shrink: 0; opacity: 0.6; }
.modal-topic-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.modal-topic-row:last-child { border-bottom: none; }
.modal-topic-label {
  font-weight: 700;
  color: var(--orange-dark);
  min-width: 54px;
  flex-shrink: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.modal-topic-value {
  color: var(--black);
  flex: 1;
}
