body {
    background: #f4f7fb;
    color: #102a43;
    font-family: "Nunito", sans-serif;
}

.portal-site-header .navbar {
    min-height: 70px;
    margin-bottom: 0 !important;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 0 !important;
    border-bottom: 1px solid #e0e8f0 !important;
    box-shadow: 0 8px 28px rgba(16, 42, 67, 0.055) !important;
}

.portal-site-header .navbar > .container,
.portal-site-header .navbar > .container-fluid {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.portal-site-header .navbar-brand {
    flex-shrink: 0;
    margin-right: 24px;
    color: #102f5c !important;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: none;
    white-space: nowrap;
}

.portal-site-header .navbar-brand:hover,
.portal-site-header .navbar-brand:focus-visible {
    color: #102f5c !important;
    text-decoration: none;
}

.portal-site-header nav ul {
    text-align: left;
}

.portal-site-header nav ul li {
    display: block;
}

.portal-site-header .navbar-nav .nav-link {
    margin: 0 2px;
    padding: 9px 11px;
    border-radius: 9px;
    color: #536a80 !important;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease;
}

.portal-site-header .navbar-nav .nav-link:hover,
.portal-site-header .navbar-nav .nav-link:focus-visible {
    background: #edf3fa;
    color: #102f5c !important;
    text-decoration: none;
    transform: none;
}

.portal-site-header .nav-link i,
.portal-site-header .navbar-brand i {
    color: #2a62ad;
    opacity: 1;
}

.portal-site-header .navbar .dropdown-menu {
    min-width: 230px;
    padding: 8px;
    border: 1px solid #dce5ef;
    border-radius: 13px;
    box-shadow: 0 18px 44px rgba(16, 42, 67, 0.13);
}

.portal-site-header .navbar .dropdown-item,
.portal-site-header nav ul li .dropdown-item {
    margin: 0;
    padding: 10px 11px;
    border-radius: 8px;
    color: #3f5870;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.portal-site-header .navbar .dropdown-item:hover,
.portal-site-header .navbar .dropdown-item:focus-visible {
    padding-left: 11px;
    background: #edf3fa;
    color: #102f5c;
    text-decoration: none;
}

.portal-site-header .navbar .btn,
.portal-site-header .navbar .btn:hover,
.portal-site-header .navbar .btn:focus-visible {
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: none;
    transform: none;
}

.portal-site-header .navbar-toggler {
    border-color: #d2dde8;
    border-radius: 9px;
}

.portal-site-header a:focus-visible,
.portal-site-header button:focus-visible {
    outline: 3px solid rgba(42, 98, 173, 0.26);
    outline-offset: 2px;
    box-shadow: none;
}

.portal-site-footer {
    position: static;
    padding: 24px 0 18px;
    background: #ffffff;
    border-top: 1px solid #e0e8f0;
    color: #6b7f92 !important;
    font-size: 0.82rem;
}

.portal-footer-content {
    width: min(1040px, calc(100% - 32px));
}

.portal-footer-product {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.portal-footer-product-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #edf3fa;
    color: #2a62ad;
    font-size: 1rem;
}

.portal-footer-product p {
    min-width: 0;
    margin: 0;
    line-height: 1.45;
}

.portal-footer-product strong,
.portal-footer-product p span {
    display: block;
}

.portal-footer-product strong {
    margin-bottom: 2px;
    color: #102f5c;
    font-size: 0.9rem;
    font-weight: 900;
}

.portal-footer-product-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #d5e1ec;
    border-radius: 11px;
    background: #ffffff;
    white-space: nowrap;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.portal-site-footer .portal-footer-product-link:hover,
.portal-site-footer .portal-footer-product-link:focus-visible {
    border-color: #b9cce0;
    background: #edf3fa;
    color: #102f5c;
    text-decoration: none;
}

.portal-footer-legal {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e8eef4;
    text-align: center;
}

.portal-site-footer a {
    color: #2a62ad;
    font-weight: 800;
    text-decoration: none;
}

.portal-site-footer a:hover,
.portal-site-footer a:focus-visible {
    color: #102f5c;
    text-decoration: underline;
}

.gdpr-banner {
    right: auto;
    bottom: 18px;
    left: 50%;
    width: min(860px, calc(100% - 32px));
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: #0a2348;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10, 35, 72, 0.3);
    text-align: left;
    transform: translateX(-50%);
}

.gdpr-banner p {
    flex: 1 1 auto;
    margin: 0;
    color: #d7e5f4;
    font-size: 0.82rem;
    line-height: 1.45;
}

.gdpr-banner a {
    color: #ffffff;
    font-weight: 900;
}

.gdpr-banner .btn,
.gdpr-banner .btn:hover,
.gdpr-banner .btn:focus-visible {
    min-width: 86px;
    margin: 0;
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 900;
    transform: none;
}

.gdpr-banner .btn-success {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a2348;
}

.gdpr-banner .btn-danger {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

@media (max-width: 1199px) {
    .portal-site-header .navbar-collapse {
        max-height: calc(100dvh - 86px);
        margin-top: 12px;
        padding-top: 12px;
        padding-bottom: 8px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid #e5ecf3;
    }

    .portal-site-header .navbar-nav .nav-link {
        display: flex;
        min-height: 48px;
        align-items: center;
        margin: 2px 0;
        padding: 11px 12px;
    }

    .portal-site-header .navbar .dropdown-menu {
        padding: 4px 0 4px 14px;
        border: 0;
        box-shadow: none;
    }

    .portal-site-header .navbar-collapse > .navbar-nav.ms-auto {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #e5ecf3;
    }
}

@media (max-width: 575px) {
    .portal-site-header .navbar-expand-sm {
        min-height: 68px;
        position: relative;
    }

    .portal-site-header .navbar-expand-sm > .container {
        min-height: 52px;
        align-items: center;
    }

    .portal-site-header .navbar-expand-sm .navbar-brand {
        max-width: calc(100% - 112px);
        overflow: hidden;
        font-size: 0.96rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-site-header .navbar-expand-sm .navbar-toggler {
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 7px;
    }

    .portal-site-header .navbar-expand-sm > .portal-language-form {
        position: absolute;
        z-index: 5;
        top: 12px;
        right: 72px;
        margin: 0 !important;
    }

    .portal-site-header .navbar-expand-sm > .portal-language-form .btn {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #dce5ee;
        border-radius: 12px;
    }

    .portal-site-header .navbar-expand-sm > .portal-language-form .btn::after,
    .portal-site-header .navbar-expand-sm > .portal-language-form .portal-language-label {
        display: none;
    }

    .portal-site-header .navbar-expand-sm > .portal-language-form .dropdown-menu {
        min-width: 176px;
        padding: 7px;
        border: 1px solid #e0e7ef;
        box-shadow: 0 16px 38px rgba(10, 35, 72, 0.14);
    }

    .portal-site-header .navbar-expand-sm > .portal-language-form .dropdown-item {
        min-height: 46px;
        padding: 10px 12px;
    }
}

@media (max-width: 680px) {
    .portal-site-footer {
        padding-top: 20px;
    }

    .portal-footer-product {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px 12px;
    }

    .portal-footer-product-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .portal-footer-product-link {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        margin-top: 2px;
    }

    .portal-footer-legal {
        margin-top: 16px;
    }

    .gdpr-banner {
        align-items: stretch;
        flex-wrap: wrap;
        bottom: 10px;
    }

    .gdpr-banner p {
        flex-basis: 100%;
    }

    .gdpr-banner .btn {
        flex: 1 1 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-site-header *,
    .portal-site-footer * {
        transition-duration: 0.01ms !important;
    }
}
