:root {
  --hchc-navy: #082d59;
  --hchc-navy-deep: #041f40;
  --hchc-gold: #dda900;
  --hchc-ink: #102a47;
  --hchc-soft: #f3f7fa;
  --hchc-line: #d9e2ea;
}

.hchc-enrichment-page { color: var(--hchc-ink); font-family: inherit; }
.hchc-enrichment-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hchc-enrichment-hero { padding: 30px 0 28px; background: linear-gradient(135deg, #f8fbfd 0%, #eef4f8 100%); }
.hchc-enrichment-hero h1,
.hchc-course-section h2,
.hchc-catalog-cta h2 { color: var(--hchc-navy); margin: 10px 0 18px; line-height: 1.08; }
.hchc-enrichment-hero h1 { font-size: clamp(36px, 4.2vw, 52px); margin-bottom: 10px; }
.hchc-enrichment-hero p { max-width: 860px; margin: 0; font-size: 17px; line-height: 1.55; }
.hchc-eyebrow { display: inline-block; color: var(--hchc-navy); font-weight: 800; letter-spacing: .12em; font-size: 13px; }
.hchc-enrichment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hchc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; text-decoration: none !important; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.hchc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4,31,64,.14); }
.hchc-btn--gold { background: var(--hchc-gold); color: #fff !important; border: 2px solid var(--hchc-gold); }
.hchc-btn--outline { background: #fff; color: var(--hchc-navy) !important; border: 2px solid var(--hchc-navy); }

.hchc-course-jump { position: sticky; top: 0; z-index: 20; background: #fff; border-top: 1px solid var(--hchc-line); border-bottom: 1px solid var(--hchc-line); }
.admin-bar .hchc-course-jump { top: 32px; }
.hchc-course-jump .hchc-enrichment-wrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
.hchc-course-jump a { color: var(--hchc-navy); font-weight: 800; text-decoration: none; padding: 9px 14px; border-radius: 999px; }
.hchc-course-jump a:hover { background: var(--hchc-soft); }

.hchc-course-section { padding: 72px 0; scroll-margin-top: 110px; }
.hchc-course-section--soft { background: var(--hchc-soft); }
.hchc-course-section__heading { margin-bottom: 30px; }
.hchc-course-section h2 { font-size: clamp(34px, 4vw, 50px); }
.hchc-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.hchc-course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hchc-line); border-radius: 24px; padding: 26px; box-shadow: 0 13px 34px rgba(4,31,64,.07); }
.hchc-course-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hchc-course-badge,
.hchc-course-division { display: inline-flex; align-items: center; min-height: 29px; padding: 6px 10px; border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .07em; }
.hchc-course-badge { color: #fff; background: var(--hchc-navy); }
.hchc-course-badge.is-hybrid { background: #1266d6; }
.hchc-course-badge.is-online { background: #555f6e; }
.hchc-course-division { color: var(--hchc-navy); background: #edf2f6; text-align: right; }
.hchc-course-card h3 { color: var(--hchc-navy); font-size: 27px; line-height: 1.15; margin: 0 0 20px; }
.hchc-course-card p { margin: 20px 0 0; font-size: 16px; line-height: 1.62; }
.hchc-course-facts { display: grid; gap: 10px; margin: 0; padding: 16px 0; border-top: 1px solid var(--hchc-line); border-bottom: 1px solid var(--hchc-line); }
.hchc-course-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 10px; }
.hchc-course-facts dt { font-weight: 800; color: var(--hchc-navy); }
.hchc-course-facts dd { margin: 0; }

.hchc-catalog-cta { padding: 72px 0 84px; background: #fff; }
.hchc-catalog-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 38px; color: #fff; background: var(--hchc-navy); border-radius: 28px; }
.hchc-catalog-cta__box .hchc-eyebrow,
.hchc-catalog-cta__box h2 { color: #fff; }
.hchc-catalog-cta__box h2 { margin-bottom: 10px; font-size: clamp(32px, 4vw, 48px); }
.hchc-catalog-cta__box p { margin: 0; max-width: 720px; }
.hchc-course-note { margin: 18px 4px 0; font-size: 14px; }

/* Buttons added to the existing Programs page */
.hchc-program-class-button { margin-top: 22px !important; }
.hchc-program-class-button.hchc-btn { width: fit-content; }

@media (max-width: 960px) {
  .hchc-course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hchc-catalog-cta__box { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .hchc-enrichment-wrap { width: min(100% - 28px, 1180px); }
  .hchc-enrichment-hero { padding: 24px 0 22px; }
  .hchc-course-grid { grid-template-columns: 1fr; }
  .hchc-course-card { border-radius: 20px; padding: 22px; }
  .hchc-course-card h3 { font-size: 24px; }
  .hchc-course-card__top { align-items: flex-start; flex-direction: column; }
  .hchc-course-facts div { grid-template-columns: 92px 1fr; }
  .hchc-course-jump { position: static; }
  .hchc-course-jump .hchc-enrichment-wrap { flex-direction: column; }
  .hchc-catalog-cta__box { padding: 28px 22px; }
}


/* Dedicated page-template safeguards */
.hchc-enrichment-template { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.hchc-enrichment-template .hchc-enrichment-page { margin: 0; }
body.page-enrichment-classes .entry-header,
body.page-enrichment-classes .page-header { display: none !important; }

/* 1.0.2: Programs-page button placement and alignment */
body.page-programs .hchc-program-card--with-button,
body.page-id-0 .hchc-program-card--with-button {
  height: 100%;
}

body.page-programs .hchc-program-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.page-programs .hchc-program-class-button {
  width: 100% !important;
  max-width: 380px;
  min-height: 54px;
  margin-top: auto !important;
  align-self: center;
  text-align: center;
}

@media (min-width: 782px) {
  body.page-programs .hchc-program-card--with-button {
    display: flex;
    flex-direction: column;
  }
}

/* 1.0.3: exactly three preview cards per section with aligned enroll buttons */
.hchc-course-card__description {
  flex: 1 1 auto;
}

.hchc-course-card__enroll {
  width: 100%;
  margin-top: 24px;
  min-height: 48px;
}

.hchc-course-grid > .hchc-course-card {
  height: 100%;
}

/* Align every CTA in the three Programs cards */
body.page-programs .hchc-program-card--aligned,
body.page-programs .hchc-program-card--aligned > div {
  height: 100%;
}

body.page-programs .hchc-program-card__body {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.page-programs .hchc-program-card__cta,
body.page-programs .hchc-program-class-button {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  margin-top: auto !important;
  align-self: stretch !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}


/* 1.0.4: single-line facts and dependable Programs-page CTA alignment */
@media (min-width: 961px) {
  .hchc-course-facts div {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
  }
  .hchc-course-facts dt,
  .hchc-course-facts dd {
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.35;
  }
}

body.page-programs .hchc-program-card--aligned {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.page-programs .hchc-program-card--aligned .hchc-program-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.page-programs .hchc-program-card__cta {
  min-height: 58px !important;
  margin-top: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* 1.0.5: Reserve a consistent two-line title area so facts align across every row. */
@media (min-width: 701px) {
  .hchc-course-card h3 {
    min-height: 62px;
    display: flex;
    align-items: flex-start;
  }
}


/* 1.0.6: Keep the closing CTA headline and gold button on one row. */
@media (min-width: 961px) {
  .hchc-catalog-cta__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "copy button";
    align-items: center;
    column-gap: 32px;
  }

  .hchc-catalog-cta__box > div {
    grid-area: copy;
    min-width: 0;
  }

  .hchc-catalog-cta__box h2 {
    white-space: nowrap;
    font-size: clamp(30px, 3.1vw, 52px);
    letter-spacing: .01em;
  }

  .hchc-catalog-cta__box > .hchc-btn--gold {
    grid-area: button;
    white-space: nowrap;
    min-width: 270px;
    text-transform: uppercase;
  }
}

.hchc-catalog-cta__box h2,
.hchc-catalog-cta__box > .hchc-btn--gold {
  text-transform: uppercase;
}

/* 1.1.0 consolidated site update */
.hchc-enrichment-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:44px;align-items:center}.hchc-enrichment-hero__media video{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:26px;background:#061d3a;box-shadow:0 22px 48px rgba(4,31,63,.16)}.hchc-course-note{line-height:1.55}
.hchc-clickable-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.hchc-clickable-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(5,35,68,.12)}.hchc-inline-card-button,.hchc-membership-actions a,.hchc-parent-resource-card a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:2px solid #082f5b;border-radius:999px;color:#082f5b;font-weight:800;text-decoration:none}.hchc-inline-card-button{margin-top:20px}
body.page-programs .hchc-program-card--aligned{display:flex!important;flex-direction:column!important}body.page-programs .hchc-program-card__body{flex:1 1 auto!important;display:flex!important;flex-direction:column!important}body.page-programs .hchc-program-card__cta{margin-top:auto!important;width:100%!important;min-height:58px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.hchc-membership-card h2,.hchc-membership-card h3,.hchc-membership-card h4{white-space:nowrap}.hchc-membership-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.hchc-parent-dashboard{width:min(1180px,calc(100% - 40px));margin:58px auto 90px}.hchc-parent-dashboard__intro{max-width:760px;margin-bottom:30px}.hchc-parent-dashboard__intro>span{color:#a77b00;font-size:13px;font-weight:900;letter-spacing:.14em}.hchc-parent-dashboard__intro h2{margin:8px 0 10px;color:#082f5b;font-size:clamp(38px,5vw,62px)}.hchc-parent-dashboard__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.hchc-parent-resource-card{display:flex;flex-direction:column;min-height:250px;padding:28px;border:1px solid #dbe5ee;border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(8,47,91,.08)}.hchc-parent-resource-card.is-featured{background:#f7f1df;border-color:#e6c65b}.hchc-parent-resource-card h3{margin:0 0 12px;color:#082f5b;font-size:25px}.hchc-parent-resource-card p{flex:1 1 auto;margin:0 0 24px;line-height:1.55}.hchc-parent-hero-video{width:min(1180px,calc(100% - 40px));margin-left:auto!important;margin-right:auto!important}
.hchc-nav-dropdown{position:relative}.hchc-nav-submenu{position:absolute;z-index:9999;top:calc(100% + 10px);left:50%;min-width:210px;padding:10px;border:1px solid #dbe5ee;border-radius:14px;background:#fff;box-shadow:0 16px 38px rgba(3,28,58,.16);opacity:0;visibility:hidden;transform:translate(-50%,-5px);transition:.18s ease}.hchc-nav-submenu a{display:block!important;padding:11px 13px!important;border-radius:9px;color:#082f5b!important;white-space:nowrap;text-decoration:none}.hchc-nav-submenu a:hover{background:#eef3f7}.hchc-nav-dropdown:hover>.hchc-nav-submenu,.hchc-nav-dropdown:focus-within>.hchc-nav-submenu,.hchc-nav-dropdown.is-open>.hchc-nav-submenu{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:960px){.hchc-enrichment-hero__grid{grid-template-columns:1fr}.hchc-parent-dashboard__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hchc-nav-submenu{position:static;min-width:0;box-shadow:none;border:0;padding:5px 0 5px 16px;opacity:1;visibility:visible;transform:none;display:none}.hchc-nav-dropdown.is-open>.hchc-nav-submenu{display:block}}@media(max-width:700px){.hchc-membership-actions,.hchc-parent-dashboard__grid{grid-template-columns:1fr}.hchc-parent-dashboard{width:min(100% - 28px,1180px)}}


/* 1.1.1: Closing CTA spacing, Programs buttons, and resource links */
@media (min-width: 961px) {
  .hchc-catalog-cta__box {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    align-items: stretch !important;
  }
  .hchc-catalog-cta__box h2 {
    white-space: normal !important;
    max-width: 980px;
    font-size: clamp(34px, 3.3vw, 54px) !important;
  }
  .hchc-catalog-cta__box > .hchc-btn--gold {
    align-self: end !important;
    margin-bottom: 8px;
  }
}

.hchc-program-card__cta,
a.hchc-program-card__cta,
button.hchc-program-card__cta {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 24px !important;
  border: 2px solid #082d59 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #082d59 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}
.hchc-program-card__cta:hover,
a.hchc-program-card__cta:hover,
button.hchc-program-card__cta:hover {
  background: #082d59 !important;
  color: #fff !important;
  text-decoration: none !important;
}


/* 1.1.4: compact Umbrella Portal title area and Parent Portal events card */
body.hchc-compact-umbrella-portal .hchc-umbrella-portal-header {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 54px !important;
  padding-bottom: 54px !important;
  margin-bottom: 0 !important;
}
body.hchc-compact-umbrella-portal .hchc-umbrella-portal-title {
  margin: 0 !important;
  font-size: clamp(42px, 5.4vw, 76px) !important;
  line-height: 1.02 !important;
  white-space: nowrap;
}
@media (max-width: 900px) {
  body.hchc-compact-umbrella-portal .hchc-umbrella-portal-header {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
  body.hchc-compact-umbrella-portal .hchc-umbrella-portal-title {
    white-space: normal;
    font-size: clamp(36px, 10vw, 58px) !important;
  }
}
