
/* =========================================================
   MPS COMPONENT LIBRARY v1.0
   Reusable internal-page system. Keep page-specific content in HTML;
   use these classes across Leadership, Information, Department,
   Service, News, Gallery and Directory templates.
========================================================= */
.internal-page{background:#f4f8f7}.internal-page .site-header:not(.scrolled){background:linear-gradient(180deg,rgba(3,25,35,.96),rgba(3,25,35,.82));backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.inner-hero{position:relative;isolation:isolate;overflow:hidden;padding:190px 3vw 88px;color:#fff;background:linear-gradient(125deg,#031923 0%,#063946 62%,#0d6c68 130%)}
.inner-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(3,25,35,.95),rgba(3,25,35,.56)),url('../images/hero-city-night.jpg') center 58%/cover no-repeat;opacity:.58}
.inner-hero::after{content:"";position:absolute;right:-10%;bottom:-65%;z-index:-1;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(64,216,189,.22),transparent 68%)}
.inner-hero__glow{position:absolute;left:44%;top:-180px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(231,184,75,.18),transparent 67%);pointer-events:none}
.inner-hero__content{position:relative}.breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:32px;color:rgba(255,255,255,.72);font-size:12px}.breadcrumb a:hover{color:var(--gold)}.breadcrumb strong{color:#fff}.eyebrow{margin:0 0 10px;color:var(--teal);font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.inner-hero .eyebrow{color:#f0ca68}.inner-hero h1{max-width:920px;margin:0;font-size:clamp(48px,6.2vw,90px);line-height:.94;letter-spacing:-.055em}.inner-hero h1 span{color:#f1c75e}.inner-hero__lead{max-width:760px;margin:24px 0 0;color:#d7e6e9;font-size:clamp(17px,1.6vw,22px);line-height:1.55}
.internal-content{padding:72px 3vw 100px}.leadership-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 290px;gap:24px;align-items:start}.leader-profile,.message-card,.related-card{background:#fff;border:1px solid rgba(8,60,69,.11);border-radius:22px;box-shadow:0 18px 48px rgba(0,28,40,.08)}.leader-profile{overflow:hidden}.leader-photo{position:relative;margin:0;min-height:350px;background:linear-gradient(145deg,#edf3f2,#fff);overflow:hidden}.leader-photo::after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,rgba(3,25,35,.72))}.leader-photo img{width:100%;height:380px;object-fit:cover;object-position:center top;transition:transform .7s var(--premium-ease)}.leader-profile:hover .leader-photo img{transform:scale(1.025)}.leader-photo__badge{position:absolute;z-index:2;left:18px;bottom:17px;padding:8px 11px;border:1px solid rgba(255,255,255,.23);border-radius:999px;background:rgba(3,25,35,.64);color:#fff;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(8px)}.leader-profile__body{padding:24px}.leader-profile__body h2{margin:0 0 10px;font-size:27px;line-height:1.08}.leader-profile__body>p:last-child{margin:0;color:var(--muted);font-size:14px}
.message-card{padding:clamp(26px,3.5vw,48px)}.message-card__head{display:flex;justify-content:space-between;gap:20px;align-items:start;padding-bottom:24px;border-bottom:1px solid var(--line)}.message-card__head h2{margin:0;font-size:clamp(28px,3vw,42px)}.quote-mark{height:66px;color:rgba(14,124,120,.16);font-family:Georgia,serif;font-size:100px;line-height:.82}.prose{padding-top:14px;color:#243b44;font-size:16px;line-height:1.85}.prose p{margin:20px 0}.prose blockquote{position:relative;margin:34px 0;padding:28px 30px;border:0;border-radius:18px;background:linear-gradient(135deg,#062b36,#0a555b);color:#fff;box-shadow:0 16px 38px rgba(3,25,35,.18)}.prose blockquote::before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:5px;background:linear-gradient(var(--gold),var(--mint))}.prose blockquote p{margin:0;font-size:clamp(20px,2vw,28px);font-weight:750;line-height:1.42}.message-signature{display:grid;gap:3px;margin-top:38px;padding-top:26px;border-top:1px solid var(--line)}.message-signature span{color:var(--muted);font-size:13px}.message-signature strong{margin-top:8px;color:var(--teal);font-size:18px;text-transform:uppercase}.message-signature small{color:#445d66;font-weight:700}
.related-card{position:sticky;top:116px;padding:26px}.related-card h2{margin:0 0 18px;font-size:25px}.related-links{display:grid;gap:7px}.related-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid var(--line);border-radius:11px;color:#26424a;font-size:13px;font-weight:750}.related-links a:hover{transform:translateX(3px);border-color:#9bcfc7;background:#edf7f5;color:#08716b}.related-links a.is-current{border-color:transparent;background:linear-gradient(135deg,#0b7771,#07565b);color:#fff;box-shadow:0 10px 22px rgba(8,113,107,.19)}.motto-panel{margin-top:20px;padding:18px;border-radius:15px;background:#f7f1df;border:1px solid #ead9a4}.motto-panel small,.motto-panel strong{display:block}.motto-panel small{margin-bottom:7px;color:#8b6818;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.motto-panel strong{color:#17343c;font-size:14px;line-height:1.45}
/* Generic reusable components */
.ds-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 12px 35px rgba(0,28,38,.06)}.ds-grid{display:grid;gap:20px}.ds-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ds-highlight{padding:24px;border-left:4px solid var(--gold);border-radius:0 16px 16px 0;background:#f7f3e7}.ds-download{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff;font-weight:800}.ds-download:hover{border-color:var(--teal);background:#eef7f5}.ds-stat strong{display:block;color:var(--teal);font-size:44px;line-height:1}.ds-stat span{display:block;margin-top:7px;color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:1180px){.leadership-layout{grid-template-columns:270px minmax(0,1fr)}.related-card{grid-column:1/-1;position:static}.related-links{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.inner-hero{padding:135px 5vw 65px}.internal-content{padding:45px 5vw 70px}.leadership-layout{grid-template-columns:1fr}.leader-profile{display:grid;grid-template-columns:145px 1fr}.leader-photo{min-height:210px}.leader-photo img{height:100%;min-height:210px}.leader-photo__badge{left:10px;bottom:10px;font-size:8px}.leader-profile__body{display:flex;flex-direction:column;justify-content:center}.related-links,.ds-grid--2,.ds-grid--3{grid-template-columns:1fr}.message-card{padding:24px}.prose{font-size:15px}.prose blockquote{padding:23px 23px 23px 27px}}
@media(max-width:480px){.leader-profile{display:block}.leader-photo img{height:340px}.inner-hero h1{font-size:48px}.breadcrumb{margin-bottom:23px}}


/* =========================================================
   MPS COMPONENT LIBRARY v1.1 — PRESIDENT PROFILE
========================================================= */
.profile-layout{display:grid;grid-template-columns:320px minmax(0,1fr) 290px;gap:24px;align-items:start}
.profile-identity,.profile-main{background:#fff;border:1px solid rgba(8,60,69,.11);border-radius:22px;box-shadow:0 18px 48px rgba(0,28,40,.08)}
.profile-identity{overflow:hidden;position:sticky;top:116px}
.profile-portrait{position:relative;margin:0;min-height:410px;background:linear-gradient(145deg,#edf3f2,#fff);overflow:hidden}
.profile-portrait::after{content:"";position:absolute;inset:auto 0 0;height:43%;background:linear-gradient(transparent,rgba(3,25,35,.76))}
.profile-portrait img{width:100%;height:430px;object-fit:cover;object-position:center top;transition:transform .7s var(--premium-ease)}
.profile-identity:hover .profile-portrait img{transform:scale(1.025)}
.profile-portrait__badge{position:absolute;z-index:2;left:18px;bottom:17px;padding:8px 12px;border:1px solid rgba(255,255,255,.23);border-radius:999px;background:rgba(3,25,35,.68);color:#fff;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(8px)}
.profile-identity__body{padding:25px}.profile-identity__body h2{margin:0 0 12px;font-size:27px;line-height:1.12}.profile-role{margin:0 0 22px;color:var(--teal);font-size:14px;font-weight:800;line-height:1.5}
.profile-facts{display:grid;margin:0;border-top:1px solid var(--line)}.profile-facts>div{display:grid;grid-template-columns:1fr;gap:3px;padding:13px 0;border-bottom:1px solid var(--line)}.profile-facts dt{color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.profile-facts dd{margin:0;color:#17343c;font-size:13px;font-weight:750}
.profile-main{padding:clamp(28px,3.5vw,48px)}.profile-section+.profile-section{margin-top:45px;padding-top:42px;border-top:1px solid var(--line)}.profile-section h2{margin:0 0 20px;font-size:clamp(29px,3vw,43px);line-height:1.12;letter-spacing:-.035em}.profile-section>p{color:#304a53;font-size:16px;line-height:1.85}.profile-lead{font-size:19px!important;line-height:1.72!important;color:#17343c!important}.profile-section__head{display:flex;align-items:end;justify-content:space-between;gap:25px}.profile-section__number{color:rgba(14,124,120,.15);font-size:74px;font-weight:900;line-height:.9}
.career-timeline{position:relative;display:grid;gap:0;margin-top:8px}.career-timeline::before{content:"";position:absolute;left:7px;top:8px;bottom:15px;width:2px;background:linear-gradient(var(--gold),var(--mint))}.career-timeline article{position:relative;display:grid;grid-template-columns:25px 1fr;gap:15px;padding:5px 0 25px}.career-dot{position:relative;z-index:1;width:16px;height:16px;margin-top:5px;border:4px solid #fff;border-radius:50%;background:var(--teal);box-shadow:0 0 0 2px rgba(14,124,120,.22)}.career-timeline small{display:block;margin-bottom:4px;color:#9a721c;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.career-timeline h3{margin:0 0 5px;color:#17343c;font-size:18px}.career-timeline p{margin:0;color:#587078;font-size:14px;line-height:1.65}
.leadership-focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.leadership-focus-grid article{position:relative;min-height:230px;padding:24px 21px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(155deg,#fff,#f4f9f8);overflow:hidden}.leadership-focus-grid article:hover{transform:translateY(-5px);border-color:#9bcfc7;box-shadow:0 16px 34px rgba(0,28,40,.09)}.leadership-focus-grid span{display:block;margin-bottom:22px;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.1em}.leadership-focus-grid h3{margin:0 0 10px;font-size:19px}.leadership-focus-grid p{margin:0;color:#587078;font-size:13px;line-height:1.65}
.profile-motto{position:relative;margin:45px 0 0;padding:31px 34px 31px 72px;border:0;border-radius:19px;background:linear-gradient(135deg,#052832,#0a5b5c);color:#fff;box-shadow:0 17px 38px rgba(3,25,35,.18)}.profile-motto span{position:absolute;left:25px;top:18px;color:#f1c75e;font-family:Georgia,serif;font-size:62px;line-height:1}.profile-motto p{margin:0;font-size:clamp(21px,2vw,29px);font-weight:800;line-height:1.4}
@media(max-width:1240px){.profile-layout{grid-template-columns:290px minmax(0,1fr)}.profile-layout>.related-card{grid-column:1/-1}.profile-identity{position:static}.profile-layout>.related-card .related-links{grid-template-columns:repeat(3,1fr)}}
@media(max-width:860px){.profile-layout{grid-template-columns:1fr}.profile-identity{display:grid;grid-template-columns:210px 1fr}.profile-portrait{min-height:290px}.profile-portrait img{height:100%;min-height:290px}.leadership-focus-grid{grid-template-columns:1fr}.profile-layout>.related-card .related-links{grid-template-columns:1fr}}
@media(max-width:560px){.profile-identity{display:block}.profile-portrait img{height:390px}.profile-main{padding:24px}.profile-section__head{align-items:start}.profile-section__number{font-size:52px}.profile-motto{padding:28px 24px 28px 55px}.profile-motto span{left:18px}}

/* MPS v9.3.1 profile visibility safeguard */
body.template-leadership .profile-layout > *{opacity:1!important;visibility:visible!important;transform:none!important}

/* =========================================================
   MPS COMPONENT LIBRARY v1.2 — HALL OF PRESIDENTS
========================================================= */
.presidents-page{background:linear-gradient(180deg,#f8fbfa 0%,#eef5f3 100%)}
.current-president{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);min-height:520px;margin-bottom:76px;border:1px solid rgba(8,60,69,.12);border-radius:28px;background:#fff;box-shadow:0 24px 65px rgba(0,28,40,.11);overflow:hidden}
.current-president__image{position:relative;min-height:520px;background:#edf4f3;overflow:hidden}.current-president__image::after{content:"";position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(transparent,rgba(3,25,35,.28))}.current-president__image img{width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center top;transition:transform .8s var(--premium-ease)}.current-president:hover .current-president__image img{transform:scale(1.025)}
.current-president__content{display:flex;flex-direction:column;justify-content:center;padding:clamp(34px,5vw,74px)}.current-president__content h2{max-width:720px;margin:8px 0 9px;font-size:clamp(38px,4.8vw,68px);line-height:1.02;letter-spacing:-.045em}.current-president__role{margin:0 0 25px;color:var(--teal);font-size:16px;font-weight:850}.current-president__content>p:last-of-type{max-width:700px;color:#425c65;font-size:16px;line-height:1.8}
.current-president__facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 25px}.current-president__facts span{padding:16px 17px;border:1px solid var(--line);border-radius:14px;background:#f8fbfa}.current-president__facts small,.current-president__facts strong{display:block}.current-president__facts small{margin-bottom:5px;color:#8f6b1d;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.current-president__facts strong{color:#183640;font-size:13px;line-height:1.45}.current-president__actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:8px}.btn.outline-dark{border-color:#b9cccf;background:#fff;color:#17343c}.btn.outline-dark:hover{border-color:var(--teal);background:#eef7f5;color:#075d59}
.presidents-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,460px);gap:38px;align-items:end;margin-bottom:30px}.presidents-section-head h2{margin:8px 0 0;font-size:clamp(34px,4vw,55px);line-height:1.08;letter-spacing:-.04em}.presidents-section-head>p{margin:0;color:#657a81;font-size:13px;line-height:1.7}
.presidents-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.president-card{position:relative;border:1px solid rgba(8,60,69,.11);border-radius:19px;background:#fff;box-shadow:0 12px 34px rgba(0,28,40,.065);overflow:hidden;transition:transform .38s var(--premium-ease),box-shadow .38s ease,border-color .25s ease}.president-card:hover{transform:translateY(-7px);border-color:#99cbc3;box-shadow:0 23px 48px rgba(0,28,40,.12)}
.president-card__portrait{position:relative;display:grid;place-items:center;aspect-ratio:4/4.4;background:linear-gradient(145deg,#f7fbfa,#dfeae8);overflow:hidden}.president-card__portrait img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center top}.president-card__portrait span{position:relative;color:#3d6668;font-size:clamp(42px,4vw,70px);font-weight:900;letter-spacing:-.06em}.president-card__portrait small{position:absolute;z-index:2;right:11px;bottom:10px;padding:6px 8px;border-radius:999px;background:rgba(3,25,35,.76);color:#fff;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.president-card__body{position:relative;min-height:142px;padding:20px}.president-card__number{position:absolute;right:16px;top:12px;color:rgba(14,124,120,.12);font-size:35px;font-weight:950;line-height:1}.president-card__body h3{position:relative;max-width:82%;margin:0 0 10px;color:#17343c;font-size:16px;line-height:1.35}.president-card__body p{margin:0;color:#9a721c;font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
.presidents-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:66px;border-radius:22px;background:linear-gradient(135deg,#052832,#0a555b);box-shadow:0 20px 46px rgba(3,25,35,.18);overflow:hidden}.presidents-stats>div{padding:28px 22px;text-align:center;border-right:1px solid rgba(255,255,255,.12)}.presidents-stats>div:last-child{border-right:0}.presidents-stats strong,.presidents-stats span{display:block}.presidents-stats strong{color:#f1c75e;font-size:42px;line-height:1}.presidents-stats span{margin-top:9px;color:#d9e7e9;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:1120px){.presidents-grid{grid-template-columns:repeat(3,1fr)}.current-president{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:820px){.current-president{grid-template-columns:1fr}.current-president__image,.current-president__image img{min-height:520px}.presidents-section-head{grid-template-columns:1fr}.presidents-grid{grid-template-columns:repeat(2,1fr)}.presidents-stats{grid-template-columns:repeat(2,1fr)}.presidents-stats>div:nth-child(2){border-right:0}.presidents-stats>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}}
@media(max-width:520px){.current-president__image,.current-president__image img{min-height:430px}.current-president__content{padding:28px 23px}.current-president__facts{grid-template-columns:1fr}.presidents-grid{grid-template-columns:1fr}.president-card{display:grid;grid-template-columns:125px 1fr}.president-card__portrait{aspect-ratio:auto;min-height:160px}.president-card__body{display:flex;min-height:160px;flex-direction:column;justify-content:center}.presidents-stats strong{font-size:35px}}

/* MPS v9.4.1 — Reusable back navigation for full-width internal pages */
.page-back-row{display:flex;align-items:center;margin:0 0 22px}
.page-back-btn{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 17px;border:1px solid rgba(8,60,69,.18);border-radius:999px;background:rgba(255,255,255,.92);color:#17343c;font-size:12px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;box-shadow:0 9px 24px rgba(0,28,40,.075);transition:transform .25s var(--premium-ease),border-color .25s ease,background .25s ease,box-shadow .25s ease}
.page-back-btn span:first-child{font-size:19px;line-height:1;transition:transform .25s var(--premium-ease)}
.page-back-btn:hover{transform:translateY(-2px);border-color:#79bdb4;background:#fff;color:#076a65;box-shadow:0 14px 30px rgba(0,28,40,.11)}
.page-back-btn:hover span:first-child{transform:translateX(-3px)}
.page-back-btn:focus-visible{outline:3px solid rgba(231,184,75,.55);outline-offset:3px}
@media(max-width:520px){.page-back-row{margin-bottom:17px}.page-back-btn{min-height:42px;padding:9px 15px;font-size:11px}}


/* v10.1.1 — Senarai Ahli Majlis: visual kad selaras dengan Senarai Presiden */
.template-council .council-directory{padding:72px 3vw 96px;background:linear-gradient(180deg,#f7faf9 0%,#edf5f3 100%)}
.template-council .council-directory>.container{width:min(1450px,100%);margin:auto}
.template-council .council-directory-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px}
.template-council .council-directory-head h2{margin:7px 0 8px;font-size:clamp(32px,4vw,55px);line-height:1.04;letter-spacing:-.045em;color:#17343c}
.template-council .council-directory-head p{margin:0;color:#687982}
.template-council .council-count{min-width:130px;padding:16px 19px;border:1px solid #d8e6e3;border-radius:18px;background:#fff;text-align:center;box-shadow:0 12px 30px rgba(0,28,40,.06)}
.template-council .council-count strong{display:block;font-size:34px;line-height:1;color:#0e7c78}
.template-council .council-count span{display:block;margin-top:5px;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#687982}
.template-council .council-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.template-council .council-card{position:relative;display:block;min-height:0;border:1px solid rgba(8,60,69,.11);border-radius:19px;background:#fff;box-shadow:0 12px 34px rgba(0,28,40,.065);overflow:hidden;transition:transform .38s cubic-bezier(.2,.8,.2,1),box-shadow .38s ease,border-color .25s ease}
.template-council .council-card:hover{transform:translateY(-7px);border-color:#99cbc3;box-shadow:0 23px 48px rgba(0,28,40,.12)}
.template-council .council-card__number{position:absolute;z-index:3;right:15px;top:auto;bottom:15px;color:rgba(14,124,120,.12);font-size:35px;font-weight:950;line-height:1}
.template-council .council-card__portrait{position:relative;display:grid;place-items:center;width:100%;min-height:0;aspect-ratio:4/4.25;background:linear-gradient(145deg,#f7fbfa,#dfeae8);overflow:hidden}
.template-council .council-card__portrait img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center top}
.template-council .council-card__portrait span{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(14,124,120,.2);font-size:2rem;font-weight:950;color:#35636a;background:rgba(255,255,255,.64)}
.template-council .council-card__content{position:relative;z-index:1;min-height:255px;padding:20px 20px 25px}
.template-council .council-card__content h3{max-width:88%;margin:0 0 15px;color:#17343c;font-size:16px;line-height:1.35;text-transform:none}
.template-council .committee-group{margin-top:13px;padding-top:12px;border-top:1px solid #e3ecea}
.template-council .committee-group:first-of-type{margin-top:0}
.template-council .committee-group h4{margin:0 0 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#0e7c78}
.template-council .committee-group.chair h4{color:#9a721c}
.template-council .committee-group ul{margin:0;padding-left:16px}
.template-council .committee-group li{margin:4px 0;color:#334c54;font-size:12px;line-height:1.35}
.template-council .committee-empty{margin:0;color:#687982;font-size:13px;font-style:italic}
@media(max-width:1180px){.template-council .council-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.template-council .council-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.template-council .council-directory{padding:50px 5vw 75px}.template-council .council-directory-head{align-items:flex-start;flex-direction:column}.template-council .council-grid{grid-template-columns:1fr}.template-council .council-card{display:grid;grid-template-columns:125px 1fr}.template-council .council-card__portrait{aspect-ratio:auto;min-height:190px}.template-council .council-card__content{min-height:190px;padding:18px}.template-council .council-card__number{right:12px;bottom:12px}.template-council .committee-group li{font-size:11px}}

/* v10.2.0 — Mantan Ahli Majlis */
.former-service-date{margin:.45rem 0 1rem;color:var(--muted);font-size:.86rem;font-weight:700}.service-end-editor summary{white-space:nowrap}

/* v10.4.1 — ruang kandungan direktori Ahli Majlis */
.template-council .council-directory{padding:78px 0 96px}
.template-council .council-directory>.container{width:min(1450px,100%);margin-inline:auto;padding-inline:clamp(28px,4vw,64px);box-sizing:border-box}
@media(max-width:560px){.template-council .council-directory{padding:52px 0 75px}.template-council .council-directory>.container{padding-inline:20px}}

/* v10.5.0 Carta Organisasi CMS */
.org-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.org-form-grid .full{grid-column:1/-1}
.org-hero{min-height:430px}.org-public-section{padding:78px 0 100px;background:linear-gradient(180deg,#f5f9f8 0,#fff 100%)}.org-heading{max-width:820px;margin:0 auto 42px;text-align:center}.org-heading h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.04;margin:10px 0 16px}.org-heading>p:last-child{color:var(--muted);font-size:1.05rem}.org-heading.compact{margin-bottom:28px}
.org-leadership{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;margin-bottom:64px}.org-person-card{width:min(100%,340px);display:flex;align-items:center;gap:16px;padding:18px;background:#fff;border:1px solid #dce8e7;border-radius:22px;box-shadow:0 18px 45px rgba(3,25,35,.09)}.org-person-card:first-child{width:min(100%,440px);border-color:#d9b65a;box-shadow:0 22px 55px rgba(3,25,35,.14)}.org-person-card img{width:84px;height:96px;object-fit:cover;border-radius:16px;background:#edf5f3}.org-person-card span,.org-sector-card header span{font-size:.72rem;letter-spacing:.15em;font-weight:800;color:var(--teal)}.org-person-card h3{margin:5px 0;font-size:1.05rem}.org-person-card p{margin:0;color:var(--muted);font-size:.86rem}
.org-sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.org-sector-card{background:#fff;border:1px solid #dce8e7;border-radius:24px;overflow:hidden;box-shadow:0 14px 40px rgba(3,25,35,.07)}.org-sector-card header{padding:22px 24px;background:linear-gradient(135deg,#052630,#0d7774);color:#fff}.org-sector-card header span{color:#efca70}.org-sector-card header h3{margin:7px 0 0;font-size:1.15rem}.org-unit-list{padding:10px 18px}.org-unit{display:flex;gap:13px;align-items:center;padding:15px 4px;border-bottom:1px solid #e6eeee}.org-unit:last-child{border-bottom:0}.org-unit img{width:54px;height:60px;object-fit:cover;border-radius:12px;background:#edf4f3}.org-unit div{min-width:0;display:flex;flex-direction:column}.org-unit small{color:var(--teal);font-weight:800;font-size:.73rem;text-transform:uppercase}.org-unit b{font-size:.92rem;margin:3px 0}.org-unit span{color:var(--muted);font-size:.76rem}.org-direct{margin-top:60px}.org-direct-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.org-direct-grid .org-unit{background:#fff;border:1px solid #dce8e7;border-radius:18px;padding:16px}
@media(max-width:1050px){.org-sector-grid,.org-direct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.org-form-grid,.org-sector-grid,.org-direct-grid{grid-template-columns:1fr}.org-public-section{padding:52px 0 75px}.org-person-card,.org-person-card:first-child{width:100%}.org-hero{min-height:390px}}
