/**
 * Webinars Page
 * Page-specific layout and visual styling.
 */

.hero.webinars-hero {
  background-image:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(245, 196, 138, 0.14), transparent 26%),
    linear-gradient(115deg, rgba(9, 20, 36, 0.96), rgba(9, 20, 36, 0.7)),
    url('../../images/hero-bg.png') !important;
  background-position: center 24% !important;
  min-height: 92svh !important;
}

.webinars-page {
  background:
    radial-gradient(circle at top left, rgba(211, 138, 80, 0.06), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fbf8f5 100%);
}

.nav-dropdown-menu a.active {
  background: #f9f7f4;
  color: var(--brand) !important;
}

.nav-dropdown-menu a.active i {
  color: var(--brand) !important;
}

.webinars-hero .hero-container {
  align-items: stretch;
  padding-top: 20px;
  padding-bottom: 42px;
}

.webinars-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100%;
}

.webinars-hero-copy {
  max-width: 760px;
  margin-top: -12px;
  margin-right: auto;
}

.webinars-hero-title {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.93;
  letter-spacing: -1.6px;
}

.hero-content .webinars-hero-title span {
  display: block;
  color: #fff;
}

.hero-content .webinars-hero-title .webinars-hero-title__accent {
  color: var(--brand);
}

.webinars-hero-copy .hero-desc {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 1.06rem;
  line-height: 1.9;
}

.webinars-focus {
  padding: 82px 0 98px;
}

.webinars-focus-shell {
  padding: 42px;
  border: 1px solid rgba(211, 138, 80, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 245, 0.98));
  box-shadow: 0 24px 62px rgba(15, 28, 46, 0.08);
}

.webinars-focus-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.webinars-focus-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.2;
  color: var(--charcoal);
}

.webinars-focus-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.webinars-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.webinars-topic-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(211, 138, 80, 0.12);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.webinars-topic-card__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(211, 138, 80, 0.1);
}

.webinars-topic-card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
}

.webinars-closing-note {
  margin-top: 24px;
  padding: 28px 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 28, 46, 0.98), rgba(26, 35, 50, 0.94)),
    radial-gradient(circle at top right, rgba(211, 138, 80, 0.22), transparent 30%);
  box-shadow: 0 24px 56px rgba(15, 28, 46, 0.14);
}

.webinars-closing-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: center;
  font-family: var(--heading-font);
  font-style: italic;
}

@media (max-width: 1100px) {
  .webinars-hero-grid,
  .webinars-focus-head,
  .webinars-topic-grid {
    grid-template-columns: 1fr;
  }

  .webinars-hero-copy {
    max-width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .webinars-hero-title {
    font-size: clamp(2.4rem, 8vw, 3.7rem);
    line-height: 0.98;
  }

  .webinars-focus-shell {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .hero.webinars-hero {
    min-height: auto !important;
  }

  .webinars-hero .hero-container {
    padding-top: 8px;
    padding-bottom: 28px;
  }

  .webinars-focus {
    padding: 58px 0 72px;
  }
}

@media (max-width: 560px) {
  .webinars-focus-shell,
  .webinars-topic-card,
  .webinars-closing-note {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content .webinars-hero-title span {
    white-space: normal;
  }
}
