/* Finance webinar overrides. Hero photo is added when the Envato download is on disk. */
.hero {
  padding: 56px 0 48px;
  overflow: clip;
}

.hero::before {
  background-image: linear-gradient(
    90deg,
    rgba(4, 29, 74, 0.78) 0%,
    rgba(4, 29, 74, 0.58) 38%,
    rgba(4, 29, 74, 0.28) 62%,
    rgba(4, 29, 74, 0.1) 100%
  ), url('../images/hero-bg.avif');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: none;
}

.hero::after {
  background-image: linear-gradient(
    90deg,
    rgba(4, 29, 74, 0.22) 0%,
    rgba(4, 29, 74, 0.1) 55%,
    rgba(4, 29, 74, 0.04) 100%
  );
}

.hero-grid {
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 28% 42%, transparent 0%, transparent 58%, #000 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 28% 42%, transparent 0%, transparent 58%, #000 100%);
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 48px;
  align-items: center;
}

.hero-left,
.hero-inner,
.hero .reg-form-card,
.story-grid,
.story-copy,
.story-side {
  min-width: 0;
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(32px, 2.7vw, 46px);
  max-width: 14em;
}

.hero-desc {
  max-width: 38em;
  margin-bottom: 28px;
}

.nobr {
  white-space: nowrap;
}

.hero-meta {
  align-items: flex-start;
}

.hero-meta-item {
  align-items: flex-start;
}

.hero-meta-item .icon-inline {
  margin-top: 3px;
}

.hero .reg-form-card {
  position: relative;
  top: auto;
  margin: 0;
  width: 100%;
  align-self: start;
}

.reg-form-card--glass {
  background: rgba(8, 24, 52, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 48px rgba(4, 16, 40, 0.28);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.reg-form-card--glass .reg-form-card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.reg-form-card--glass .reg-form-card-header h3 {
  margin-bottom: 0;
  color: #fff;
}

.reg-form-card--glass .form-group label,
.reg-form-card--glass .form-disclaimer {
  color: rgba(255, 255, 255, 0.88);
}

.reg-form-card--glass .form-disclaimer a {
  color: #ffb067;
}

.reg-form-card--glass .form-control {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.reg-form-card--glass .form-control:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.reg-form-card--glass .form-control.is-invalid {
  border-color: #ff7b72;
  background: rgba(255, 123, 114, 0.15);
}

.reg-form-card--glass .field-hint-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.65);
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reg-form-card--glass .field-hint-error svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  fill: #fca5a5;
}

.reg-form-card--glass .field-hint-error[hidden],
.reg-form-card--glass .field-hint-error.is-hidden {
  display: none !important;
}

.reg-form-card--glass .form-control option {
  color: #0c2c52;
  background: #fff;
}

.reg-form-card--glass .form-select-wrapper::after {
  border-top-color: rgba(255, 255, 255, 0.85);
}

.country-combo .form-control {
  padding-right: 36px;
}

.country-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  color: #0c2c52;
  border: 1px solid rgba(12, 44, 82, 0.16);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(4, 29, 74, 0.18);
}

.country-list[hidden] {
  display: none;
}

.country-list li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
  color: #0c2c52;
}

.country-list li.is-active,
.country-list li:hover {
  background: rgba(246, 134, 31, 0.16);
}

.reg-form-card--glass .reg-success {
  text-align: center;
  padding: 36px 24px 32px;
}

.reg-form-card--glass .reg-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(246, 134, 31, 0.18);
  color: #f6861f;
}

.reg-form-card--glass .reg-success-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  line-height: 1.3;
}

.reg-form-card--glass .reg-success-msg {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.6;
}

.reg-form-card--glass .reg-success-msg strong {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.reg-form-card--glass .reg-success-details {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.reg-form-card--glass .reg-success-details div + div {
  margin-top: 6px;
}

.reg-form-card--glass .reg-success-details strong {
  color: #fff;
}

.form-name-row .form-group {
  min-width: 0;
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: none;
}

.form-cta-btn {
  min-width: 0;
  white-space: normal;
  line-height: 1.3;
}

.form-cta-btn > span:first-child {
  min-width: 0;
}

.hero .form-disclaimer {
  text-align: left;
}

.main-content {
  padding: 64px 0;
}

.cta-banner {
  padding: 64px 0;
}

.main-content .container {
  display: block;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px 48px;
  align-items: start;
}

.lede p {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.lede p:last-child {
  margin-bottom: 28px;
}

.story-agenda {
  grid-column: 1 / -1;
}

@media (min-width: 1025px) {
  .story-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .story-side {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .story-cover {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .story-agenda {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.story-cover .webinar-meta-row {
  margin-top: 22px;
  margin-bottom: 0;
}

.story-side .speaker-card {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.story-side .speaker-info {
  align-items: flex-start;
}

.story-side .speaker-avatar {
  width: 96px;
  height: 96px;
}

.speaker-entry + .speaker-entry {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.story-agenda {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.takeaway-item strong {
  color: var(--color-navy);
}

/* =============================================
   STATS STRIP - 3 BALANCED COLUMNS
============================================= */
.stats-strip {
  background: #082444;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 42px 0;
  position: relative;
  z-index: 10;
}

.stats-strip .container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px;
  align-items: center;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto !important;
}

.stats-strip .stat-item {
  text-align: center;
  position: relative;
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats-strip .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 700;
  color: #F58220;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.stats-strip .stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
}

.stats-strip .stat-label strong {
  font-weight: 600;
  color: #ffffff;
  display: inline-block;
}

/* Subtle elegant vertical dividers between columns on desktop/tablet */
@media (min-width: 721px) {
  .stats-strip .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12%;
    bottom: 12%;
    right: -16px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 25%, rgba(255, 255, 255, 0.18) 75%, rgba(255, 255, 255, 0) 100%);
  }
}

/* Tablet / mobile breakpoint: stack cleanly into 1 centered column instead of a broken 2x2 grid */
@media (max-width: 720px) {
  .stats-strip {
    padding: 32px 0;
  }

  .stats-strip .container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .stats-strip .stat-item {
    padding: 6px 12px;
  }

  .stats-strip .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -14px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  }

  .stats-strip .stat-num {
    font-size: 36px;
  }
}

.hero-time-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.topic-groups {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.topic-group {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.topic-group strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.topic-group span {
  color: var(--color-text-muted);
  font-size: 14px;
}

.agenda-accordion {
  margin-top: 8px;
  border-top: 1px solid var(--color-border);
}

.agenda-acc-item {
  border-bottom: 1px solid var(--color-border);
}

.agenda-acc-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--color-navy);
}

.agenda-acc-trigger:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.agenda-acc-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.agenda-acc-chevron {
  width: 18px;
  height: 18px;
  margin-top: 7px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--color-navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.agenda-acc-trigger[aria-expanded="true"] .agenda-acc-chevron {
  transform: rotate(180deg);
}

.agenda-acc-panel {
  padding: 0 0 16px 46px;
}

.agenda-acc-panel p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.agenda-acc-panel .topic-groups {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero .reg-form-card {
    max-width: 560px;
    margin-inline: auto;
  }


}

@media (max-width: 1024px) {
  .hero {
    padding: 36px 0 40px;
  }

  .hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-left,
  .hero-desc,
  .hero h1,
  .webinar-main-title,
  .content-block,
  .content-block p,
  .speaker-bio,
  .lede p {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero .reg-form-card {
    width: 100% !important;
    max-width: 560px !important;
    margin-inline: auto;
  }

  .hero .form-control,
  .hero select.form-control {
    font-size: 16px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-side .speaker-card {
    position: static;
  }

  .story-side {
    grid-row: auto;
  }

  .story-cover,
  .story-agenda {
    grid-column: auto;
  }

  .main-content .container {
    display: block !important;
  }
}

@media (max-width: 720px) {

  .agenda-acc-panel {
    padding-left: 0;
  }

  .cta-banner h2 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 540px) {

  .cta-banner h2 {
    font-size: 22px;
    line-height: 1.35;
  }

  .cta-banner .btn-primary {
    white-space: nowrap;
    padding-left: 22px;
    padding-right: 22px;
  }
}
