/* E26 Livestream Page */
.ls-page {
  --ls-lime: #c4fd9a;
  --ls-gap: 32px;
  --ls-radius: 40px;
  --ls-video-w: min(1280px, calc(100vw - 248px));
  --ls-video-h: calc(var(--ls-video-w) * 9 / 16);
  background-color: #000;
  overflow: hidden;
}

/* Hero */
.ls-hero {
  padding: 130px 0 184px;
  color: #fff;
}
.ls-hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 24px;
}
.ls-hero__title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  margin: 0;
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 84px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.ls-hero__logo {
  display: block;
  width: 356px;
  height: auto;
}
/* Trim the line box to cap height / baseline (Poppins metrics), as in the design */
.ls-hero__title-text {
  display: block;
  margin: -0.15em 0;
}

/* Countdown */
.ls-countdown {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: Poppins, sans-serif;
  font-weight: 400;
  color: var(--ls-lime);
  /* Space is reserved, values appear once the inline script has rendered them */
  visibility: hidden;
}
.ls-countdown.is-ready {
  visibility: visible;
}
.ls-countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
}
.ls-countdown__item + .ls-countdown__item {
  position: relative;
}
.ls-countdown__item + .ls-countdown__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  width: 1.3px;
  height: 59.5px;
  background-color: var(--ls-lime);
  transform: translate(-50%, -50%);
}
.ls-countdown__value {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: -9px;
  font-variant-numeric: tabular-nums;
}
.ls-countdown__label {
  font-size: 16px;
  line-height: 1.5;
}

/* Stage: preview with decorative shapes bleeding off both sides */
.ls-stage {
  display: flex;
  justify-content: center;
  gap: var(--ls-gap);
  margin-top: 61px;
}
.ls-stage__video,
.ls-stage__shape {
  flex: 0 0 auto;
  height: var(--ls-video-h);
}
.ls-stage__video {
  position: relative;
  width: var(--ls-video-w);
  border-radius: var(--ls-radius);
  overflow: hidden;
  background-color: #111;
}
.ls-stage__preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ls-stage__shape {
  position: relative;
  width: var(--ls-video-h);
}
.ls-stage__shape--left {
  border-radius: var(--ls-radius);
  background-color: #9a59ff;
}
.ls-stage__shape--left img {
  position: absolute;
  top: 13.6%;
  left: 11.3%;
  width: 76.75%;
  height: auto;
  transform: rotate(180deg);
}
.ls-stage__shape--right img {
  display: block;
  width: auto;
  height: 100%;
}

.ls-tiles {
  display: none;
}

/* AI Edge on a dark page */
.ls-page .ai-edge {
  border-radius: 72px 72px 0 0;
  background-color: #fff;
}
.ls-page .ai-edge-text-wrapper {
  max-width: 909px;
  padding: 0 24px;
  box-sizing: content-box;
}

/* Player */
.ls-stage__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* "Thank you" popup (ls-registration.css): keep the longer subtext clear of the corner shapes */
.ls-page .registration-success .success-text {
  max-width: 440px;
  margin-bottom: 0;
}
@media (max-width: 850px) {
  .ls-page .registration-success .success-text {
    max-width: calc(100% - 238px);
  }
}
@media (max-width: 767px) {
  .ls-page .registration-success .success-text {
    max-width: none;
  }
}

/* Registration gate. Shares markup hooks with ls-registration.js, so every rule is scoped
   under .ls-popup to win over the generic form styles in ls-registration.css */
.ls-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ls-popup[hidden] {
  display: none;
}
.ls-popup.is-open {
  opacity: 1;
}
/* Only the backdrop while the fresh live-day status is on its way (e26-livestream.js) */
.ls-popup.is-pending .ls-popup__card {
  visibility: hidden;
  opacity: 0;
}
.ls-popup .ls-popup__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.ls-popup .ls-popup__card {
  position: relative;
  width: 870px;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 63px 55px 77px;
  border-radius: 32px;
  background-color: #e7ecff;
  color: #000;
  font-family: Poppins, sans-serif;
  transition: opacity 0.3s ease;
}
.ls-popup .ls-popup__title {
  max-width: none;
  margin: 0 0 41px;
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 72px;
  line-height: 1.15;
  text-align: left;
  color: #000;
}
.ls-popup .ls-popup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.ls-popup .ls-popup__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.ls-popup .ls-popup__field {
  flex: 0 1 552px;
  width: auto;
  min-width: 0;
  margin: 0;
}
.ls-popup .ls-popup__input {
  width: 100%;
  height: 58px;
  max-height: none;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: 6px;
  background-color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}
.ls-popup .ls-popup__input::placeholder {
  color: #666;
}
.ls-popup .ls-popup__action {
  flex: 0 0 auto;
  align-items: center;
}
.ls-popup .ls-popup__submit {
  width: auto;
  height: 58px;
  padding: 0 36px;
  border: 0;
  border-radius: 1929px;
  background-color: #000;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ls-popup .ls-popup__submit:hover {
  background-color: #333;
}
.ls-popup .ls-popup__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.ls-popup .ls-popup__consent {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}
.ls-popup .ls-popup__consent a {
  color: inherit;
  text-decoration: none;
}
.ls-popup .ls-popup__consent a:hover {
  text-decoration: underline;
}
.ls-popup .output-mess {
  margin-top: -8px;
}
body.ls-popup-open {
  overflow: hidden;
}

/* Tablet */
@media (max-width: 1279px) {
  .ls-page {
    --ls-gap: 20px;
    --ls-radius: 24px;
  }
  .ls-hero {
    padding: 132px 0 48px;
  }
  .ls-hero__head {
    gap: 16px;
  }
  .ls-hero__title {
    align-items: center;
    gap: 16px;
    font-weight: 400;
    font-size: 58px;
    line-height: 1.3;
  }
  .ls-hero__title-text {
    margin: 0;
  }
  .ls-hero__logo {
    width: 251px;
  }
  .ls-countdown {
    gap: 28px;
  }
  .ls-countdown__item + .ls-countdown__item::before {
    left: -14px;
  }
  .ls-countdown__value {
    font-size: 36px;
  }
  .ls-stage {
    margin-top: 50px;
  }
  .ls-page .ai-edge {
    border-radius: 64px 64px 0 0;
  }

  .ls-popup .ls-popup__card {
    width: auto;
    padding: 35px 52px 50px;
  }
  .ls-popup .ls-popup__title {
    margin-bottom: 26px;
    font-size: 42px;
    line-height: 1.3;
  }
  .ls-popup .ls-popup__form {
    width: 623px;
    max-width: 100%;
  }
  .ls-popup .ls-popup__field {
    flex: 1 1 415px;
  }
  .ls-popup .ls-popup__input {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ls-page {
    --ls-video-w: calc(100vw - 48px);
    --ls-video-h: auto;
    --ls-radius: 12px;
  }
  .ls-hero {
    padding: 97px 0 40px;
  }
  .ls-hero__head {
    gap: 24px;
  }
  .ls-hero__title {
    flex-direction: column;
    align-items: center;
    gap: 13px;
    font-weight: 300;
    font-size: 55.87px;
    line-height: 1;
  }
  .ls-hero__title-text {
    margin: -0.15em 0;
  }
  .ls-hero__logo {
    width: 265px;
  }
  .ls-countdown {
    gap: 24px;
  }
  .ls-countdown__item {
    width: 42px;
  }
  .ls-countdown__item + .ls-countdown__item::before {
    left: -12px;
    width: 0.65px;
    height: 29.75px;
  }
  .ls-countdown__value {
    font-size: 32px;
    margin-bottom: -4.5px;
  }
  .ls-countdown__label {
    font-size: 12px;
  }
  .ls-stage {
    margin-top: 45px;
    padding: 0 24px;
  }
  .ls-stage__shape {
    display: none;
  }
  .ls-stage__video {
    width: 100%;
    aspect-ratio: 327 / 193;
  }
  .ls-tiles {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 39px;
    padding: 0 24px;
  }
  .ls-tiles img {
    display: block;
    width: calc((100% - 18px) / 3);
    max-width: 103px;
    height: auto;
  }
  .ls-page .ai-edge {
    border-radius: 0;
  }

  .ls-popup {
    padding: 24px 25px;
  }
  .ls-popup .ls-popup__card {
    width: 325px;
    padding: 30px 24px 50px;
  }
  .ls-popup .ls-popup__title {
    font-size: 36px;
  }
  .ls-popup .ls-popup__form {
    width: 100%;
  }
  .ls-popup .ls-popup__row {
    flex-direction: column;
  }
  .ls-popup .ls-popup__field {
    flex: 0 0 auto;
    width: 100%;
  }
  .ls-popup .ls-popup__input {
    font-size: 14px;
  }
  .ls-popup .ls-popup__consent {
    font-size: 13px;
  }
}

.page-template-e26-livestream .elevate-menu_wrap {
  position: relative;
  margin-left: 0;
  margin-right: auto;
}

.page-template-e26-livestream .menu {
  gap: 24px;
}
/* Mobile header: dark bar with the white logo (design "Nav bar Executive"); back to the
   regular light header while the burger menu is open */
@media (max-width: 767px) {
  body.page-template-e26-livestream:not(.menu-open) .header-elevate,
  body.page-template-e26-livestream:not(.menu-open) .header-elevate__container {
    background-color: #000;
  }
  body.page-template-e26-livestream:not(.menu-open) .header-left-hand .dark-logo {
    display: none;
  }
  body.page-template-e26-livestream:not(.menu-open) .header-left-hand .white-logo {
    display: block;
  }
  body.page-template-e26-livestream:not(.menu-open) .hamburger-menu span {
    background-color: #fff;
  }
}

/* "We are live!" - replaces the countdown once it reaches zero, taking exactly its height
   (73 / 58 / 51.5px) so nothing below moves, but sitting closer to the title as in the design.
   1024 / 375 sizes from Figma; 1920 scaled like the countdown digits */
.ls-countdown[hidden],
.ls-live[hidden] {
  display: none;
}
.ls-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -8px 0 26.4px;
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}
.ls-live__dot {
  flex: 0 0 auto;
  width: 13.8px;
  height: 13.8px;
  border-radius: 50%;
  background-color: #00ca72;
}
@media (max-width: 1279px) {
  .ls-live {
    gap: 11px;
    margin: -6.6px 0 23px;
    font-size: 32px;
  }
  .ls-live__dot {
    width: 10.511px;
    height: 10.511px;
  }
}
@media (max-width: 767px) {
  .ls-live {
    gap: 8.7px;
    margin: -5px 0 25.3px;
    font-size: 24px;
  }
  .ls-live__dot {
    width: 8.279px;
    height: 8.279px;
  }
}

/* Fallback "technical difficulties" popup (ACF switch). Sizes measured from the 1920 / 1024 / 375 designs */
.ls-trouble {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ls-trouble[hidden] {
  display: none;
}
.ls-trouble__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.ls-trouble__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 870px;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 110px 40px 38px;
  border-radius: 32px;
  background-color: #e7ecff;
  color: #000;
  font-family: Poppins, sans-serif;
  text-align: center;
}
.ls-trouble__close {
  position: absolute;
  top: 35px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  cursor: pointer;
}
.ls-trouble__title {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: #000;
}
.ls-trouble__text {
  max-width: 610px;
  margin: 31px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}
.ls-trouble__shapes {
  display: flex;
  gap: 5.6px;
  margin-top: 111px;
}
.ls-trouble__shapes img {
  display: block;
  width: 45.37px;
  height: 45.37px;
}
@media (max-width: 1279px) {
  .ls-trouble__card {
    width: 734px;
    padding: 88px 40px 35px;
  }
  .ls-trouble__close {
    top: 34px;
    right: 35px;
  }
  .ls-trouble__title {
    font-size: 40px;
  }
  .ls-trouble__text {
    max-width: 495px;
    margin-top: 29px;
    font-size: 18px;
  }
  .ls-trouble__shapes {
    margin-top: 77px;
  }
}
@media (max-width: 767px) {
  .ls-trouble {
    padding: 24px 25px;
  }
  .ls-trouble__card {
    width: 325px;
    align-items: flex-start;
    padding: 97px 24px 33px;
    text-align: left;
  }
  .ls-trouble__close {
    top: 29px;
    right: 29px;
  }
  .ls-trouble__title {
    font-size: 36px;
  }
  .ls-trouble__text {
    max-width: none;
    margin-top: 26px;
    font-size: 16px;
  }
  .ls-trouble__shapes {
    gap: 4.2px;
    margin-top: 80px;
  }
  .ls-trouble__shapes img {
    width: 33px;
    height: 33px;
  }
}

/* After the stream: "Watch On Demand" in place of "We are live!" (no live dot) */
.ls-live.is-on-demand .ls-live__dot {
  display: none;
}

/* Broadcast message from the status page: a lime banner above the player, the width of the player and
   rounded like it. One motion only: it unfolds (and the player slides down) when a message arrives */
.ls-broadcast {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s;
}
.ls-broadcast.is-shown {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
.ls-broadcast__clip {
  min-height: 0;
  overflow: hidden;
}
.ls-broadcast__card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: var(--ls-video-w);
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
  padding: 16px 32px 16px 16px;
  border-radius: var(--ls-radius);
  background-color: var(--ls-lime);
  color: #000;
  font-family: Poppins, sans-serif;
}
.ls-broadcast__icon {
  flex: 0 0 auto;
  display: block;
  width: 46px;
  height: 46px;
}
.ls-broadcast__text {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.ls-broadcast__link {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.ls-broadcast__link:hover {
  text-decoration-thickness: 2.5px;
}
.ls-broadcast__link:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 2px;
}
/* Only while the banner opens/closes (set by e26-livestream.js), so resizing doesn't animate the gap */
.ls-stage.is-animating {
  transition: margin-top 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ls-broadcast.is-shown + .ls-stage {
  margin-top: 24px;
}
@media (max-width: 1279px) {
  .ls-broadcast__card {
    gap: 14px;
    margin-top: 32px;
    padding: 12px 24px 12px 12px;
  }
  .ls-broadcast__icon {
    width: 38px;
    height: 38px;
  }
  .ls-broadcast__text {
    font-size: 18px;
  }
  .ls-broadcast.is-shown + .ls-stage {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .ls-broadcast__card {
    align-items: flex-start;
    gap: 12px;
    max-width: none;
    width: calc(100% - 48px);
    margin-top: 28px;
    padding: 12px 16px 12px 12px;
  }
  .ls-broadcast__icon {
    width: 32px;
    height: 32px;
  }
  .ls-broadcast__text {
    font-size: 15px;
    line-height: 1.45;
  }
  .ls-broadcast__link {
    white-space: normal;
  }
  .ls-broadcast.is-shown + .ls-stage {
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-broadcast,
  .ls-broadcast.is-shown,
  .ls-stage.is-animating {
    transition: none;
  }
}
