/* Webinar Video: Hedgucation Band Block */

.webinarvideo-hedgucation-band {
  background-color: #fff;
  padding: 2rem 0 3rem;
}

.webinarvideo-hedgucation-band__container {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #053d42;
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.webinarvideo-hedgucation-band__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 8px;
}

.webinarvideo-hedgucation-band__body {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  margin: 0;
}

.webinarvideo-hedgucation-band__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background-color: #FF5900;
  color: #fff;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.webinarvideo-hedgucation-band__button:hover {
  background-color: #d94e1b;
}

/* Text rollover on hover, same effect used on buttons elsewhere on the site
   (see the global .btn styles): the label swaps out for a duplicate copy of
   itself (rendered via the data-content attribute) sliding up from below. */
.webinarvideo-hedgucation-band__button span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
}

.webinarvideo-hedgucation-band__button span div {
  backface-visibility: hidden;
  transition: transform 0.44s cubic-bezier(0.165, 0.84, 0.44, 1) 50ms;
}

.webinarvideo-hedgucation-band__button span div::after {
  content: attr(data-content);
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
}

.webinarvideo-hedgucation-band__button:hover span div {
  transform: translateY(calc(-100% - 10px)) translateZ(0);
}

/* md: 768px — side by side */
@media (min-width: 768px) {
  .webinarvideo-hedgucation-band__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }

  .webinarvideo-hedgucation-band__content {
    flex: 1 1 520px;
    min-width: 0;
  }

  .webinarvideo-hedgucation-band__heading {
    font-size: 30px;
  }

  .webinarvideo-hedgucation-band__cta {
    flex-shrink: 0;
  }
}
