.portal-theme {
    --gold: #ffce00;
    background: #e5ecf3;
    padding: 28px 22px;
}

.portal-theme .page-shell {
    width: min(100%, 1280px);
    border-radius: 15px;
    container-type: inline-size;
    box-shadow: none;
    background: #031b43;
}

.portal-theme .topbar {
    min-height: clamp(90px, 7.35cqw, 140px);
    gap: clamp(14px, 2.3cqw, 44px);
    padding: 12px 2.5%;
    background: radial-gradient(ellipse at 58% 65%, #053066, #041c46 70%);
    border-bottom: 1px solid #e9ca52;
}

.portal-theme .brand {
    gap: clamp(10px, 2cqw, 34px);
}

.portal-theme .brand img {
    width: clamp(52px, 5.3cqw, 100px);
    height: clamp(55px, 5.6cqw, 106px);
}

.portal-theme .brand span {
    font-size: clamp(13px, 1.62cqw, 31px);
}

.portal-theme .brand small {
    font-size: 0.72em;
    margin-top: 8px;
}

.portal-theme .site-name {
    font-size: clamp(18px, 2cqw, 38px);
    gap: clamp(11px, 1.65cqw, 30px);
}

.portal-theme .tricolor {
    width: 7px;
    height: clamp(30px, 3.7cqw, 70px);
}

.portal-theme .top-actions {
    gap: clamp(12px, 1.7cqw, 30px);
    flex: 1;
    justify-content: flex-end;
}

.portal-theme .search {
    width: min(100%, 20cqw);
    max-width: none;
    height: clamp(38px, 3.1cqw, 58px);
}

.portal-theme .search input {
    border-radius: 12px 0 0 12px;
    font-size: clamp(13px, 1.1cqw, 21px);
}

.portal-theme .search button {
    width: clamp(44px, 3.6cqw, 68px);
    border-radius: 0 12px 12px 0;
    color: #031b43;
    font-size: clamp(16px, 1.45cqw, 27px);
}

.portal-theme .profile {
    font-size: clamp(29px, 2.65cqw, 50px);
}

.portal-theme .nav {
    background: linear-gradient(#041e47, #031632);
    border-bottom: 2px solid #e6ba27;
}

.portal-theme .nav a {
    gap: clamp(8px, 0.95cqw, 18px);
    padding: clamp(13px, 1.1cqw, 22px);
    font-size: clamp(13px, 1.17cqw, 23px);
}

.portal-theme .nav i {
    font-size: clamp(16px, 1.75cqw, 33px);
}

.portal-theme .nav a.active {
    background: linear-gradient(#ffe964, #efb600);
}

.portal-theme .hero {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #03183cee, #03183c64 40%, transparent 60%),
        url('assets/banniere-prc-intranet.png') center / cover no-repeat;
}

.portal-theme .hero-content {
    position: relative;
    z-index: 1;
    width: 52%;
    padding: clamp(34px, 4.05cqw, 78px) 0 95px 4.85%;
    background: none;
}

.portal-theme .hero h1 {
    max-width: none;
    font-size: clamp(25px, 2.93cqw, 56px);
    line-height: 1.16;
}

.portal-theme .hero h1 span {
    display: block;
    color: #ffd000;
}

.portal-theme .gold-line {
    width: clamp(95px, 10.35cqw, 195px);
    height: clamp(4px, 0.43cqw, 8px);
    margin: clamp(15px, 1.45cqw, 28px) 0 clamp(14px, 1.1cqw, 22px);
}

.portal-theme .hero p {
    max-width: 44ch;
    font-size: clamp(15px, 1.4cqw, 27px);
    line-height: 1.43;
}






.portal-theme footer {
    min-height: clamp(54px, 4.15cqw, 80px);
    padding-inline: 2.5%;
    border-top: 2px solid #e6ba27;
    background: #031735;
    font-size: clamp(12px, 1.1cqw, 21px);
}

.portal-theme footer .fa-landmark {
    color: #ffd000;
    font-size: 1.6em;
    vertical-align: middle;
}

.portal-theme :focus-visible {
    outline: 2px solid #ffe169;
    outline-offset: -3px;
}

@media (max-width: 850px) {
    .portal-theme { padding: 15px; }
    .portal-theme .hero { min-height: 390px; }

    .portal-theme .search {
        width: 100%;
    }

    .portal-theme .hero {
        background-position: 59% center;
    }

    .portal-theme .hero-content {
        width: 66%;
    }
}

@media (max-width: 540px) {
    .portal-theme { padding: 9px; }
    .portal-theme .page-shell { border-radius: 10px; }

    .portal-theme .topbar {
        gap: 12px;
        padding: 12px;
    }

    .portal-theme .hero {
        min-height: 420px;
        background:
            linear-gradient(180deg, #03183c 0%, #03183ce8 36%, transparent 71%),
            url('assets/banniere-prc-intranet.png') 76% bottom / auto 75% no-repeat #03183c;
    }

    .portal-theme .hero-content {
        width: 100%;
        padding: 28px 18px 0;
    }


    .portal-theme footer {
        gap: 8px;
    }
}

