/* Hi. June Edu ? Elementor / WordPress professional front */
:root {
  --hj-blue: #123b7a;
  --hj-blue-dark: #0f2f62;
  --hj-navy: #123b7a;
  --hj-gold: #ffd43b;
  --hj-kakao: #fee500;
  --hj-naver: #03c75a;
  --hj-text: #172033;
  --hj-muted: #64748b;
  --hj-bg: #f7f9fc;
  --hj-line: #e9edf3;
  --hj-white: #ffffff;
  --hj-radius: 24px;
  --hj-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --hj-font: "Pretendard", "SUIT", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hj-header-surface: #ffffff;
  --hj-header-surface-scrolled: #ffffff;
  --hj-header-border: #e9edf3;
  --hj-nav-text: #334155;
  --hj-nav-text-muted: #64748b;
}

/* Site-wide Noto (Elementor + theme) when plugin is active */
body.hj-hijune-fonts,
body.hj-hijune-fonts .elementor-widget-heading .elementor-heading-title,
body.hj-hijune-fonts .elementor-widget-text-editor,
body.hj-hijune-fonts .elementor-button-text {
  font-family: var(--hj-font);
}

/* Mode B: Elementor headings replace shortcode section titles */
body.hj-hide-shortcode-headings .hj-section-config .hj-config-head,
body.hj-hide-shortcode-headings #hj-schools-sec.hj-schools-featured .hj-schools-head {
  display: none !important;
}
body.hj-hide-shortcode-headings #hj-schools-sec.hj-schools-featured {
  padding-top: 48px;
}
body.hj-hide-shortcode-headings #hj-schools-sec.hj-schools-featured .hj-pills {
  margin-top: 12px;
}
body.hj-hide-shortcode-headings #hj-naver .hj-naver-head {
  display: none !important;
}
body.hj-hide-shortcode-headings #hj-naver.hj-section {
  padding-top: 24px;
}
body.hj-hide-shortcode-headings #hj-naver .hj-grid {
  margin-top: 12px;
}
body.hj-hide-shortcode-headings #hj-inquiry .hj-inquiry-head {
  display: none !important;
}
body.hj-hide-shortcode-headings #hj-inquiry.hj-inquiry--short.is-light {
  padding-top: 32px;
  padding-bottom: 64px;
}

.hj-schools-directory-cta {
  margin-top: 28px;
}
.hj-btn-directory {
  border: 2px solid var(--hj-blue);
  color: var(--hj-blue);
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 800;
  display: inline-flex;
  transition: 0.2s ease;
}
.hj-btn-directory:hover {
  background: var(--hj-blue);
  color: #fff;
}

.hj-site,
.hj-site * { box-sizing: border-box; }
.hj-site {
  font-family: var(--hj-font);
  color: var(--hj-text);
  background: var(--hj-white);
  letter-spacing: -0.015em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hj-site img { max-width: 100%; display: block; }
.hj-site a { color: inherit; text-decoration: none; }
.hj-site button, .hj-site input, .hj-site select, .hj-site textarea {
  font-family: inherit;
}
.hj-container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.hj-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hj-blue);
}
.hj-h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #020617;
}
.hj-lead {
  margin: 0 auto;
  max-width: 720px;
  color: var(--hj-muted);
  font-size: 15px;
}
.hj-center { text-align: center; }
.hj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  border-radius: 16px;
  padding: 14px 22px;
  transition: 0.2s ease;
}
.hj-btn-primary {
  background: var(--hj-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 71, 167, 0.18);
}
.hj-btn-primary:hover { background: var(--hj-blue-dark); color: #fff; }
/* Hero / CTA ??: inherit ?? ? ?? ??, hover ?? */
.hj-site a.hj-btn-primary.hj-btn-cta,
.hj-btn-primary.hj-btn-cta {
  color: var(--hj-gold);
  text-shadow: 0 1px 0 rgba(11, 30, 72, 0.35);
}
.hj-site a.hj-btn-primary.hj-btn-cta:hover,
.hj-btn-primary.hj-btn-cta:hover {
  color: #fff;
  text-shadow: none;
}
.hj-btn-ghost { background: #fff; color: #1e293b; border: 1px solid var(--hj-line); }
.hj-btn-ghost:hover { background: #f8fafc; }
.hj-btn-kakao { background: var(--hj-kakao); color: #191919; }
.hj-btn-kakao:hover { background: #fada0a; }
.hj-btn-gold { background: var(--hj-blue); color: var(--hj-gold); }

/* Header ? Quiet Premium Education */
.hj-announce {
  background: var(--hj-bg);
  color: var(--hj-muted);
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--hj-line);
}
.hj-announce--editorial .hj-announce-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.hj-announce .hj-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  max-height: 36px;
}
.hj-announce-link {
  color: var(--hj-blue);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.hj-announce-link:hover {
  color: var(--hj-blue-dark);
  text-decoration: underline;
}
.hj-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hj-blue); display: inline-block; margin-right: 8px;
  animation: hjPulse 1.6s infinite;
}
@keyframes hjPulse { 50% { opacity: 0.45; } }
.hj-announce a {
  color: var(--hj-blue);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.hj-announce a:hover {
  color: var(--hj-blue-dark);
  text-decoration: underline;
}
.hj-header {
  position: sticky; top: 0; z-index: 9999;
  background: var(--hj-header-surface);
  border-bottom: 1px solid var(--hj-header-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
body.elementor-template-canvas .hj-header,
body.elementor-default .hj-site > .hj-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}
.hj-header.is-scrolled {
  background: var(--hj-header-surface-scrolled);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}
@media (prefers-reduced-motion: reduce) {
  .hj-header { transition: none; }
}
.hj-nav {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  min-height: 72px;
}
.hj-nav-brand {
  flex-shrink: 0;
  padding-right: 20px;
  margin-right: 4px;
}
@media (min-width: 1440px) {
  .hj-nav-brand { padding-right: 32px; margin-right: 8px; }
}
.hj-nav-center {
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-right: 12px;
}
@media (min-width: 1280px) {
  .hj-nav-center { padding-right: 20px; }
}
.hj-nav-actions {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; flex-shrink: 0;
  padding-left: 4px;
  margin-left: 4px;
  min-width: 0;
  flex-wrap: nowrap;
}
.hj-nav-cta-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.hj-nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hj-logo { display: flex; align-items: center; gap: 10px; }
.hj-logo img {
  width: auto;
  max-width: 160px;
  height: auto;
  max-height: 48px;
  border-radius: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.08));
}
.hj-logo--footer img {
  max-height: 52px;
  filter: none;
}
.hj-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hj-brand { display: flex; flex-direction: column; }
.hj-brand strong { font-size: 22px; color: var(--hj-blue); letter-spacing: -0.04em; }
.hj-brand span { font-size: 10px; letter-spacing: 0.18em; color: #64748b; font-weight: 800; }
.hj-menu,
.hj-menu-inner {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; flex-wrap: nowrap;
}
@media (min-width: 1280px) {
  .hj-menu, .hj-menu-inner { gap: 14px; }
}
@media (min-width: 1440px) {
  .hj-menu, .hj-menu-inner { gap: 18px; }
}
.hj-menu.hj-wp-nav { list-style: none; margin: 0; padding: 0; width: 100%; }
.hj-menu.hj-wp-nav > li,
.hj-menu-inner > li { display: contents; }
.hj-nav-item,
.hj-menu > a, .hj-menu > button.hj-navlink {
  background: transparent !important; border: 0; cursor: pointer;
  padding: 8px 12px; border-radius: 0;
  font-size: 14px; font-weight: 500; color: var(--hj-nav-text);
  white-space: nowrap;
  font-family: inherit; text-decoration: none;
  border-bottom: 2px solid transparent;
  box-shadow: none !important;
  transition: color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  display: inline-flex; align-items: center;
  position: relative;
}
.hj-nav-item:hover, .hj-nav-item.is-active,
.hj-menu > a:hover, .hj-menu > button.hj-navlink:hover {
  color: var(--hj-blue);
  border-bottom-color: var(--hj-blue);
}
.hj-nav-item.is-active {
  color: var(--hj-blue-dark);
  border-bottom-color: var(--hj-gold);
}
.hj-chev { font-size: 10px; opacity: 0.65; margin-left: 2px; color: var(--hj-nav-text-muted); }
.hj-btn-consult {
  margin: 0;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: var(--hj-blue) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(18, 59, 122, 0.14) !important;
  border: none !important;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
.hj-btn-consult:hover {
  background: var(--hj-blue-dark) !important;
  color: #fff !important;
  transform: none;
  box-shadow: 0 4px 14px rgba(18, 59, 122, 0.2) !important;
}
.hj-badge {
  display: inline-flex; margin-left: 6px; padding: 2px 7px;
  border-radius: 999px; background: #eff6ff; color: var(--hj-blue);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.04em;
}
.hj-icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f8fafc;
  color: var(--hj-nav-text-muted);
  font-weight: 700; font-size: 12px;
  border: 1px solid var(--hj-line);
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.hj-icon-btn svg { display: block; }
.hj-drawer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hj-line);
}
.hj-logo--footer img {
  filter: none;
}
.hj-icon-btn.naver {
  background: transparent;
  border: none;
  padding: 0;
  width: 36px;
  height: 36px;
  box-shadow: none;
  overflow: hidden;
  border-radius: 50%;
}
.hj-icon-btn.naver:hover { opacity: 0.92; transform: scale(1.04); }
.hj-icon-btn.naver .hj-icon-img--naver {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.hj-icon-btn.kakao {
  background: var(--hj-kakao);
  color: #191919;
  border-color: rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 800;
}
.hj-icon-btn.kakao:hover { background: #fde047; color: #191919; }
.hj-icon-btn.yt:hover { background: #ff0000; color: #fff; border-color: #ff0000; }
.hj-icon-btn.ig:hover {
  background: linear-gradient(135deg, #f59e0b, #ec4899, #7c3aed);
  color: #fff;
  border-color: transparent;
}
.hj-burger {
  display: none; width: 42px; height: 42px; border: 0;
  background: #fff;
  border: 1px solid var(--hj-line);
  border-radius: 12px; cursor: pointer; font-size: 20px; color: var(--hj-blue);
}

/* Mega menu ? Quiet Premium editorial (2 nav + 1 feature) */
.hj-mega {
  display: none;
  background: var(--hj-white);
  border-top: 1px solid var(--hj-line);
  border-bottom: 1px solid var(--hj-line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.hj-header.is-mega .hj-mega { display: block; }
.hj-mega .hj-mega-panels {
  width: min(1200px, calc(100% - 32px));
}
.hj-mega-panel { display: none; padding: 18px 0 2px; }
.hj-mega-panel.is-active { display: block; }
.hj-mega-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 32fr) minmax(0, 28fr) minmax(260px, 300px);
  gap: 0 28px;
  align-items: start;
}
.hj-mega-panel-grid--split {
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(260px, 300px);
}
.hj-mega-panel-grid > .hj-mega-col:nth-child(2),
.hj-mega-panel-grid > .hj-mega-feature,
.hj-mega-panel-grid--split > .hj-mega-col:nth-child(2),
.hj-mega-panel-grid--split > .hj-mega-feature {
  border-left: 1px solid var(--hj-line);
  padding-left: 28px;
}
.hj-mega-panel-grid.cols-2 {
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(260px, 300px);
}
.hj-mega-kicker {
  margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #94a3b8;
}
.hj-mega-region {
  margin: 10px 0 2px; font-size: 12px; font-weight: 600; color: #64748b;
}
.hj-mega-col a,
.hj-mega-link {
  display: block; padding: 4px 0; font-size: 15px; font-weight: 500; line-height: 1.45;
  color: #334155;
  transition: color 0.2s ease;
}
.hj-mega-col a:hover,
.hj-mega-link:hover {
  color: var(--hj-blue);
  transform: none;
}
.hj-mega-feature {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #e1e9f5;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 132px;
  max-width: 300px;
  width: 100%;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}
.hj-mega-feature-label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 10px;
}
.hj-mega-feature-title {
  margin: 0 0 auto; font-size: 15px; font-weight: 600; line-height: 1.35;
  color: var(--hj-text); letter-spacing: -0.02em;
}
.hj-mega-feature-link {
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--hj-blue);
  transition: color 0.2s ease;
}
.hj-mega-feature-link:hover { color: var(--hj-blue-dark); }
.hj-mega-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
  padding: 12px 0 16px; margin-top: 4px; border-top: 1px solid var(--hj-line);
  font-size: 12px; font-weight: 500; color: #64748b;
}
.hj-mega-bar--minimal {
  justify-content: flex-start;
  padding: 8px 0 12px;
  margin-top: 0;
  font-size: 11px;
  color: #94a3b8;
}
.hj-mega-bar--minimal .hj-mega-bar-link { display: none; }
.hj-mega-bar-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--hj-blue);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hj-mega-bar-link:hover {
  color: var(--hj-blue-dark);
  border-bottom-color: var(--hj-blue);
}

/* Hero */
.hj-hero {
  position: relative; overflow: hidden;
  padding: 72px 0 110px;
  background:
    radial-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(180deg, #fafafc 0%, #fff 55%, #f8fafc 100%);
  background-size: 32px 32px, auto;
}
.hj-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hj-hero-bg img, .hj-hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hj-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(11, 30, 72, 0.82) 0%, rgba(11, 30, 72, 0.55) 45%, rgba(15, 23, 42, 0.35) 100%);
  display: none;
}
.hj-hero.has-media .hj-hero-overlay { display: block; }
.hj-hero-inner { position: relative; z-index: 2; }
.hj-hero.has-media {
  background: #0b1e48;
  padding: 96px 0 120px;
}
.hj-hero.has-media::before { display: none; }
.hj-hero.has-media h1 { color: #fff; }
.hj-hero.has-media h1 em { color: var(--hj-gold); }
.hj-hero.has-media .hj-sub { color: rgba(226, 232, 240, 0.92); }
.hj-hero.has-media .hj-chip {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #f1f5f9;
}
.hj-hero.has-media .hj-search {
  background: rgba(255, 255, 255, 0.96); border-color: rgba(255, 255, 255, 0.3);
}
.hj-hero.has-media .hj-tags button { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); color: #f8fafc; }
.hj-hero.has-media .hj-tags span { color: #cbd5e1 !important; }
.hj-hero.has-media .hj-btn-ghost {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: #fff;
}
.hj-hero.has-media .hj-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.hj-hero:not(.has-media)::before {
  content: ""; position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 680px; height: 340px; filter: blur(60px);
  background: linear-gradient(180deg, rgba(191,219,254,.45), rgba(254,243,199,.28), transparent);
  pointer-events: none;
}
.hj-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--hj-line); box-shadow: 0 1px 2px rgba(15,23,42,.04);
  font-size: 12px; font-weight: 700; color: #334155;
}
.hj-hero h1 {
  margin: 22px 0 16px; max-width: 980px;
  font-size: clamp(34px, 6vw, 68px); line-height: 1.12;
  letter-spacing: -0.04em; font-weight: 900;
}
.hj-hero h1 em { color: var(--hj-blue); font-style: normal; }
.hj-hero p.hj-sub { max-width: 760px; color: #475569; font-size: clamp(14px, 1.6vw, 18px); }
.hj-search {
  margin-top: 28px; max-width: 760px;
  display: flex; gap: 10px; align-items: center;
  padding: 8px; background: #fff; border: 1px solid var(--hj-line);
  border-radius: 24px; box-shadow: var(--hj-shadow);
}
.hj-search input {
  flex: 1; border: 0; outline: none; padding: 12px 14px; font-size: 14px; background: transparent;
}
.hj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.hj-tags button, .hj-tag {
  border: 1px solid var(--hj-line); background: #fff; border-radius: 10px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; color: #334155; cursor: pointer;
}
.hj-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Stats */
.hj-stats-wrap { margin-top: -52px; position: relative; z-index: 3; }
.hj-stats {
  background: #fff; border: 1px solid var(--hj-line); border-radius: 28px;
  box-shadow: var(--hj-shadow); padding: 28px 18px;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.hj-stat { padding: 8px 16px; text-align: center; border-right: 1px solid #f1f5f9; }
.hj-stat:last-child { border-right: 0; }
.hj-stat b { display: block; font-size: 34px; color: var(--hj-blue); letter-spacing: -0.04em; }
.hj-stat b i { font-style: normal; color: #f59e0b; font-size: 22px; }
.hj-stat strong { display: block; font-size: 13px; margin: 4px 0; }
.hj-stat span { font-size: 11px; color: #64748b; }

/* Sections */
.hj-section { padding: 88px 0; }
.hj-section.alt { background: var(--hj-bg); }
.hj-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 8px; }
.hj-pill {
  border: 1px solid var(--hj-line); background: #fff; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 800; cursor: pointer; color: #334155;
}
.hj-pill.is-on, .hj-pill:hover { background: var(--hj-blue); color: #fff; border-color: var(--hj-blue); }
/* Academic Configurator ? compact studio layout (matches React simulator) */
.hj-section-config {
  padding-top: 44px;
  padding-bottom: 72px;
}
.hj-config-head { margin-bottom: 28px; }
.hj-config-head .hj-chip-config {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: #eff6ff; border: 1px solid #dbeafe;
  color: var(--hj-blue); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.hj-config-studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  align-items: start;
  background: var(--hj-bg);
  border: 1px solid var(--hj-line);
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.hj-config-controls { display: flex; flex-direction: column; gap: 20px; }
.hj-config-block { display: flex; flex-direction: column; gap: 10px; }
.hj-config-block.is-hidden { display: none; }
.hj-config-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; color: #334155;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hj-config-label span.hj-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--hj-blue); color: #fff;
  font-size: 10px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.hj-config-options {
  display: grid; gap: 8px;
}
.hj-config-options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hj-config-options.cols-2 { grid-template-columns: 1fr 1fr; }
.hj-config-option {
  border: 1px solid var(--hj-line); background: #fff;
  border-radius: 16px; padding: 12px 10px; text-align: center;
  cursor: pointer; transition: 0.15s ease;
  font-family: inherit;
}
.hj-config-option.tall { text-align: left; padding: 14px 14px; }
.hj-config-option strong {
  display: block; font-size: 12px; font-weight: 800; color: #1e293b;
}
.hj-config-option small {
  display: block; margin-top: 4px; font-size: 10px; color: #64748b; line-height: 1.4;
}
.hj-config-option.is-on {
  background: var(--hj-blue); border-color: #0f3580;
  box-shadow: 0 8px 20px rgba(21, 71, 167, 0.2);
}
.hj-config-option.is-on strong,
.hj-config-option.is-on small { color: #eff6ff; }
.hj-config-output {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 12px 32px rgba(21, 71, 167, 0.06);
}
.hj-config-output .hj-out-kicker {
  font-size: 11px; font-weight: 900; color: var(--hj-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hj-config-output h3 {
  margin: 6px 0 16px; font-size: 18px; line-height: 1.35;
  color: #0f172a;
}
.hj-out-cost {
  padding: 14px; border-radius: 16px;
  background: #f8fafc; border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}
.hj-out-cost .row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 700; color: #64748b; margin-bottom: 6px;
}
.hj-out-cost .row em { font-style: normal; color: #d97706; font-weight: 900; }
.hj-out-cost .price {
  font-size: 17px; font-weight: 900; color: var(--hj-blue);
}
.hj-out-cost .myr { font-size: 11px; color: #64748b; font-family: ui-monospace, monospace; margin-top: 4px; }
.hj-out-field { margin-bottom: 12px; }
.hj-out-field > span {
  display: block; font-size: 11px; font-weight: 800; color: #475569; margin-bottom: 6px;
}
.hj-out-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hj-out-tags i {
  font-style: normal; font-size: 10px; font-weight: 800;
  padding: 4px 8px; border-radius: 8px;
  background: #eff6ff; color: var(--hj-blue); border: 1px solid #bfdbfe;
}
.hj-out-field p { margin: 0; font-size: 11px; line-height: 1.55; color: #475569; }
.hj-config-output .hj-btn { width: 100%; margin-top: 8px; }
.hj-config-output .hj-btn-ghost { width: 100%; margin-top: 8px; font-size: 12px; padding: 12px; }

.hj-config {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 36px;
}
.hj-card {
  background: #fff; border: 1px solid var(--hj-line); border-radius: var(--hj-radius);
  box-shadow: 0 10px 30px rgba(15,23,42,.05); padding: 28px;
}
.hj-card h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.hj-card p { margin: 0 0 8px; font-size: 14px; color: #475569; line-height: 1.65; }
.hj-drawer a { display: block; padding: 8px 14px; font-size: 13px; font-weight: 700; color: #475569; }
.hj-card:hover { border-color: #93c5fd; }
.hj-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.hj-choice button {
  border: 1px solid var(--hj-line); background: #f8fafc; border-radius: 12px;
  padding: 10px 14px; font-weight: 800; font-size: 13px; cursor: pointer;
}
.hj-choice button.is-on { background: var(--hj-blue); color: #fff; border-color: var(--hj-blue); }
.hj-result h3 { margin: 0 0 10px; font-size: 24px; }
.hj-kv { display: grid; gap: 8px; font-size: 13px; color: #475569; }
.hj-kv b { color: var(--hj-blue); }

/* Bento / pillars */
.hj-bento { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 36px; }
.hj-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; font-size: 13px; }
.hj-checks span::before { content: "\2713 "; color: var(--hj-blue); font-weight: 900; }
.hj-mini { margin-top: 14px; padding: 14px; border-radius: 16px; background: #f8fafc; font-size: 12px; color: #475569; }

/* Pipeline */
.hj-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 32px 0 18px; }
.hj-step {
  border: 1px solid var(--hj-line); background: #fff; border-radius: 18px;
  padding: 16px; cursor: pointer; text-align: left;
}
.hj-step small { color: var(--hj-blue); font-weight: 900; font-size: 11px; }
.hj-step.is-on { border-color: var(--hj-blue); background: #eff6ff; }
.hj-step-detail { margin-top: 8px; }

/* Table */
.hj-table-wrap { overflow: auto; margin-top: 28px; border-radius: 20px; border: 1px solid var(--hj-line); background: #fff; }
.hj-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.hj-table th, .hj-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 13px; text-align: left; }
.hj-table th { background: #f8fafc; font-size: 12px; color: #64748b; }
.hj-table tr.is-hi { background: #eff6ff; }
.hj-table tr.is-hi td:first-child { font-weight: 900; color: var(--hj-blue); }

/* Schools */
.hj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.hj-thumb { position: relative; overflow: hidden; background: #e2e8f0; min-height: 160px; }
.hj-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hj-school-link {
  display: block; color: inherit; text-decoration: none;
}
.hj-school-more {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--hj-blue);
}
.hj-school, .hj-blog-card { overflow: hidden; padding: 0; cursor: pointer; }
.hj-school img, .hj-blog-card img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.hj-school:hover img, .hj-blog-card:hover img { transform: scale(1.05); }
.hj-school .pad, .hj-blog-card .pad { padding: 18px 18px 22px; }
.hj-school .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #64748b; }
.hj-school h3 { margin: 8px 0 6px; font-size: 18px; }
.hj-flag {
  position: absolute; top: 12px; left: 12px; background: #fff; color: var(--hj-blue);
  border-radius: 8px; padding: 4px 8px; font-size: 11px; font-weight: 800;
}
.hj-thumb { position: relative; overflow: hidden; }

/* Reviews / blog */
.hj-stars { color: #f59e0b; letter-spacing: 1px; }
.hj-naver-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; }
.hj-naver-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hj-naver); color: #fff !important; border-radius: 12px;
  padding: 10px 16px; font-weight: 800; font-size: 13px;
}
.hj-blog-card .excerpt { font-size: 13px; color: #475569; min-height: 42px; }
.hj-blog-card .src { color: var(--hj-naver); font-size: 12px; font-weight: 800; }

/* CTA */
.hj-cta-box {
  background: linear-gradient(180deg, #fff, #eff6ff 40%, #fff);
  border: 1px solid #dbeafe; border-radius: 32px; padding: 56px 28px; text-align: center;
  box-shadow: var(--hj-shadow);
}
.hj-cta-box h2 { font-size: clamp(28px, 4vw, 52px); margin: 12px 0; }
.hj-fine { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; color: #64748b; }

/* Inquiry */
.hj-inquiry { background: #0a192f; color: #fff; }
.hj-inquiry .hj-h2, .hj-inquiry .hj-kicker { color: #fff; }
.hj-inquiry .hj-kicker { color: #fde68a; }
.hj-inquiry.is-light {
  background: #f8fafc;
  color: #0f172a;
}
.hj-inquiry.is-light .hj-h2 { color: #0f172a; }
.hj-inquiry.is-light .hj-kicker { color: #1547a7; }
.hj-inquiry.is-light .hj-lead { color: #64748b; }

.hj-form {
  background: #fff; color: #0f172a; border-radius: 28px; padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  border: 1px solid var(--hj-line);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}
.hj-form-short {
  grid-template-columns: 1fr;
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 24px 24px;
  border-color: #e1e9f5;
  border-radius: 24px;
}
.hj-form-short .hj-btn-inquiry-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 14px;
}
.hj-form-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
  font-weight: 500;
}
.hj-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: #334155; }
.hj-form input, .hj-form select, .hj-form textarea {
  border: 1px solid var(--hj-line); border-radius: 12px; padding: 12px 14px; font-size: 14px;
}
.hj-form input:focus, .hj-form select:focus, .hj-form textarea:focus {
  outline: none;
  border-color: #1547a7;
  box-shadow: 0 0 0 3px rgba(21, 71, 167, 0.12);
}
.hj-form .full { grid-column: 1 / -1; }
.hj-inquiry.is-light .hj-success { color: #0f172a; }
.hj-success { text-align: center; padding: 40px 10px; }
.hj-success h3 { font-size: 26px; margin: 12px 0; }

/* Footer */
.hj-footer { background: var(--hj-navy); color: #cbd5e1; padding: 64px 0 110px; }
.hj-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.hj-footer h4 { color: var(--hj-gold); margin: 0 0 12px; }
.hj-footer a, .hj-footer button {
  display: block; background: none; border: 0; color: #bfdbfe; text-align: left;
  padding: 4px 0; cursor: pointer; font-size: 13px;
}
.hj-footer .copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid #1e3a8a; font-size: 12px; color: #93c5fd; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hj-socials { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hj-socials a {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 11px; padding: 0;
}
.hj-socials .naver { background: #059669; }
.hj-socials .yt { background: #dc2626; }
.hj-socials .ig { background: #db2777; }

/* Floating */
.hj-float {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 90;
  width: 64px; background: #fff; border: 1px solid var(--hj-line); border-radius: 18px;
  box-shadow: var(--hj-shadow); overflow: hidden;
}
.hj-float a, .hj-float button {
  width: 100%; border: 0; background: #fff; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 10px 6px; font-size: 10px; font-weight: 800;
  color: #1e293b; cursor: pointer; border-bottom: 1px solid #f1f5f9;
}
.hj-float .ico {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}
.hj-mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hj-line); padding: 8px; gap: 8px;
}
.hj-mobile-bar a, .hj-mobile-bar button {
  flex: 1; border: 0; border-radius: 12px; padding: 12px 8px; font-weight: 800; font-size: 12px; cursor: pointer;
}

/* Modal */
.hj-modal {
  position: fixed; inset: 0; z-index: 120; background: rgba(15,23,42,.55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.hj-modal.is-open { display: flex; }
.hj-modal-card {
  width: min(760px, 100%); max-height: 86vh; overflow: auto; background: #fff;
  border-radius: 24px; box-shadow: var(--hj-shadow);
}
.hj-modal-card img { width: 100%; height: 220px; object-fit: cover; }
.hj-modal-body { padding: 24px; }
.hj-close {
  position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border: 0;
  border-radius: 50%; background: #fff; cursor: pointer; font-weight: 900;
}

/* Mobile drawer */
.hj-drawer {
  display: none; border-top: 1px solid var(--hj-line); background: #fff; padding: 16px;
  max-height: calc(100dvh - 72px); overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.hj-header.is-open .hj-drawer { display: block; }
body.hj-drawer-open { overflow: hidden; }
.hj-acc { border: 1px solid var(--hj-line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.hj-acc summary {
  padding: 14px 16px; font-weight: 700; color: var(--hj-blue); cursor: pointer; background: #f8fafc;
  min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none;
}
.hj-acc > summary::-webkit-details-marker,
.hj-drawer-sub > summary::-webkit-details-marker { display: none; }
.hj-acc > summary::after { content: "\203A"; color: #64748b; font-weight: 500; transition: transform .15s ease; }
.hj-acc[open] > summary::after { transform: rotate(90deg); }
.hj-acc a, .hj-drawer-link {
  display: block; padding: 14px 16px; font-size: 15px; font-weight: 600; color: #334155;
  border-top: 1px solid #f1f5f9; min-height: 44px;
}
.hj-acc a:hover, .hj-drawer-link:hover { color: var(--hj-blue); background: #f8fafc; }
.hj-drawer-link { border: 1px solid var(--hj-line); border-radius: 12px; margin-bottom: 8px; }
.hj-drawer-sub { border-top: 1px solid #f1f5f9; background: #fff; }
.hj-drawer-sub > summary {
  min-height: 46px; padding: 12px 16px 12px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; cursor: pointer; list-style: none;
  color: #334155; font-size: 14px; font-weight: 800;
}
.hj-drawer-sub > summary::after { content: "\203A"; color: #94a3b8; transition: transform .15s ease; }
.hj-drawer-sub[open] > summary::after { transform: rotate(90deg); }
.hj-acc .hj-drawer-sub a { padding-left: 40px; background: #fbfdff; font-size: 14px; }
.hj-acc .hj-drawer-sub .hj-drawer-sub a { padding-left: 52px; }
.hj-acc a.hj-drawer-sub-all { color: var(--hj-blue); font-size: 13px; font-weight: 800; }
.hj-drawer-kicker {
  margin: 0; padding: 10px 16px 4px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: #94a3b8;
  border-top: 1px solid #f1f5f9; background: #fafbfc;
}
.hj-acc .hj-drawer-kicker:first-child { border-top: none; }
.hj-drawer a { overflow-wrap: anywhere; }

/* Elementor resets */
.elementor-widget-shortcode .hj-site,
.elementor-shortcode .hj-site { margin: 0; }
.elementor-widget-html .hj-site p { margin: 0; }
/* Sticky aside: Elementor overflow/transform breaks sticky/fixed */
.elementor-section:has(.hj-school-page.hj-sp),
.elementor-column:has(.hj-school-page.hj-sp),
.elementor-widget-wrap:has(.hj-school-page.hj-sp),
.elementor-widget-shortcode:has(.hj-school-page.hj-sp),
.elementor-widget-shortcode:has(.hj-school-page.hj-sp) .elementor-widget-container,
.e-con:has(.hj-school-page.hj-sp),
.elementor-element:has(.hj-school-page.hj-sp) {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}
.hj-school-page.hj-sp,
.hj-school-page.hj-sp .hj-container.hj-sp-layout {
  overflow: visible !important;
}
body.hj-hide-theme header.site-header,
body.hj-hide-theme .site-footer,
body.hj-hide-theme #masthead,
body.hj-hide-theme #colophon { display: none !important; }

/* /care/ hub: hide theme page title bar if it still renders???? ?? ? ??? */
body.hj-care-hub-page .page-header,
body.hj-care-hub-page .entry-header:not(.elementor),
body.hj-care-hub-page .page-title,
body.hj-care-hub-page h1.entry-title,
body.hj-care-hub-page .elementor-page-title {
  display: none !important;
}

@media (max-width: 1280px) {
  .hj-nav-item, .hj-menu > a { padding: 8px 7px; font-size: 13px; }
  .hj-logo img { width: 120px; }
}
@media (max-width: 1100px) {
  .hj-nav { grid-template-columns: 1fr auto; }
  .hj-nav-center, .hj-mega, .hj-nav-cta-wrap { display: none !important; }
  .hj-nav-actions .hj-nav-social {
    display: flex !important;
    gap: 6px;
  }
  .hj-nav-actions .hj-icon-btn {
    width: 34px;
    height: 34px;
  }
  .hj-mega-panel-grid, .hj-mega-panel-grid.cols-2 { grid-template-columns: 1fr; }
  .hj-burger { display: inline-flex; align-items: center; justify-content: center; }
  .hj-stats, .hj-bento, .hj-config, .hj-config-studio, .hj-steps, .hj-grid, .hj-footer-grid { grid-template-columns: 1fr 1fr; }
  .hj-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hj-hero { padding: 42px 0 90px; text-align: center; }
  .hj-search { flex-direction: column; }
  .hj-search button { width: 100%; }
  .hj-actions, .hj-tags { justify-content: center; }
  .hj-stats, .hj-bento, .hj-config, .hj-config-studio, .hj-grid, .hj-form, .hj-footer-grid { grid-template-columns: 1fr; }
  .hj-config-options.cols-3 { grid-template-columns: 1fr; }
  .hj-config-options.cols-2 { grid-template-columns: 1fr; }
  .hj-stat { border-right: 0; border-bottom: 1px solid #f1f5f9; padding: 16px 8px; }
  .hj-float { display: none; }
  .hj-mobile-bar { display: flex; }
  .hj-footer { padding-bottom: 96px; }
  .hj-announce .hj-container { font-size: 11px; }
  .hj-compare-slots { grid-template-columns: 1fr; }
  .hj-compare-cards, .hj-compare-cards.cols-2, .hj-compare-cards.cols-3 { grid-template-columns: 1fr !important; }
  .hj-compare-fx { margin-left: 0; width: 100%; }
}

/* School fee compare tool */
.hj-fee-compare .hj-h2 { font-size: clamp(28px, 4vw, 42px); }
.hj-compare-child-bar {
  background: #fff; border: 1px solid var(--hj-line); border-radius: 20px;
  padding: 16px 18px; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(15,23,42,.04);
  display: grid; gap: 12px;
}
.hj-compare-child-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.hj-compare-child-label { font-size: 12px; font-weight: 900; color: #64748b; min-width: 36px; }
.hj-compare-mode { display: flex; gap: 6px; }
.hj-compare-mode-btn {
  border: 1px solid var(--hj-line); background: #f8fafc; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.hj-compare-mode-btn.is-on { background: var(--hj-blue); color: #fff; border-color: var(--hj-blue); }
.hj-compare-dob, .hj-compare-manual-grade { display: flex; gap: 6px; flex-wrap: wrap; }
.hj-compare-dob select, .hj-compare-manual-grade select {
  border: 1px solid var(--hj-line); border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 13px;
}
.hj-compare-radio { font-size: 12px; font-weight: 700; color: #475569; display: inline-flex; align-items: center; gap: 4px; }
.hj-compare-fx { font-size: 11px; color: #94a3b8; margin-left: auto; }
.hj-compare-year-badge {
  font-size: 12px; font-weight: 900; color: #0d7a48; background: #ecfdf5;
  padding: 6px 12px; border-radius: 999px; border: 1px solid #a7f3d0;
}
.hj-compare-studio {
  background: var(--hj-bg); border: 1px solid var(--hj-line); border-radius: 28px;
  padding: 24px 20px; box-shadow: var(--hj-shadow);
}
.hj-compare-head-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.hj-compare-title { margin: 0; font-size: 20px; font-weight: 900; color: #0f172a; }
.hj-compare-hint { font-size: 12px; color: #64748b; font-weight: 700; }
.hj-compare-seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px;
}
.hj-compare-seg button {
  border: 0; background: transparent; border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 800; color: #64748b; cursor: pointer; font-family: inherit;
  transition: 0.15s ease;
}
.hj-compare-seg button.is-on {
  background: #fff; color: #0f172a; box-shadow: 0 1px 4px rgba(15,23,42,.08);
}
.hj-compare-tool-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; width: 100%;
}
.hj-compare-tool-row--split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px;
}
.hj-compare-grade-panel { width: 100%; }
.hj-compare-age-step {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 6px 10px;
}
.hj-compare-age-step-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e2e8f0;
  background: #f8fafc; font-size: 18px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.hj-compare-age-display { font-size: 14px; font-weight: 900; color: #0f172a; min-width: 72px; text-align: center; }
.hj-compare-dob-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.hj-compare-dob-fields select,
.hj-compare-manual-grade {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 13px;
  background: #fff;
}
.hj-compare-year-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%;
  padding-top: 4px; border-top: 1px dashed #e2e8f0; margin-top: 4px;
}
.hj-compare-year-pill {
  font-size: 12px; font-weight: 900; color: #047857; background: #ecfdf5;
  padding: 6px 12px; border-radius: 999px; border: 1px solid #a7f3d0;
}
.hj-compare-year-strip .hint { font-size: 12px; color: #64748b; font-weight: 600; }
.hj-compare-head-copy { flex: 1; min-width: 0; }
.hj-compare-meta {
  margin: 6px 0 0; font-size: 12px; font-weight: 700; color: #475569;
}
.hj-compare-meta-sep { margin: 0 6px; color: #cbd5e1; }
.hj-compare-share-btn { flex-shrink: 0; border-radius: 12px !important; font-weight: 800 !important; }
.hj-compare-result-head { margin: 20px 0 8px; }
.hj-compare-result-title { margin: 0; font-size: 18px; font-weight: 900; color: #0f172a; }
.hj-compare-slots {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px;
}
.hj-compare-slot { display: none; }
.hj-compare-slot.is-add,
.hj-compare-slot.is-filled { display: block; }
.hj-compare-slot.is-add .hj-compare-slot-filled { display: none; }
.hj-compare-slot.is-filled .hj-compare-slot-add { display: none; }
.hj-compare-slot.is-add .hj-compare-slot-add {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed #cbd5e1; border-radius: 14px; background: #fafbfc;
  padding: 14px 16px; cursor: pointer; font-weight: 800; color: #475569; font-size: 13px;
  font-family: inherit;
}
.hj-compare-slot-filled {
  border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.hj-compare-slot-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; flex-wrap: wrap;
}
.hj-slot-pick-logo {
  width: 52px; height: 52px; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0;
  background: #f8fafc; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.hj-slot-pick-logo img { width: 100%; height: 100%; object-fit: cover; }
.hj-slot-pick-fallback { font-size: 10px; font-weight: 900; color: #64748b; }
.hj-compare-slot-copy { flex: 1; min-width: 160px; }
.hj-compare-slot-copy .hj-slot-pick-name { display: block; font-size: 14px; font-weight: 900; color: #0f172a; line-height: 1.3; }
.hj-compare-slot-copy .hj-slot-pick-en { display: block; font-size: 11px; color: #64748b; font-weight: 600; margin-top: 2px; }
.hj-compare-slot-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hj-compare-slot-pill {
  font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; line-height: 1.2;
}
.hj-compare-slot-pill--ay { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.hj-compare-slot-pill--board { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.hj-slot-auto-prog { margin: 6px 0 0; font-size: 11px; font-weight: 700; color: var(--hj-blue); line-height: 1.35; }
.hj-compare-slot-actions {
  display: flex; flex-direction: column; gap: 6px; margin-left: auto; flex-shrink: 0;
}
.hj-compare-slot-change,
.hj-compare-slot-remove {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 10px;
  padding: 8px 14px; font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit;
  min-width: 64px;
}
.hj-compare-slot-change { color: var(--hj-blue); border-color: #bfdbfe; }
.hj-compare-slot-change:hover { background: #eff6ff; }
.hj-compare-slot-remove { color: #64748b; }
.hj-compare-slot-remove:hover { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.hj-slot-add-icon {
  width: 32px; height: 32px; border-radius: 10px; border: 1px solid #cbd5e1;
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--hj-blue);
  background: #fff;
}

/* Compare school picker modal */
.hj-compare-picker {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 16px;
}
.hj-compare-picker[hidden] { display: none !important; }
.hj-compare-picker-backdrop {
  position: absolute; inset: 0; background: rgba(15,23,42,.45); backdrop-filter: blur(4px);
}
.hj-compare-picker-dialog {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: min(88vh, 760px); overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px; padding: 0;
  box-shadow: 0 20px 60px rgba(15,23,42,.16); border: 1px solid #E5E7EB;
}
.hj-compare-picker-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid #E4E8F0; flex-shrink: 0;
}
.hj-compare-picker-head-copy { min-width: 0; flex: 1; }
.hj-compare-picker-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #172033; letter-spacing: -0.02em; }
.hj-compare-picker-sub { margin: 4px 0 0; font-size: 13px; color: #667085; font-weight: 600; }
.hj-compare-picker-close {
  width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 8px;
  background: transparent; color: #667085; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.hj-compare-picker-close:hover { background: #F2F4F7; color: #172033; }
.hj-compare-picker-close:focus-visible { outline: 2px solid #243B70; outline-offset: 2px; }
.hj-compare-picker-body {
  overflow: auto; padding: 18px 24px 24px; -webkit-overflow-scrolling: touch;
}
.hj-compare-picker-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 0;
}
.hj-compare-picker-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 14px 10px 12px; border-radius: 10px; border: 1px solid #E5E7EB; background: #fff;
  cursor: pointer; font-family: inherit; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hj-compare-picker-item:hover:not(.is-disabled) {
  border-color: #243B70; background: #F7F9FC; transform: translateY(-1px);
  box-shadow: none;
}
.hj-compare-picker-item.is-disabled { opacity: 0.5; cursor: not-allowed; }
.hj-compare-picker-logo {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden; margin-bottom: 10px;
  border: 1px solid #E4E8F0; background: #F8FAFC; display: flex; align-items: center; justify-content: center;
}
.hj-compare-picker-logo img { width: 100%; height: 100%; object-fit: cover; }
.hj-compare-picker-fallback { font-size: 12px; font-weight: 800; color: #667085; }
.hj-compare-picker-item strong { font-size: 12px; line-height: 1.35; color: #172033; font-weight: 800; }
.hj-compare-picker-item small { font-size: 10px; color: #667085; margin-top: 4px; line-height: 1.3; font-weight: 600; }
.hj-compare-picker-taken { font-size: 10px; font-weight: 800; color: #B54708; margin-top: 6px; }
body.hj-compare-picker-open { overflow: hidden; }
@media (max-width: 760px) {
  .hj-compare-picker-grid { grid-template-columns: repeat(2, 1fr); }
  .hj-compare-picker-head,
  .hj-compare-picker-body { padding-left: 16px; padding-right: 16px; }
}
.hj-compare-empty {
  text-align: center; padding: 28px 16px; background: #f1f5f9; border-radius: 20px; margin-bottom: 16px;
}
.hj-compare-empty .hj-muted { font-size: 13px; color: #64748b; }
.hj-compare-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hj-compare-cards.cols-1 { grid-template-columns: 1fr; max-width: 400px; }
.hj-compare-cards.cols-2 { grid-template-columns: 1fr 1fr; }
.hj-compare-card .prog-fit { font-size: 12px; color: var(--hj-blue); margin: 0 0 10px; }
.hj-compare-card {
  background: #fff; border: 1px solid #dbeafe; border-radius: 20px; padding: 18px;
}
.hj-compare-card .tag {
  font-size: 10px; font-weight: 900; color: var(--hj-blue); letter-spacing: 0.1em;
}
.hj-compare-card h3 { margin: 6px 0 4px; font-size: 17px; }
.hj-compare-card .sub { font-size: 12px; color: #64748b; margin: 0 0 10px; }
.hj-compare-card ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: 12px; }
.hj-compare-card li { margin: 4px 0; }
.hj-compare-card .total {
  padding: 10px; background: #eff6ff; border-radius: 12px; margin-bottom: 10px; font-size: 13px;
}
.hj-compare-diff { text-align: center; font-size: 14px; margin-top: 12px; }
.hj-compare-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; justify-content: center;
}
.hidden-prog { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hj-slot-auto-prog { font-size: 11px; font-weight: 700; color: var(--hj-blue); margin: 0; line-height: 1.4; }

/* Compare page ? premium full layout */
.hj-compare-page { background: #f4f6f9; }
.hj-compare-hero {
  position: relative; min-height: 280px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.hj-compare-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,72,.55) 0%, rgba(11,30,72,.88) 100%);
}
.hj-compare-hero-inner { position: relative; z-index: 1; padding: 48px 0 56px; color: #fff; }
.hj-compare-hero-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fde68a;
}
.hj-compare-hero h1 {
  margin: 10px 0 12px; font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.12;
}
.hj-compare-hero h1 span { color: var(--hj-gold); }
.hj-compare-hero p { max-width: 560px; font-size: 15px; color: #e2e8f0; margin: 0; }
.hj-compare-toolbar {
  background: #fff; border-bottom: 1px solid var(--hj-line);
  box-shadow: 0 8px 30px rgba(15,23,42,.06); position: sticky; top: 0; z-index: 40;
}
.hj-compare-toolbar-inner {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; padding: 14px 0;
}
.hj-compare-toolbar-inner > .lbl,
.hj-compare-tool-row > .lbl { font-size: 12px; font-weight: 800; color: #64748b; white-space: nowrap; min-width: 36px; }
.hj-compare-fx { font-size: 11px; color: #94a3b8; }
.hj-fee-compare-body { padding-top: 28px; padding-bottom: 32px; }
.hj-compare-empty { padding: 22px 16px; }

.hj-pro-grid {
  display: grid; gap: 20px; margin-top: 8px;
}
.hj-pro-grid.cols-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.hj-pro-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hj-pro-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hj-pro-card {
  background: #fff; border-radius: 24px; border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15,23,42,.08); overflow: hidden;
  display: flex; flex-direction: column;
}
.hj-pro-card-head {
  display: flex; align-items: center; gap: 12px; padding: 18px 18px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.hj-pro-logo {
  width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 1px solid #e2e8f0;
}
.hj-pro-card-head h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.hj-pro-card-head small { color: #64748b; font-size: 11px; font-weight: 600; }
.hj-pro-tuition { padding: 16px 18px 8px; }
.hj-pro-tuition span { font-size: 11px; font-weight: 800; color: #64748b; text-transform: uppercase; }
.hj-pro-tuition .price {
  display: block; margin-top: 6px; font-size: 26px; font-weight: 900; color: var(--hj-blue); letter-spacing: -0.03em;
}
.hj-pro-onetime {
  margin: 0 18px 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--hj-navy); color: #e2e8f0;
}
.hj-pro-onetime span { display: block; font-size: 10px; font-weight: 800; color: #93c5fd; margin-bottom: 4px; }
.hj-pro-onetime strong { font-size: 18px; color: #fff; }
.hj-btn.hj-compare-yellow, .hj-compare-yellow {
  background: var(--hj-gold) !important; color: #0f172a !important;
  font-weight: 900 !important; border: 0 !important; box-shadow: 0 8px 20px rgba(250,209,56,.35);
}
.hj-btn.hj-compare-yellow:hover { background: #fde047 !important; }
.hj-pro-cta { margin: 0 18px 14px; width: calc(100% - 36px); text-align: center; border-radius: 14px !important; padding: 14px !important; }
.hj-pro-details {
  list-style: none; margin: 0; padding: 12px 18px 16px; flex: 1;
  border-top: 1px solid #f1f5f9; font-size: 12px;
}
.hj-pro-details li {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e2e8f0;
}
.hj-pro-details li span { color: #64748b; font-weight: 700; }
.hj-pro-details li em { font-style: normal; font-weight: 800; color: #1e293b; text-align: right; }
.hj-pro-link {
  display: block; text-align: center; padding: 12px; font-size: 12px; font-weight: 800; color: var(--hj-blue);
  border-top: 1px solid #f1f5f9;
}
.hj-pro-promotions { border-top: 1px solid #e2e8f0; }
.hj-pro-promotions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; cursor: pointer; list-style: none; color: #0f172a;
  font-size: 13px; font-weight: 900;
}
.hj-pro-promotions summary::-webkit-details-marker { display: none; }
.hj-pro-promotions summary::after { content: "\203A"; margin-left: auto; color: #64748b; transition: transform .15s ease; }
.hj-pro-promotions[open] summary::after { transform: rotate(90deg); }
.hj-pro-promotions summary > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  border-radius: 999px; background: #eff6ff; color: var(--hj-blue); font-size: 11px;
}
.hj-pro-promotion-list { border-top: 1px solid #f1f5f9; }
.hj-pro-promotion { padding: 14px 18px; background: #fbfdfc; }
.hj-pro-promotion + .hj-pro-promotion { border-top: 1px solid #e8f2ed; }
.hj-pro-promotion-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hj-pro-promotion-top strong { color: #047857; font-size: 13px; }
.hj-pro-promotion-badge,
.hj-sp-promotion-badge {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 10px; font-weight: 900;
}
.hj-pro-promotion-badge--always,
.hj-sp-promotion-badge--always { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
.hj-pro-promotion-badge--scholarship,
.hj-sp-promotion-badge--scholarship { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.hj-pro-promotion h4 { margin: 8px 0 4px; font-size: 13px; line-height: 1.4; color: #0f172a; }
.hj-pro-promotion p { margin: 0; color: #64748b; font-size: 11px; line-height: 1.55; }
.hj-pro-promotion small { display: block; margin-top: 6px; color: #94a3b8; font-size: 10px; }
.hj-pro-summary {
  margin-top: 20px; background: #fff; border-radius: 20px; border: 1px solid #dbeafe;
  box-shadow: var(--hj-shadow);
}
.hj-pro-summary-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
}
.hj-pro-summary-inner span { display: block; font-size: 11px; color: #64748b; font-weight: 800; }
.hj-pro-summary-inner strong { font-size: 18px; color: var(--hj-blue); }
.hj-pro-summary .diff { font-size: 13px; font-weight: 800; color: #475569; }

.hj-compare-directory { padding: 48px 0 56px; background: #fff; }
.hj-compare-dir-title { text-align: center; font-size: 28px; font-weight: 900; margin: 0 0 8px; }
.hj-compare-dir-sub { text-align: center; color: #64748b; font-size: 14px; margin: 0 0 28px; }
.hj-compare-dir-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hj-compare-dir-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 12px; border-radius: 18px; border: 1px solid #e2e8f0; background: #fafafc;
  transition: 0.2s ease; color: inherit;
}
.hj-compare-dir-card:hover { border-color: #93c5fd; box-shadow: 0 12px 28px rgba(21,71,167,.1); transform: translateY(-2px); }
.hj-compare-dir-logo {
  width: 64px; height: 64px; border-radius: 16px; overflow: hidden; margin-bottom: 10px; border: 1px solid #e2e8f0;
}
.hj-compare-dir-logo img { width: 100%; height: 100%; object-fit: cover; }
.hj-compare-dir-card strong { font-size: 12px; line-height: 1.35; }
.hj-compare-dir-card small { font-size: 10px; color: #64748b; margin-top: 4px; line-height: 1.3; }

.hj-compare-bottom-cta {
  background: var(--hj-navy); color: #e2e8f0; padding: 36px 0 48px;
}
.hj-compare-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.hj-compare-bottom-inner strong { display: block; font-size: 20px; color: #fff; margin-bottom: 6px; }
.hj-compare-bottom-inner p { margin: 0; font-size: 14px; color: #94a3b8; }

@media (max-width: 900px) {
  .hj-pro-grid.cols-2, .hj-pro-grid.cols-3 { grid-template-columns: 1fr; }
  .hj-compare-dir-grid { grid-template-columns: repeat(2, 1fr); }
  .hj-compare-tool-currency { margin-left: 0; }
}
@media (max-width: 760px) {
  .hj-compare-dir-grid { grid-template-columns: 1fr 1fr; }
}

/* School profile page (premium single) */
.hj-school-page.hj-sp { padding-bottom: 0; background: #f4f6f9; }
.hj-sp.hj-sp--modules { background: transparent; }
.hj-sp-layout--modules {
  grid-template-columns: 1fr !important;
  padding-top: 8px;
  padding-bottom: 24px;
}
.hj-sp--modules .hj-sp-section { scroll-margin-top: 88px; }
.hj-sp-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.hj-sp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hj-sp-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,72,.35) 0%, rgba(11,30,72,.92) 78%);
}
.hj-sp-hero-inner { position: relative; z-index: 1; padding: 28px 0 40px; color: #fff; }
.hj-sp-crumb { font-size: 12px; font-weight: 700; color: #cbd5e1; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hj-sp-crumb a { color: #fde68a; }
.hj-sp-hero-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.hj-sp-hero-copy h1 { margin: 10px 0 6px; font-size: clamp(30px, 4.5vw, 48px); font-weight: 900; line-height: 1.12; color: #fff; }
.hj-sp-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fde68a; }
.hj-sp-en { margin: 0; font-size: 15px; color: #e2e8f0; font-weight: 600; }
.hj-sp-loc { margin: 8px 0 0; font-size: 14px; color: #94a3b8; }
.hj-sp-hero-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.hj-sp-hero-ghost { background: rgba(255,255,255,.1) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.35) !important; }
.hj-sp-official { text-align: center; font-size: 12px; font-weight: 800; color: #cbd5e1; }

.hj-school-page.hj-sp {
  --hj-sp-site-header: 72px;
  --hj-sp-sticky-gap: 12px;
  --hj-sp-sticky-top: calc(var(--hj-sp-site-header) + var(--hj-sp-sticky-gap));
}
.hj-sp-nav {
  position: static; z-index: 1; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--hj-line);
  box-shadow: 0 6px 24px rgba(15,23,42,.05);
}
.hj-sp-nav-inner {
  display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none;
}
.hj-sp-nav-inner a {
  flex-shrink: 0; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #475569;
}
.hj-sp-nav-inner a:hover { background: #eff6ff; color: var(--hj-blue); }
.hj-sp-nav-cta { margin-left: auto; background: var(--hj-navy) !important; color: #fff !important; }

.hj-sp-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px;
  padding: 32px 0 48px; align-items: start;
}
.hj-sp-section { margin-bottom: 40px; scroll-margin-top: var(--hj-sp-sticky-top, 96px); }
.hj-sp-sec-head { margin-bottom: 20px; }
.hj-sp-kicker { font-size: 11px; font-weight: 900; letter-spacing: 0.14em; color: var(--hj-blue); }
.hj-sp-sec-head h2 { margin: 8px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: #0f172a; }
.hj-sp-sec-sub { margin: 10px 0 0; font-size: 14px; color: #64748b; max-width: 640px; line-height: 1.6; }

.hj-sp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px;
}
.hj-sp-stat {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.hj-sp-stat .ico { font-size: 18px; display: block; margin-bottom: 6px; }
.hj-sp-stat .lbl { display: block; font-size: 10px; font-weight: 800; color: #64748b; text-transform: uppercase; }
.hj-sp-stat strong { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: #0f172a; }
.hj-sp-lead { font-size: 16px; line-height: 1.75; color: #334155; margin: 0; }

.hj-sp-highlights { display: grid; gap: 16px; }
.hj-sp-hl {
  display: grid; grid-template-columns: 280px 1fr; gap: 0; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 24px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}
.hj-sp-hl-img { position: relative; min-height: 180px; }
.hj-sp-hl-img img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.hj-sp-hl-img .num {
  position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em;
  background: var(--hj-gold); color: #0f172a; padding: 6px 10px; border-radius: 8px;
}
.hj-sp-hl-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.hj-sp-hl-body h3 { margin: 0 0 10px; font-size: 20px; font-weight: 900; }
.hj-sp-hl-body p { margin: 0; font-size: 14px; line-height: 1.7; color: #475569; }

.hj-sp-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid #e2e8f0; box-shadow: var(--hj-shadow);
}
.hj-sp-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hj-sp-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; gap: 10px;
}
.hj-sp-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; }
.hj-sp-gallery figure.is-feature { grid-column: span 2; grid-row: span 2; }
.hj-sp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hj-sp-age-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: #fff; border: 1px solid #dbeafe; border-radius: 20px; padding: 16px 18px; margin-bottom: 16px;
}
.hj-sp-age-bar label { font-size: 12px; font-weight: 900; color: #64748b; }
.hj-sp-age-bar select {
  border: 1px solid var(--hj-line); border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 14px;
}
.hj-sp-age-auto {
  margin-left: auto; padding: 8px 16px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px;
}
.hj-sp-age-auto span { display: block; font-size: 10px; font-weight: 800; color: #047857; text-transform: uppercase; }
.hj-sp-age-auto strong { font-size: 22px; font-weight: 900; color: #065f46; }

.hj-sp-table-wrap {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.hj-sp-grade-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hj-sp-grade-table th {
  text-align: left; padding: 12px 14px; background: #f8fafc; font-size: 11px; font-weight: 900;
  color: #64748b; text-transform: uppercase; border-bottom: 1px solid #e2e8f0;
}
.hj-sp-grade-table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.hj-sp-grade-table tr.is-active { background: #eff6ff; }
.hj-sp-grade-table tr.is-active td { font-weight: 800; color: #0f172a; }
.hj-sp-grade-table em { font-style: normal; font-weight: 900; color: var(--hj-blue); }
.hj-sp-grade-table .fee { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.hj-sp-grade-table.hj-sp-fee-table th:not(:first-child),
.hj-sp-grade-table.hj-sp-fee-table td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hj-sp-grade-table.hj-sp-fee-table td.fee { font-weight: 800; }

.hj-care-hub {
  background: #fff;
  padding-top: 8px;
  padding-bottom: 48px;
}
.hj-care-hub-head { max-width: 720px; margin-bottom: 28px; }
.hj-care-hub-head .hj-h2 { margin-bottom: 10px; }

.hj-care-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 0 0 32px;
}
.hj-care-grid--editorial {
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hj-care-grid--editorial {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 16px;
  }
  .hj-care-grid--editorial > .hj-care-card--flagship {
    grid-row: 1 / span 1;
    min-height: 100%;
  }
}
.hj-care-grid-secondary {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .hj-care-grid-secondary {
    grid-template-columns: 1fr 1fr;
  }
}

.hj-care-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hj-care-card--compact {
  min-height: 132px;
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.hj-care-card--compact:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(18, 59, 122, 0.1);
  box-shadow: 0 14px 36px rgba(18, 59, 122, 0.08);
  transform: translateY(-2px);
}
/* Flagship: light glass (Quiet Premium) ? not solid navy block */
.hj-care-card--flagship,
.hj-care-flagship-card {
  padding: 36px 32px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(238, 244, 255, 0.68) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 40px -15px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hj-care-card--flagship .hj-care-card-kicker,
.hj-care-flagship-card .hj-care-card-kicker {
  color: var(--hj-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hj-care-card--flagship .hj-care-card-title,
.hj-care-flagship-card .hj-care-card-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 4px 0 4px;
}
.hj-care-card--flagship .hj-care-card-arrow,
.hj-care-flagship-card .hj-care-card-arrow {
  color: var(--hj-blue);
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
}
.hj-care-card--flagship:hover,
.hj-care-flagship-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 59, 122, 0.14);
  box-shadow:
    0 25px 50px -12px rgba(18, 59, 122, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}
.hj-care-card--flagship .hj-care-card-points,
.hj-care-flagship-card .hj-care-card-points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  flex: 1;
}
.hj-care-card--flagship .hj-care-card-points li,
.hj-care-flagship-card .hj-care-card-points li {
  position: relative;
  padding-left: 1.35em;
  margin: 8px 0;
}
.hj-care-card--flagship .hj-care-card-points li::before,
.hj-care-flagship-card .hj-care-card-points li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: 800;
}
.hj-care-card:not(.hj-care-card--flagship):not(.hj-care-card--compact):hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 32px rgba(21, 71, 167, 0.1);
}
.hj-care-card-kicker { font-size: 11px; font-weight: 900; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }
.hj-care-card-title { font-size: 15px; font-weight: 900; color: #0f172a; line-height: 1.45; }
.hj-care-card-arrow { font-size: 12px; font-weight: 800; color: var(--hj-blue); margin-top: auto; }
.hj-care-hub-foot { margin-top: 8px; }
.hj-care-hub-cta { text-align: center; margin: 24px 0 0; }
.hj-care-breadcrumb { font-size: 13px; font-weight: 700; color: #64748b; margin: 0 0 20px; }
.hj-care-breadcrumb a { color: var(--hj-blue); text-decoration: none; }
.hj-care-bullets { margin: 0 0 28px; padding-left: 1.2em; line-height: 1.65; color: #475569; font-size: 14px; }
.hj-care-service-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hj-care-journey { margin: 40px 0 24px; padding: 28px 24px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; }
.hj-care-journey-title { margin: 0 0 8px; font-size: 17px; font-weight: 900; color: #0f172a; }
.hj-care-journey-sub { margin: 0 0 20px; font-size: 13px; color: #64748b; line-height: 1.55; }
.hj-care-journey-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hj-care-journey-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.hj-care-journey-num { font-size: 12px; font-weight: 900; color: var(--hj-blue); background: #eff6ff; border-radius: 12px; padding: 10px 0; text-align: center; }
.hj-care-journey-kicker { display: block; font-size: 10px; font-weight: 900; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.hj-care-journey-link { font-size: 15px; font-weight: 900; color: #0f172a; text-decoration: none; }
.hj-care-journey-link:hover { color: var(--hj-blue); }
.hj-care-journey-body p { margin: 6px 0 0; font-size: 13px; color: #64748b; line-height: 1.5; }

.hj-care-service-head { margin-bottom: 28px; max-width: 720px; }
.hj-care-package {
  padding: 28px 26px; margin-bottom: 36px; background: #0f172a; color: #fff; border-radius: 20px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}
.hj-care-package-label { display: block; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 8px; }
.hj-care-package-title { margin: 0 0 10px; font-size: 22px; font-weight: 900; color: #fff; }
.hj-care-package-tagline { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #cbd5e1; }
.hj-care-block-title { font-size: 18px; font-weight: 900; margin: 0 0 16px; color: #0f172a; }
.hj-care-checklist-grid { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 768px) { .hj-care-checklist-grid { grid-template-columns: 1fr 1fr; } }
.hj-care-checklist-group { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; }
.hj-care-checklist-group h4 { margin: 0 0 12px; font-size: 14px; font-weight: 900; color: #0f172a; }
.hj-care-checklist-group ul { margin: 0; padding: 0; list-style: none; font-size: 13px; color: #475569; line-height: 1.55; }
.hj-care-checklist-group li { position: relative; padding-left: 1.35em; margin: 6px 0; }
.hj-care-checklist-group li::before { content: "\2713"; position: absolute; left: 0; color: #059669; font-weight: 900; }

.hj-care-process { margin-bottom: 36px; }
.hj-care-process-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 4px; }
.hj-care-process-step {
  flex: 1 1 140px; min-width: 140px; padding: 14px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px;
}
.hj-care-process-step small { display: block; font-size: 10px; font-weight: 900; color: var(--hj-blue); }
.hj-care-process-step strong { display: block; font-size: 13px; margin: 4px 0; color: #0f172a; }
.hj-care-process-step p { margin: 0; font-size: 12px; color: #64748b; line-height: 1.45; }
.hj-care-process-arrow { align-self: center; color: #cbd5e1; font-weight: 900; font-size: 18px; padding: 0 4px; }
@media (max-width: 640px) { .hj-care-process-arrow { display: none; } }

.hj-care-faq { margin-bottom: 32px; }
.hj-care-service-foot { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; border-top: 1px solid #f1f5f9; }

.hj-sp-h3 { font-size: 18px; font-weight: 900; margin: 24px 0 12px; color: #0f172a; }
.hj-sp-programs { display: grid; gap: 12px; }
.hj-sp-prog {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 16px 18px;
}
.hj-sp-prog-main strong { display: block; font-size: 15px; }
.hj-sp-prog-main span { font-size: 12px; color: #64748b; font-weight: 700; }
.hj-sp-prog-main small { display: block; font-size: 11px; color: #94a3b8; margin-top: 4px; }
.hj-sp-prog-fees { list-style: none; margin: 0; padding: 0; font-size: 12px; text-align: right; }
.hj-sp-prog-fees li { margin: 2px 0; }
.hj-sp-prog-fees span { color: #64748b; margin-right: 8px; }
.hj-sp-prog-fees em { font-style: normal; font-weight: 800; }
.hj-sp-prog-fees .total { color: var(--hj-blue); display: block; margin-top: 4px; }

.hj-sp-onetime { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; }
.hj-sp-onetime-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f1f5f9;
}
.hj-sp-onetime-row:last-child { border-bottom: 0; }
.hj-sp-onetime-row strong { display: block; font-size: 14px; }
.hj-sp-onetime-row span { font-size: 11px; color: #94a3b8; font-weight: 600; }
.hj-sp-onetime-row em { font-style: normal; font-weight: 900; color: #0f172a; white-space: nowrap; }

.hj-sp-faqs { display: grid; gap: 10px; }
.hj-sp-faq {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0 18px;
  box-shadow: 0 4px 16px rgba(15,23,42,.03);
}
.hj-sp-faq summary {
  cursor: pointer; font-weight: 900; font-size: 14px; padding: 16px 0; list-style: none; color: #0f172a;
}
.hj-sp-faq summary::-webkit-details-marker { display: none; }
.hj-sp-faq p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: #475569; }

.hj-sp-aside {
  align-self: start;
  position: relative;
}
.hj-sp-aside-card {
  z-index: 35;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 24px;
  padding: 20px; box-shadow: 0 16px 40px rgba(15,23,42,.08);
  transition: box-shadow 0.2s ease;
}
@media (min-width: 961px) {
  .hj-sp-aside-card {
    position: sticky;
    top: var(--hj-sp-sticky-top, 96px);
  }
}
.hj-sp-aside-card.hj-sp-aside-card--portal {
  position: fixed !important;
  margin: 0;
}
.hj-sp-aside-pin-placeholder {
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}
.hj-sp-aside-card.is-pinned {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  max-height: calc(100vh - var(--hj-sp-sticky-top, 96px) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.hj-sp-aside-card::-webkit-scrollbar { width: 6px; }
.hj-sp-aside-card::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.hj-sp-aside-logo {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 12px;
  background: #f8fafc; display: flex; align-items: center; justify-content: center;
}
.hj-sp-aside-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.hj-thumb--empty { background: linear-gradient(135deg, #e2e8f0, #f1f5f9); min-height: 160px; }
.hijune-media-field { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hijune-media-field .hijune-media-url { flex: 1 1 280px; }
.hj-sp-aside-card h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.35; }
.hj-sp-aside-meta { list-style: none; margin: 0 0 16px; padding: 0; font-size: 12px; }
.hj-sp-aside-meta li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; }
.hj-sp-aside-meta span { color: #64748b; font-weight: 700; }
.hj-sp-aside-btn { width: 100%; text-align: center; margin-top: 8px; }

.hj-sp-bottom {
  background: var(--hj-navy); color: #e2e8f0; padding: 36px 0 48px;
}
.hj-sp-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.hj-sp-bottom-inner strong { display: block; font-size: 20px; color: #fff; margin-bottom: 6px; }
.hj-sp-bottom-inner p { margin: 0; font-size: 14px; color: #94a3b8; }

.hj-program-list { display: grid; gap: 12px; }
.hj-program-card {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--hj-line); border-radius: 16px; padding: 16px;
}
@media (max-width: 960px) {
  .hj-sp-layout { grid-template-columns: 1fr; }
  .hj-sp-aside { display: none; }
  .hj-school-page.hj-sp { padding-bottom: 72px; }
  .hj-sp-hl { grid-template-columns: 1fr; }
  .hj-sp-stats { grid-template-columns: repeat(2, 1fr); }
  .hj-sp-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .hj-sp-gallery figure.is-feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 760px) {
  .hj-sp-prog { grid-template-columns: 1fr; }
  .hj-sp-prog-fees { text-align: left; }
  .hj-sp-age-auto { margin-left: 0; width: 100%; }
  .hj-sp-nav-cta { margin-left: 0; }
}

/* ?? School profile ELITE (beyond generic directory pages) ?? */
.hj-sp-elite { --sp-radius: 28px; }
.hj-sp-hero-elite {
  position: relative; min-height: min(520px, 72vh); display: flex; align-items: flex-end; overflow: hidden;
  background: var(--hj-navy);
}
.hj-sp-hero-media { position: absolute; inset: 0; }
.hj-sp-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transform: scale(1.02); }
.hj-sp-hero-elite-inner { position: relative; z-index: 2; padding: 24px 0 48px; color: #fff; width: 100%; }
.hj-sp-hero-elite-grid {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 24px; align-items: end;
}
.hj-sp-brand-plate {
  width: 112px; height: 112px; border-radius: 24px; overflow: hidden; border: 2px solid rgba(255,255,255,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); background: #fff;
}
.hj-sp-brand-plate img { width: 100%; height: 100%; object-fit: cover; }
.hj-sp-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: #fde68a; text-transform: uppercase; }
.hj-sp-hero-elite-copy h1 { margin: 8px 0 4px; font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.1; color: #fff; }
.hj-sp-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hj-sp-chip {
  font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #e2e8f0;
}
.hj-sp-hero-elite-cta { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.hj-sp-btn-lg { padding: 14px 20px !important; font-size: 14px !important; border-radius: 14px !important; text-align: center; }

.hj-sp-trust {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 100%); color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,.08);
}
.hj-sp-trust-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 0; font-size: 12px; font-weight: 600;
}
.hj-sp-trust-badge {
  background: var(--hj-gold); color: #0f172a; font-weight: 900; padding: 5px 12px; border-radius: 999px; font-size: 11px;
}
.hj-sp-trust-muted { margin-left: auto; color: #64748b; font-size: 11px; }

.hj-sp-nav-elite .hj-sp-nav-inner a.is-active { background: var(--hj-navy); color: #fff; }

.hj-sp-bento.hj-sp-bento--grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px;
}
.hj-sp-bento--grid .hj-sp-bento-cell {
  min-height: 96px; display: flex; flex-direction: column; justify-content: center;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 18px 20px; box-shadow: none;
}
.hj-sp-bento-cell .lbl { font-size: 11px; font-weight: 800; color: #64748b; letter-spacing: 0.04em; }
.hj-sp-bento-cell strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.35; color: #0f172a; font-weight: 800; }
.hj-sp-bento-cell small { display: block; margin-top: 6px; font-size: 11px; color: #94a3b8; font-weight: 600; }

.hj-sp-hl-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hj-sp-hl-tile {
  border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; height: 100%;
}
.hj-sp-hl-photo { aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; }
.hj-sp-hl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hj-sp-hl-copy { padding: 18px 20px 22px; flex: 1; }
.hj-sp-hl-copy h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; line-height: 1.35; color: #0f172a; }
.hj-sp-hl-copy p { margin: 0; font-size: 13px; line-height: 1.65; color: #475569; }

.hj-sp-fee-jump { margin: 16px 0 0; font-size: 13px; color: #64748b; }
.hj-sp-fee-jump a { font-weight: 800; color: var(--hj-blue); text-decoration: none; }
.hj-sp-fee-jump a:hover { text-decoration: underline; }

.hj-sp-video-wrap--campus video { width: 100%; max-height: 520px; border-radius: 16px; background: #0f172a; display: block; }
.hj-sp-campus-video .hj-sp-video-wrap--campus iframe { border-radius: 16px; }

.hj-sp-faq-elite { padding-bottom: 8px; }
.hj-sp-faq-tabs--elite { gap: 8px; margin-bottom: 20px; }
.hj-sp-faq-tabs--elite button {
  border-radius: 999px; padding: 10px 18px; font-size: 12px; font-weight: 800;
  border: 1px solid #e2e8f0; background: #fff; color: #475569;
}
.hj-sp-faq-tabs--elite button.is-on {
  background: var(--hj-navy); border-color: var(--hj-navy); color: #fff;
}
.hj-sp-faq--elite {
  border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 10px; background: #fff;
  overflow: hidden;
}
.hj-sp-faq--elite summary {
  padding: 16px 20px; font-size: 14px; font-weight: 800; color: #0f172a; cursor: pointer; list-style: none;
}
.hj-sp-faq--elite summary::-webkit-details-marker { display: none; }
.hj-sp-faq--elite[open] summary { border-bottom: 1px solid #f1f5f9; }
.hj-sp-faq-answer { padding: 0 20px 16px; }
.hj-sp-faq-answer p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: #475569; }
.hj-sp-faq-answer ul, .hj-sp-faq-answer ol { margin: 10px 0 0 1.2em; padding: 0; font-size: 14px; line-height: 1.7; color: #475569; }
.hj-sp-faq-answer li { margin: 4px 0; }
.hj-sp-faq-answer a { color: var(--hj-blue); text-decoration: underline; }
.hj-sp-faq-answer img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }

.hj-sp-elite .hj-yk-sec-head h2 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -0.02em; }

.hj-sp-smart-grid {
  display: grid; grid-template-columns: 1fr minmax(260px, 320px); gap: 20px; align-items: start;
}
.hj-sp-smart-label { font-size: 12px; font-weight: 900; color: #64748b; display: block; margin-bottom: 10px; }
.hj-sp-age-pills {
  display: flex; flex-wrap: wrap; gap: 8px; max-height: 200px; overflow-y: auto; padding: 4px;
}
.hj-sp-age-pill {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 800; color: #475569; cursor: pointer; font-family: inherit; transition: .15s;
}
.hj-sp-age-pill.is-on { background: var(--hj-navy); color: #fff; border-color: var(--hj-navy); box-shadow: 0 8px 20px rgba(11,30,72,.25); }
.hj-sp-age-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hj-sp-grade-card {
  background: linear-gradient(160deg, var(--hj-navy) 0%, #1e40af 100%); color: #fff; border-radius: var(--sp-radius);
  padding: 22px 20px; box-shadow: 0 24px 60px rgba(11,30,72,.35); text-align: center;
}
.hj-sp-grade-card .tag { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: #93c5fd; }
.hj-sp-grade-card .year { display: block; font-size: 36px; font-weight: 900; margin: 8px 0; letter-spacing: -0.03em; }
.hj-sp-grade-card .prog { font-size: 13px; color: #e2e8f0; margin: 0 0 8px; line-height: 1.4; }
.hj-sp-grade-card .fee { font-size: 15px; font-weight: 900; color: var(--hj-gold); margin: 0 0 16px; }
.hj-sp-grade-card .hj-btn { width: 100%; }
.hj-sp-table-details { margin-top: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 4px 16px 12px; }
.hj-sp-table-details summary { cursor: pointer; font-weight: 900; font-size: 13px; padding: 12px 0; color: var(--hj-blue); }

.hj-sp-gallery-elite { grid-auto-rows: 110px; }
.hj-sp-gallery-elite figure.is-tall { grid-row: span 2; }

/* Campus gallery ? magazine layout (count-adaptive, first image featured) */
.hj-sp-campus-video .hj-sp-video-wrap--campus + .hj-sp-gallery-wrap,
.hj-sp-campus-video .hj-sp-video-wrap + .hj-sp-gallery-wrap { margin-top: 28px; }
.hj-sp-gallery-wrap { margin-top: 0; }
.hj-sp-gallery--magazine { display: grid; gap: 12px; }
.hj-sp-gallery--magazine .hj-sp-gallery-cell {
  margin: 0; display: flex; flex-direction: column; min-width: 0;
}
.hj-sp-gallery--magazine .hj-sp-gallery-photo {
  overflow: hidden; border-radius: 16px; border: 1px solid #e2e8f0;
  background: #f1f5f9; flex: 1; min-height: 0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
.hj-sp-gallery--magazine .is-feature .hj-sp-gallery-photo {
  box-shadow: 0 20px 50px rgba(11, 30, 72, 0.12);
}
.hj-sp-gallery--magazine .hj-sp-gallery-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 120px;
}
.hj-sp-gallery-cap {
  font-size: 12px; line-height: 1.55; color: #64748b; margin: 8px 0 0; padding: 0 4px;
  font-weight: 600; letter-spacing: 0.01em;
}
.hj-sp-gallery-more {
  margin: 14px 0 0; font-size: 12px; font-weight: 700; color: #94a3b8; text-align: center;
}
.hj-sp-gallery--count-1 { grid-template-columns: 1fr; }
.hj-sp-gallery--count-1 .hj-sp-gallery-photo { aspect-ratio: 16 / 10; }
.hj-sp-gallery--count-2 {
  grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, auto);
}
.hj-sp-gallery--count-3 {
  grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr;
  min-height: 280px;
}
.hj-sp-gallery--count-3 .is-feature { grid-row: 1 / span 2; }
.hj-sp-gallery--count-4 {
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 108px;
}
.hj-sp-gallery--count-4 .is-feature { grid-column: span 2; grid-row: span 2; }
.hj-sp-gallery--count-5,
.hj-sp-gallery--count-6 {
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 108px;
}
.hj-sp-gallery--count-5 .is-feature,
.hj-sp-gallery--count-6 .is-feature { grid-column: span 2; grid-row: span 2; }
@media (max-width: 960px) {
  .hj-sp-gallery--count-2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .hj-sp-gallery--count-3,
  .hj-sp-gallery--count-4,
  .hj-sp-gallery--count-5,
  .hj-sp-gallery--count-6 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 100px;
    min-height: 0;
  }
  .hj-sp-gallery--magazine .is-feature {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .hj-sp-gallery--count-1 .hj-sp-gallery-photo { aspect-ratio: 3 / 2; }
}

.hj-sp-fee-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.hj-sp-fee-tabs button {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 10px 18px;
  font-size: 13px; font-weight: 900; cursor: pointer; font-family: inherit; color: #64748b;
}
.hj-sp-fee-tabs button.is-on { background: var(--hj-navy); color: #fff; border-color: var(--hj-navy); }
.hj-sp-promotion-list { display: grid; gap: 10px; }
.hj-sp-promotion {
  padding: 16px 18px; border: 1px solid #dcebe3; border-radius: 14px; background: #fbfdfc;
}
.hj-sp-promotion-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hj-sp-promotion-top strong { color: #047857; font-size: 14px; }
.hj-sp-promotion h3 { margin: 9px 0 5px; color: #0f172a; font-size: 15px; }
.hj-sp-promotion p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.6; }
.hj-sp-promotion small { display: block; margin-top: 7px; color: #94a3b8; font-size: 11px; }
.hj-sp-promotion-cta { display: inline-flex; margin-top: 16px; }
.hj-sp-prog-elite { grid-template-columns: 1fr auto auto; }
.hj-sp-prog-breakdown { font-size: 12px; text-align: right; min-width: 140px; }
.hj-sp-prog-breakdown div { margin: 2px 0; }
.hj-sp-prog-breakdown span { color: #64748b; margin-right: 6px; font-weight: 700; }
.hj-sp-prog-breakdown em { font-style: normal; font-weight: 900; }
.hj-sp-prog-breakdown .total em { color: var(--hj-blue); display: block; margin-top: 6px; }

.hj-sp-peers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hj-sp-peer {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; color: inherit; transition: .2s;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}
.hj-sp-peer:hover { border-color: #93c5fd; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21,71,167,.12); }
.hj-sp-peer-logo { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 10px; }
.hj-sp-peer-logo img { width: 100%; height: 100%; object-fit: cover; }
.hj-sp-peer strong { font-size: 12px; line-height: 1.35; }
.hj-sp-peer small { font-size: 10px; color: #64748b; margin: 4px 0 8px; }
.hj-sp-peer-cta { font-size: 11px; font-weight: 900; color: var(--hj-blue); }

.hj-sp-faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hj-sp-faq-tabs button {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 12px; padding: 10px 16px;
  font-weight: 900; font-size: 12px; cursor: pointer; font-family: inherit; color: #475569;
}
.hj-sp-faq-tabs button.is-on { background: #eff6ff; border-color: #93c5fd; color: var(--hj-blue); }

.hj-sp-sources-list { margin: 0; padding-left: 18px; color: #475569; font-size: 13px; line-height: 1.7; }
.hj-sp-aside-elite { border: 1px solid #dbeafe; }
.hj-sp-aside-tag { font-size: 12px; color: var(--hj-blue); font-weight: 800; margin: -4px 0 12px; }

.hj-sp-dock {
  display: none; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 60;
  background: rgba(15,23,42,.92); backdrop-filter: blur(12px); border-radius: 999px; padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35); gap: 6px;
}
.hj-sp-dock a {
  padding: 12px 22px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #e2e8f0;
}
.hj-sp-dock a.primary { background: var(--hj-gold); color: #0f172a; }

@media (max-width: 960px) {
  .hj-sp-hero-elite-grid { grid-template-columns: 1fr; }
  .hj-sp-brand-plate { width: 80px; height: 80px; }
  .hj-sp-bento--grid { grid-template-columns: repeat(2, 1fr); }
  .hj-sp-hl-gallery { grid-template-columns: 1fr; }
  .hj-sp-smart-grid { grid-template-columns: 1fr; }
  .hj-sp-peers { grid-template-columns: repeat(2, 1fr); }
  .hj-sp-dock { display: flex; }
  .hj-sp-trust-muted { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .hj-sp-peers { grid-template-columns: 1fr; }
}

/* ?? Yuhak IA nav (P0.5) ?? */
.hj-yuhak-ia { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.hj-yuhak-ia-inner { display: flex; flex-wrap: wrap; gap: 4px 0; justify-content: center; padding: 8px 0; }
.hj-yuhak-ia-link {
  display: flex; flex-direction: column; align-items: center; padding: 8px 14px; text-decoration: none;
  border-radius: 10px; min-width: 88px;
}
.hj-yuhak-ia-ko { font-size: 12px; font-weight: 900; color: #0f172a; }
.hj-yuhak-ia-en { font-size: 9px; font-weight: 700; color: #94a3b8; letter-spacing: 0.02em; margin-top: 2px; }
.hj-yuhak-ia-link:hover { background: #fff; }
@media (max-width: 720px) {
  .hj-yuhak-ia-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .hj-yuhak-ia-link { flex: 0 0 auto; min-width: 100px; }
}

/* ?? Yuhak school template (P0.1) ?? */
.hj-sp-yuhak { background: #fff; }
.hj-sp-yuhak--editorial { padding-top: 0; }
.hj-yk-data-strip { background: #f1f5f9; border-bottom: 1px solid #e2e8f0; padding: 16px 0; }
.hj-yk-data-strip-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.hj-yk-data-brand { display: flex; gap: 12px; align-items: center; }
.hj-yk-data-brand img { border-radius: 12px; object-fit: cover; }
.hj-yk-data-brand strong { display: block; font-size: 15px; }
.hj-yk-data-brand span { font-size: 12px; color: #64748b; }
.hj-yk-data-facts { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.hj-yk-data-facts li span { color: #64748b; margin-right: 6px; font-weight: 700; }
.hj-yk-hero { position: relative; background: #0f172a; color: #fff; padding: 48px 0 40px; overflow: hidden; }
.hj-yk-hero-media { position: absolute; inset: 0; opacity: 0.35; }
.hj-yk-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hj-yk-hero-inner { position: relative; z-index: 1; }
.hj-yk-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 8px; }
.hj-yk-tagline { color: var(--hj-gold, #fad138); font-weight: 800; margin: 0; }
.hj-yk-sub { opacity: 0.85; font-size: 14px; }
.hj-yk-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(8px); }
.hj-yk-nav-inner { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; align-items: center; }
.hj-yk-nav a { font-size: 12px; font-weight: 800; color: #475569; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.hj-yk-nav a.is-active { background: #eff6ff; color: var(--hj-blue); }
.hj-yk-nav-cta { margin-left: auto; background: var(--hj-blue) !important; color: #fff !important; }
.hj-yk-layout { padding: 24px 0 48px; }
.hj-yk-section { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #f1f5f9; }
.hj-yk-sec-head h2 { font-size: 22px; margin: 6px 0 8px; }
.hj-yk-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hj-yk-fact { border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; }
.hj-yk-fact .lbl { font-size: 11px; color: #64748b; font-weight: 800; }
.hj-yk-fact strong { display: block; font-size: 15px; margin-top: 4px; }
.hj-yk-fit-list { list-style: none; padding: 0; margin: 0; }
.hj-yk-fit-list li {
  padding: 12px 14px 12px 36px; position: relative; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 8px;
  font-size: 14px; line-height: 1.5;
}
.hj-yk-fit-list li::before { content: "\2713"; position: absolute; left: 14px; color: var(--hj-blue); font-weight: 900; }
.hj-yk-pathway, .hj-yk-admission { margin: 0; padding-left: 20px; line-height: 1.7; }
.hj-yk-pathway li { margin-bottom: 10px; }
.hj-yk-pathway strong { display: block; }
.hj-yk-grade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hj-yk-grade-result { border: 1px solid #dbeafe; background: #f8fafc; border-radius: 16px; padding: 20px; }
.hj-yk-grade-result .tag { font-size: 11px; font-weight: 900; color: var(--hj-blue); }
.hj-yk-verified { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.hj-yk-verified--verified { background: #ecfdf5; border: 1px solid #a7f3d0; }
.hj-yk-verified--expired { background: #fffbeb; border: 1px solid #fcd34d; }
.hj-yk-verified--draft { background: #f8fafc; border: 1px solid #e2e8f0; }
.hj-yk-verified-warn { width: 100%; margin: 8px 0 0; font-size: 12px; color: #b45309; }
.hj-yk-cost-summary { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.hj-yk-cost-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.hj-yk-cost-row.is-total { background: #eff6ff; font-weight: 900; }
.hj-yk-cost-row em { font-style: normal; color: #64748b; font-size: 12px; width: 100%; }
.hj-yk-compare-table-wrap { overflow-x: auto; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.hj-yk-compare-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13px; }
.hj-yk-compare-table th, .hj-yk-compare-table td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.hj-yk-consult-inner { text-align: center; padding: 32px 20px; background: #0f172a; color: #fff; border-radius: 20px; }
.hj-yk-consult-inner h2 { color: #fff; margin: 0 0 8px; }
@media (max-width: 768px) {
  .hj-yk-facts-grid { grid-template-columns: 1fr 1fr; }
  .hj-yk-grade-grid { grid-template-columns: 1fr; }
  .hj-yk-nav-cta { margin-left: 0; width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .hj-yk-facts-grid { grid-template-columns: 1fr; }
  .hj-yk-data-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ?? Regional school directory (/schools/) ?? */
.hj-school-directory { padding: 24px 0 56px; }
.hj-sd-intro { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.hj-sd-actions { margin-top: 20px; }
.hj-sd-region { padding: 16px 0 32px; }
.hj-sd-region-title {
  font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: #0f172a;
  margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--hj-blue);
}
.hj-sd-group-title {
  font-size: 15px; font-weight: 800; color: #475569; margin: 28px 0 14px;
}
.hj-sd-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px;
  margin-bottom: 8px;
}
.hj-sd-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 16px 12px 14px; text-decoration: none; color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hj-sd-card:hover {
  border-color: #bfdbfe; box-shadow: 0 12px 32px rgba(21, 71, 167, 0.1); transform: translateY(-2px);
}
.hj-sd-card-logo {
  width: 100%; aspect-ratio: 1; max-height: 88px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.hj-sd-card-logo img { max-width: 100%; max-height: 88px; object-fit: contain; }
.hj-sd-card-logo.is-empty {
  background: #f1f5f9; border-radius: 12px; width: 72px; height: 72px; max-height: 72px;
}
.hj-sd-card-fallback { font-size: 13px; font-weight: 900; color: #94a3b8; letter-spacing: 0.06em; }
.hj-sd-card-name { font-size: 12px; font-weight: 800; line-height: 1.35; color: #0f172a; }
.hj-sd-card-meta { font-size: 10px; color: #64748b; margin-top: 6px; line-height: 1.4; font-weight: 600; }
.hj-sd-card-name-en {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}
.hj-sd-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.hj-sd-search-wrap { flex: 1 1 220px; min-width: 180px; }
.hj-sd-search {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
}
.hj-sd-filter {
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  background: #fff;
}
.hj-sd-compare { margin-left: auto; }
.hj-sd-sec-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #0f172a;
}
.hj-sd-count { font-size: 13px; color: #64748b; margin: 0 0 12px; font-weight: 600; }
.hj-sd-empty { text-align: center; padding: 24px; color: #64748b; font-weight: 600; }
.hj-sd-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 3px 7px;
  border-radius: 999px;
}
.hj-sd-card--featured { position: relative; border-color: #fde68a; background: linear-gradient(180deg, #fffbeb 0%, #fff 40%); }
.hj-sd-grid--featured { margin-bottom: 40px; }
.hj-mega-link--cta {
  font-weight: 800 !important;
  color: var(--hj-blue, #2563eb) !important;
  margin-top: 8px;
}
.hj-drawer-link--cta,
.hj-acc a.hj-drawer-link--cta {
  font-weight: 800;
  color: var(--hj-blue, #2563eb);
  margin-top: 6px;
}
.hj-school-hub { padding-bottom: 0; }
.hj-hub-intro { margin-bottom: 24px; }
.hj-hub-group { padding: 8px 0 28px; border-top: 1px solid #f1f5f9; }
.hj-hub-group-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hj-hub-group-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hj-hub-empty { padding: 32px 0; }
.hj-hub-filter-empty { text-align: center; padding: 20px; margin: 0; }
.hj-hub-count { flex: 1 1 100%; margin: 0; font-size: 13px; }
.hj-hub-why { padding: 48px 0 24px; background: #f8fafc; }
.hj-hub-why-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 32px;
  align-items: center;
}
.hj-hub-why-media img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  min-height: 320px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.hj-hub-why-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.hj-hub-why-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
.hj-hub-why-list strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.hj-hub-why-list span { font-size: 13px; color: #64748b; line-height: 1.45; }
.hj-hub-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.hj-hub-stat {
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.hj-hub-stat b { display: block; font-size: 18px; color: var(--hj-blue, #2563eb); margin-bottom: 4px; }
.hj-hub-stat span { font-size: 11px; font-weight: 700; color: #64748b; }
.hj-hub-fees { padding: 56px 0 40px; }
.hj-hub-fees-head { margin-bottom: 28px; }
.hj-hub-table-wrap { overflow-x: auto; }
.hj-hub-fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
.hj-hub-fee-table th,
.hj-hub-fee-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: middle;
}
.hj-hub-fee-table th { background: #f8fafc; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; }
.hj-hub-fee-table td.fee { font-weight: 800; color: #0f172a; }
.hj-hub-fee-table .hj-sd-td-school small { display: block; color: #94a3b8; font-weight: 600; font-size: 11px; }
.hj-hub-fee-note { margin-top: 14px; text-align: center; }
.hj-hub-faq { padding: 48px 0; background: #fff; }
.hj-hub-faq-list { max-width: 820px; margin: 24px auto 0; }
.hj-hub-faq-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--hj-blue, #2563eb);
  font-size: 11px;
  font-weight: 900;
  margin-right: 8px;
}
.hj-hub-bottom-cta { margin-top: 0; }
.hj-university-directory { padding-bottom: 0; }
.hj-uni-landing { background: #fff; }
.hj-uni-hero { position: relative; padding: 48px 0; color: #fff; }
.hj-uni-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.45);
}
.hj-uni-hero-inner { position: relative; z-index: 1; }
.hj-uni-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 32px 0 48px;
  align-items: start;
}
.hj-uni-sec { margin-bottom: 40px; }
.hj-uni-sec:last-child { margin-bottom: 0; }
.hj-uni-gallery-sec .hj-sp-gallery-wrap { margin-top: 8px; }
.hj-uni-aside { align-self: start; position: sticky; top: calc(var(--hj-header-h, 72px) + 12px); }
.hj-uni-roadmap-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hj-uni-programs-badges { margin-top: 0; margin-bottom: 18px; }
.hj-uni-roadmap-pill {
  font-size: 12px; font-weight: 800; padding: 8px 14px; border-radius: 999px;
  background: #1e3a8a; color: #fff;
}
.hj-uni-roadmap-pill.is-soft { background: #eff6ff; color: #1e40af; }
.hj-uni-highlight-placeholder {
  min-height: 220px; border-radius: 16px;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}
.hj-uni-highlight-body p { margin: 0 0 0.75em; font-size: 14px; line-height: 1.6; color: #64748b; }
.hj-uni-highlight-body p:last-child { margin-bottom: 0; }
.hj-uni-aside-btn--consult {
  font-weight: 800 !important;
  background: var(--hj-blue, #123b7a) !important;
  color: var(--hj-gold, #ffd43b) !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(18, 59, 122, 0.25);
}
.hj-uni-aside-btn--consult:hover {
  background: var(--hj-blue-dark, #0f2f62) !important;
  color: #ffe566 !important;
}
.hj-uni-sec-title { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: #0f172a; }
.hj-uni-sec-sub { font-size: 14px; color: #64748b; margin: 0 0 20px; line-height: 1.55; }
.hj-uni-path-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.hj-uni-path-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hj-uni-path-head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.hj-uni-pill {
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  background: #fef3c7; color: #b45309; padding: 4px 10px; border-radius: 999px;
}
.hj-uni-path-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 8px; margin: 14px 0 10px;
}
.hj-uni-path-bar span:first-child { background: #1e3a8a; border-radius: 4px 0 0 4px; }
.hj-uni-path-bar span:last-child { background: #93c5fd; border-radius: 0 4px 4px 0; }
.hj-uni-path-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #475569; }
.hj-uni-path-note { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #64748b; }
.hj-uni-highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 28px 0;
}
.hj-uni-highlight-row.is-flip .hj-uni-highlight-media { order: 2; }
.hj-uni-highlight-row.is-flip .hj-uni-highlight-copy { order: 1; }
.hj-uni-highlight-media img { width: 100%; border-radius: 16px; object-fit: cover; min-height: 220px; }
.hj-uni-num { font-size: 28px; font-weight: 900; color: #cbd5e1; display: block; margin-bottom: 6px; }
.hj-uni-highlight-copy h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.hj-uni-highlight-copy p { margin: 0; font-size: 14px; line-height: 1.6; color: #64748b; }
.hj-uni-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5f9;
}
.hj-uni-gallery-track {
  display: flex;
  transition: transform 0.35s ease;
}
.hj-uni-gallery-slide { flex: 0 0 100%; margin: 0; }
.hj-uni-gallery-slide img { width: 100%; height: 360px; object-fit: cover; display: block; }
.hj-uni-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 999px;
  background: rgba(255,255,255,0.92); font-size: 22px; cursor: pointer; z-index: 2;
}
.hj-uni-gallery-nav.prev { left: 12px; }
.hj-uni-gallery-nav.next { right: 12px; }
.hj-uni-aside-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.hj-uni-aside-title { margin: 0 0 14px; font-size: 15px; font-weight: 800; }
.hj-uni-facts { list-style: none; margin: 0 0 16px; padding: 0; }
.hj-uni-facts li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 12px; }
.hj-uni-facts span { display: block; color: #94a3b8; font-weight: 700; margin-bottom: 4px; }
.hj-uni-facts strong { color: #0f172a; font-weight: 700; line-height: 1.4; }
.hj-uni-aside-tease { font-size: 13px; color: #64748b; margin: 0 0 12px; }
.hj-uni-aside-btn { width: 100%; margin-top: 8px; text-align: center; }
.hj-uni-float-cta {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 900; display: none;
}
@media (max-width: 900px) {
  .hj-uni-layout { grid-template-columns: 1fr; }
  .hj-uni-highlight-row, .hj-uni-highlight-row.is-flip { grid-template-columns: 1fr; }
  .hj-uni-highlight-row.is-flip .hj-uni-highlight-media,
  .hj-uni-highlight-row.is-flip .hj-uni-highlight-copy { order: unset; }
  .hj-uni-float-cta { display: block; }
}
@media (max-width: 900px) {
  .hj-hub-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-hub-why-grid { grid-template-columns: 1fr; }
  .hj-hub-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hj-sd-table-wrap { margin-top: 16px; }
.hj-sd-td-school { display: flex; align-items: center; gap: 10px; }
.hj-sd-td-school img { object-fit: contain; border-radius: 8px; background: #f8fafc; }
@media (max-width: 1100px) {
  .hj-sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hj-sd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .hj-sd-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* v2.4+ ? school intro (Quiet Premium editorial) + preparing gate */
#hj-sp-intro.hj-sp-intro,
.hj-sp-intro {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
}
.hj-sp-intro-inner {
  max-width: 42rem;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.hj-sp-intro-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1547a7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hj-sp-intro-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.hj-sp-intro-tagline {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}
.hj-sp-intro-box {
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
}
.hj-sp-intro-headline {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #003366;
  line-height: 1.45;
}
.hj-sp-intro-body {
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.hj-sp-intro-inner:not(:has(.hj-sp-intro-headline)):not(:has(.hj-sp-intro-tagline)) .hj-sp-intro-body {
  padding-top: 12px;
  margin-top: 0;
}
.hj-sp-intro-advisor {
  background-color: #f8f9fa;
  border-left: 4px solid #003366;
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  margin-top: 16px;
}
.hj-sp-intro-advisor-label {
  font-size: 14px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 6px;
}
.hj-sp-intro-advisor-text {
  font-size: 14px;
  color: #444444;
  line-height: 1.6;
}
.hj-sp-intro-advisor-text::before { content: "\201C"; }
.hj-sp-intro-advisor-text::after { content: "\201D"; }
.hj-sp-intro-body p { margin: 0 0 1em; }
.hj-sp-intro-body p:last-child { margin-bottom: 0; }
.hj-sp-intro-body ul, .hj-sp-intro-body ol { margin: 0 0 1em 1.25em; padding: 0; }
.hj-sp-intro-body li { margin: 0.35em 0; }
.hj-sp-intro-body a { color: var(--hj-blue); text-decoration: underline; }
.hj-sp-intro-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 0.75em 0; }
.hj-sp-promotion-desc ul, .hj-sp-promotion-desc ol { margin: 8px 0 0 1.2em; }
.hj-sp-promotion-desc a { color: var(--hj-blue); }
.hj-school-preparing {
  padding: 72px 0 96px;
  text-align: center;
}
.hj-school-preparing-inner {
  max-width: 560px;
  margin: 0 auto;
}
.hj-school-preparing-en {
  color: #64748b;
  font-weight: 700;
  margin: 0 0 16px;
}
.hj-school-preparing-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: var(--hj-blue, #1547A7);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 20px;
}
.hj-school-preparing-sub {
  color: #64748b;
  font-size: 14px;
  margin: 12px 0 24px;
}
.hj-school-preparing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* v2.7.4 ? responsive overflow hardening */
.hj-compare-page,
.hj-school-page,
.hj-school-directory,
.hj-university-directory,
.hj-compare-studio,
.hj-sp-main,
.hj-sp-layout,
.hj-hub-table-wrap,
.hj-sp-table-wrap { min-width: 0; max-width: 100%; }
.hj-sp-table-wrap,
.hj-hub-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.elementor-widget-shortcode:has(.hj-school-page),
.elementor-widget-shortcode:has(.hj-school-directory),
.elementor-widget-shortcode:has(.hj-university-directory),
.elementor-widget-shortcode:has(.hj-compare-page),
.elementor-widget-shortcode:has(.hj-school-page) .elementor-widget-container,
.elementor-widget-shortcode:has(.hj-school-directory) .elementor-widget-container,
.elementor-widget-shortcode:has(.hj-university-directory) .elementor-widget-container,
.elementor-widget-shortcode:has(.hj-compare-page) .elementor-widget-container {
  min-width: 0;
  max-width: 100%;
}
.hj-sp-grade-table { min-width: 680px; }
.hj-hub-fee-table { min-width: 660px; }
.hj-sp-prog > *,
.hj-pro-card > *,
.hj-sd-card > * { min-width: 0; }
.hj-sp-prog-main,
.hj-sp-prog-breakdown,
.hj-sd-card-name,
.hj-sd-card-name-en { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .hj-container { width: min(100% - 28px, 1280px); }
  .hj-h2,
  .hj-compare-title,
  .hj-sp-sec-head h2 { overflow-wrap: anywhere; }
  .hj-compare-hero { min-height: 220px; }
  .hj-compare-hero-inner { padding: 34px 0 38px; }
  .hj-compare-hero h1 { font-size: clamp(29px, 9vw, 38px); }
  .hj-compare-toolbar { position: static; }
  .hj-compare-toolbar-inner {
    flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0;
  }
  .hj-compare-tool-row--split { grid-template-columns: 1fr; }
  .hj-compare-seg { width: 100%; justify-content: stretch; }
  .hj-compare-seg button { flex: 1 1 auto; text-align: center; padding: 8px 10px; }
  .hj-compare-slot-row { align-items: flex-start; }
  .hj-compare-slot-actions { flex-direction: row; width: 100%; margin-left: 0; }
  .hj-compare-slot-change, .hj-compare-slot-remove { flex: 1; }
  .hj-compare-share-btn { width: 100%; margin-top: 8px; }
  .hj-compare-head-row { flex-direction: column; align-items: stretch; }
  .hj-compare-studio { padding: 18px 14px; border-radius: 20px; }
  .hj-compare-title { font-size: 19px; line-height: 1.35; }
  .hj-compare-hint { display: block; margin-top: 7px; line-height: 1.5; }
  .hj-compare-picker { padding: 10px; }
  .hj-compare-picker-dialog { border-radius: 16px; max-height: 92dvh; }
  .hj-compare-bottom-inner { flex-direction: column; align-items: stretch; }
  .hj-compare-bottom-inner .hj-btn { width: 100%; text-align: center; }
  .hj-pro-card { border-radius: 20px; }
  .hj-pro-tuition .price { font-size: 23px; overflow-wrap: anywhere; }
  .hj-sp-fee-tabs {
    overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .hj-sp-fee-tabs button { flex: 0 0 auto; white-space: nowrap; }
  .hj-sp-prog-elite { grid-template-columns: minmax(0, 1fr); }
  .hj-sp-prog-breakdown { width: 100%; min-width: 0; text-align: left; }
  .hj-sp-prog-breakdown .total em { display: inline; }
  .hj-sp-promotion-cta { width: 100%; justify-content: center; text-align: center; }
  .hj-sd-toolbar { align-items: stretch; }
  .hj-sd-toolbar .hj-btn { flex: 1 1 100%; text-align: center; }
  .hj-hub-fees-head .hj-lead { overflow-wrap: anywhere; }
  .hj-sd-td-school { min-width: 180px; }
}

@media (max-width: 520px) {
  .hj-nav-actions .hj-nav-social { display: none !important; }
  .hj-sp-bento--grid { grid-template-columns: 1fr; }
  .hj-compare-actions .hj-btn { width: 100%; }
  .hj-compare-bottom-cta { padding: 30px 0 38px; }
}

@media (max-width: 430px) {
  .hj-compare-picker-grid { grid-template-columns: 1fr; }
  .hj-sd-grid,
  .hj-hub-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hj-sd-card { padding: 13px 9px; }
  .hj-sd-card-logo { max-height: 72px; }
  .hj-sd-card-logo img { max-height: 72px; }
}

/* =========================================================
   Decision Matrix Compare ? Quiet Premium (v2.8)
   ========================================================= */
.hj-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hj-compare-page--matrix {
  --hj-dm-navy: #243B70;
  --hj-dm-ink: #172033;
  --hj-dm-text: #172033;
  --hj-dm-slate: #667085;
  --hj-dm-mute: #98A2B3;
  --hj-dm-bg: #F5F7FB;
  --hj-dm-card: #FFFFFF;
  --hj-dm-line: #E4E8F0;
  --hj-dm-gold: #C8A951;
  --hj-dm-radius: 10px;
  --hj-dm-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --hj-dm-ease: 0.15s ease;
  background: var(--hj-dm-bg);
  color: var(--hj-dm-text);
  font-family: var(--hj-font);
}
.hj-dm-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--hj-dm-bg) 100%);
  border-bottom: 1px solid var(--hj-dm-line);
  padding: 36px 0 24px;
}
.hj-dm-kicker {
  margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hj-dm-gold);
}
.hj-dm-hero h1 {
  margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--hj-dm-navy); line-height: 1.2;
}
.hj-dm-lead {
  margin: 0; max-width: 640px; font-size: 15px; line-height: 1.65; color: var(--hj-dm-slate);
}
.hj-dm-lead br { display: block; content: ""; margin-top: 0.35em; }
.hj-dm-context { padding: 16px 0 0; }
.hj-dm-context-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 16px 20px; background: #fff; border: 1px solid var(--hj-dm-line);
  border-radius: 12px; box-shadow: var(--hj-dm-shadow);
}
.hj-dm-context-main { min-width: 0; flex: 1 1 280px; }
.hj-dm-context-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--hj-dm-mute); margin-bottom: 6px;
}
.hj-dm-context-title {
  margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--hj-dm-ink);
  letter-spacing: -0.03em; line-height: 1.25;
}
.hj-dm-meta-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
}
.hj-dm-chip {
  display: inline-flex; align-items: center; padding: 4px 10px;
  border: 1px solid var(--hj-dm-line); border-radius: 999px; background: #F7F9FC;
  font-size: 11px; font-weight: 700; color: var(--hj-dm-slate); line-height: 1.3;
}
.hj-dm-context-fx {
  margin: 0; font-size: 11px; font-weight: 600; color: var(--hj-dm-mute); line-height: 1.4;
}
.hj-dm-context-aside {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 0 auto;
}
.hj-dm-context-actions {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
}
.hj-dm-edit-toggle,
.hj-dm-share {
  border: 1px solid var(--hj-dm-line); background: #fff; border-radius: 8px;
  padding: 8px 14px; font-size: 12px; font-weight: 700; color: var(--hj-dm-navy);
  cursor: pointer; font-family: inherit; transition: background var(--hj-dm-ease), border-color var(--hj-dm-ease);
}
.hj-dm-edit-toggle.is-open {
  background: var(--hj-dm-navy); color: #fff; border-color: var(--hj-dm-navy);
}
.hj-dm-edit-toggle:hover,
.hj-dm-share:hover { border-color: #D0D5DD; background: #F7F9FC; }
.hj-dm-edit-toggle.is-open:hover { background: #1C2F5C; border-color: #1C2F5C; color: #fff; }
.hj-dm-context-edit {
  margin-top: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--hj-dm-line);
  border-radius: 12px; box-shadow: var(--hj-dm-shadow);
}
.hj-dm-edit-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  align-items: start;
}
.hj-dm-field { display: grid; gap: 8px; min-width: 0; }
.hj-dm-field .lbl {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--hj-dm-mute); margin: 0;
}
.hj-dm-status {
  margin: 12px 0 0; padding: 8px 12px; border-radius: 8px; background: #F7F9FC;
  border: 1px solid #EEF2F6; font-size: 12px; font-weight: 600; color: var(--hj-dm-slate); line-height: 1.45;
}
.hj-compare-page--matrix .hj-compare-seg {
  display: inline-flex; flex-wrap: wrap; width: auto; max-width: 100%;
  background: #EEF2F7; border: 1px solid #DDE3EC; border-radius: 8px; padding: 3px; gap: 2px;
}
.hj-compare-page--matrix .hj-compare-seg button {
  border: 0; background: transparent; border-radius: 6px; padding: 7px 12px;
  font-size: 12px; font-weight: 700; color: var(--hj-dm-slate); cursor: pointer;
  font-family: inherit; transition: background var(--hj-dm-ease), color var(--hj-dm-ease), box-shadow var(--hj-dm-ease);
}
.hj-compare-page--matrix .hj-compare-seg button.is-on {
  background: var(--hj-dm-navy); color: #fff; box-shadow: none;
}
.hj-compare-page--matrix .hj-compare-seg button:hover:not(.is-on) {
  color: var(--hj-dm-ink); background: rgba(255,255,255,.55);
}
.hj-compare-page--matrix .hj-compare-seg--compact { width: auto; }
.hj-compare-page--matrix .hj-compare-age-step {
  display: inline-flex; align-items: center; gap: 10px;
  background: #F7F9FC; border: 1px solid #DDE3EC; border-radius: 10px; padding: 6px 8px;
}
.hj-compare-page--matrix .hj-compare-age-step-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #DDE3EC;
  background: #fff; font-size: 16px; font-weight: 700; line-height: 1; color: var(--hj-dm-ink);
  cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--hj-dm-ease), border-color var(--hj-dm-ease);
}
.hj-compare-page--matrix .hj-compare-age-step-btn:hover:not(:disabled) {
  background: #EEF2F7; border-color: #CBD5E1;
}
.hj-compare-page--matrix .hj-compare-age-step-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}
.hj-compare-page--matrix .hj-compare-age-display {
  min-width: 64px; text-align: center; display: inline-flex; align-items: baseline;
  justify-content: center; gap: 2px; color: var(--hj-dm-ink);
}
.hj-compare-page--matrix .hj-compare-age-display strong,
#hj-compare-age-num {
  font-size: 22px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
}
.hj-compare-age-unit {
  font-size: 13px; font-weight: 700; color: var(--hj-dm-slate);
}
.hj-compare-page--matrix .hj-compare-dob-fields {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hj-compare-page--matrix .hj-compare-dob-fields select,
.hj-compare-page--matrix .hj-compare-manual-grade {
  border: 1px solid #DDE3EC; border-radius: 8px; padding: 8px 10px;
  font-weight: 700; font-size: 13px; background: #fff; color: var(--hj-dm-ink);
}
.hj-dm-studio {
  background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 8px 0 24px;
}
.hj-dm-section-head { margin-bottom: 14px; }
.hj-dm-section-head h2 {
  margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--hj-dm-navy);
}
.hj-dm-section-head p { margin: 0; font-size: 13px; color: var(--hj-dm-slate); font-weight: 600; }
.hj-compare-page--matrix .hj-compare-slots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px;
}
.hj-compare-page--matrix .hj-compare-slot { display: none; min-height: 0; padding: 0; border: 0; background: transparent; }
.hj-compare-page--matrix .hj-compare-slot.is-add,
.hj-compare-page--matrix .hj-compare-slot.is-filled { display: block; }
.hj-compare-page--matrix .hj-compare-slot.is-add .hj-compare-slot-add {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
  gap: 12px; width: 100%; min-height: 96px; padding: 16px; text-align: left;
  border: 1px dashed #CBD5E1; border-radius: var(--hj-dm-radius); background: #FAFCFF;
  color: var(--hj-dm-slate); transition: border-color .15s ease, background .15s ease;
}
.hj-compare-page--matrix .hj-compare-slot.is-add .hj-compare-slot-add:hover {
  border-color: var(--hj-dm-navy); background: #F8FAFC; color: var(--hj-dm-navy);
}
.hj-slot-add-copy { display: grid; gap: 2px; }
.hj-slot-add-copy strong { font-size: 13px; font-weight: 800; color: inherit; }
.hj-slot-add-copy small { font-size: 11px; font-weight: 600; color: var(--hj-dm-mute); }
.hj-compare-page--matrix .hj-slot-add-icon {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #CBD5E1;
  font-size: 16px; background: #fff; color: var(--hj-dm-navy); flex-shrink: 0;
}
.hj-compare-page--matrix .hj-compare-slot-filled {
  border: 1px solid var(--hj-dm-line); border-radius: var(--hj-dm-radius); background: #fff;
  box-shadow: none; transition: transform .15s ease, box-shadow .15s ease;
}
.hj-compare-page--matrix .hj-compare-slot-filled:hover {
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.hj-compare-page--matrix .hj-compare-slot-row {
  padding: 14px; gap: 12px; align-items: flex-start;
}
.hj-compare-page--matrix .hj-slot-pick-logo {
  width: 48px; height: 48px; border-radius: 8px;
}
.hj-compare-page--matrix .hj-slot-pick-name { font-size: 15px; font-weight: 700; }
.hj-slot-meta-line {
  margin: 6px 0 0; font-size: 11px; font-weight: 600; color: var(--hj-dm-slate);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.hj-slot-meta-sep { color: #CBD5E1; }
.hj-compare-page--matrix .hj-slot-auto-prog { margin-top: 4px; font-size: 11px; color: var(--hj-dm-navy); }
.hj-slot-data-status {
  margin: 6px 0 0; font-size: 11px; font-weight: 700; color: var(--hj-dm-slate);
}
.hj-slot-data-status.is-confirmed { color: #0F766E; }
.hj-slot-data-status.is-partial { color: #A16207; }
.hj-slot-data-status.is-contact { color: var(--hj-dm-slate); }
.hj-compare-page--matrix .hj-compare-slot-actions {
  flex-direction: row; gap: 6px; margin-left: auto;
}
.hj-compare-page--matrix .hj-compare-slot-change {
  border: 1px solid var(--hj-dm-line); border-radius: 8px; padding: 6px 10px;
  font-size: 12px; font-weight: 700; color: var(--hj-dm-navy); background: #fff;
}
.hj-compare-page--matrix .hj-compare-slot-remove {
  border: 0; background: transparent; width: 28px; height: 28px; border-radius: 6px;
  font-size: 18px; line-height: 1; color: var(--hj-dm-mute); padding: 0; min-width: 0;
}
.hj-compare-page--matrix .hj-compare-slot-remove:hover {
  background: #F8FAFC; color: #B91C1C;
}
.hj-compare-page--matrix .hj-compare-empty {
  background: #fff; border: 1px solid var(--hj-dm-line); border-radius: var(--hj-dm-radius);
  padding: 28px 20px; text-align: center; margin-bottom: 16px;
}

/* Matrix tables */
.hj-dm-matrix { display: grid; gap: 28px; }
.hj-dm-block {
  background: #fff; border: 1px solid var(--hj-dm-line); border-radius: 12px; overflow: hidden;
}
.hj-dm-block > header { padding: 18px 20px 8px; }
.hj-dm-eyebrow {
  margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hj-dm-slate);
}
.hj-dm-block h3 {
  margin: 0; font-size: 17px; font-weight: 800; color: var(--hj-dm-navy);
}
.hj-dm-disclaimer {
  margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: var(--hj-dm-slate); max-width: 720px;
}
.hj-dm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hj-dm-table {
  width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13px;
}
.hj-dm-table th,
.hj-dm-table td {
  padding: 12px 14px; border-top: 1px solid #F1F5F9; vertical-align: top;
  text-align: left;
}
.hj-dm-table thead th {
  border-top: 0; border-bottom: 1px solid var(--hj-dm-line);
  background: #FAFBFC; font-weight: 700; color: var(--hj-dm-text);
}
.hj-dm-table thead th:first-child,
.hj-dm-table tbody th {
  width: 150px; min-width: 120px; color: var(--hj-dm-slate); font-weight: 700; font-size: 12px;
  background: #FAFBFC;
}
.hj-dm-th-name { display: block; font-size: 14px; font-weight: 800; color: var(--hj-dm-text); }
.hj-dm-table thead th small {
  display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--hj-dm-mute);
}
.hj-dm-table--glance .hj-dm-td-first { background: #F8FAFC; }
.hj-dm-cell { display: grid; gap: 2px; }
.hj-dm-cell strong { font-size: 12px; font-weight: 800; color: var(--hj-dm-text); }
.hj-dm-cell small { font-size: 11px; color: var(--hj-dm-mute); line-height: 1.35; font-weight: 600; }
.hj-dm-cell--ok { font-size: 14px; font-weight: 800; color: var(--hj-dm-text); letter-spacing: -0.02em; }
.hj-dm-cell--muted strong { color: var(--hj-dm-slate); }
.hj-dm-cell--soft strong { color: #78716C; }
.hj-dm-cell--ask strong { color: var(--hj-dm-navy); }
.hj-dm-first { display: grid; gap: 2px; }
.hj-dm-first strong {
  font-size: 20px; font-weight: 800; color: var(--hj-dm-navy); letter-spacing: -0.03em; line-height: 1.2;
}
.hj-dm-first small { font-size: 11px; color: var(--hj-dm-slate); font-weight: 600; }
.hj-dm-conf { font-size: 12px; font-weight: 700; }
.hj-dm-conf.is-confirmed { color: #0F766E; }
.hj-dm-conf.is-partial { color: #A16207; }
.hj-dm-conf.is-contact { color: var(--hj-dm-slate); }
.hj-dm-fine {
  margin: 0; padding: 10px 20px 16px; font-size: 11px; color: var(--hj-dm-mute); line-height: 1.5;
}
.hj-dm-sources {
  display: grid; grid-template-columns: repeat(var(--hj-dm-cols, 3), minmax(0, 1fr));
  gap: 12px; padding: 0 16px 18px;
}
.hj-dm-promo-grid {
  display: grid; grid-template-columns: repeat(var(--hj-dm-cols, 3), minmax(0, 1fr));
  gap: 12px; padding: 8px 16px 18px;
}
.hj-dm-promo-col {
  border: 1px solid #F1F5F9; border-radius: 8px; background: #FAFBFC; padding: 12px;
  min-width: 0;
}
.hj-dm-promo-col-head {
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #EEF2F6;
}
.hj-dm-promo-col-head strong {
  display: block; font-size: 13px; font-weight: 800; color: var(--hj-dm-text, #172033);
}
.hj-dm-promo-col-head small {
  display: block; margin-top: 2px; font-size: 11px; color: var(--hj-dm-mute, #98A2B3); font-weight: 600;
}
.hj-dm-promo-list { display: grid; gap: 10px; }
.hj-dm-promo {
  padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid #E4E8F0;
}
.hj-dm-promo-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px;
}
.hj-dm-promo-top strong { font-size: 13px; font-weight: 800; color: #0F766E; }
.hj-dm-promo-badge {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; background: #ECFDF5; border: 1px solid #A7F3D0; color: #047857;
}
.hj-dm-promo-badge--always { background: #F1F5F9; border-color: #E2E8F0; color: #475569; }
.hj-dm-promo-badge--scholarship { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.hj-dm-promo h4 {
  margin: 0 0 4px; font-size: 13px; font-weight: 800; color: #172033; line-height: 1.35;
}
.hj-dm-promo p { margin: 0; font-size: 11px; line-height: 1.5; color: #667085; }
.hj-dm-promo small { display: block; margin-top: 6px; font-size: 10px; color: #98A2B3; font-weight: 600; }
.hj-dm-promo-empty {
  display: grid; gap: 2px; padding: 10px 0;
}
.hj-dm-promo-empty strong { font-size: 12px; font-weight: 800; color: #667085; }
.hj-dm-promo-empty small { font-size: 11px; color: #98A2B3; line-height: 1.4; }
.hj-dm-promo-list > .hj-dm-text-link { margin-top: 2px; font-size: 12px; }
.hj-dm-source {
  display: grid; gap: 4px; padding: 12px; border: 1px solid #F1F5F9; border-radius: 8px;
  background: #FAFBFC; font-size: 11px; color: var(--hj-dm-slate); line-height: 1.45;
}
.hj-dm-source strong { color: var(--hj-dm-text); font-size: 12px; }
.hj-dm-source a { color: var(--hj-dm-navy); font-weight: 700; text-decoration: none; }
.hj-dm-source a:hover { text-decoration: underline; }
.hj-dm-contact-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; background: #F8FAFC; border: 1px solid var(--hj-dm-line);
  border-radius: 10px;
}
.hj-dm-contact-banner p { margin: 0; max-width: 640px; font-size: 13px; color: var(--hj-dm-slate); line-height: 1.55; }
.hj-dm-contact-banner strong { color: var(--hj-dm-text); }
.hj-dm-text-link {
  font-size: 13px; font-weight: 800; color: var(--hj-dm-navy); text-decoration: none; white-space: nowrap;
}
.hj-dm-text-link:hover { text-decoration: underline; }
.hj-dm-decide {
  background: #fff; border: 1px solid var(--hj-dm-line); border-radius: 12px; padding: 20px;
}
.hj-dm-decide h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--hj-dm-navy); }
.hj-dm-decide-sub { margin: 0 0 16px; font-size: 13px; color: var(--hj-dm-slate); }
.hj-dm-decide-grid {
  display: grid; grid-template-columns: repeat(var(--hj-dm-cols, 3), minmax(0, 1fr)); gap: 14px;
}
.hj-dm-decide-card {
  padding: 14px; border: 1px solid #F1F5F9; border-radius: 8px; background: #FAFBFC;
}
.hj-dm-decide-card h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--hj-dm-text); }
.hj-dm-decide-card ul {
  margin: 0 0 12px; padding-left: 16px; font-size: 12px; color: var(--hj-dm-slate); line-height: 1.55;
}
.hj-dm-decide-card li { margin: 4px 0; }
.hj-dm-decide-actions { margin-top: 18px; display: flex; justify-content: center; }
.hj-compare-page--matrix .hj-compare-bottom-cta,
.hj-dm-cta {
  background: var(--hj-dm-navy); color: #E2E8F0;
}
.hj-dm-cta .hj-compare-bottom-inner strong { color: #fff; }
.hj-dm-cta .hj-compare-bottom-inner p { color: #CBD5E1; }
.hj-compare-page--matrix .hj-btn.hj-compare-yellow {
  background: var(--hj-dm-gold) !important; color: var(--hj-dm-navy) !important;
  box-shadow: none; border-radius: 8px !important; font-weight: 800 !important;
}

@media (max-width: 900px) {
  .hj-compare-page--matrix .hj-compare-slots { grid-template-columns: 1fr; }
  .hj-dm-sources,
  .hj-dm-promo-grid,
  .hj-dm-decide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hj-dm-hero { padding: 28px 0 20px; }
  .hj-dm-context-bar { padding: 14px; align-items: stretch; }
  .hj-dm-context-title { font-size: 18px; }
  .hj-dm-context-aside {
    width: 100%; align-items: stretch;
  }
  .hj-dm-context-actions { width: 100%; }
  .hj-dm-currency { width: 100%; justify-content: stretch; }
  .hj-dm-currency button { flex: 1 1 auto; text-align: center; }
  .hj-dm-edit-toggle,
  .hj-dm-share { flex: 1 1 auto; text-align: center; }
  .hj-dm-edit-grid { grid-template-columns: 1fr; }
  .hj-compare-page--matrix .hj-compare-seg { width: 100%; }
  .hj-compare-page--matrix .hj-compare-seg button { flex: 1 1 auto; text-align: center; }
  .hj-compare-page--matrix .hj-compare-slot-actions { width: 100%; margin-left: 0; }
  .hj-dm-first strong { font-size: 17px; }
  .hj-dm-table { min-width: 480px; }
}
