/* Homepage only — isolated so old card/slider rules cannot hide boxes */
body.home {
  background: #f4f7fb;
}
body.home main {
  max-width: none !important;
  padding: 0 !important;
  background: #f4f7fb;
}
.home-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---- HERO full bleed ---- */
.hv-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #1c1917;
}
@media (max-width: 720px) { .hv-hero { height: 250px; } }
.hv-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.hv-item.on {
  opacity: 1;
  pointer-events: auto;
}
.hv-item img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hv-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,245,.55) 0%, rgba(255,250,245,.18) 34%, transparent 58%);
}
@media (max-width: 720px) {
  .hv-veil { background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 46%, rgba(255,255,255,.2) 100%); }
}
.hv-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}
.hv-copy .box { max-width: 480px; color: #0f172a; background: rgba(255,252,248,.86); border-radius: 16px; padding: 14px 16px; }
.hv-copy h1 {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: clamp(1.28rem, 2.6vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 800;
  font-style: normal;
  margin: 0 0 10px;
}
.hv-copy h1 .hv-mark {
  display: inline;
  color: inherit;
  font-style: normal !important;
  font-family: inherit !important;
  background: none;
  box-shadow: none;
  padding: 0;
}
.hv-copy p { color: #334155; font-size: .95rem; line-height: 1.45; margin: 0 0 14px; }
.hv-note {
  position: absolute;
  right: 7%;
  top: 14%;
  z-index: 3;
  font-family: Georgia, serif;
  font-style: italic;
  color: #0f172a;
  background: rgba(255,255,255,.55);
  padding: 8px 12px;
  border-radius: 8px;
  transform: rotate(-6deg);
  font-size: .92rem;
  line-height: 1.35;
  pointer-events: none;
}
@media (max-width: 720px) { .hv-note { display: none; } }
.btn-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5c518;
  color: #111;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
}
.btn-go:hover { background: #ffd34a; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
}
.btn-dark:hover { background: #1e293b; }
.hv-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15,23,42,.12);
}
.hv-arrow.l { left: 14px; }
.hv-arrow.r { right: 14px; }
.hv-dots {
  position: absolute;
  left: max(20px, calc((100% - 1180px) / 2));
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 7px;
}
.hv-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
}
.hv-dots button.on { width: 22px; background: #f5c518; }

/* ---- sections ---- */
.hv-sec { padding: 36px 0 8px; }
.hv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.hv-head h2 {
  font-size: 1.35rem;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.hv-head p { color: #64748b; font-size: .92rem; margin: 4px 0 0; }
.hv-head a { color: #2563eb; font-weight: 700; font-size: .86rem; text-decoration: none; }

/* ---- levels ---- */
.hv-levels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .hv-levels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hv-levels { grid-template-columns: 1fr 1fr; } }
.hv-lv {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 16px 14px 14px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  transition: box-shadow .5s ease, background-color .5s ease;
}
.hv-lv:hover { box-shadow: 0 10px 22px rgba(15,23,42,.14); }
.hv-lv .code { font-size: 2.05rem; font-weight: 800; letter-spacing:-.03em; }
.hv-lv .tag { font-weight: 700; margin: 6px 0 8px; font-size: .95rem; }
.hv-lv .sub { font-size: .78rem; line-height: 1.4; opacity: .95; flex: 1; }
.hv-lv .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 1.05rem; }
.hv-lv .mini-links { display:flex; flex-direction:column; gap:6px; margin-top:14px; }
.hv-lv .mini-links a {
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-size:.8rem;
  font-weight:700;
  background: rgba(0,0,0,.28);
  padding:9px 10px;
  border-radius:12px;
  display:block;
  line-height:1.2;
  box-shadow: 0 3px 0 rgba(0,0,0,.22);
}
.hv-lv { cursor:pointer; }
.hv-a1 .mini-links a { color:#1a1300 !important; background: rgba(0,0,0,.16); box-shadow:0 3px 0 rgba(0,0,0,.18); }
.hv-lv .mini-links a:hover { background: rgba(0,0,0,.22); text-decoration:none !important; }
.hv-lv .only-arr {
  margin-top: 10px; text-align:right; font-weight:800; font-size:1.1rem; opacity:.85;
}

.hv-a1 { background: #f5c518; color: #1a1300; }
.hv-a1:hover { background: #f7cf3a; }
.hv-a2 { background: #f97316; }
.hv-a2:hover { background: #fb8333; }
.hv-b1 { background: #f43f5e; }
.hv-b1:hover { background: #fb5a71; }
.hv-b2 { background: #8b5cf6; }
.hv-b2:hover { background: #9b74f7; }
.hv-c1 { background: #3b82f6; }
.hv-c1:hover { background: #5491f7; }
.hv-c2 { background: #14b8a6; }
.hv-c2:hover { background: #2ac4b3; }

/* ---- life cards: image on top, text underneath, 4 per row ---- */
.hv-life {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .hv-life { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hv-life { grid-template-columns: 1fr; } }
.hv-sit {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: background-color .5s ease, box-shadow .5s ease;
  min-height: 0;
}
.hv-sit:hover {
  background: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}
.hv-sit .txt { flex: 1; min-width: 0; padding: 12px 14px 14px; }
.hv-sit h3 { font-size: .98rem; margin: 0 0 6px; white-space: normal; overflow: visible; text-overflow: unset; line-height: 1.25; }
.hv-sit p { font-size: .8rem; color: #64748b; margin: 0; white-space: normal; overflow: visible; text-overflow: unset; line-height: 1.4; }
.hv-sit .pic {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 118px;
  min-height: 118px;
  align-self: stretch;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}
.hv-sit .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hv-sit:hover .pic img { transform: scale(1.05); }
.hv-ico { display: none !important; }

.hv-poli-one {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hv-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .hv-feat { grid-template-columns: 1fr; } }
.hv-feat-card {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  min-height: 168px;
}
.hv-feat-card:hover { box-shadow: 0 12px 24px rgba(15,23,42,.1); }
.hv-feat-card .pic {
  width: 42%;
  min-width: 140px;
  position: relative;
}
.hv-feat-card .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hv-feat-card .body { padding: 16px 18px; flex: 1; }
.hv-feat-card .kicker {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9a3412;
  font-weight: 800;
}
.hv-feat-card strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  margin: 6px 0 8px;
}
.hv-feat-card p { margin: 0 0 10px; color: #64748b; font-size: .9rem; line-height: 1.45; }
.hv-feat-card .go { font-weight: 800; color: #9a3412; }
@media (max-width: 560px) {
  .hv-feat-card { flex-direction: column; min-height: 0; }
  .hv-feat-card .pic { width: 100%; min-width: 0; height: 120px; }
}

/* ---- stories ---- */
.hv-stories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .hv-stories { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .hv-stories { grid-template-columns: 1fr 1fr; } }
.hv-st {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background-color .5s ease, box-shadow .5s ease;
}
.hv-st:hover {
  background: #fff8e1;
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
}
.hv-st .photo {
  height: 124px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}
.hv-st .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hv-st .photo img, .hv-st:hover .photo img { transform: none !important; }
.hv-st .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 8px;
}
.b-a1 { background: #f59e0b; color: #111; }
.b-a2 { background: #ea580c; }
.b-b1 { background: #e11d48; }
.b-b2 { background: #7c3aed; }
.b-c1 { background: #2563eb; }
.b-c2 { background: #0f766e; }
.hv-st .body { padding: 11px 12px 13px; }
.hv-st h3 { font-size: .92rem; margin: 0 0 4px; }
.hv-st p { font-size: .75rem; color: #64748b; margin: 0; line-height: 1.4; }
.hv-st .meta { margin-top: 8px; font-size: .7rem; color: #94a3b8; font-weight: 600; }

/* ---- CTA ---- */
.hv-cta {
  margin: 28px 0 8px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  background: #0b1b33;
  color: #fff;
}
.hv-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(.55);
}
.hv-cta .in {
  position: relative;
  z-index: 2;
  padding: 28px 26px;
  max-width: 560px;
}
.hv-cta h2 { margin: 0 0 6px; font-size: 1.45rem; }
.hv-cta p { margin: 0 0 14px; opacity: .92; }

/* ---- progress ---- */
.hv-prog {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .7fr);
  gap: 12px;
  padding-bottom: 40px;
}
@media (max-width: 800px) { .hv-prog { grid-template-columns: 1fr 1fr; } }
.hv-box {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 16px;
  padding: 16px;
}
.hv-box b { display: block; font-size: 1.3rem; margin-top: 6px; }
.hv-bar { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin-top: 12px; }
.hv-bar i { display: block; height: 100%; width: 62%; background: #f5c518; }

/* NEVER underline links inside level boxes */
.hv-lv a,
.hv-lv a:link,
.hv-lv a:visited,
.hv-lv a:hover,
.hv-lv a:active,
.hv-lv a:focus,
.mini-links a {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
.hv-st .photo { position: relative; overflow: hidden; }
.hv-st .badge, .hs-badge {
  position: absolute !important;
  top: 8px; left: 8px;
  z-index: 8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}
.hv-st .photo img { position: relative; z-index: 1; transform: none !important; }
.hv-st:hover .badge, .hv-st:hover .photo .badge { opacity: 1 !important; visibility: visible !important; z-index: 8 !important; }

.hv-lv .mini-links a,
.hv-lv .mini-links a:hover,
.hv-lv .mini-links a:visited,
.hv-lv .mini-links a:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.hv-lv a.lv-chip, a.lv-chip {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-text-fill-color: inherit;
}

.hv-st .photo img { z-index: 0 !important; transform: none !important; }
.hv-st .badge { z-index: 9 !important; opacity: 1 !important; }
.hv-st a, .hv-st h3 { text-decoration: none !important; }


.promo-504-wrap{display:flex;justify-content:flex-start;width:100%;padding:8px 0 28px;}
.promo-504{
  display:flex;
  flex-direction:column;
  width:25%;
  max-width:260px;
  min-width:200px;
  margin:0;
  text-decoration:none!important;
  color:#0f172a;
  background:#fff;
  border:1px solid #e6eef6;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  box-sizing:border-box;
}
.promo-504-pic{position:relative;width:100%;min-width:0;height:110px;flex-shrink:0}
.promo-504-pic img{width:100%;height:100%;object-fit:cover;display:block}
.promo-504-body{padding:12px 14px 14px;display:flex;flex-direction:column;justify-content:center}
.promo-504-kicker{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#9a3412;font-weight:800}
.promo-504-body strong{font-size:1.15rem;margin:4px 0 6px}
.promo-504-body p{margin:0;color:#64748b;font-size:.82rem;line-height:1.35}
.promo-504-on{display:none}
.promo-504-note{display:none}
@media (max-width: 900px){
  .promo-504{width:42%;min-width:160px;max-width:200px}
  .promo-504-pic{height:80px}
}
@media (max-width: 640px){
  .promo-504{width:46%;min-width:132px;max-width:168px;flex-direction:column}
  .promo-504-pic{width:100%;min-width:0;height:64px}
  .promo-504-body{padding:8px 10px 10px}
  .promo-504-body strong{font-size:.95rem;margin:2px 0 0}
  .promo-504-body p{display:none}
}

@media (max-width: 1024px){ .hv-hero{ height: 280px; } }
@media (max-width: 720px){ .hv-hero{ height: 250px; } .hv-copy h1{font-size:1.22rem;} .hv-copy p{font-size:.88rem;} }
@media (max-width: 420px){ .hv-hero{ height: 230px; } }

.promo-504-wrap{display:flex;justify-content:flex-start;width:100%;padding:8px 0 28px;}


.hv-cap{
  display:inline-block;
  background:#0f172a;
  color:#f5c518;
  font-weight:800;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  border-radius:999px;
  padding:5px 10px;
  margin:0 0 10px;
}
.hv-copy h1 .hv-mark{
  background: none;
  box-shadow: none;
  padding: 0;
}
.promo-504-wrap{gap:14px;flex-wrap:wrap}
.hv-kids{
  background:linear-gradient(180deg,#fff7ed 0%,#fde68a 38%,#e0f2fe 100%);
  border-radius:28px;
  padding:16px 16px 8px;
  margin:18px 0 8px;
}
.kids-home-banner{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;align-items:center;margin-bottom:12px}
.kids-home-banner img{width:100%;height:168px;object-fit:cover;border-radius:18px;display:block}
.kids-kicker{letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#9a3412;font-size:.75rem;margin:0 0 4px}
.kids-home-banner h2{margin:0 0 6px;font-family:Fraunces,serif}
.kids-more{margin:8px 0 12px}
.kids-more .btn-dark{display:inline-block;background:#0f172a;color:#f5c518;text-decoration:none;font-weight:800;border-radius:12px;padding:10px 14px}
.kids-wrap{max-width:1100px;margin:0 auto;padding:12px 16px 40px}
.kids-banner{position:relative;border-radius:24px;overflow:hidden;margin-bottom:16px;background:#7c2d12}
.kids-banner img{width:100%;height:220px;object-fit:cover;display:block;opacity:.95}
.kids-banner-copy{position:absolute;left:18px;right:18px;bottom:14px;background:rgba(255,247,237,.92);border-radius:16px;padding:12px 14px;max-width:640px}
.kids-banner-copy h1{margin:0 0 6px;font-family:Fraunces,serif}
.kids-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.kid-card{display:block;background:#fff;border-radius:18px;overflow:hidden;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.08);position:relative}
.kid-card img{width:100%;height:150px;object-fit:cover;display:block}
.kid-card strong,.kid-card em{display:block;padding:0 12px}
.kid-card strong{margin-top:10px;font-family:Fraunces,serif}
.kid-card em{font-style:normal;color:#475569;font-size:.88rem;margin:4px 0 12px}
.kid-lv{position:absolute;top:10px;left:10px;background:#f5c518;color:#0f172a;font-weight:800;border-radius:999px;padding:3px 8px;font-size:.75rem}
body.kids-hub{background:#fff7ed}
@media(max-width:800px){
  .kids-home-banner{grid-template-columns:1fr}
  .kids-home-banner img{height:140px}
  .kids-grid{grid-template-columns:1fr}
  .kids-banner img{height:180px}
  .kids-banner-copy{position:static;max-width:none}
}
