body.aero-home-page {
  background-color: #f3f4f6;
  background-image: url("/assets/img/topobackground.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
}

#aerotas-home {
  background: transparent;
}

.home-webinar-banner {
  padding: 18px 0 0;
  position: relative;
  z-index: 2;
}

.home-webinar-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 22%),
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.22) 0%, transparent 24%),
    linear-gradient(135deg, #ffd36a 0%, #ffb347 48%, #ff8b4a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 236, 196, 0.55),
    0 20px 60px rgba(255, 155, 74, 0.28),
    0 0 50px rgba(255, 196, 92, 0.24);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-webinar-banner-inner::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 58%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 247, 214, 0.68) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.home-webinar-banner-inner::after {
  content: "";
  position: absolute;
  inset: auto auto -110px -90px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 228, 159, 0.42) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.home-webinar-banner-copy {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.home-webinar-banner-kicker {
  margin: 0;
  color: rgba(16, 32, 61, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-webinar-banner-text {
  margin: 0;
  color: #10203d;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 700px;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-webinar-banner-subtext {
  margin: 0;
  color: rgba(16, 32, 61, 0.78);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 620px;
}

.home-webinar-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #112444 0%, #1a315a 100%);
  border: 1px solid rgba(16, 32, 61, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  box-shadow:
    0 16px 36px rgba(16, 32, 61, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.home-webinar-banner-link:hover,
.home-webinar-banner-link:focus {
  background: linear-gradient(180deg, #0e1d37 0%, #162b4e 100%);
  border-color: rgba(16, 32, 61, 0.22);
  box-shadow:
    0 20px 40px rgba(16, 32, 61, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  transform: translateY(-2px);
}

.home-hero-title {
  font-size: 38px;
  margin-bottom: 18px;
}

.home-hero-inner {
  grid-template-columns: 1.2fr 0.8fr;
}

.home-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-self: end;
}

.home-cards {
  padding: 54px 0 90px;
}

.home-cards-intro {
  margin-bottom: 28px;
  text-align: center;
}

.home-section-title {
  margin: 0;
}

.home-bullets {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

@media (max-width: 900px) {
  .home-webinar-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .home-webinar-banner-link {
    white-space: normal;
  }

  .home-webinar-banner-text {
    font-size: 28px;
  }

  .home-webinar-banner-subtext {
    font-size: 15px;
  }

  .home-webinar-banner-link {
    min-width: 0;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-actions {
    justify-self: start;
  }

  #logo-marquee .logo-group {
    gap: 32px;
    padding-right: 32px;
  }

  #logo-marquee .logo-group > img {
    height: 44px;
  }
}

@media (max-width: 600px) {
  .home-webinar-banner {
    padding-top: 12px;
  }

  .home-webinar-banner-inner {
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-radius: 18px;
  }

  .home-webinar-banner-kicker {
    font-size: 11px;
  }

  .home-webinar-banner-text {
    font-size: 22px;
    line-height: 1.08;
  }

  .home-webinar-banner-subtext {
    font-size: 14px;
  }

  .home-webinar-banner-link {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
  }

  .home-hero-title {
    font-size: 28px;
  }
}

#logo-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 24px 0 36px;
}

#logo-marquee .logo-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: logo-marquee 45s linear infinite;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease;
  animation-play-state: paused;
}

#logo-marquee[data-marquee-ready="true"] .logo-track {
  opacity: 1;
  visibility: visible;
  animation-play-state: running;
}

#logo-marquee .logo-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex: 0 0 auto;
}

#logo-marquee .logo-group > img {
  flex: 0 0 auto;
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.72;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--logo-group-width, 50%)));
  }
}
