/* =============================================
   Mara Events — webinar.css
   Dedicated styles for the Webinar Advocacy Hub
   ============================================= */

/* Page Background & Base */
.webinar-page {
  background-color: #fafbfc;
  color: var(--text-dark);
}

/* ── HERO SECTION ── */
.webinar-hero {
  position: relative;
  background-color: #071536;
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.webinar-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.webinar-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.webinar-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 21, 54, 0.88) 0%, rgba(13, 34, 87, 0.82) 50%, rgba(22, 54, 130, 0.88) 100%);
}

.webinar-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.webinar-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(33, 116, 233, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.webinar-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #fafbfc, transparent);
  pointer-events: none;
  z-index: 1;
}

.webinar-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.webinar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33, 116, 233, 0.18);
  border: 1px solid rgba(33, 116, 233, 0.4);
  color: #64b5ff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.webinar-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}

.webinar-title span {
  background: linear-gradient(135deg, #64b5ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.webinar-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 620px;
}

.webinar-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-webinar-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(33, 116, 233, 0.35);
}

.btn-webinar-primary:hover {
  background: #1861cd;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(33, 116, 233, 0.5);
  color: var(--white);
}

.btn-webinar-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-webinar-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* Hero Stats Card */
.hero-stats-card {
  background: rgba(13, 34, 87, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stats-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.stats-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-card-header h3 i {
  color: #64b5ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #64b5ff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
  font-weight: 500;
}

/* ── ADVOCACY MANIFESTO SECTION ── */
.advocacy-section {
  padding: 90px 0;
  background: #ffffff;
}

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading-dark {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0b193c;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13, 34, 87, 0.1);
  border-color: rgba(33, 116, 233, 0.3);
  background: #ffffff;
}

.pillar-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef5ff 0%, #dbeafe 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-wrap {
  background: var(--accent);
  color: var(--white);
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b193c;
  margin-bottom: 14px;
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex-grow: 1;
}

.pillar-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── FEATURED WEBINAR SPOTLIGHT SECTION ── */
.spotlight-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.spotlight-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(13, 34, 87, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(13, 34, 87, 0.08);
}



.spotlight-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.spotlight-badge.ended-badge {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.spotlight-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #0b193c;
  line-height: 1.25;
  margin-bottom: 16px;
}

.spotlight-desc {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 28px;
}

.spotlight-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
}

.meta-row i {
  color: var(--accent);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.spotlight-sidebar {
  background: linear-gradient(135deg, #0d2257 0%, #1e40af 100%);
  color: var(--white);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}



.takeaways-heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
}

.takeaways-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.takeaway-item i {
  color: #64b5ff;
  font-size: 1.1rem;
  margin-top: 3px;
}

.takeaway-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.speaker-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.speaker-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #64b5ff;
}

.speaker-avatar.logo-avatar {
  width: 70px;
  height: auto;
  max-height: 48px;
  border-radius: 6px;
  object-fit: contain;
  border: none;
}

.speaker-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.speaker-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── PAST WEBINARS ARCHIVE & VIDEO ── */
.archive-section {
  padding: 90px 0;
  background: #ffffff;
}

.webinar-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 34, 87, 0.18);
  border: 1px solid rgba(13, 34, 87, 0.12);
  background: #000000;
}

.webinar-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.archive-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.archive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(13, 34, 87, 0.1);
}

.archive-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.archive-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.archive-card:hover .archive-img-wrap img {
  transform: scale(1.05);
}

.archive-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 34, 87, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.archive-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.archive-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b193c;
  margin-bottom: 12px;
  line-height: 1.35;
}

.archive-summary {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.archive-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── ADVOCACY CTA / TOPIC PROPOSAL BOX ── */
.proposal-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #071536 0%, #0d2257 100%);
  color: #ffffff;
}

.proposal-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}



.proposal-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.25;
}

.proposal-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 24px;
}

.proposal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #64b5ff;
  background: rgba(255, 255, 255, 0.15);
}

.btn-submit-proposal {
  background: var(--accent);
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-proposal:hover {
  background: #1861cd;
  box-shadow: 0 8px 24px rgba(33, 116, 233, 0.4);
}

/* ── RESPONSIVE BREAKPOINTS ── */

/* Tablet & below (≤992px) */
@media (max-width: 992px) {
  .webinar-hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .webinar-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .webinar-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .webinar-hero-ctas {
    justify-content: center;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .proposal-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
  .spotlight-info {
    padding: 30px 24px;
  }

  .spotlight-sidebar {
    padding: 36px 24px;
  }
}
