/* NEXTGENZ CENTRE — Why Malaysia editorial page.
   Uses the same Montserrat, navy #0A1633 and luxury gold #C5A059 as the landing page.
   Scoped throughout so React portals, programme pages and the shared footer are untouched. */
.ng-why-page { --why-navy:#0A1633;--why-gold:#C5A059;--why-ink:#13233C;--why-muted:#586478;font-family:Montserrat,Arial,sans-serif;background:#f8f9fb;color:var(--why-ink);line-height:1.65;overflow:hidden }
.ng-why-page * { box-sizing:border-box }
.ng-why-page h1,.ng-why-page h2,.ng-why-page h3,.ng-why-page p { font-family:Montserrat,Arial,sans-serif }
.ng-why-page h1,.ng-why-page h2,.ng-why-page h3 { letter-spacing:-.045em;color:var(--why-navy);text-wrap:balance; }
.ng-why-page .ng-why-wrap {max-width:1200px;margin:0 auto;padding:0 28px}
.ng-why-page .ng-why-hero {position:relative;min-height:640px;display:flex;align-items:center;background:#0A1633;color:white;isolation:isolate}
.ng-why-page .ng-why-hero::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(92deg,rgba(7,16,38,.97) 0%,rgba(9,23,50,.88) 41%,rgba(9,22,47,.2) 100%)}
.ng-why-page .ng-why-hero img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.ng-why-page .ng-why-hero-content {max-width:730px;padding-top:105px;padding-bottom:110px;position:relative;z-index:1}
.ng-why-page .ng-why-eyebrow {display:inline-flex;align-items:center;gap:10px;font-size:.74rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase;color:#E7C987;line-height:1.4;margin-bottom:18px}
.ng-why-page .ng-why-eyebrow::before {content:"";display:block;width:34px;height:2px;background:var(--why-gold)}
.ng-why-page .ng-why-hero h1 {font-size:clamp(2.65rem,5.6vw,5.1rem);line-height:1.04;color:#fff;margin:0 0 22px;font-weight:900}
.ng-why-page .ng-why-gold {color:#E5BA69}
.ng-why-page .ng-why-hero p {max-width:660px;font-size:clamp(1rem,1.65vw,1.15rem);line-height:1.8;color:#e4ebf7;margin:0 0 30px}
.ng-why-page .ng-why-actions {display:flex;flex-wrap:wrap;gap:12px}
.ng-why-page .ng-why-btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:12px;text-decoration:none;font-size:.9rem;font-weight:800;line-height:1.3;transition:transform .16s ease,border-color .16s ease;white-space:normal;text-align:center}
.ng-why-page .ng-why-btn:hover {transform:translateY(-2px)}
.ng-why-page .ng-why-btn.primary {background:var(--why-gold);border:1px solid var(--why-gold);color:#07142b}
.ng-why-page .ng-why-btn.outline {border:1px solid rgba(255,255,255,.54);color:#fff;background:rgba(10,22,51,.38)}
.ng-why-page .ng-why-btn.light {background:white;border:1px solid #dde3ef;color:#10213a}
.ng-why-page .ng-why-section {padding:78px 0}
.ng-why-page .ng-why-section.white {background:#fff}
.ng-why-page .ng-why-section.dark {background:#091831;color:#fff}
.ng-why-page .ng-why-section.dark h2,.ng-why-page .ng-why-section.dark h3 {color:white}
.ng-why-page .ng-why-section.dark .ng-why-sub {color:#c4d0e3}
.ng-why-page .ng-why-section h2 {font-size:clamp(1.95rem,3.9vw,3rem);line-height:1.15;margin:0 0 16px;font-weight:900}
.ng-why-page .ng-why-sub {color:var(--why-muted);font-size:1.01rem;max-width:760px;line-height:1.85;margin:0 0 30px}
.ng-why-page .ng-why-card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ng-why-page .ng-why-reason {background:#fff;border:1px solid #e2e7ee;border-radius:20px;padding:29px 26px;box-shadow:0 10px 24px rgba(11,24,49,.035)}
.ng-why-page .ng-why-number {display:inline-flex;color:#A67B33;border-radius:50%;border:1px solid #ddc390;background:#fbf4e7;width:38px;height:38px;align-items:center;justify-content:center;font-size:.83rem;font-weight:900;margin-bottom:14px}
.ng-why-page .ng-why-reason h3 {font-size:1.17rem;line-height:1.3;margin:0 0 12px}
.ng-why-page .ng-why-reason p {font-size:.91rem;color:#586478;line-height:1.75;margin:0}
.ng-why-page .ng-why-editorial {display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center}
.ng-why-page .ng-why-editorial .ng-why-copy p {font-size:.98rem;line-height:1.85;color:#56657b}
.ng-why-page .ng-why-bullets {margin:24px 0;padding-left:20px;color:#56657b}
.ng-why-page .ng-why-bullets li {margin-bottom:11px;line-height:1.7}
.ng-why-page a.ng-why-text-link {color:#806020;font-weight:800;text-underline-offset:3px}
.ng-why-page .ng-why-figure {margin:0;min-width:0;position:relative;overflow:hidden;background:#dce6ee;border-radius:22px;box-shadow:0 16px 36px rgba(8,25,52,.11)}
.ng-why-page .ng-why-figure img {display:block;width:100%;height:320px;object-fit:cover}
.ng-why-page .ng-why-figure.tall img {height:500px}
.ng-why-page .ng-why-figure figcaption {padding:16px 19px;background:#fff;color:#283853;font-size:.84rem;line-height:1.5}
.ng-why-page .ng-why-figure figcaption strong {display:block;font-weight:850;font-size:.95rem;margin-bottom:3px}
.ng-why-page .ng-why-figure figcaption a {color:#806020;text-decoration:underline;text-underline-offset:2px}
.ng-why-page .ng-why-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ng-why-page .ng-why-gallery .ng-why-figure img {height:250px}
.ng-why-page .ng-why-gallery .ng-why-figure.featured {grid-column:span 2}
.ng-why-page .ng-why-gallery .ng-why-figure.featured img {height:310px}
.ng-why-page .ng-why-destinations {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ng-why-page .ng-why-destination {overflow:hidden;border-radius:22px;background:#fff;border:1px solid #e1e6ed}
.ng-why-page .ng-why-destination img {display:block;width:100%;height:280px;object-fit:cover}
.ng-why-page .ng-why-destination-copy {padding:26px 26px 29px}
.ng-why-page .ng-why-destination h3 {font-size:1.35rem;margin:0 0 9px}
.ng-why-page .ng-why-destination p {font-size:.93rem;line-height:1.78;color:#5b6878;margin:0}
.ng-why-page .ng-why-gallery-note {margin-top:16px;color:#6c7888;font-size:.81rem}
.ng-why-page .ng-why-facts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:35px}
.ng-why-page .ng-why-fact {padding:22px 18px;border:1px solid rgba(197,160,89,.32);background:#102242;border-radius:16px}
.ng-why-page .ng-why-fact strong {display:block;font-size:.98rem;color:#e7bf79;margin-bottom:7px}
.ng-why-page .ng-why-fact span {font-size:.84rem;color:#d6deeb;line-height:1.6}
.ng-why-page .ng-why-note {font-size:.85rem;color:#586478;line-height:1.75;margin-top:18px}
.ng-why-page .ng-why-cta {border-radius:26px;background:radial-gradient(circle at 90% 10%,rgba(197,160,89,.18),transparent 45%),#0A1633;color:white;padding:55px 44px;border:1px solid rgba(197,160,89,.45);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center}
.ng-why-page .ng-why-cta h2 {color:white;margin-bottom:15px}
.ng-why-page .ng-why-cta p {max-width:690px;color:#d6deea;margin:0}
.ng-why-page .ng-why-cta .ng-why-actions {flex-direction:column}
.ng-why-page .ng-why-loclink {display:inline-flex;align-items:center;gap:5px;font-size:.82rem;color:#9a7026;font-weight:800;text-decoration:none;margin-top:12px}
.ng-why-page .ng-why-mini-sources {border-top:1px solid #e0e5ed;padding-top:24px;margin-top:30px;font-size:.83rem;color:#5a687a;line-height:1.9}
.ng-why-page .ng-why-mini-sources a {color:#7b5d28}
@media(max-width:960px) {
 .ng-why-page .ng-why-card-grid,.ng-why-page .ng-why-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ng-why-page .ng-why-gallery .ng-why-figure.featured {grid-column:span 2}
 .ng-why-page .ng-why-facts {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ng-why-page .ng-why-cta {grid-template-columns:1fr}
 .ng-why-page .ng-why-cta .ng-why-actions {flex-direction:row}
}
@media(max-width:650px) {
 .ng-why-page .ng-why-wrap {padding:0 19px}
 .ng-why-page .ng-why-hero {min-height:570px}
 .ng-why-page .ng-why-hero::after {background:linear-gradient(90deg,rgba(7,16,38,.94),rgba(7,16,38,.69))}
 .ng-why-page .ng-why-hero-content {padding-top:85px;padding-bottom:76px}
 .ng-why-page .ng-why-hero h1 {font-size:clamp(2.4rem,11vw,3.4rem)}
 .ng-why-page .ng-why-section {padding:54px 0}
 .ng-why-page .ng-why-card-grid,.ng-why-page .ng-why-editorial,.ng-why-page .ng-why-gallery,.ng-why-page .ng-why-destinations {grid-template-columns:1fr}
 .ng-why-page .ng-why-gallery .ng-why-figure.featured {grid-column:auto}
 .ng-why-page .ng-why-figure img,.ng-why-page .ng-why-gallery .ng-why-figure img,.ng-why-page .ng-why-gallery .ng-why-figure.featured img {height:245px}
 .ng-why-page .ng-why-figure.tall img {height:310px}
 .ng-why-page .ng-why-reason {padding:24px}
 .ng-why-page .ng-why-destination img {height:225px}
 .ng-why-page .ng-why-cta {padding:34px 24px}
 .ng-why-page .ng-why-cta .ng-why-actions {flex-direction:column}
 .ng-why-page .ng-why-actions .ng-why-btn {width:100%}
}
@media(prefers-reduced-motion:reduce){.ng-why-page .ng-why-btn{transition:none}}

/* Image-led layouts use the approved image-generation collection exclusively. */
.ng-why-page .ng-why-wrap{max-width:1280px}
.ng-why-page .ng-why-hero{min-height:680px}
.ng-why-page .ng-why-hero-content{max-width:740px}
.ng-why-page .ng-why-gallery .ng-why-figure img{height:275px}
.ng-why-page .ng-why-gallery .ng-why-figure.featured img{height:365px}
.ng-why-page .ng-why-figure img,.ng-why-page .ng-why-destination img{object-position:center}
.ng-why-page .ng-why-photo-note{
 display:inline-flex;
 margin-top:9px;
 color:#7b632c;
 background:#f9f4e8;
 border:1px solid #e8dbba;
 padding:5px 10px;
 border-radius:999px;
 font-size:.74rem;
 line-height:1.4;
 font-weight:650;
}
.ng-why-page .ng-why-visual-tile figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:104px}
.ng-why-page .ng-why-visual-tile .ng-why-photo-note{margin-top:2px}
.ng-why-page .ng-why-more-gallery .ng-why-gallery{row-gap:22px}
.ng-why-page .ng-why-more-gallery .ng-why-figure img{height:235px}
.ng-why-page .ng-why-destination-copy{display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.ng-why-page .ng-why-destination .ng-why-photo-note{font-size:.7rem}
@media(max-width:650px){
 .ng-why-page .ng-why-hero{min-height:570px}
 .ng-why-page .ng-why-gallery .ng-why-figure.featured img,
 .ng-why-page .ng-why-gallery .ng-why-figure img,
 .ng-why-page .ng-why-more-gallery .ng-why-figure img{height:255px}
}


/* WHY MALAYSIA HERO V2 — image-forward, landing-page-matched split layout */
.ng-why-page .ng-why-hero.ng-why-hero-v2{
  display:block;min-height:0;overflow:hidden;isolation:auto;
  background:radial-gradient(ellipse at 12% 12%,#15284b 0%,#0A1633 56%,#081228 100%);
  color:#fff;
}
.ng-why-page .ng-why-hero-v2::after{display:none}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-grid{
  max-width:1550px;min-height:625px;
  padding:0 0 0 clamp(25px,4.1vw,68px);
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  align-items:stretch;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-copy{
  min-width:0;max-width:650px;position:relative;
  padding:78px clamp(28px,3vw,54px) 58px 0;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.ng-why-page .ng-why-hero-v2 .ng-why-eyebrow{
  margin-bottom:22px;font-size:.71rem;letter-spacing:.17em;
  color:#e9c787;
}
.ng-why-page .ng-why-hero-v2 h1{
  max-width:600px;margin:0 0 24px;
  font-family:Montserrat,Arial,sans-serif;
  font-size:clamp(3rem,4.2vw,4.7rem);font-weight:900;line-height:1.09;
  letter-spacing:-.058em;color:#fff;
}
.ng-why-page .ng-why-hero-v2 h1 .ng-why-gold{
  color:#e7be72;white-space:normal;
}
.ng-why-page .ng-why-hero-v2 p.ng-why-hero-lead{
  max-width:570px;margin:0 0 15px;color:#fff;
  font-size:clamp(1.03rem,1.36vw,1.25rem);line-height:1.55;
  font-weight:700;
}
.ng-why-page .ng-why-hero-v2 p.ng-why-hero-support{
  max-width:565px;margin:0 0 29px;
  color:#ced9e9;font-size:clamp(.92rem,1.05vw,1.035rem);
  line-height:1.8;font-weight:400;
}
.ng-why-page .ng-why-hero-v2 .ng-why-actions{gap:12px;}
.ng-why-page .ng-why-hero-v2 .ng-why-btn{padding:15px 19px;min-height:51px;}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-topics{
  display:flex;flex-wrap:wrap;gap:12px 20px;
  padding-top:22px;margin-top:30px;border-top:1px solid rgba(255,255,255,.15);
  font-weight:650;color:#c8d4e5;font-size:.79rem;line-height:1.6;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-topics span::before{
  content:"";display:inline-block;width:6px;height:6px;
  margin-right:9px;vertical-align:2px;border-radius:50%;background:#C5A059;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-media{
  min-width:0;min-height:625px;position:relative;isolation:isolate;
  overflow:hidden;background:#b7d1ce;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-main-photo{
  position:absolute;inset:0;margin:0;z-index:0;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-main-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(5,16,37,.48) 0%,transparent 35%);
  pointer-events:none;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-media img{
  position:static;inset:auto;z-index:auto;
  display:block;width:100%;height:100%;object-fit:cover;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-main-photo img{
  object-position:47% center;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline{
  position:absolute;bottom:29px;left:28px;z-index:2;
  width:clamp(205px,19vw,288px);margin:0;
  overflow:hidden;border:5px solid rgba(255,255,255,.97);
  border-radius:17px;background:#fff;
  box-shadow:0 14px 42px rgba(5,18,37,.3);
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline img{
  width:100%;height:142px;object-fit:cover;object-position:50% 43%;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption{
  padding:10px 12px 9px;color:#132743;background:#fff;
  font-size:.68rem;font-weight:900;letter-spacing:.07em;line-height:1.35;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption span{
  display:block;margin-top:3px;color:#586678;
  font-size:.72rem;font-weight:600;letter-spacing:0;
}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-illustration-note{
  position:absolute;right:16px;bottom:18px;z-index:2;
  color:#fff;font-size:.7rem;line-height:1.35;
  padding:6px 10px;border:1px solid rgba(255,255,255,.26);
  border-radius:999px;background:rgba(8,25,45,.52);
}
@media(max-width:1120px) and (min-width:841px){
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
    padding-left:28px;min-height:575px;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-copy{padding-right:26px}
  .ng-why-page .ng-why-hero-v2 h1{font-size:clamp(2.6rem,4.5vw,3.4rem)}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-media{min-height:575px}
}
@media(max-width:840px){
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-grid{
    display:grid;grid-template-columns:minmax(0,1fr);padding:0;
    min-height:0;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-copy{
    max-width:none;padding:60px 26px 43px;min-height:0;
  }
  .ng-why-page .ng-why-hero-v2 h1{font-size:clamp(2.75rem,8.1vw,4.2rem)}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-media{min-height:430px;height:clamp(370px,60vw,500px)}
}
@media(max-width:540px){
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-copy{padding:46px 21px 35px}
  .ng-why-page .ng-why-hero-v2 .ng-why-eyebrow{font-size:.63rem;letter-spacing:.13em;margin-bottom:19px}
  .ng-why-page .ng-why-hero-v2 h1{
    font-size:clamp(2.42rem,10.8vw,3.3rem);
    line-height:1.1;margin-bottom:18px;
  }
  .ng-why-page .ng-why-hero-v2 p.ng-why-hero-lead{
    font-size:1.03rem;line-height:1.55;
  }
  .ng-why-page .ng-why-hero-v2 p.ng-why-hero-support{font-size:.9rem;margin-bottom:24px}
  .ng-why-page .ng-why-hero-v2 .ng-why-actions{width:100%}
  .ng-why-page .ng-why-hero-v2 .ng-why-actions .ng-why-btn{width:100%}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-topics{
    font-size:.72rem;gap:8px 13px;padding-top:17px;margin-top:23px;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-media{
    min-height:335px;height:350px;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-main-photo img{
    object-position:49% 50%;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline{
    width:175px;left:15px;bottom:15px;border-width:4px;border-radius:12px;
  }
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline img{height:88px}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption{font-size:.62rem;padding:8px}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption span{font-size:.65rem}
  .ng-why-page .ng-why-hero-v2 .ng-why-hero-illustration-note{
    right:10px;bottom:15px;font-size:.58rem;padding:5px 7px;
  }
}


/* Public surface parity: Why Malaysia uses the same nude + navy + gold
   palette as the homepage course finder and every programme guide. */
.ng-why-page{background:#F0E3D2!important;--why-ink:#0F1F38;--why-muted:#564B41;--why-gold:#C5A059;--why-navy:#0F1F38;color:#0F1F38}
.ng-why-page .ng-why-section:not(.dark),.ng-why-page .ng-why-section.white{background:#F0E3D2!important;color:#0F1F38}
.ng-why-page :is(.ng-why-reason,.ng-why-destination,.ng-why-figure figcaption,.ng-why-btn.light){
 background:#F7EBD9!important;border-color:#C5A059!important;color:#0F1F38!important
}
.ng-why-page .ng-why-figure{background:#E2CFB3!important;border:1px solid #C5A059}
.ng-why-page :is(.ng-why-figure figcaption,.ng-why-destination-copy) :is(strong,p,span),
.ng-why-page .ng-why-reason :is(h3,p){color:#0F1F38!important}
.ng-why-page :is(.ng-why-number,.ng-why-photo-note){background:#E2CFB3!important;border-color:#C5A059!important;color:#0F1F38!important}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline{border-color:#C5A059!important;background:#F7EBD9!important}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption{background:#F7EBD9!important;color:#0F1F38!important}
.ng-why-page .ng-why-hero-v2 .ng-why-hero-skyline figcaption span{color:#564B41!important}
.ng-why-page .ng-why-btn.light:hover{background:#E2CFB3!important}
.ng-why-page .ng-why-mini-sources{border-color:#C5A059}
.ng-why-page .ng-why-hero-illustration-note{display:none!important}
@media(prefers-reduced-motion:reduce){.ng-why-page .ng-why-btn:hover{transform:none}}
