/* Multi-page layer: keeps the original green/gold theme and only adds page-specific layout. */
.mp-page-banner{background:linear-gradient(135deg,var(--green-900),#0b5a43);color:#fff;padding:54px 0 48px;border-bottom:4px solid var(--gold)}.mp-page-banner .kicker{color:#f1d680}.mp-page-banner h1{font-family:Georgia,serif;font-size:clamp(38px,6vw,62px);line-height:1.03;margin:8px 0 12px}.mp-page-banner p{max-width:780px;color:#dcebe6;font-size:18px;line-height:1.7;margin:0}.nav a.mp-active{color:var(--green-900);font-weight:900;position:relative}.nav a.mp-active:after{content:"";position:absolute;left:8px;right:8px;bottom:-11px;height:3px;border-radius:99px;background:var(--gold)}
.stats-four{grid-template-columns:repeat(4,1fr)!important}.preserve-lines,#contact-hours{white-space:pre-line}.about-wide-copy{max-width:1050px}.about-two-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.about-info-card,.why-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 8px 28px rgba(7,49,36,.05)}.about-info-card h2,.why-card h3{color:var(--green-900);margin:8px 0 12px}.about-info-card p,.why-card p{color:var(--muted);line-height:1.75;margin:0}.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.why-card>span{display:inline-block;font-family:Georgia,serif;font-size:30px;font-weight:800;color:var(--gold);margin-bottom:10px}
.academic-groups{display:grid;gap:24px}.academic-group{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 28px rgba(7,49,36,.05)}.academic-group-head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:22px 24px;background:#f7faf8;border-bottom:1px solid var(--line)}.academic-group-head h3{margin:0;color:var(--green-900);font-family:Georgia,serif;font-size:25px}.academic-group-head p{margin:5px 0 0;color:var(--muted)}.academic-group-head>span{color:var(--green-700);font-weight:800}.program-table{display:grid}.program-row{display:grid;grid-template-columns:1.2fr .45fr 1.3fr;gap:20px;padding:18px 24px;border-bottom:1px solid var(--line);align-items:start}.program-row:last-child{border-bottom:0}.program-row strong{display:block;color:var(--green-900)}.program-row small{display:block;color:var(--muted);margin-top:5px;line-height:1.55}.program-row>span{color:var(--muted);line-height:1.55}
.home-admission-card{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.home-admission-card h3{margin:5px 0 8px;color:var(--green-900)}
.faculty-page{background:#f7faf8}.faculty-page .staff-tools{position:static;top:auto;margin-bottom:24px}.faculty-page #staff-list{min-height:160px}
.facility-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}.facility-detail-card{display:flex;flex-direction:column;height:100%;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(7,49,36,.06)}.facility-photo-grid{display:grid;width:100%;height:190px;min-height:190px;background:#eaf2ee;overflow:hidden}.facility-photo-grid.one{grid-template-columns:1fr}.facility-photo-grid.two{grid-template-columns:1fr 1fr;gap:2px}.facility-photo-grid img{display:block;width:100%;height:190px;object-fit:cover}.facility-placeholder{place-items:center}.facility-placeholder span{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#dce9e2;color:var(--green-800)}.facility-placeholder svg{width:34px;height:34px;fill:currentColor}.facility-detail-copy{display:flex;flex:1;flex-direction:column;padding:20px 22px 24px;background:#fff}.facility-detail-copy h3,.facility-preview-card h3{margin:0 0 10px;color:var(--green-900);font-family:Georgia,serif;font-size:20px;line-height:1.25}.facility-detail-copy p,.facility-preview-card p{margin:0;color:var(--muted);line-height:1.65;font-size:14px}.facility-detail-copy .card-tag{margin-bottom:8px}.home-facility-link{text-decoration:none;color:inherit}.facility-preview-card{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:0 20px 22px!important}.facility-preview-card .facility-photo-grid{width:calc(100% + 40px);height:155px;min-height:155px;margin:0 -20px 18px}.facility-preview-card .facility-photo-grid img{height:155px}.facility-preview-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(7,49,36,.09)}#home-facilities{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.mp-event-gallery .gallery-item,.mp-gallery-card{background:#fff;border:1px solid var(--line);min-height:0;box-shadow:0 8px 22px rgba(7,49,36,.05)}.mp-gallery-card img{height:235px}.mp-gallery-card figcaption{position:static;background:#fff;color:var(--green-900);padding:15px 17px;display:grid;gap:4px}.mp-gallery-card figcaption strong{font-size:15px}.mp-gallery-card figcaption small{color:var(--green-700);font-weight:700}.mp-gallery-card figcaption span{color:var(--muted);font-size:13px;line-height:1.5}
.contact-simple-list{display:grid;gap:18px;margin:25px 0}.contact-simple-list>div{display:grid;gap:4px}.contact-simple-list strong{color:var(--green-900)}.contact-simple-list a,.contact-simple-list span{color:var(--muted);line-height:1.7}.map-direction-button{margin-top:14px;text-decoration:none}.feedback-wrap{max-width:980px}.feedback-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 8px 28px rgba(7,49,36,.05)}.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feedback-grid .full{grid-column:1/-1}.feedback-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.feedback-submit-row{display:flex;align-items:center;gap:16px}.feedback-status{color:var(--green-800);font-weight:700}
.developer-credit{opacity:.9}.admin-note-small{color:var(--muted);font-size:13px;line-height:1.5;margin-top:6px}.admin-panel-note{background:#f7fbf9;border:1px solid var(--line);border-radius:12px;padding:14px 16px;color:var(--muted);margin:10px 0 18px}.why-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-login-page{min-height:100vh;display:grid;place-items:center;background:#eef5f1;padding:24px}.admin-login-page .login-card{position:static;transform:none;max-width:520px;width:100%}.toast{position:fixed;right:22px;bottom:22px;background:var(--green-900);color:#fff;padding:12px 18px;border-radius:10px;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s;z-index:9999}.toast.show{opacity:1;transform:none}.feedback-admin-list{display:grid;gap:14px}.feedback-admin-item{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}.feedback-admin-item.unread{border-left:4px solid var(--gold);background:#fffdf7}.feedback-admin-head,.feedback-admin-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.feedback-admin-head small,.feedback-admin-meta{color:var(--muted);font-size:13px}.feedback-admin-item p{white-space:pre-wrap;color:#35564a;line-height:1.65}.page-text-group{margin-bottom:26px}
@media(max-width:1150px){.facility-detail-grid,#home-facilities{grid-template-columns:repeat(2,minmax(0,1fr))}.why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.nav a.mp-active:after{display:none}.mp-page-banner{padding:38px 0 34px}.mp-page-banner p{font-size:16px}.home-admission-card{align-items:flex-start;flex-direction:column}.about-two-grid,.why-admin-grid{grid-template-columns:1fr}.program-row{grid-template-columns:1fr}.program-row>span{padding-top:4px}.feedback-grid{grid-template-columns:1fr}.feedback-grid .full{grid-column:auto}}
@media(max-width:650px){.why-grid,.facility-detail-grid,#home-facilities{grid-template-columns:1fr}.facility-photo-grid{height:220px;min-height:220px}.facility-photo-grid img{height:220px}.stats-four{grid-template-columns:1fr!important}}


/* ===== RD final polish: isolated multi-page components ===== */
.topbar{display:block!important;background:#043c2e!important}
.v32-topbar{min-height:40px!important}
.top-contact-icon{display:inline-grid;place-items:center}
.top-contact-icon svg,.top-fb-btn svg{width:16px;height:16px;fill:currentColor}

/* Admissions */
.mp-admission-route-grid,.admission-route-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.mp-route-card{display:flex;flex-direction:column;min-height:330px;background:#fff;border:1px solid #d9e6df;border-top:4px solid var(--gold);border-radius:18px;padding:24px;box-shadow:0 10px 26px rgba(7,49,36,.06);color:#29463d}
.mp-route-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.mp-route-icon{width:52px;height:52px;border-radius:14px;background:#edf6f2;color:var(--green-800);display:grid;place-items:center;font-weight:900}
.mp-route-icon svg{width:28px;height:28px;fill:currentColor}
.mp-route-number{font-family:Georgia,serif;font-size:30px;font-weight:800;color:#d6e7df}
.mp-route-card h3{font-family:Georgia,serif;color:var(--green-900);font-size:24px;line-height:1.25;margin:10px 0 12px}
.mp-route-card p{color:var(--muted);line-height:1.65;margin:0 0 20px}
.mp-route-btn{margin-top:auto;align-self:flex-start;text-decoration:none}

/* Facilities: equal cards, media above, copy below */
.facility-detail-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;grid-auto-rows:1fr}
.mp-facility-card{display:flex;flex-direction:column;height:100%;min-height:355px;background:#fff;border:1px solid #dce8e2;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(7,49,36,.06)}
.mp-facility-media{display:grid;grid-template-columns:1fr;width:100%;height:180px;min-height:180px;background:#eaf2ee;overflow:hidden}
.mp-facility-media.two{grid-template-columns:1fr 1fr;gap:2px}
.mp-facility-media img{display:block;width:100%;height:180px;object-fit:cover}
.mp-facility-empty{place-items:center}
.mp-facility-empty svg{width:48px;height:48px;fill:#6e9183}
.mp-facility-body{display:flex;flex:1;flex-direction:column;padding:18px 19px 22px;background:#fff}
.mp-facility-body h3{font-family:Georgia,serif;font-size:19px;line-height:1.3;color:var(--green-900);margin:7px 0 9px}
.mp-facility-body p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}

/* Home facility summary: exactly four equal cards */
#home-facilities{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.mp-home-facility-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid #dce8e2;border-radius:16px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 8px 22px rgba(7,49,36,.05)}
.mp-home-facility-card>img,.mp-home-facility-placeholder{width:100%;height:165px;object-fit:cover;background:#eaf2ee}
.mp-home-facility-card>div{padding:18px 19px 22px}
.mp-home-facility-card h3{font-family:Georgia,serif;color:var(--green-900);font-size:19px;margin:0 0 8px}
.mp-home-facility-card p{color:var(--muted);line-height:1.6;font-size:14px;margin:0}

/* Gallery & events: never overlay text on images */
.mp-event-gallery,#home-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
#home-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mp-event-card{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fff;border:1px solid #dce8e2;border-radius:16px;box-shadow:0 8px 22px rgba(7,49,36,.06)}
.mp-event-card>img,.mp-event-placeholder{display:block;width:100%;height:220px;object-fit:cover;background:#eaf2ee}
.mp-event-placeholder{display:grid;place-items:center;color:#55766a;font-weight:800}
.mp-event-body{position:static!important;display:flex;flex:1;flex-direction:column;padding:16px 18px 20px;background:#fff!important;color:#29463d!important}
.mp-event-body h3{font-family:Georgia,serif;color:var(--green-900);font-size:18px;line-height:1.3;margin:7px 0 5px}
.mp-event-body time{font-size:13px;color:var(--green-700);font-weight:800;margin-bottom:8px}
.mp-event-body p{font-size:13.5px;line-height:1.55;color:var(--muted);margin:0}

/* Feedback: compact professional card */
.feedback-wrap{max-width:900px!important}
.feedback-card{background:#fff;border:1px solid #dce8e2;border-radius:20px;padding:30px;box-shadow:0 10px 30px rgba(7,49,36,.06)}
.feedback-form{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.feedback-grid .full{grid-column:1/-1}
.feedback-form .field{display:grid;gap:7px;margin:0}
.feedback-form .field>span{font-size:13px;font-weight:800;color:var(--green-900)}
.feedback-form input,.feedback-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfded7;border-radius:11px;background:#fbfdfc;padding:12px 13px;font:inherit;color:#23463a;outline:none}
.feedback-form input:focus,.feedback-form textarea:focus{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(11,105,75,.08)}
.feedback-form textarea{min-height:150px;resize:vertical}
.feedback-hp,[hidden].feedback-hp{display:none!important}
.feedback-submit-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:14px}
#feedback-submit{min-width:170px}
.feedback-status{font-size:13px}

/* Footer feedback shortcut */
.footer-feedback-btn{display:inline-flex;margin-top:10px;padding:9px 13px;border:1px solid rgba(255,255,255,.28);border-radius:10px;color:#fff!important;text-decoration:none;font-weight:800;font-size:13px}
.footer-feedback-btn:hover{background:rgba(255,255,255,.08)}

/* Modern fallback avatars are bundled with this package; keep real photos as cover. */
.faculty-person-photo{background:#f1f6f3}

/* Keep page components readable even if old cached site.css has legacy rules. */
#gallery-list .mp-event-card,#home-gallery .mp-event-card{position:static!important;min-height:0!important}
#facilities-list .mp-facility-card *{position:static}
#facilities-list .mp-facility-media{position:relative!important}
#facilities-list .mp-facility-media img{position:static!important}

@media(max-width:1100px){
  .facility-detail-grid,#home-facilities{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #home-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .mp-admission-route-grid,.admission-route-grid{grid-template-columns:1fr!important}
  .mp-event-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .facility-detail-grid,#home-facilities,.mp-event-gallery,#home-gallery{grid-template-columns:1fr!important}
  .feedback-card{padding:20px}
  .feedback-grid{grid-template-columns:1fr}
  .feedback-grid .full{grid-column:auto}
}


/* RD final visual lock: consistent cards, readable copy, no image overlays */
.facility-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.mp-facility-card{height:100%!important;min-height:390px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.mp-facility-media{height:190px!important;min-height:190px!important;position:relative!important;overflow:hidden!important;background:#eaf2ee!important}
.mp-facility-media img{width:100%!important;height:190px!important;object-fit:cover!important;position:static!important;display:block!important}
.mp-facility-body{position:static!important;flex:1!important;background:#fff!important;padding:18px 18px 22px!important;color:var(--green-900)!important}
.mp-facility-body h3,.mp-facility-body p,.mp-facility-body .card-tag{position:static!important;display:block!important}
.mp-facility-body p{color:var(--muted)!important;line-height:1.6!important;overflow:visible!important}
#home-facilities{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.mp-home-facility-card{height:100%!important;min-height:330px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.mp-home-facility-card>img,.mp-home-facility-placeholder{height:170px!important;min-height:170px!important;object-fit:cover!important;display:block!important}
.mp-home-facility-card>div:last-child{position:static!important;flex:1!important;background:#fff!important;padding:18px 18px 22px!important}
.mp-home-facility-card h3,.mp-home-facility-card p{position:static!important;color:inherit!important}
.mp-home-facility-card p{color:var(--muted)!important;line-height:1.55!important}
.mp-event-gallery,#home-gallery{align-items:stretch!important}
.mp-event-card{height:100%!important;overflow:hidden!important}
.mp-event-card>img{height:220px!important;object-fit:cover!important;display:block!important}
.mp-event-body{position:static!important;background:#fff!important;color:var(--green-900)!important;overflow:visible!important}
.mp-event-body p{display:block!important;overflow:visible!important;color:var(--muted)!important;line-height:1.55!important}
.feedback-card{max-width:900px;margin:0 auto;background:#fff!important;border:1px solid #dce8e2!important;border-radius:20px!important;padding:30px!important;box-shadow:0 10px 30px rgba(7,49,36,.06)!important}
.feedback-form .field>span{display:block!important;margin-bottom:7px!important}
.feedback-form input,.feedback-form textarea{display:block!important;width:100%!important;border-radius:11px!important}
.feedback-hp,[hidden].feedback-hp{display:none!important}
@media(max-width:1200px){.facility-detail-grid,#home-facilities{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.facility-detail-grid,#home-facilities{grid-template-columns:1fr!important}.feedback-card{padding:20px!important}}

/* Final small polish: concise Academics, separated Events/Gallery, contact icons */
.academic-groups{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:start}.academic-summary-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(7,49,36,.05)}.academic-summary-head{display:flex;justify-content:space-between;gap:14px;align-items:end;padding:20px 22px;background:#f7faf8;border-bottom:1px solid var(--line)}.academic-summary-head h3{font:700 25px/1.15 Georgia,serif;color:var(--green-900);margin:0}.academic-summary-head p{margin:6px 0 0;color:var(--muted);font-size:14px}.academic-summary-head>span{font-weight:800;color:var(--green-700);font-size:13px;white-space:nowrap}.academic-summary-list{list-style:none;margin:0;padding:5px 22px 10px}.academic-summary-list li{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}.academic-summary-list li:last-child{border-bottom:0}.academic-summary-list strong{color:var(--green-900);font-size:15px}.academic-summary-list span{color:var(--muted);font-size:13px;white-space:nowrap}.contact-icon-link{display:inline-flex!important;align-items:center;gap:9px;text-decoration:none}.contact-inline-icon{width:27px;height:27px;border-radius:50%;display:inline-grid;place-items:center;background:var(--green-700);color:#fff;flex:0 0 27px}.contact-inline-icon svg{width:14px;height:14px;fill:currentColor}.footer-icon-link{color:inherit!important}.footer-icon-link .contact-inline-icon{width:24px;height:24px;flex-basis:24px;background:rgba(255,255,255,.12)}.footer-icon-link .contact-inline-icon svg{width:12px;height:12px}.contact-simple-list .contact-icon-link{margin-top:5px}@media(max-width:900px){.academic-groups{grid-template-columns:1fr!important}}

/* Final RD polish: clearer contacts, professional academics, separated home event/gallery */
.contact-inline-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;background:#0b6b50!important;color:#fff!important;box-shadow:0 2px 7px rgba(7,49,36,.15)}
.contact-inline-icon svg{width:15px!important;height:15px!important;display:block!important;fill:#fff!important}
.contact-inline-icon svg path{fill:#fff!important}
.top-contact-icon svg path,.top-fb-btn svg path{fill:currentColor!important}
.contact-phone-stack{display:grid;gap:8px;margin-top:6px}
.contact-phone-stack .contact-icon-link{color:var(--muted);width:max-content;max-width:100%}
.contact-phone-stack b{color:var(--green-900)}

.academic-live-card{padding:24px!important;min-height:100%;border-top:4px solid var(--gold)!important}
.academic-live-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.academic-live-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#e9f3ee;color:var(--green-800);font-weight:900;flex:0 0 52px}
.academic-live-head h3{font:700 27px/1.12 Georgia,serif;color:var(--green-900);margin:6px 0 0}
.academic-live-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.academic-live-list li{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dce8e2;border-radius:10px;background:#f6faf8}
.academic-live-list strong{color:var(--green-900);font-size:15px}
.academic-dot{color:#0a8b62;font-weight:900}
.academic-live-meta{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:12px}
.academic-live-meta>div{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:start}
.academic-live-meta b{font-size:13px;color:var(--green-900)}
.academic-live-meta span{font-size:13px;color:var(--muted);line-height:1.55}

.home-life-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:24px;align-items:start}
.home-life-block{min-width:0}
.home-life-subhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.home-life-subhead h3{font:700 24px/1.2 Georgia,serif;color:var(--green-900);margin:0}
.home-life-subhead a{font-size:13px;font-weight:800;color:var(--green-700);text-decoration:none;white-space:nowrap}
#home-event .mp-event-card{max-width:100%;min-height:100%}
#home-event .mp-event-card>img{height:250px!important}
#home-event .mp-event-body{padding:17px 18px 20px!important}
.home-gallery-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-gallery-preview .mp-event-card>img{height:170px!important}
.home-gallery-preview .mp-event-body{padding:13px 14px 16px!important}
.home-gallery-preview .mp-event-body .card-tag,.home-gallery-preview .mp-event-body time,.home-gallery-preview .mp-event-body p{display:none!important}
.home-gallery-preview .mp-event-body h3{font-size:16px;margin:0!important}

@media(max-width:1000px){
  .home-life-grid{grid-template-columns:1fr}
  .home-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .academic-live-card{padding:18px!important}
  .academic-live-head h3{font-size:23px}
  .academic-live-meta>div{grid-template-columns:1fr;gap:4px}
  .home-gallery-preview{grid-template-columns:1fr}
  #home-event .mp-event-card>img,.home-gallery-preview .mp-event-card>img{height:210px!important}
  .contact-phone-stack .contact-icon-link{width:100%}
}

/* FINAL VISUAL SAFETY LOCK — prevent any legacy/global img/svg rule from enlarging components */
#home-event{max-width:430px!important}
#home-event .mp-event-card{width:100%!important;max-width:430px!important;border-radius:16px!important;background:#fff!important;border:1px solid #dce8e2!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(7,49,36,.06)!important}
#home-event .mp-event-card>img{width:100%!important;height:230px!important;max-height:230px!important;object-fit:cover!important;display:block!important}
#home-event .mp-event-body{padding:16px 18px 18px!important;background:#fff!important}

.home-gallery-preview .mp-event-card{width:100%!important;min-width:0!important;background:#fff!important;border:1px solid #dce8e2!important;border-radius:14px!important;overflow:hidden!important}
.home-gallery-preview .mp-event-card>img{width:100%!important;height:165px!important;max-height:165px!important;object-fit:cover!important;display:block!important}

.mp-route-card{background:#fff!important;border:1px solid #dce8e2!important;border-radius:18px!important;padding:22px!important;overflow:hidden!important}
.mp-route-top{height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:14px!important}
.mp-route-icon{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;max-height:52px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#e9f3ee!important;color:#0b6b50!important;overflow:hidden!important}
.mp-route-icon svg{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;max-height:26px!important;display:block!important;fill:currentColor!important}

.facility-detail-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.mp-facility-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;min-height:350px!important;background:#fff!important;border:1px solid #dce8e2!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(7,49,36,.05)!important}
.mp-facility-media{width:100%!important;height:175px!important;min-height:175px!important;max-height:175px!important;overflow:hidden!important;background:#eaf2ee!important;display:grid!important;place-items:center!important}
.mp-facility-media.two{grid-template-columns:1fr 1fr!important;gap:2px!important}
.mp-facility-media img{width:100%!important;height:175px!important;min-height:175px!important;max-height:175px!important;object-fit:cover!important;display:block!important}
.mp-facility-empty svg{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;display:block!important;fill:#6e9183!important}
.mp-facility-body{padding:17px 18px 20px!important;background:#fff!important;flex:1!important}

.footer-contact-list .contact-inline-icon{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;max-height:26px!important;border-radius:50%!important;display:inline-grid!important;place-items:center!important;overflow:hidden!important;background:rgba(255,255,255,.13)!important;color:#fff!important}
.footer-contact-list .contact-inline-icon svg{width:13px!important;height:13px!important;min-width:13px!important;max-width:13px!important;min-height:13px!important;max-height:13px!important;display:block!important;fill:#fff!important}
.footer-contact-list .contact-inline-icon svg path{fill:#fff!important}
.contact-simple-list .contact-inline-icon{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;overflow:hidden!important}
.contact-simple-list .contact-inline-icon svg{width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;min-height:14px!important;max-height:14px!important}

.academic-groups{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
.academic-live-card{display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #dce8e2!important;border-top:4px solid var(--gold)!important;border-radius:18px!important;padding:22px!important;box-shadow:0 8px 22px rgba(7,49,36,.05)!important;overflow:hidden!important}
.academic-live-icon{width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;min-height:50px!important;max-height:50px!important}

@media(max-width:1100px){
  .facility-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .academic-groups{grid-template-columns:1fr!important}
  .home-life-grid{grid-template-columns:1fr!important}
  #home-event{max-width:100%!important}
  #home-event .mp-event-card{max-width:100%!important}
}
@media(max-width:650px){
  .facility-detail-grid{grid-template-columns:1fr!important}
  .mp-facility-media,.mp-facility-media img{height:200px!important;min-height:200px!important;max-height:200px!important}
  #home-event .mp-event-card>img{height:210px!important;max-height:210px!important}
  .home-gallery-preview{grid-template-columns:1fr!important}
}


/* LAST LIVE TOUCHUP */
.contact-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:24px!important;align-items:start!important}
.contact-card,.contact-map-block{background:#fff!important;border:1px solid #dce8e2!important;border-radius:20px!important;padding:28px!important;box-shadow:0 10px 30px rgba(7,49,36,.06)!important}
.contact-map-block{display:flex!important;flex-direction:column!important}
.contact-map-heading{margin-bottom:14px!important}
.college-map{display:block!important;width:100%!important;height:420px!important;min-height:420px!important;border:0!important;border-radius:16px!important;background:#eaf2ee!important}
.map-direction-button{align-self:flex-start!important;margin-top:14px!important}
.feedback-wrap,.feedback-card{max-width:none!important}

.home-life-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:start!important}
.home-life-block{min-width:0!important}
.home-life-block:first-child{grid-column:span 1!important}
.home-life-block:last-child{grid-column:span 3!important}
#home-event{max-width:none!important;width:100%!important}
#home-event .mp-event-card,.home-gallery-preview .mp-event-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;background:#fff!important;border:1px solid #dce8e2!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(7,49,36,.06)!important}
#home-event .mp-event-card>img,.home-gallery-preview .mp-event-card>img{display:block!important;width:100%!important;height:170px!important;min-height:170px!important;max-height:170px!important;object-fit:cover!important}
#home-event .mp-event-body,.home-gallery-preview .mp-event-body{padding:14px 15px 16px!important;min-height:88px!important;background:#fff!important}
#home-event .mp-event-body .card-tag,#home-event .mp-event-body time,#home-event .mp-event-body p,.home-gallery-preview .mp-event-body .card-tag,.home-gallery-preview .mp-event-body time,.home-gallery-preview .mp-event-body p{display:none!important}
#home-event .mp-event-body h3,.home-gallery-preview .mp-event-body h3{margin:0!important;font-size:16px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:44px!important}
.home-gallery-preview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}

@media(max-width:1100px){
  .contact-grid{grid-template-columns:1fr!important}
  .college-map{height:340px!important;min-height:340px!important}
  .home-life-grid{grid-template-columns:1fr!important}
  .home-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .home-gallery-preview{grid-template-columns:1fr!important}
  #home-event .mp-event-card>img,.home-gallery-preview .mp-event-card>img{height:210px!important;min-height:210px!important;max-height:210px!important}
}


/* FINAL COMBINED HOME LIFE ROW — stable nested grid */
.home-life-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.home-life-subhead{display:none!important}
.home-life-block{display:block!important;min-width:0!important}
.home-life-block:first-child{grid-column:span 1!important}
.home-life-block:last-child{grid-column:span 3!important}
#home-event{display:block!important;width:100%!important;max-width:none!important;height:100%!important}
.home-gallery-preview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;height:100%!important}
#home-event .mp-event-card,.home-gallery-preview .mp-event-card{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;margin:0!important;background:#fff!important;border:1px solid #dce8e2!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(7,49,36,.06)!important}
#home-event .mp-event-card>img,.home-gallery-preview .mp-event-card>img{display:block!important;width:100%!important;height:180px!important;min-height:180px!important;max-height:180px!important;object-fit:cover!important}
#home-event .mp-event-body,.home-gallery-preview .mp-event-body{padding:14px 15px 16px!important;min-height:88px!important;background:#fff!important}
#home-event .mp-event-body .card-tag,#home-event .mp-event-body time,#home-event .mp-event-body p,.home-gallery-preview .mp-event-body .card-tag,.home-gallery-preview .mp-event-body time,.home-gallery-preview .mp-event-body p{display:none!important}
#home-event .mp-event-body h3,.home-gallery-preview .mp-event-body h3{margin:0!important;font-size:16px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:44px!important}
@media(max-width:1000px){
 .home-life-grid{grid-template-columns:1fr!important}
 .home-life-block:first-child,.home-life-block:last-child{grid-column:auto!important}
 .home-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
 .home-gallery-preview{grid-template-columns:1fr!important}
 #home-event .mp-event-card>img,.home-gallery-preview .mp-event-card>img{height:210px!important;min-height:210px!important;max-height:210px!important}
}


/* CONTACT FINAL SIDE-BY-SIDE LOCK */
.contact-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:28px!important;
  align-items:stretch!important;
}
.contact-card,.contact-map-block{
  height:100%!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:1px solid #dce8e2!important;
  border-radius:20px!important;
  padding:28px!important;
  box-shadow:0 10px 30px rgba(7,49,36,.06)!important;
}
.contact-map-block{display:flex!important;flex-direction:column!important;min-width:0!important}
.contact-map-heading{margin:0 0 14px!important}
.college-map{
  display:block!important;
  width:100%!important;
  height:390px!important;
  min-height:390px!important;
  border:0!important;
  border-radius:15px!important;
  background:#eaf2ee!important;
}
.map-direction-button{align-self:flex-start!important;margin-top:14px!important}
.feedback-wrap{max-width:none!important;margin-top:0!important}
.feedback-card{max-width:none!important;width:100%!important;box-sizing:border-box!important}
@media(max-width:900px){
  .contact-grid{grid-template-columns:1fr!important;gap:20px!important}
  .contact-card,.contact-map-block{height:auto!important}
  .college-map{height:320px!important;min-height:320px!important}
}
@media(max-width:560px){
  .contact-card,.contact-map-block{padding:20px!important;border-radius:16px!important}
  .college-map{height:280px!important;min-height:280px!important}
}

/* CONTACT DESKTOP/TABLET FINAL BREAKPOINT FIX */
@media (min-width:701px){
  .contact-grid{
    display:grid!important;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:24px!important;
    align-items:stretch!important;
  }
  .contact-card,.contact-map-block{height:100%!important}
  .college-map{height:360px!important;min-height:360px!important}
}
@media (max-width:700px){
  .contact-grid{grid-template-columns:1fr!important;gap:18px!important}
  .contact-card,.contact-map-block{height:auto!important}
  .college-map{height:280px!important;min-height:280px!important}
}

/* CONTACT GUARANTEED DESKTOP FLEX — final */
@media (min-width:801px){
  .container.contact-grid{
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:24px!important;
    align-items:stretch!important;
  }
  .container.contact-grid>.contact-card{
    flex:0 0 calc(43% - 12px)!important;
    width:calc(43% - 12px)!important;
    max-width:calc(43% - 12px)!important;
    min-width:0!important;
    margin:0!important;
  }
  .container.contact-grid>.contact-map-block{
    flex:1 1 calc(57% - 12px)!important;
    width:calc(57% - 12px)!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  .container.contact-grid>.contact-map-block .college-map{
    width:100%!important;
    height:360px!important;
    min-height:360px!important;
  }
}
@media (max-width:800px){
  .container.contact-grid{display:block!important}
  .container.contact-grid>.contact-card,
  .container.contact-grid>.contact-map-block{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
  }
}
