@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500;600;700&display=swap');

body {
    margin: 0;
}

.portal-header,
.portal-header * {
    box-sizing: border-box;
}

.portal-header {
    width: 100%;
    background: #ffffff;
}

.portal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.portal-header__logo {
    color: #0f0f10;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.portal-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.portal-header__nav a {
    color: #0f0f10;
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none;
    white-space: nowrap;
}

.portal-header__nav a:hover,
.portal-header__nav a:focus-visible {
    color: #ff0055;
}

@media (max-width: 900px) {
    .portal-header__inner {
        padding: 1rem 1.25rem;
    }

    .portal-header__logo {
        font-size: 1.15rem;
    }

    .portal-header__nav {
        gap: 0.85rem;
    }

    .portal-header__nav a {
        font-size: 0.86rem;
    }
}

@media (max-width: 560px) {
    .portal-header__inner {
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 10px 24px;
    }

    .portal-header__nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 18px;
    }
}
