/* ES Webinar Countdown Banner — styled to match the GHNS signup page timer */

.eswb,
.eswb * {
  box-sizing: border-box;
}

.eswb[hidden] {
  display: none !important;
}

.eswb {
  --eswb-bg: #25010f;
  --eswb-text: #f4f1ee;
  --eswb-blush: #e1cbc4;
  --eswb-accent: #a74461;
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 30px 0;
  overflow-x: hidden;
  background: var(--eswb-bg);
  color: var(--eswb-text);
}

.eswb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  width: calc(100% - 120px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.eswb-heading {
  flex: 1 1 auto;
  min-width: 0;
}

.eswb .eswb-eyebrow {
  margin: 0 0 8px !important;
  color: var(--eswb-blush) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.eswb .eswb-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--eswb-text) !important;
  font-family: "Kaisei Tokumin", serif !important;
  font-size: clamp(25px, 2.6vw, 34px) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Button — same pill as the site's "Book a free discovery call" */
.eswb .eswb-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--eswb-blush) !important;
  color: var(--eswb-bg) !important;
  -webkit-text-fill-color: var(--eswb-bg) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}

.eswb .eswb-btn:hover,
.eswb .eswb-btn:focus-visible {
  background: #fff !important;
}

.eswb .eswb-btn:focus-visible {
  outline: 2px solid var(--eswb-blush);
  outline-offset: 3px;
}

/* Thank-you page confirmation */
.eswb .eswb-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0 !important;
  color: var(--eswb-text) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.eswb .eswb-confirm strong {
  color: var(--eswb-blush) !important;
  font-weight: 600 !important;
}

.eswb-check {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--eswb-blush);
  border-radius: 50%;
}

.eswb-check::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--eswb-blush);
  border-bottom: 2px solid var(--eswb-blush);
  transform: rotate(45deg);
}

/* Countdown */
.eswb-units {
  display: grid;
  grid-template-columns:
    minmax(58px, 1fr) auto
    minmax(58px, 1fr) auto
    minmax(58px, 1fr) auto
    minmax(58px, 1fr);
  gap: 10px;
  align-items: start;
  flex: 0 1 520px;
  width: 100%;
  max-width: 520px;
}

.eswb-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.eswb .eswb-number {
  display: block;
  color: var(--eswb-text) !important;
  font-family: "Kaisei Tokumin", serif !important;
  font-size: clamp(32px, 3.7vw, 48px) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}

.eswb .eswb-name {
  display: block;
  margin-top: 8px;
  color: var(--eswb-blush) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

.eswb-divider {
  padding-top: 4px;
  color: var(--eswb-accent);
  font-family: "Kaisei Tokumin", serif;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1;
}

/* Live state: hide the clock, keep heading + button */
.eswb.is-live .eswb-units {
  display: none;
}

@media (max-width: 900px) {
  .eswb-inner {
    flex-direction: column;
    align-items: center;
    width: calc(100% - 64px);
    gap: 24px;
    text-align: center;
  }

  .eswb-units {
    flex-basis: auto;
  }

  .eswb .eswb-confirm {
    justify-content: center;
    text-align: left;
  }

  /* Put the button/confirmation under the clock on smaller screens */
  .eswb-heading {
    display: contents;
  }

  .eswb .eswb-eyebrow,
  .eswb .eswb-title {
    order: 0;
  }

  .eswb .eswb-eyebrow {
    margin-bottom: -16px !important;
  }

  .eswb-units {
    order: 1;
  }

  .eswb .eswb-btn,
  .eswb .eswb-confirm {
    order: 2;
    margin-top: 0 !important;
  }
}

@media (max-width: 600px) {
  .eswb {
    padding: 26px 0;
  }

  .eswb-inner {
    width: calc(100% - 36px);
    gap: 20px;
  }

  .eswb .eswb-eyebrow {
    margin-bottom: -12px !important;
  }

  .eswb .eswb-title {
    font-size: 26px !important;
  }

  .eswb-units {
    grid-template-columns:
      minmax(45px, 1fr) auto
      minmax(45px, 1fr) auto
      minmax(45px, 1fr) auto
      minmax(45px, 1fr);
    gap: 4px;
  }

  .eswb .eswb-number {
    font-size: 31px !important;
  }

  .eswb-divider {
    padding-top: 2px;
    font-size: 26px;
  }

  .eswb .eswb-name {
    margin-top: 6px;
    font-size: 7px !important;
    letter-spacing: 0.07em !important;
  }

  .eswb .eswb-confirm {
    font-size: 13px !important;
  }
}

/* Keep the theme's scroll-reveal animations and header link styles from hiding
   anything in the bar (ID-level + !important beats the inline styles they add). */
#eswb .eswb-inner,
#eswb .eswb-heading,
#eswb .eswb-eyebrow,
#eswb .eswb-title,
#eswb .eswb-btn,
#eswb .eswb-confirm,
#eswb .eswb-units,
#eswb .eswb-unit,
#eswb .eswb-number,
#eswb .eswb-name,
#eswb .eswb-divider {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
}

#eswb .eswb-btn {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
}

#eswb .eswb-btn::before,
#eswb .eswb-btn::after {
  content: none !important;
  display: none !important;
}

#eswb .eswb-btn span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
}
