/* Webinar: Hero Block */

.webinar-hero {
  background-color: #075056;
  padding: 3rem 0;
  overflow: hidden;
}

.webinar-hero__container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.webinar-hero__content {
  display: flex;
  flex-direction: column;
}

.webinar-hero__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
}

.webinar-hero__subtext {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #D0F8FB;
  max-width: 520px;
  margin: 0 0 1.5rem;
}

.webinar-hero__subtext p {
  margin: 0 0 1em;
}

.webinar-hero__subtext p:last-child {
  margin-bottom: 0;
}

.webinar-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #1E6A70;
}

.webinar-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.webinar-hero__meta-label {
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #A8D6DA;
}

.webinar-hero__meta-value {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 14px;
  color: #fff;
}

.webinar-hero__note {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #A8D6DA;
  margin: 0 0 1.5rem;
}

.webinar-hero__host {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.webinar-hero__host-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.webinar-hero__host-text {
  display: flex;
  flex-direction: column;
}

.webinar-hero__host-name {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.webinar-hero__host-title {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 13px;
  color: #A8D6DA;
}

.webinar-hero__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background-color: #FF5900;
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.webinar-hero__mobile-cta:hover {
  background-color: #d94e1b;
}

.webinar-hero__form-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(3, 52, 56, 0.25);
}

.webinar-hero__form-heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #033438;
  margin: 0 0 1.25rem;
}

.webinar-hero__disclaimer {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #4C6769;
  margin: 1rem 0 0;
}

/* Two-column name row inside the Gravity Form, plus general field styling */
.webinar-hero__form-card .gform_wrapper .name_first,
.webinar-hero__form-card .gform_wrapper .name_last {
  display: inline-block;
  width: calc(50% - 8px);
  vertical-align: top;
}

.webinar-hero__form-card .gform_wrapper .name_first {
  margin-right: 16px;
}

/* md: 768px */
@media (min-width: 768px) {
  .webinar-hero {
    padding: 4rem 0;
  }

  .webinar-hero__heading {
    font-size: 44px;
  }

  .webinar-hero__subtext {
    font-size: 17px;
  }
}

/* lg: 1024px — side-by-side layout, exact Figma type spec */
@media (min-width: 1024px) {
  .webinar-hero {
    padding: 5.5rem 0;
  }

  .webinar-hero__container {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .webinar-hero__content {
    flex: 0 0 55%;
    max-width: 55%;
  }

  .webinar-hero__form-card {
    flex: 1;
    padding: 32px;
  }

  .webinar-hero__heading {
    font-size: 60px;
  }

  .webinar-hero__subtext {
    font-size: 18px;
  }

  .webinar-hero__mobile-cta {
    display: none;
  }
}
