/* Formal portal cards and school strengths; homepage only. */
#portals .portal-grid{gap:18px}
#portals .portal{position:relative;overflow:hidden;isolation:isolate;align-items:flex-start;text-align:right;min-width:0;min-height:280px;padding:25px 24px 0;border:1px solid #dfd5c4;border-radius:12px;background:linear-gradient(145deg,#fffefa,#faf7f0);box-shadow:0 10px 28px #210c4209;transition:transform .2s,border-color .2s,box-shadow .2s}
#portals .portal:before{content:"";position:absolute;inset:0 24px auto;height:2px;background:linear-gradient(90deg,#cba65a25,#cba65a,#cba65a25)}
#portals .portal:after{content:"";position:absolute;width:150px;height:150px;left:-78px;top:28px;border:1px solid #cba65a22;border-radius:50%;z-index:-1;pointer-events:none}
#portals .portal-eyebrow{font-size:10px;font-weight:700;letter-spacing:.3px;color:#786c57;margin-bottom:17px}
#portals .portal-icon{display:grid;place-items:center;flex:none;width:66px;height:66px;margin:0 0 17px;border-radius:50%;color:#f2ddb0;background:#32125f;border:1px solid #cba65a;box-shadow:0 0 0 5px #32125f05}
#portals .portal-icon .formal-icon{display:block;width:36px;height:36px}
#portals .icon-accent{stroke:#fff8e8}
#portals .portal h3{font-size:21px;font-weight:800;line-height:1.6;color:#32125f;margin:0 0 7px}
#portals .portal p{font-size:12px;line-height:1.9;color:#71677c;margin:0 0 20px;flex:1}
#portals .portal-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border-top:1px solid #e9e0d1;padding:13px 0;font-size:11px;font-weight:800;color:#533777}
#portals .portal-entry>span{color:#9b7534;font-size:22px;line-height:1}
#portals .portal:hover{transform:translateY(-3px);border-color:#b28b49;box-shadow:0 14px 32px #210c4210}
#portals .portal:focus-visible{outline:3px solid #9b7534;outline-offset:4px}
.school-strengths.section{padding:38px 0 56px}
.school-strengths .feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:8px 22px;background:#fffdf9;border:1px solid #e5dccd;border-radius:12px;box-shadow:0 8px 24px #210c4205}
.school-strengths .feature{display:flex;align-items:center;gap:16px;padding:22px 18px;min-width:0;text-align:right;border:0;border-bottom:1px solid #ebe3d7;border-radius:0;background:transparent;box-shadow:none;transform:none}
.school-strengths .feature:nth-last-child(-n+3){border-bottom:0}
.school-strengths .feature>span{display:grid;place-items:center;flex:none;width:49px;height:49px;margin:0;padding:0;color:#32125f;border:0;border-radius:0;background:transparent;box-shadow:none}
.school-strengths .feature .formal-icon{width:36px;height:36px}
.school-strengths .icon-accent{stroke:#a57c33}
.school-strengths .feature strong{font-size:13px;font-weight:800;line-height:1.8;color:#32125f}
@media(max-width:1050px){#portals .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.school-strengths .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 10px}.school-strengths .feature{padding:17px 9px;gap:9px}.school-strengths .feature:nth-last-child(-n+3){border-bottom:1px solid #ebe3d7}.school-strengths .feature:nth-last-child(-n+2){border-bottom:0}.school-strengths .feature strong{font-size:12px}.school-strengths .feature>span{width:34px}.school-strengths .feature .formal-icon{width:30px;height:30px}}
@media(max-width:480px){#portals .portal-grid{gap:12px}#portals .portal{padding:20px 16px 0;min-height:275px}#portals .portal h3{font-size:17px}#portals .portal p{font-size:11px}#portals .portal-icon{width:56px;height:56px}#portals .portal-icon .formal-icon{width:32px;height:32px}#portals .portal-entry{font-size:10px}}
@media(max-width:350px){#portals .portal-grid,.school-strengths .feature-grid{grid-template-columns:1fr}.school-strengths .feature:nth-last-child(2){border-bottom:1px solid #ebe3d7}}
@media(prefers-reduced-motion:reduce){#portals .portal{transition:none}#portals .portal:hover{transform:none}}
