/**
 * HelloOlivia brand system
 * Academic navy · stone paper · heritage crimson · brass accent
 * Premium overrides load in helloolivia-ivy.css
 */

:root,
.mmp-story-page,
body.mmp-private-tutor-test-prep,
body {
  /* Core brand — Chinese heritage (cinnabar · ink · paper) */
  --ho-red: #b01e28;
  --ho-red-deep: #7e141c;
  --ho-red-bright: #d12834;
  --ho-yellow: #efe4d6;
  --ho-yellow-soft: #f7f0e6;
  --ho-yellow-deep: #6a5348;
  --ho-white: #fffdf9;
  --ho-cream: #f8f3ea;
  --ho-ink: #1c1412;
  --ho-muted: #4a3b36;
  --ho-border: #e0d2c0;
  --ho-shadow: rgba(126, 20, 28, 0.1);

  /* Override Media Minds Press story tokens */
  --mmp-navy: #7e141c;
  --mmp-navy-deep: #5a0f16;
  --mmp-blue: var(--ho-red);
  --mmp-blue-bright: var(--ho-red-bright);
  --mmp-gray-cool: var(--ho-muted);
  --mmp-charcoal: var(--ho-ink);
  --mmp-white: var(--ho-white);
  --mmp-surface: var(--ho-cream);
  --mmp-border: var(--ho-border);

  /* Bootstrap / Understrap */
  --bs-primary: var(--ho-red);
  --bs-primary-rgb: 110, 30, 42;
  --bs-link-color: var(--ho-red);
  --bs-link-hover-color: var(--ho-red-deep);
  --bs-body-color: var(--ho-ink);
  --bs-body-bg: var(--ho-cream);
  --bs-border-color: var(--ho-border);
}

html,
body {
  background:
    linear-gradient(180deg, #eef1f4 0%, var(--ho-cream) 28%, var(--ho-white) 72%, var(--ho-cream) 100%);
  color: var(--ho-ink);
}

/* Header / nav */
#wrapper-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--ho-white);
}

.ho-navbar,
#wrapper-navbar .navbar,
.navbar.ho-navbar {
  background: var(--ho-white);
  border-bottom: 1px solid var(--ho-border);
  box-shadow: none;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.ho-navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar-light .navbar-nav .nav-link {
  color: var(--ho-red-deep);
  font-weight: 600;
}

.navbar .nav-link {
  padding: 0.45rem 0.7rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:focus-visible,
.navbar .current-menu-item > .nav-link,
.navbar .current_page_item > .nav-link {
  color: var(--ho-red-bright);
}

.navbar .dropdown-menu {
  border: 1px solid var(--ho-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(111, 16, 19, 0.1);
  padding: 0.4rem;
}

.navbar .dropdown-item {
  border-radius: 0.5rem;
  color: var(--ho-red-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--ho-cream);
  color: var(--ho-red);
}

.navbar-brand,
.navbar-brand.custom-logo-link {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  margin-right: 0.75rem;
}

.navbar-brand img,
.navbar-brand .custom-logo,
.custom-logo {
  display: block;
  width: 180px;
  max-width: min(180px, 46vw);
  height: auto;
  max-height: none;
}

/* Never show text site-title next to the image logo */
.navbar-brand:not(.custom-logo-link),
.navbar .site-title {
  display: none !important;
}

@media (max-width: 575.98px) {
  .navbar-brand img,
  .navbar-brand .custom-logo,
  .custom-logo {
    width: 150px;
    max-width: 42vw;
  }
}

.menu-item-cta {
  margin-left: 0.35rem;
}

.menu-item-lang {
  margin-left: 0.25rem;
}

.helloolivia-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--ho-border);
  border-radius: 999px;
  background: var(--ho-cream);
}

.helloolivia-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--ho-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.helloolivia-lang-link:hover,
.helloolivia-lang-link:focus-visible {
  color: var(--ho-red-deep);
  text-decoration: none;
}

.helloolivia-lang-link.is-active {
  background: var(--ho-red);
  color: var(--ho-white);
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    padding: 0.65rem 0;
  }

  .menu-item-cta,
  .menu-item-lang {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .ho-nav-cta {
    justify-content: center;
    width: 100%;
  }
}

.navbar .btn,
.navbar .btn-primary {
  background: var(--ho-red) !important;
  border-color: var(--ho-red-deep) !important;
  color: var(--ho-white) !important;
}

.navbar .btn:hover {
  background: var(--ho-red-deep) !important;
}

/* Buttons sitewide */
.btn-primary,
.wp-block-button__link,
.mmp-story .btn-primary {
  background-color: var(--ho-red) !important;
  border-color: var(--ho-red-deep) !important;
  color: var(--ho-white) !important;
  box-shadow: 0 8px 18px var(--ho-shadow);
}

.btn-primary:hover,
.btn-primary:focus,
.wp-block-button__link:hover,
.mmp-story .btn-primary:hover {
  background-color: var(--ho-red-deep) !important;
  border-color: var(--ho-red-deep) !important;
  color: var(--ho-white) !important;
}

.btn-outline-primary,
.mmp-story .btn-outline-primary {
  color: var(--ho-red) !important;
  border-color: var(--ho-red) !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.mmp-story .btn-outline-primary:hover {
  background: var(--ho-yellow) !important;
  border-color: var(--ho-yellow-deep) !important;
  color: var(--ho-red-deep) !important;
}

/* StoryBrand sections */
.mmp-story-page,
.mmp-story {
  color: var(--ho-ink);
}

.mmp-story-eyebrow,
.mmp-story-proof-badge .badge,
.badge.bg-primary {
  background: var(--ho-yellow) !important;
  color: var(--ho-red-deep) !important;
  border: 1px solid var(--ho-yellow-deep);
  font-weight: 700;
}

.mmp-story-hero__title,
.mmp-story h1,
.mmp-story h2,
.mmp-story h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.ho-section-head h2,
.hero-slide-title {
  color: var(--mmp-navy, #0b1f33);
}

/* Display type — Cormorant Garamond (academic) */
h1,
h2,
.mmp-story-hero__title,
.mmp-story h1,
.mmp-story h2,
.entry-content h1,
.entry-content h2,
.ho-section-head h2,
.ho-pricing__intro h2,
.hero-slide-title {
  font-family: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.hero-slide-title {
  color: #ffffff;
}

.mmp-story-hero__sub,
.mmp-story .lead,
.entry-content {
  color: var(--ho-muted);
}

.mmp-story-section,
.mmp-story-value-stack,
.mmp-story-problem,
.mmp-story-guide,
.mmp-story-services,
.mmp-story-plan,
.mmp-story-explainer,
.mmp-story-proof,
.mmp-story-lead-generator,
.mmp-story-faq {
  background: var(--ho-white);
  border-top: 1px solid rgba(245, 197, 24, 0.45);
}

.mmp-story-value-stack .card,
.mmp-story-services .card,
.mmp-story-plan .card,
.mmp-story-faq .accordion-item,
.entry-content .wp-block-table table {
  background: var(--ho-cream);
  border: 1px solid var(--ho-border) !important;
  box-shadow: 0 10px 24px rgba(155, 27, 30, 0.06);
}

.mmp-story-final-cta {
  background:
    linear-gradient(135deg, var(--ho-red-deep) 0%, var(--ho-red) 55%, #b42328 100%) !important;
  color: var(--ho-white) !important;
  border-top: 4px solid var(--ho-yellow);
}

.mmp-story-final-cta h2,
.mmp-story-final-cta p,
.mmp-story-final-cta .lead {
  color: var(--ho-white) !important;
}

.mmp-story-final-cta .btn-outline-primary {
  border-color: var(--ho-yellow) !important;
  color: var(--ho-yellow) !important;
}

.mmp-story-final-cta .btn-outline-primary:hover {
  background: var(--ho-yellow) !important;
  color: var(--ho-red-deep) !important;
}

.mmp-story-final-cta .btn-primary {
  background: var(--ho-yellow) !important;
  border-color: var(--ho-yellow-deep) !important;
  color: var(--ho-red-deep) !important;
}

/* Tables / content pages */
.entry-content table th {
  background: var(--ho-red);
  color: var(--ho-white);
}

.entry-content table td {
  border-color: var(--ho-border);
}

.entry-content a {
  color: var(--ho-red);
  text-decoration-color: var(--ho-yellow-deep);
}

.entry-content a:hover {
  color: var(--ho-red-bright);
}

/* Footer */
.wrapper-footer,
#wrapper-footer,
footer.site-footer,
.site-footer,
.footer {
  background: var(--mmp-navy, #0b1f33) !important;
  color: var(--ho-cream) !important;
  border-top: 1px solid var(--ho-yellow);
}

.site-footer a,
#wrapper-footer a,
.footer a {
  color: #f3efe6 !important;
}

.helloolivia-disclaimer {
  color: #f8e7e8 !important;
  border-top: 1px solid rgba(245, 197, 24, 0.35);
  padding-top: 1rem;
  margin-top: 1rem;
}

.lang-zh-cn .navbar .nav-link {
  font-weight: 700;
}

/* Visible toggler on white navbar (parent ships navbar-dark) */
#wrapper-navbar .navbar-toggler {
  border-color: var(--ho-red) !important;
  color: var(--ho-red-deep);
}

#wrapper-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236f1013' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Kill leftover parent purple / cool-blue FAQ tints */
.mmp-story-faq .accordion-button:not(.collapsed),
.mmp-story-faq .accordion-item {
  background: var(--ho-cream) !important;
}

.dropdown-item.active,
.dropdown-item:active,
a {
  --bs-purple: var(--ho-red);
}

/* Pricing cards */
.ho-pricing {
  margin: 2rem 0 3rem;
}

.ho-pricing__intro h2 {
  color: var(--ho-red-deep);
  margin-bottom: 0.75rem;
}

.ho-pricing__lead {
  max-width: 42rem;
  color: var(--ho-muted);
}

.ho-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (max-width: 991.98px) {
  .ho-pricing__grid {
    grid-template-columns: 1fr;
  }
}

.ho-price-card {
  position: relative;
  background: var(--ho-white);
  border: 1px solid var(--ho-border);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 28px rgba(155, 27, 30, 0.07);
}

.ho-price-card.is-featured {
  border: 2px solid var(--ho-red);
  background: var(--ho-white);
  transform: none;
}

.ho-price-card__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--ho-yellow);
  color: var(--ho-red-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.ho-price-card__name {
  color: var(--ho-red-deep);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.ho-price-card__price {
  margin: 0;
  line-height: 1.1;
}

.ho-price-card__amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ho-red);
}

.ho-price-card__currency {
  margin-left: 0.35rem;
  color: var(--ho-muted);
  font-weight: 700;
}

.ho-price-card__sessions {
  margin: 0.35rem 0 0.75rem;
  font-weight: 700;
  color: var(--ho-ink);
}

.ho-price-card__best {
  color: var(--ho-muted);
  min-height: 3rem;
}

.ho-price-card__features {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--ho-ink);
}

.ho-price-card__features li {
  margin-bottom: 0.35rem;
}

.ho-pricing__includes {
  background: var(--ho-cream);
  border: 1px solid var(--ho-border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.ho-pricing__guarantee {
  font-weight: 600;
  color: var(--ho-red-deep);
}

.ho-pricing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Mega footer */
.ho-mega-footer,
.ho-footer {
  background: var(--mmp-navy, #0b1f33) !important;
  color: var(--ho-cream) !important;
}

.ho-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0 1.5rem;
}

@media (max-width: 991.98px) {
  .ho-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .ho-footer__grid {
    grid-template-columns: 1fr;
  }
}

.ho-footer__logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.ho-footer__logo-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  background: var(--ho-white);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.ho-footer__heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ho-yellow);
  margin-bottom: 0.75rem;
}

.ho-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ho-footer__col li {
  margin-bottom: 0.4rem;
}

.ho-footer__blurb,
.ho-footer__copy {
  color: #f8e7e8;
}

.ho-footer .helloolivia-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* College directory */
.ho-colleges__header h1,
.ho-college-profile__header h1 {
  color: var(--ho-red-deep);
}

.ho-breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--ho-muted);
}

.ho-state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ho-state-grid a {
  display: block;
  padding: 0.65rem 0.85rem;
  background: var(--ho-white);
  border: 1px solid var(--ho-border);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--ho-red-deep);
  font-weight: 600;
}

.ho-state-grid a:hover {
  border-color: var(--ho-red);
  background: var(--ho-cream);
}

.ho-college-index {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ho-college-index li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(240, 215, 168, 0.7);
}

.ho-college-index .ho-meta,
.ho-count {
  color: var(--ho-muted);
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.ho-fact-block,
.ho-english,
.ho-media-box {
  background: var(--ho-white);
  border: 1px solid var(--ho-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.ho-facts {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.ho-facts dt {
  font-weight: 700;
  color: var(--ho-red-deep);
}

.ho-media-box {
  background:
    linear-gradient(135deg, rgba(245, 197, 24, 0.16), transparent 50%),
    var(--ho-cream);
}

.ho-source {
  font-size: 0.9rem;
  color: var(--ho-muted);
}

@media (max-width: 767.98px) {
  .ho-facts {
    grid-template-columns: 1fr;
  }
}

/* —— Design system v2 + homepage overhaul —— */
body.helloolivia-brand {
  font-family: "Source Sans 3", "Noto Sans SC", sans-serif;
}

.lang-zh-cn body,
body.lang-zh-cn {
  font-family: "Noto Sans SC", "Source Sans 3", sans-serif;
}

.ho-section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.ho-section-head h2 {
  color: var(--ho-red-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.ho-section-head p {
  color: var(--ho-muted);
  margin: 0;
}

.ho-section-head--light h2,
.ho-section-head--light p {
  color: var(--ho-cream);
}

.ho-section-cta {
  text-align: center;
  margin-top: 1.75rem;
}

.ho-proof {
  border-bottom: 1px solid rgba(245, 197, 24, 0.45);
  background: rgba(255, 255, 255, 0.72);
}

.ho-proof__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.ho-proof__value {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--ho-red);
}

.ho-proof__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--ho-muted);
  font-weight: 600;
}

.ho-pathway__grid,
.ho-teachers-teaser__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ho-family {
  margin-top: 0.5rem;
}

.ho-family__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
}

.ho-family__note {
  margin: 1.25rem 0 0;
  color: var(--ho-muted, #5c4a48);
  max-width: 48rem;
}

.ho-teachers-teaser__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ho-pathway__card,
.ho-teachers-teaser__grid article,
.ho-method__steps li {
  background: var(--ho-white);
  border: 1px solid var(--ho-border);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(155, 27, 30, 0.06);
}

.ho-card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #2a1816;
}

.ho-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.ho-pathway__card .ho-card-body,
.ho-teachers-teaser__grid article > h3,
.ho-teachers-teaser__grid article > p,
.ho-method__steps li > .ho-method__n,
.ho-method__steps li > h3,
.ho-method__steps li > p {
  /* spacing handled below */
}

.ho-pathway__card .ho-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.ho-teachers-teaser__grid article > h3,
.ho-method__steps li > h3 {
  padding: 1rem 1.25rem 0.35rem;
  margin: 0;
}

.ho-teachers-teaser__grid article > p,
.ho-method__steps li > p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}

.ho-method__steps li > .ho-method__n {
  margin: 0.85rem 1.25rem 0;
}

.ho-pathway__card h3,
.ho-teachers-teaser__grid h3,
.ho-method__steps h3 {
  color: var(--ho-red-deep);
  font-weight: 700;
}

.ho-method__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
}

.ho-method__n {
  display: inline-block;
  font-weight: 700;
  color: var(--ho-yellow-deep);
  background: var(--ho-red-deep);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.85rem;
}

.ho-consult {
  background:
    linear-gradient(135deg, var(--ho-red-deep) 0%, var(--ho-red) 60%, #b42328 100%);
  border-top: 4px solid var(--ho-yellow);
  border-bottom: 4px solid var(--ho-yellow);
}

.ho-consult__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

.ho-consult .btn-outline-primary {
  border-color: var(--ho-yellow) !important;
  color: var(--ho-yellow) !important;
}

.ho-consult .btn-outline-primary:hover {
  background: var(--ho-yellow) !important;
  color: var(--ho-red-deep) !important;
}

.ho-consult .btn-primary {
  background: var(--ho-yellow) !important;
  border-color: var(--ho-yellow-deep) !important;
  color: var(--ho-red-deep) !important;
}

.ho-consult .btn-link {
  color: var(--ho-cream) !important;
  text-decoration: underline;
}

.ho-price-card__per {
  color: var(--ho-red);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.ho-pricing__matrix {
  margin: 2rem 0;
}

.ho-pricing__matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--ho-border);
  border-radius: 1rem;
  background: var(--ho-white);
}

.ho-pricing__matrix table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.ho-pricing__matrix th,
.ho-pricing__matrix td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ho-border);
  text-align: center;
}

.ho-pricing__matrix th[scope="row"] {
  text-align: left;
  background: var(--ho-cream);
  color: var(--ho-ink);
}

.ho-pricing__matrix thead th {
  background: var(--ho-red);
  color: var(--ho-white);
}

.ho-nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--ho-red);
  color: var(--ho-white);
  font-weight: 700;
  line-height: 1.2;
}

.ho-nav-cta:hover,
.ho-nav-cta:focus-visible {
  background: var(--ho-red-deep);
  color: var(--ho-white);
  text-decoration: none;
}

.ho-footer__channels {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.ho-footer__channels a {
  margin-right: 0.75rem;
}

@media (max-width: 991.98px) {
  .ho-proof__grid,
  .ho-method__steps,
  .ho-teachers-teaser__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .ho-proof__grid,
  .ho-pathway__grid,
  .ho-method__steps,
  .ho-teachers-teaser__grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ v2 — warm cards, not default accordion chrome */
.mmp-story-section.mmp-story-faq {
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 197, 24, 0.18), transparent 40%),
    var(--ho-cream);
  border-top: 1px solid rgba(245, 197, 24, 0.45);
}

.ho-faq__head {
  max-width: 38rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.ho-faq__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--ho-yellow);
  color: var(--ho-red-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

.ho-faq__head h2 {
  color: var(--ho-red-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.ho-faq__lead {
  color: var(--ho-muted);
  margin: 0;
}

.ho-faq__grid {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin: 0 auto;
}

.ho-faq__item {
  background: var(--ho-white);
  border: 1px solid var(--ho-border);
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 10px 24px rgba(155, 27, 30, 0.05);
  overflow: hidden;
}

.ho-faq__item[open] {
  border-color: rgba(155, 27, 30, 0.35);
  box-shadow: 0 14px 32px rgba(155, 27, 30, 0.1);
}

.ho-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  color: var(--ho-red-deep);
}

.ho-faq__item summary::-webkit-details-marker {
  display: none;
}

.ho-faq__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--ho-red-deep);
  color: var(--ho-yellow);
  font-size: 0.8rem;
  font-weight: 700;
}

.ho-faq__q {
  text-align: left;
  line-height: 1.35;
}

.ho-faq__icon {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--ho-red);
  border-bottom: 2px solid var(--ho-red);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.25rem;
}

.ho-faq__item[open] .ho-faq__icon {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.ho-faq__a {
  padding: 0 1.25rem 1.25rem 4.2rem;
  color: var(--ho-muted);
  line-height: 1.6;
}

.ho-faq__a p {
  margin: 0;
}

@media (max-width: 575.98px) {
  .ho-faq__a {
    padding-left: 1.25rem;
  }
}

/* Page content media handled in helloolivia-ivy.css (content-first wrap). */
.ho-page-media-strip {
  display: none !important;
}

/* CEO / instructor gallery (4 illustrated cards) */
.ho-ceo-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.ho-ceo-trust__card {
  background: var(--ho-white, #fff);
  border: 1px solid var(--ho-border, #ead9d4);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(155, 27, 30, 0.06);
}

.ho-ceo-trust__card .ho-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.ho-ceo-trust__card .ho-card-body h3 {
  margin: 0 0 0.45rem;
}

.ho-ceo-trust__card .ho-card-body p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .ho-ceo-trust__grid {
    grid-template-columns: 1fr;
  }

  .ho-ceo-trust__card .ho-card-body {
    padding: 1.1rem 1.15rem 1.35rem;
  }
}

.ho-ceo-trust .ho-section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
