/* Reference-led MCN institution hero. All visible labels are selectable HTML. */
.role-mcn .nav:not(.scrolled){background:transparent;border-bottom-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.role-mcn #role-top.mch-hero{position:relative;isolation:isolate;overflow:hidden;padding:142px 0 74px;min-height:706px;background:#eff6ff url('../img/roles/mcn-institution-hero-20261022.webp') center center/cover no-repeat}
.role-mcn #role-top>.mch-layout{position:relative;display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:25px;align-items:center;width:min(1440px,calc(100% - 80px));max-width:1440px;min-height:490px}
.mch-copy{position:relative;z-index:3;padding-bottom:1px}
.role-mcn #role-top h1{font-size:46px;font-weight:700;line-height:1.48;letter-spacing:-.045em;color:#12213d;margin:0 0 30px;white-space:nowrap;text-shadow:0 2px 16px #ffffffa6}
.role-mcn #role-top .mch-copy>p{max-width:610px;font-size:18px;line-height:1.85;color:#5e6f8c;text-wrap:pretty;text-shadow:0 1px 12px #ffffffc7}
.mch-capabilities{display:flex;align-items:center;justify-content:space-between;max-width:600px;gap:18px;margin-top:21px;color:#243755;font-size:16px;line-height:1.8;font-weight:550;white-space:nowrap}
.role-mcn #role-top .rp-actions{margin-top:37px;gap:16px}
.role-mcn #role-top .rp-actions .btn{height:49px;min-width:157px;border-radius:7px;font-size:16px;font-weight:550;padding:0 28px}
.role-mcn #role-top .rp-actions .btn-primary{background:#2f79ff;box-shadow:0 5px 14px #438aff12;gap:18px}
.role-mcn #role-top .rp-actions .btn-primary:hover{background:#216be9;transform:translateY(-2px)}
.role-mcn #role-top .rp-actions .rp-secondary{border-color:#558aff;background:#ffffffa3;color:#3879f5;box-shadow:none}
.role-mcn #role-top .rp-actions .rp-secondary:hover{background:#fff}
.mch-scene{position:relative;min-width:0;height:490px;isolation:isolate}
.mch-connections{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.mch-building-sign{position:absolute;top:7%;left:46%;z-index:2;transform:rotate(-9deg) skewX(-4deg);font-size:22px;line-height:1.3;font-weight:650;color:#4d6b95;text-shadow:0 2px 6px #fff;white-space:nowrap}
.mch-role{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;min-width:110px;padding:11px 14px 11px 10px;border:1px solid #ffffffc9;border-radius:16px;background:linear-gradient(120deg,#fffffff2,#f5faffb8);box-shadow:0 4px 16px #85add00a;transform:rotate(-7deg);transition:transform .25s,box-shadow .25s}
.mch-role strong{font-size:14px;line-height:1.5;font-weight:600;color:#4b618a;white-space:nowrap}
.mch-role-icon{display:grid;place-items:center;width:39px;height:42px;flex:none;border:1px solid #fff;border-radius:12px;background:#eaf4ff;color:#53a4f3;box-shadow:inset 0 1px 2px #fff}
.mch-role-icon>svg{display:block;width:26px;height:26px}
.mch-role-icon>img{width:39px;height:39px;object-fit:contain;border-radius:10px}
.mch-dark{background:#12151d;border-color:#12151d;box-shadow:none}.mch-blue{color:#53a3fb;background:linear-gradient(135deg,#ecf5ff,#d9edff80)}.mch-gold{color:#f8b737;background:linear-gradient(135deg,#fffaf0,#ffedc985)}.mch-mint{color:#10cba3;background:linear-gradient(135deg,#f1fffc,#c6f3e785)}.mch-pink{color:#fa588e;background:linear-gradient(135deg,#fff2f7,#ffe1eb85)}
.mch-role-public{left:12%;top:15%;transform:rotate(-9deg)}.mch-role-teacher{left:0;top:39%;transform:rotate(-7deg)}.mch-role-sales{left:6%;top:65%;transform:rotate(-5deg)}.mch-role-private{right:1%;top:7%;transform:rotate(-6deg)}.mch-role-assistant{right:-2%;top:31%;transform:rotate(-7deg)}.mch-role-student{right:3%;top:57%;transform:rotate(-7deg)}
@media(hover:hover) and (pointer:fine){.mch-role:hover{transform:translateY(-4px) rotate(0deg);box-shadow:0 9px 23px #719cd721}}
@media(min-width:1025px) and (max-width:1350px){.role-mcn #role-top h1{font-size:clamp(31px,calc(3.05 * var(--desktop-vw, 1vw)),39px);margin-bottom:25px}.role-mcn #role-top .mch-copy>p{font-size:16px;max-width:530px}.mch-capabilities{font-size:14px;gap:10px}.role-mcn #role-top .rp-actions .btn{min-width:145px;font-size:15px}.mch-role{gap:7px;padding:9px 11px 9px 8px;min-width:100px}.mch-role strong{font-size:13px}.mch-role-icon{width:35px;height:37px}.mch-role-icon>img{width:35px;height:35px}.mch-role-icon>svg{width:24px;height:24px}.mch-building-sign{font-size:19px;left:44%}}
@media(max-width:1024px){.role-mcn #role-top.mch-hero{padding:120px 0 45px;min-height:0;background-position:65% center}.role-mcn #role-top>.mch-layout{grid-template-columns:1fr;gap:20px;min-height:0;width:calc(100% - 48px)}.role-mcn #role-top h1{font-size:42px;white-space:normal}.role-mcn #role-top .mch-copy>p{max-width:630px}.mch-copy{padding:0 0 20px;background:linear-gradient(90deg,#f7fbffcc,#f7fbff88,transparent);border-radius:12px}.mch-scene{width:min(720px,100%);margin:auto;height:440px}.mch-building-sign{display:none}.role-mcn #role-top.mch-hero{background-size:auto 100%;background-position:58% center}.mch-capabilities{font-size:14px;max-width:590px}.mch-role strong{font-size:13px}.mch-role{min-width:100px}.mch-role-public{left:13%;top:8%}.mch-role-private{right:8%;top:3%}.mch-role-assistant{right:1%;top:28%}}
@media(max-width:680px){.role-mcn #role-top.mch-hero{padding-top:110px;background-size:auto 100%;background-position:66% center}.role-mcn #role-top>.mch-layout{width:calc(100% - 36px)}.role-mcn #role-top h1{font-size:29px;line-height:1.55;margin-bottom:22px}.role-mcn #role-top .mch-copy>p{font-size:14px;line-height:1.95}.mch-capabilities{flex-wrap:wrap;justify-content:flex-start;font-size:12px;gap:9px 17px}.role-mcn #role-top .rp-actions{margin-top:25px;gap:12px}.role-mcn #role-top .rp-actions .btn{height:45px;min-width:135px;font-size:14px;padding:0 20px}.mch-scene{height:300px}.mch-role{padding:7px;gap:5px;min-width:80px;border-radius:12px}.mch-role strong{font-size:10px}.mch-role-icon{width:28px;height:29px;border-radius:8px}.mch-role-icon>svg{width:20px;height:20px}.mch-role-icon>img{width:28px;height:28px}.mch-role-public{left:8%;top:7%}.mch-role-teacher{top:36%}.mch-role-sales{top:70%;left:4%}.mch-role-private{right:1%;top:0}.mch-role-student{right:0;top:62%}}
@media(prefers-reduced-motion:reduce){.mch-role,.role-mcn #role-top .btn{transition:none}.mch-role:hover{transform:none}}
@media(max-width:1350px){.mch-copy-break{display:none}}

/* Keep the building tied to the content width; full-bleed cover enlarged it on wide screens. */
@media(min-width:1025px){
 .role-mcn #role-top.mch-hero{background:radial-gradient(ellipse at 88% 35%,#dcecff,transparent 58%),linear-gradient(115deg,#fcfdff,#f0f7ff 60%,#e5f0ff)}
 .mch-scene::before{content:'';position:absolute;z-index:0;width:1390px;height:581px;right:-80px;bottom:-74px;background:url('../img/roles/mcn-institution-hero-20261022.webp') center/contain no-repeat;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 11%,#000 89%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 11%,#000 89%,transparent);-webkit-mask-composite:source-in}
 .mch-building-sign{top:24%;left:48%;font-size:21px}
 .mch-connections{top:35px;height:93%}
 .mch-role-public{top:22%;left:15%}.mch-role-teacher{top:44%;left:6%}.mch-role-sales{top:67%;left:12%}.mch-role-private{top:15%;right:0}.mch-role-assistant{top:37%;right:-2%}.mch-role-student{top:60%;right:1%}
}
@media(min-width:1025px) and (max-width:1350px){.mch-scene::before{width:1180px;height:493px;right:-80px;bottom:-45px}.mch-building-sign{top:32%;left:49%;font-size:18px}.mch-role-public{left:9%}.mch-role-teacher{left:0}.mch-role-sales{left:4%}}
