:root {
  --ssh-card-blue: #22b6e7;
  --ssh-card-blue-dark: #087eaf;
  --ssh-card-green: #b3d789;
  --ssh-card-green-dark: #9fcd76;
  --ssh-card-navy: #17304b;
  --ssh-card-yellow: #ffe34e;
  --ssh-card-ice: #eafaff;
  --ssh-card-border: #dce9ee;
}

/* Dynamic hero generated by [class_hero_header]. */
.ssh-class-hero {
  position: relative;
  display: flex;
  min-height: clamp(310px, 29vw, 380px);
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid #ccebf5;
  color: var(--ssh-card-navy);
  background: linear-gradient(125deg, #eafaff 0%, #f7fdff 46%, #d8f5ff 100%);
  isolation: isolate;
}

.ssh-class-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: clamp(46px, 4.5vw, 62px) 0;
}

.ssh-class-hero__inner::before {
  position: absolute;
  top: 50%;
  left: -28px;
  width: 7px;
  height: min(145px, 52%);
  border-radius: 999px;
  background: var(--ssh-card-blue);
  content: "";
  transform: translateY(-50%);
}

.ssh-class-hero__eyebrow {
  display: inline-block;
  margin: 0 0 20px !important;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ssh-card-blue-dark);
  background: rgba(34, 182, 231, 0.14);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ssh-class-hero__title {
  position: relative;
  width: min(100%, 970px);
  margin: 0 !important;
  color: var(--ssh-card-navy) !important;
  font-size: clamp(46px, 5.5vw, 74px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
  line-height: 0.99 !important;
  text-wrap: balance;
  text-shadow: none;
}

.ssh-class-hero__title::after {
  display: block;
  width: 86px;
  height: 9px;
  margin-top: 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ssh-card-yellow) 0 54%, var(--ssh-card-green) 54% 100%);
  content: "";
}

.ssh-class-hero__shape {
  position: absolute;
  z-index: 1;
  display: block;
  background: var(--ssh-card-blue);
  pointer-events: none;
}

.ssh-class-hero__shape--circle {
  top: -112px;
  right: 7%;
  left: auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
}

.ssh-class-hero__shape--semicircle {
  top: 43px;
  right: 7%;
  left: auto;
  width: 190px;
  height: 95px;
  border-radius: 0 0 80px 80px;
}

.ssh-class-hero__shape--triangle-one,
.ssh-class-hero__shape--triangle-two {
  bottom: 0;
  width: 0;
  height: 0;
  background: transparent;
  border-right: 38px solid transparent;
  border-bottom: 68px solid var(--ssh-card-yellow);
  border-left: 38px solid transparent;
}

.ssh-class-hero__shape--triangle-one {
  left: 70%;
}

.ssh-class-hero__shape--triangle-two {
  left: 79%;
}

/* Responsive Class featured-image card generated by [show_featured_image]. */
.ssh-class-featured {
  position: relative;
  width: 100%;
  margin: 0 0 34px !important;
}

.ssh-class-featured__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 9px solid #fff;
  border-radius: 22px;
  background: #dff5fb;
  box-shadow: 0 16px 38px rgba(23, 48, 75, 0.12);
}

.ssh-class-featured__image-wrap::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 48, 75, 0.06);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.ssh-class-featured__image,
.ssh-class-featured__image-wrap > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 500ms ease;
}

.ssh-class-featured:hover .ssh-class-featured__image,
.ssh-class-featured:hover .ssh-class-featured__image-wrap > img {
  transform: scale(1.015);
}

.ssh-class-featured__caption {
  position: relative;
  width: calc(100% - 34px);
  margin: -4px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--ssh-card-border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  color: #526a7d;
  background: #f6fafc;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  text-align: left;
}

.ssh-class-featured__caption p {
  margin: 0 !important;
}

/* Current Offerings cards for Kinder Spanish and Spanish Club. */
.ssh-offerings-card {
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--ssh-card-border);
  border-radius: 20px;
  color: var(--ssh-card-navy);
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 48, 75, 0.12);
}

.ssh-offerings-card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 18px 22px;
  background: linear-gradient(120deg, var(--ssh-card-blue-dark), var(--ssh-card-blue));
}

.ssh-offerings-card__header::after {
  position: absolute;
  top: -45px;
  right: -34px;
  width: 105px;
  height: 105px;
  border: 19px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.ssh-offerings-card__header h2 {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: none !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0.045em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.ssh-offerings-card__spark {
  position: relative;
  z-index: 1;
  color: var(--ssh-card-yellow);
  font-size: 21px;
}

.ssh-offerings-card__body {
  padding: 24px;
}

.ssh-offerings-card__details {
  color: var(--ssh-card-navy);
  font-size: 15px;
  line-height: 1.55;
}

.ssh-offerings-card__details > :first-child {
  margin-top: 0 !important;
}

.ssh-offerings-card__details > :last-child {
  margin-bottom: 0 !important;
}

.ssh-offerings-card__details strong,
.ssh-offerings-card__details b {
  color: var(--ssh-card-navy);
  font-weight: 850;
}

.ssh-offerings-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px 0 13px;
  color: #64798b !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none !important;
}

.ssh-offerings-card__note span {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--ssh-card-blue-dark);
  background: #e5f8fd;
  font-family: Georgia, serif;
  font-size: 11px;
}

.ssh-offerings-card__note:hover,
.ssh-offerings-card__note:focus-visible {
  color: var(--ssh-card-blue-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ssh-offerings-card__register {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--ssh-card-border);
}

.ssh-offerings-card__register > p {
  margin: 0 0 11px !important;
  color: #526a7d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ssh-offerings-card__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssh-offerings-card__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 51px;
  padding: 13px 15px !important;
  border: 2px solid var(--ssh-card-green) !important;
  border-radius: 7px !important;
  color: var(--ssh-card-navy) !important;
  background: var(--ssh-card-green) !important;
  box-shadow: 0 8px 18px rgba(99, 134, 55, 0.18);
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ssh-offerings-card__body > .ssh-offerings-card__button {
  width: 100%;
}

.ssh-offerings-card__button:hover,
.ssh-offerings-card__button:focus-visible {
  color: var(--ssh-card-navy) !important;
  background: var(--ssh-card-green-dark) !important;
  box-shadow: 0 11px 23px rgba(99, 134, 55, 0.25);
  transform: translateY(-2px);
}

/* New all-in-one card generated by [class_sidebar_card]. */
.ssh-class-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(21, 54, 74, 0.16), 0 3px 10px rgba(21, 54, 74, 0.08);
  font-family: inherit;
  isolation: isolate;
}

.ssh-class-card::after {
  position: absolute;
  right: -42px;
  top: -54px;
  z-index: -1;
  width: 135px;
  height: 135px;
  border: 24px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.ssh-class-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 21px 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--ssh-card-blue-dark), var(--ssh-card-blue));
}

.ssh-class-card__icon {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--ssh-card-navy);
  background: var(--ssh-card-yellow);
  font-size: 20px;
  font-weight: 800;
}

.ssh-class-card__eyebrow {
  margin: 0 !important;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ssh-class-card__body {
  padding: 28px 25px 23px;
}

.ssh-class-card__price {
  margin: 0 0 19px;
  color: var(--ssh-card-navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.ssh-class-card__price p {
  margin: 0;
}

.ssh-class-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 3px 4px;
  border: 0;
  border-radius: 0;
  color: #64798b !important;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.ssh-class-card__note:hover,
.ssh-class-card__note:focus-visible {
  color: var(--ssh-card-blue-dark) !important;
  background: transparent;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ssh-class-card__note-icon {
  display: inline-grid;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--ssh-card-blue-dark);
  background: #e5f8fd;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

.ssh-class-card__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--ssh-card-navy) !important;
  background: var(--ssh-card-green) !important;
  box-shadow: 0 8px 18px rgba(124, 175, 72, 0.28);
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ssh-class-card__button:hover,
.ssh-class-card__button:focus-visible {
  color: var(--ssh-card-navy) !important;
  box-shadow: 0 11px 23px rgba(124, 175, 72, 0.36);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.ssh-class-card__arrow {
  font-size: 21px;
  line-height: 1;
  transition: transform 180ms ease;
}

.ssh-class-card__button:hover .ssh-class-card__arrow {
  transform: translateX(3px);
}

.ssh-class-card__reassurance {
  margin: 11px 0 0 !important;
  color: #6d7f89;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Upgrade the user's existing three-part markup without requiring a page edit. */
body.single-class .noteaboutpricing,
body.single-class .registerr {
  box-sizing: border-box;
  width: 100%;
  max-width: 410px;
  margin-right: auto;
  margin-left: auto;
}

body.single-class .noteaboutpricing {
  margin-top: 11px;
  margin-bottom: 11px;
  padding: 2px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

body.single-class .noteaboutpricing .importantnotes {
  color: #64798b !important;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none !important;
}

body.single-class .noteaboutpricing .importantnotes:hover,
body.single-class .noteaboutpricing .importantnotes:focus-visible {
  color: var(--ssh-card-blue-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.single-class .registerr {
  margin-bottom: 5px;
}

body.single-class .registerr .registernowbutton {
  display: block !important;
  width: 100%;
  padding: 16px 20px !important;
  border-radius: 10px !important;
  color: var(--ssh-card-navy) !important;
  background: var(--ssh-card-green) !important;
  box-shadow: 0 8px 18px rgba(124, 175, 72, 0.28);
  font-size: 17px !important;
  font-weight: 800 !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.single-class .registerr .registernowbutton:hover,
body.single-class .registerr .registernowbutton:focus-visible {
  color: var(--ssh-card-navy) !important;
  background: var(--ssh-card-green-dark) !important;
  box-shadow: 0 11px 23px rgba(124, 175, 72, 0.36);
  transform: translateY(-2px);
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ssh-class-hero {
    min-height: 340px;
  }

  .ssh-class-hero__inner {
    width: min(100% - 72px, 920px);
    padding: 54px 0;
  }

  .ssh-class-hero__title {
    width: min(82%, 780px);
    font-size: clamp(46px, 6.3vw, 64px) !important;
  }

  .ssh-class-hero__shape--circle,
  .ssh-class-hero__shape--semicircle {
    right: -20px;
    opacity: 0.72;
  }
}

@media (max-width: 767px) {
  .ssh-class-hero {
    min-height: 245px;
  }

  .ssh-class-hero__inner {
    width: min(100% - 36px, 1110px);
    padding: 38px 0 48px;
  }

  .ssh-class-hero__inner::before {
    top: auto;
    bottom: 25px;
    left: 0;
    width: 58px;
    height: 6px;
    transform: none;
  }

  .ssh-class-hero__title {
    width: calc(100% - 10px);
    font-size: clamp(36px, 10.8vw, 52px) !important;
    line-height: 1.02 !important;
  }

  .ssh-class-hero__title::after {
    display: none;
  }

  .ssh-class-hero__eyebrow {
    margin-bottom: 11px !important;
    font-size: 11px;
  }

  .ssh-class-hero__shape--circle,
  .ssh-class-hero__shape--semicircle {
    left: auto;
    right: -42px;
    opacity: 0.75;
  }

  .ssh-class-hero__shape--triangle-one {
    left: 65%;
  }

  .ssh-class-hero__shape--triangle-two {
    left: 80%;
  }

  .ssh-class-featured {
    margin-bottom: 25px !important;
  }

  .ssh-class-featured__image-wrap {
    aspect-ratio: 4 / 3;
    border-width: 6px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(23, 48, 75, 0.13);
  }

  .ssh-class-featured__caption {
    width: calc(100% - 22px);
    padding: 10px 12px;
    font-size: 12px;
  }

  .ssh-offerings-card {
    max-width: none;
    border-radius: 16px;
  }

  .ssh-offerings-card__header {
    padding: 15px 18px;
  }

  .ssh-offerings-card__header h2 {
    font-size: 16px !important;
  }

  .ssh-offerings-card__body {
    padding: 19px 18px;
  }

  .ssh-offerings-card__details {
    font-size: 14px;
  }

  /* The Divi section containing the card becomes a persistent mobile panel. */
  body.single-class #stickyonmobilesomehow {
    position: sticky !important;
    bottom: 10px;
    z-index: 999;
    width: calc(100% - 20px);
    max-width: 500px;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    pointer-events: none;
  }

  body.single-class #stickyonmobilesomehow .et_pb_row,
  body.single-class #stickyonmobilesomehow .et_pb_column,
  body.single-class #stickyonmobilesomehow .et_pb_module,
  body.single-class #stickyonmobilesomehow .ssh-class-card {
    pointer-events: auto;
  }

  body.single-class #stickyonmobilesomehow .et_pb_row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-class #stickyonmobilesomehow .et_pb_column,
  body.single-class #stickyonmobilesomehow .et_pb_code,
  body.single-class #stickyonmobilesomehow .et_pb_code_inner {
    margin: 0 !important;
    padding: 0 !important;
  }

  .ssh-class-card {
    max-width: none;
    border: 1px solid rgba(8, 127, 174, 0.15);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(21, 54, 74, 0.28), 0 4px 14px rgba(21, 54, 74, 0.16);
  }

  .ssh-class-card__top {
    padding: 13px 18px;
  }

  .ssh-class-card__icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .ssh-class-card__eyebrow {
    font-size: 14px;
  }

  .ssh-class-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(145px, 1.1fr);
    gap: 10px 12px;
    align-items: center;
    padding: 15px 18px 13px;
  }

  .ssh-class-card__price {
    grid-column: 1;
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
    text-align: left;
  }

  .ssh-class-card__note {
    grid-column: 1;
    margin: 0;
    padding: 2px 0;
    justify-content: flex-start;
    font-size: 11px;
  }

  .ssh-class-card__note-icon {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .ssh-class-card__button {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 72px;
    padding: 14px 12px !important;
    font-size: 15px !important;
  }

  .ssh-class-card__reassurance {
    grid-column: 1 / -1;
    margin-top: 0 !important;
    font-size: 11px;
  }

  /* Add breathing room when common floating chat buttons are present. */
  body.single-class #stickyonmobilesomehow .ssh-class-card__body {
    padding-right: 22px;
  }
}

@media (max-width: 390px) {
  .ssh-class-card__body {
    grid-template-columns: 1fr;
  }

  .ssh-class-card__price,
  .ssh-class-card__note,
  .ssh-class-card__button,
  .ssh-class-card__reassurance {
    grid-column: 1;
  }

  .ssh-class-card__button {
    grid-row: auto;
    min-height: 50px;
  }

  .ssh-offerings-card__choices {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-class-card *,
  body.single-class .noteaboutpricing *,
  body.single-class .registerr * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ============================================================
   Current Offerings 1.5.0 redesign
   Flatter hierarchy, cleaner location groups, less box-on-box UI.
   ============================================================ */
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) {
  max-width: 410px;
  overflow: hidden;
  border: 1px solid #d7e6ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 48, 75, 0.09);
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__header {
  min-height: 52px;
  gap: 9px;
  padding: 14px 18px;
  background: #173654;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__header::after {
  display: none;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__header::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #08a7df;
  content: "";
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__header h2 {
  font-size: 16px !important;
  letter-spacing: 0.035em;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__spark {
  color: #ffdf43;
  font-size: 16px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__body {
  padding: 16px 18px 18px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__details {
  font-size: 13px;
  line-height: 1.45;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings__join-notice,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__intro {
  margin: 0 0 14px !important;
  padding: 11px 12px !important;
  border: 1px solid #d5ebf4 !important;
  border-left: 4px solid #08a7df !important;
  border-radius: 7px;
  background: #f3fbfe !important;
  color: #456579;
  font-size: 12px !important;
  line-height: 1.45;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings__join-notice strong,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__intro strong {
  display: inline;
  color: #173654;
  font-weight: 900;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session {
  position: relative;
  padding: 15px 0 16px;
  border-top: 1px solid #e1ebef;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session:first-of-type {
  padding-top: 5px;
  border-top: 0;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session:last-of-type {
  padding-bottom: 3px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings .titleofplace,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session .titleofplace:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #173654;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings .dayandtime {
  margin: 0 0 8px !important;
  color: #173654;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .location-map-link {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d8e7ed;
  border-radius: 50%;
  background: #fff;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings .location-map-link img {
  width: 15px !important;
  height: 15px !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__utility,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session p:has(.ssh-view-dates) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px !important;
  padding: 0 !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-view-dates {
  gap: 6px !important;
  margin: 0 !important;
  color: #087eaf !important;
  font-size: 12px;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-view-dates:hover,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-view-dates:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-view-dates__icon {
  width: 16px !important;
  height: 16px !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings__price {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 27px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef8fb;
  color: #173654;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state {
  display: grid !important;
  gap: 3px !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #526a7d;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state > strong:first-child {
  position: relative;
  display: block;
  margin: 0 0 5px;
  padding: 8px 10px 8px 27px;
  border-radius: 7px;
  background: #fff4c9;
  color: #5d4900;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state > strong:first-child::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7a900;
  content: "";
  transform: translateY(-50%);
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state > span {
  display: block;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state > strong:last-child:not(:first-child) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid #e3ebef;
  color: #173654;
  font-size: 12px;
  font-weight: 900;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state--completed > strong:first-child,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state--closed > strong:first-child {
  background: #f2f4f5;
  color: #596b76;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state--completed > strong:first-child::before,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-session-live-state--closed > strong:first-child::before {
  background: #8a9aa3;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__note {
  margin: 12px 0 10px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__register {
  margin-top: 14px;
  padding-top: 14px;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__button {
  min-height: 48px;
  border: 0 !important;
  border-radius: 8px !important;
  background: #b3d789 !important;
  box-shadow: none;
  font-size: 13px !important;
}

.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__button:hover,
.ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__button:focus-visible {
  background: #a3cd78 !important;
  box-shadow: 0 7px 16px rgba(99, 134, 55, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) {
    border-radius: 12px;
  }

  .ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__body {
    padding: 14px 15px 16px;
  }

  .ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__utility,
  .ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .ssh-offerings-card__session p:has(.ssh-view-dates) {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ssh-offerings-card--enhanced:not(.ssh-offerings-card--private) .tssh-dynamic-offerings__price {
    align-self: flex-start;
  }
}


/* Migrated from Divi layout: Class Dates & Times + About Program */
/* ========================================
   CLASS DATES AND TIMES
======================================== */

.et_pb_code.show_dates_and_times {
    width: 100%;
}

.et_pb_code.show_dates_and_times .class-details-layout {
    overflow: hidden;
    width: 100%;
    border: 1px solid #dbeaf0;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
}


/* ========================================
   MAIN HEADING
======================================== */

.et_pb_code.show_dates_and_times .class-details-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: clamp(22px, 3vw, 28px);
    border-bottom: 1px solid #dbeaf0;
    background: #f7fbfd;
}

.et_pb_code.show_dates_and_times .class-details-heading > div {
    min-width: 0;
}

.et_pb_code.show_dates_and_times .class-details-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dff4fa;
    color: #078dbb;
}

.et_pb_code.show_dates_and_times .class-details-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.et_pb_code.show_dates_and_times .class-details-label {
    display: block;
    margin: 0 0 3px;
    color: #078dbb;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.et_pb_code.show_dates_and_times .class-details-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #17304b;
    font-size: clamp(21px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.15;
}


/* ========================================
   SCHEDULE CONTENT
======================================== */

.et_pb_code.show_dates_and_times .showeventlocationforthis {
    padding: clamp(22px, 3vw, 28px);
    color: #40566c;
    font-size: 14px;
    line-height: 1.5;
}

.et_pb_code.show_dates_and_times .showeventlocationforthis p {
    margin: 0 !important;
    padding: 3px 0;
}


/* Location heading */
.et_pb_code.show_dates_and_times
.showeventlocationforthis
.titleofplace {
    position: relative;
    margin: 25px 0 7px !important;
    padding: 12px 14px 12px 42px;
    border-radius: 10px;
    background: #eef9fc;
    color: #17304b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Remove spacing above the first location */
.et_pb_code.show_dates_and_times
.showeventlocationforthis
.titleofplace:first-child {
    margin-top: 0 !important;
}

/* SVG map pin */
.et_pb_code.show_dates_and_times
.showeventlocationforthis
.titleofplace::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s6-5.2 6-11a6 6 0 1 0-12 0c0 5.8 6 11 6 11z' fill='none' stroke='%23078dbb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.2' fill='none' stroke='%23078dbb' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
}


/* Day and time */
.et_pb_code.show_dates_and_times
.showeventlocationforthis
.dayandtime {
    position: relative;
    margin-bottom: 5px !important;
    padding: 4px 0 4px 25px;
    color: #078dbb;
    font-size: 14px;
    font-weight: 800;
}

/* SVG clock */
.et_pb_code.show_dates_and_times
.showeventlocationforthis
.dayandtime::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 17px;
    height: 17px;
    background-image: url("https://thespanishschoolhouse.ca/wp-content/themes/Divi_Child/assets/icons/clock.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    .et_pb_code.show_dates_and_times .class-details-layout {
        border-radius: 14px;
    }

    .et_pb_code.show_dates_and_times .class-details-heading,
    .et_pb_code.show_dates_and_times .showeventlocationforthis {
        padding: 20px 18px;
    }

    .et_pb_code.show_dates_and_times .class-details-heading {
        gap: 11px;
    }

    .et_pb_code.show_dates_and_times .class-details-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .et_pb_code.show_dates_and_times .class-details-heading h2 {
        font-size: 21px;
    }

    .et_pb_code.show_dates_and_times
    .showeventlocationforthis
    .titleofplace {
        padding: 11px 12px 11px 39px;
        font-size: 13px;
    }

    .et_pb_code.show_dates_and_times
    .showeventlocationforthis
    .titleofplace::before {
        left: 12px;
    }
}
  /* ========================================
   ABOUT PROGRAM
======================================== */

.et_pb_code.about_program {
    width: 100%;
}

.et_pb_code.about_program .about-program-layout {
    width: 100%;
    color: #40566c;
}


/* ========================================
   PROGRAM DESCRIPTION
======================================== */

.et_pb_code.about_program .about-program-description {
    width: 100%;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dbeaf0;
    border-radius: 16px;
    background: #f7fbfd;
    box-sizing: border-box;
}


/* ========================================
   LOWER COLUMNS
======================================== */

.et_pb_code.about_program .about-program-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    width: 100%;
    margin-top: 18px;
}

.et_pb_code.about_program .about-program-section {
    min-width: 0;
    padding: clamp(22px, 3vw, 28px);
    border: 1px solid #dbeaf0;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
}


/* ========================================
   SECTION HEADINGS
======================================== */

.et_pb_code.about_program .about-program-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    margin-bottom: 17px;
}

.et_pb_code.about_program .about-program-heading > div {
    min-width: 0;
}

/* SVG icon circle */
.et_pb_code.about_program .about-program-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dff4fa;
    color: #078dbb;
}

.et_pb_code.about_program .about-program-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Small label above heading */
.et_pb_code.about_program .about-program-label {
    display: block;
    margin: 0 0 3px;
    color: #078dbb;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Main headings */
.et_pb_code.about_program h2 {
    overflow-wrap: anywhere;
    margin: 0 !important;
    padding: 0 !important;
    color: #17304b;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.15;
}


/* ========================================
   CONTENT
======================================== */

.et_pb_code.about_program .about-program-content {
    min-width: 0;
    color: #40566c;
    font-size: 15px;
    line-height: 1.7;
}

.et_pb_code.about_program .about-program-content p {
    margin: 0 0 12px;
    padding: 0;
}

.et_pb_code.about_program .about-program-content p:last-child {
    margin-bottom: 0;
}


/* ========================================
   PROPERLY ALIGNED LISTS
======================================== */

.et_pb_code.about_program .about-program-list ul,
.et_pb_code.about_program .about-program-list ul.tsshlist {
    display: grid !important;
    gap: 12px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Each item uses a bullet column and text column */
.et_pb_code.about_program .about-program-list li,
.et_pb_code.about_program .about-program-list ul.tsshlist li {
    position: static !important;
    display: grid !important;
    grid-template-columns: 17px minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #40566c;
    line-height: 1.5;
    list-style: none !important;
}

/* SVG check bullet */
.et_pb_code.about_program .about-program-list li::before,
.et_pb_code.about_program .about-program-list ul.tsshlist li::before {
    content: "" !important;
    position: static !important;
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 2px 0 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background-color: #dff4fa !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 2.5 2.5L12 5' fill='none' stroke='%23078dbb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 13px !important;
    transform: none !important;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 980px) {
    .et_pb_code.about_program .about-program-columns {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    .et_pb_code.about_program .about-program-description,
    .et_pb_code.about_program .about-program-section {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .et_pb_code.about_program .about-program-heading {
        gap: 11px;
        margin-bottom: 15px;
    }

    .et_pb_code.about_program .about-program-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .et_pb_code.about_program .about-program-icon svg {
        width: 19px;
        height: 19px;
    }

    .et_pb_code.about_program .about-program-label {
        font-size: 10px;
        letter-spacing: 0.07em;
    }

    .et_pb_code.about_program h2 {
        font-size: 21px;
        line-height: 1.15;
    }

    .et_pb_code.about_program .about-program-content {
        font-size: 14px;
    }

    .et_pb_code.about_program .about-program-list ul,
    .et_pb_code.about_program .about-program-list ul.tsshlist {
        gap: 11px !important;
    }

    .et_pb_code.about_program .about-program-list li,
    .et_pb_code.about_program .about-program-list ul.tsshlist li {
        grid-template-columns: 16px minmax(0, 1fr);
        column-gap: 8px;
    }

    .et_pb_code.about_program .about-program-list li::before,
    .et_pb_code.about_program .about-program-list ul.tsshlist li::before {
        width: 16px !important;
        height: 16px !important;
        background-size: 12px !important;
    }
}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media (max-width: 400px) {
    .et_pb_code.about_program .about-program-description,
    .et_pb_code.about_program .about-program-section {
        padding: 18px 15px;
    }

    .et_pb_code.about_program .about-program-heading {
        gap: 9px;
    }

    .et_pb_code.about_program .about-program-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .et_pb_code.about_program h2 {
        font-size: 19px;
    }
}
