
/* Dynamic branding and slideshow */
.main-nav{background:var(--portal-nav,var(--navy))!important}
.main-nav .navbar-brand,.main-nav .nav-link{color:var(--portal-nav-text,#fff)!important}
.portal-logo-main{max-height:48px;max-width:76px;object-fit:contain;background:#fff;border-radius:6px;padding:3px}
.portal-logo-partner{max-height:43px;max-width:70px;object-fit:contain;background:#fff;border-radius:6px;padding:3px}
.brand-copy{display:flex;flex-direction:column;line-height:1.15}
.brand-copy small{font-size:10px;font-weight:400;opacity:.82;margin-top:4px}
.portal-slideshow{position:relative;background:#102f50}
.portal-slideshow .carousel-item{height:clamp(340px,46vw,590px);position:relative}
.portal-banner-image{position:absolute;inset:0;background-size:cover;background-position:center center;transform:scale(1.015)}
.portal-slideshow .carousel-item.active .portal-banner-image{animation:bannerZoom 7s ease both}
.portal-slideshow .carousel-caption{left:0;right:0;bottom:0;top:0;display:flex;align-items:center;padding:30px 0 65px}
.banner-copy{max-width:760px;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.banner-copy h1{font-size:clamp(30px,5vw,58px);font-weight:800;line-height:1.12;margin:14px 0}
.banner-copy p{font-size:clamp(15px,2vw,21px);color:#f2f6fa;max-width:680px}
.portal-slideshow .carousel-fade .carousel-item{opacity:0;transition:opacity 1.1s ease-in-out}
.portal-slideshow .carousel-fade .carousel-item.active{opacity:1}
.portal-slideshow .carousel-indicators{z-index:5}
.portal-slideshow .carousel-indicators [data-bs-target]{width:28px;height:5px;border:0;border-radius:8px}
.brand-preview{max-height:80px;max-width:180px;object-fit:contain;border:1px solid #e1e8ef;border-radius:8px;padding:6px;background:#fff}
.banner-admin-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #e7edf3}
.banner-admin-row img{width:125px;height:72px;object-fit:cover;border-radius:8px}
.banner-admin-row small{display:block;color:#718096;margin-top:4px}
@keyframes bannerZoom{from{transform:scale(1.04)}to{transform:scale(1.015)}}
@media(max-width:576px){.portal-slideshow .carousel-item{height:390px}.portal-slideshow .carousel-caption{padding:20px 0 50px}.banner-copy h1{font-size:30px}.banner-admin-row{flex-wrap:wrap}.banner-admin-row img{width:100%;height:130px}}
