/* HAOLLA multilingual parity + visual-fit layer v1.43.2 */

:root{--mlp-max:1180px}

/* Localized copy may be longer than Korean. Keep meaning intact without clipping. */
html[lang="ja"] :where(h1,h2,h3,p,a,button,span),
html[lang^="zh"] :where(h1,h2,h3,p,a,button,span){line-break:strict;word-break:normal;overflow-wrap:anywhere}
html[lang="es"] :where(h1,h2,h3,p,a,button),
html[lang^="pt"] :where(h1,h2,h3,p,a,button),
html[lang="fr"] :where(h1,h2,h3,p,a,button){overflow-wrap:anywhere;hyphens:auto}

/* Root-home translated hero and global gateway. */
body[data-multilingual-parity="1.43.2"] .premiumHeroTitle,
body[data-multilingual-parity="1.43.2"] .heroSloganV1403{max-width:12.5ch;text-wrap:balance}
body[data-multilingual-parity="1.43.2"] .haollaGlobalGatewayV1400 h2{max-width:18ch;text-wrap:balance}
body[data-multilingual-parity="1.43.2"] .haollaGlobalGatewayV1400 .gLead{max-width:68ch;text-wrap:pretty}
body[data-multilingual-parity="1.43.2"] .haollaExecutiveBarV1401{min-height:34px;align-items:center}

/* Program parity block. */
.mlpSchoolGuideBanner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:24px 26px;border:1px solid rgba(108,174,207,.18);border-radius:22px;background:linear-gradient(135deg,rgba(91,215,210,.08),rgba(154,132,255,.055))}
.mlpSchoolGuideBanner h2{margin:0;font-size:clamp(23px,3vw,34px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.mlpSchoolGuideBanner p{margin:9px 0 0;max-width:72ch;line-height:1.65;color:var(--muted,#66728c);text-wrap:pretty}
.mlpSchoolGuideBanner .sgBtn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;white-space:normal;padding:11px 18px}
.r1290HubHero .r1290Wrap>h1{max-width:18ch;text-wrap:balance}
.r1290HubHero .r1290Wrap>p{max-width:74ch;text-wrap:pretty}
.r1300Comparison{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.r1300Comparison table{width:100%;min-width:650px}
.r1300Comparison th{line-height:1.35;white-space:normal}

/* Localized Jeju school-guide hub. */
.mlpSchoolHub{background:#f6f8ff;color:#121a32}
.mlpSchoolHub .mlpSchoolHubHero{padding:80px 0 56px;background:linear-gradient(180deg,#0a1428,#0d1b33);color:#f7f9ff}
.mlpSchoolHub .mlpWrap{width:min(var(--mlp-max),calc(100% - 40px));margin-inline:auto}
.mlpSchoolHub .mlpKicker{font-size:12px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#84e6e8}
.mlpSchoolHub h1{margin:13px 0 17px;max-width:18ch;font-size:clamp(40px,5.7vw,72px);line-height:1.01;letter-spacing:-.05em;text-wrap:balance}
.mlpSchoolHub .mlpHeroLead{max-width:75ch;margin:0;color:#b9c5da;font-size:18px;line-height:1.7;text-wrap:pretty}
.mlpSchoolHub .mlpTags{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.mlpSchoolHub .mlpTags span{padding:8px 11px;border:1px solid rgba(255,255,255,.13);border-radius:999px;font-size:12px;color:#dce4f3}
.mlpSchoolHub .mlpSchoolSection{padding:62px 0 74px}
.mlpSchoolHub .mlpSectionHead{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:36px;align-items:end}
.mlpSchoolHub .mlpSectionHead h2{margin:8px 0 0;font-size:clamp(29px,4vw,46px);line-height:1.08;letter-spacing:-.04em;text-wrap:balance}
.mlpSchoolHub .mlpSectionHead p{margin:0;color:#59647b;line-height:1.7;text-wrap:pretty}
.mlpSchoolGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:28px}
.mlpSchoolCard{display:flex;flex-direction:column;min-width:0;min-height:190px;padding:20px;border:1px solid rgba(40,65,110,.11);border-radius:19px;background:#fff;color:#14203a;text-decoration:none;box-shadow:0 16px 44px rgba(29,45,78,.055)}
.mlpSchoolCard small{color:#4c6d91;font-weight:800;letter-spacing:.04em}
.mlpSchoolCard h3{margin:15px 0 8px;font-size:20px;line-height:1.22;letter-spacing:-.025em;text-wrap:balance}
.mlpSchoolCard p{margin:0 0 15px;color:#657089;line-height:1.55;font-size:14px;flex:1}
.mlpSchoolCard b{font-size:13px;color:#16284e}
.mlpSchoolSourceNote{margin-top:20px;padding:17px 19px;border-radius:16px;background:#edf2fb;color:#59657d;font-size:13px;line-height:1.65}

/* Header actions: optical consistency without forcing long Romance-language CTAs off-screen. */
html:is([lang="es"],[lang="fr"],[lang^="pt"]) .siteHeader .navActions>.primaryBtn{font-size:12px;padding-inline:13px}

@media(max-width:900px){
  .mlpSchoolGuideBanner,.mlpSchoolHub .mlpSectionHead{grid-template-columns:1fr;align-items:start}
  .mlpSchoolGuideBanner .sgBtn{justify-self:start}
  .mlpSchoolGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  body[data-multilingual-parity="1.43.2"] .premiumHeroTitle,body[data-multilingual-parity="1.43.2"] .heroSloganV1403{max-width:13ch}
  .mlpSchoolGuideBanner{padding:21px}
  .mlpSchoolGuideBanner .sgBtn{width:100%}
  .r1300Comparison table{min-width:600px}
  .mlpSchoolHub .mlpWrap{width:calc(100% - 30px)}
  .mlpSchoolHub .mlpSchoolHubHero{padding:58px 0 44px}
  .mlpSchoolHub h1{font-size:clamp(38px,11vw,55px)}
  .mlpSchoolGrid{grid-template-columns:1fr}
}
