:root {
    --portal-green-950: #253318;
    --portal-green-900: #2f3f1f;
    --portal-green-800: #446830;
    --portal-green-700: #507339;
    --portal-green-600: #5a8440;
    --portal-green-100: #e8f0e3;
    --portal-green-50: #f4f8f2;
    --portal-blue: #2e6671;
    --portal-earth: #9b7045;
    --portal-ink: #17201b;
    --portal-muted: #5c6861;
    --portal-line: rgba(23, 32, 27, 0.08);
    --portal-soft: #f6f8f6;
    --portal-white: #ffffff;
    --portal-warning: #9a6400;
    --portal-danger: #8d3b35;
    --portal-radius-sm: 10px;
    --portal-radius: 18px;
    --portal-radius-lg: 28px;
    --portal-shadow: 0 18px 50px rgba(37, 51, 24, 0.09);
    --portal-container: 1180px;
    --portal-base-size: 16px;
    --portal-accent-rgb: 90, 132, 64;
    --portal-accent: var(--portal-green-600);
    --portal-accent-dark: var(--portal-green-800);
    --portal-accent-soft: rgba(var(--portal-accent-rgb), 0.1);
    --portal-accent-line: rgba(var(--portal-accent-rgb), 0.16);
    --portal-accent-06: rgba(var(--portal-accent-rgb), 0.06);
    --portal-accent-08: rgba(var(--portal-accent-rgb), 0.08);
    --portal-accent-12: rgba(var(--portal-accent-rgb), 0.12);
    --portal-accent-16: rgba(var(--portal-accent-rgb), 0.16);
    --portal-accent-32: rgba(var(--portal-accent-rgb), 0.32);
    --portal-accent-34: rgba(var(--portal-accent-rgb), 0.34);
}

html {
    scroll-behavior: smooth;
}

html.increase-font {
    font-size: 112.5%;
}

body {
    background: var(--portal-white);
    color: var(--portal-ink);
    font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--portal-base-size);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.high-contrast {
    --portal-green-950: #000000;
    --portal-green-900: #000000;
    --portal-green-800: #000000;
    --portal-green-700: #ffff00;
    --portal-green-600: #ffff00;
    --portal-green-100: #000000;
    --portal-green-50: #000000;
    --portal-accent-rgb: 255, 255, 0;
    --portal-accent: #ffff00;
    --portal-accent-dark: #ffff00;
    --portal-accent-soft: #000000;
    --portal-accent-line: #ffff00;
    --portal-blue: #ffff00;
    --portal-earth: #ffff00;
    --portal-ink: #ffff00;
    --portal-muted: #ffff00;
    --portal-line: #ffff00;
    --portal-soft: #000000;
    --portal-white: #000000;
    --portal-warning: #ffff00;
    --portal-danger: #ffff00;
    --portal-shadow: none;
}

body.high-contrast img {
    filter: grayscale(1) contrast(1.25);
}

body.high-contrast .portal-button,
body.high-contrast .portal-status,
body.high-contrast .portal-alert {
    border: 2px solid #ffff00;
}

body.high-contrast .portal-button,
body.high-contrast .portal-alert,
body.high-contrast .portal-region {
    color: #ffff00;
}

body.high-contrast .portal-region h2,
body.high-contrast .portal-path-card--tourism,
body.high-contrast .portal-path-card--tourism p,
body.high-contrast .portal-path-card--tourism a {
    color: #ffff00;
}

body.high-contrast .portal-button {
    background: #000000;
}

body.high-contrast .portal-status {
    background: #000000;
    color: #ffff00;
}

body.high-contrast .portal-button:hover {
    background: #ffff00;
    color: #000000;
}

a,
button,
input,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #f2b705 !important;
    outline-offset: 3px;
}

.portal-container {
    width: min(100% - 32px, var(--portal-container));
    margin-inline: auto;
}

.portal-main {
    min-height: 50vh;
}

.portal-main p:not(.portal-eyebrow) {
    margin: 0;
}

.portal-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--portal-ink);
    color: var(--portal-white);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.portal-skip-link:focus {
    transform: translateY(0);
}

.portal-eyebrow {
    margin: 0 0 12px;
    color: var(--portal-accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portal-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid var(--portal-green-800);
    border-radius: 9px;
    background: var(--portal-green-800);
    color: var(--portal-white);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.portal-button:hover {
    border-color: var(--portal-green-950);
    background: var(--portal-green-950);
    color: var(--portal-white);
    transform: translateY(-1px);
}

.portal-button--secondary {
    border-color: var(--portal-line);
    background: var(--portal-white);
    color: var(--portal-ink);
}

.portal-button--secondary:hover {
    border-color: var(--portal-green-700);
    background: var(--portal-green-50);
    color: var(--portal-green-900);
}

.portal-button--small {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 0.8rem;
}

.portal-button--light {
    border-color: var(--portal-white);
    background: var(--portal-white);
    color: var(--portal-green-950);
}

.portal-button--light:hover {
    border-color: var(--portal-green-100);
    background: var(--portal-green-100);
    color: var(--portal-green-950);
}

.portal-text-link {
    color: var(--portal-accent-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.portal-text-link:hover {
    color: var(--portal-green-950);
}

.portal-alert {
    position: relative;
    z-index: 41;
    border-bottom: 1px solid var(--portal-accent-line);
    background: var(--portal-accent-soft);
    color: var(--portal-accent-dark);
}

.portal-alert__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-block: 7px;
    text-align: center;
}

.portal-alert__inner p {
    margin: 0;
    font-size: 0.75rem;
}

.portal-alert__inner a {
    margin-left: 5px;
    color: var(--portal-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-alert__inner a:hover {
    color: var(--portal-accent-dark);
}

.portal-alert__dot {
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--portal-accent);
    transform: translateZ(0);
    animation: portal-alert-dot-halo 2.6s ease-in-out infinite;
}

.portal-alert__dot::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--portal-accent-34);
    pointer-events: none;
    animation: portal-alert-dot-ring 2.6s ease-out infinite;
}

@keyframes portal-alert-dot-halo {
    0%,
    100% {
        box-shadow:
            0 0 0 0 var(--portal-accent-32),
            0 0 5px 1px rgba(var(--portal-accent-rgb), 0.14);
        transform: scale(1);
    }

    50% {
        box-shadow:
            0 0 0 4px rgba(var(--portal-accent-rgb), 0),
            0 0 9px 2px var(--portal-accent-08);
        transform: scale(1.06);
    }
}

@keyframes portal-alert-dot-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.65;
    }

    70%,
    100% {
        transform: scale(2.35);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-alert__dot,
    .portal-alert__dot::before {
        animation: none;
    }
}

.high-contrast .portal-alert__dot::before {
    display: none;
}

.portal-header {
    position: sticky;
    top: 0;
    z-index: 40;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(230, 226, 220, 0.45);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
}

.high-contrast .portal-header {
    background: #000000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.portal-header__bar {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 20px;
}

.portal-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: var(--portal-ink);
}

.portal-brand__mark {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9px;
}

.portal-brand__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-brand__text {
    display: none;
    line-height: 1.25;
}

.portal-brand__text strong,
.portal-brand__text small {
    display: block;
}

.portal-brand__text strong {
    font-size: 0.82rem;
    font-weight: 750;
}

.portal-brand__text small {
    margin-top: 2px;
    color: var(--portal-muted);
    font-size: 0.68rem;
}

.portal-menu-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: var(--portal-white);
    color: var(--portal-ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
}

.portal-menu-toggle__icon,
.portal-menu-toggle__icon::before,
.portal-menu-toggle__icon::after {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 0.25s ease, width 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.portal-menu-toggle__icon {
    position: relative;
    width: 22px;
    height: 11px;
    background: transparent;
}

.portal-menu-toggle__icon::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    transform: none;
}

.portal-menu-toggle__icon::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 14px;
    transform: none;
}

.portal-menu-toggle[aria-expanded="true"] .portal-menu-toggle__icon::before {
    top: 50%;
    width: 18px;
    transform: translateY(-50%) rotate(45deg);
}

.portal-menu-toggle[aria-expanded="true"] .portal-menu-toggle__icon::after {
    bottom: auto;
    top: 50%;
    width: 18px;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 979px) {
    .portal-menu-toggle {
        gap: 8px;
        padding: 9px 13px;
        border-radius: 999px;
    }

    .portal-menu-toggle__icon {
        width: 24px;
        height: 12px;
    }

    .portal-menu-toggle__icon::before {
        width: 24px;
    }

    .portal-menu-toggle__icon::after {
        width: 15px;
    }
}

@media (max-width: 479px) {
    .portal-menu-toggle {
        gap: 0;
        min-width: 44px;
        justify-content: center;
        padding: 11px;
    }

    .portal-menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.portal-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    width: 100%;
    height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 22px 16px 40px;
    background: var(--portal-white);
    color: var(--portal-ink);
    font-size: 1rem;
}

.portal-nav.is-open {
    display: block;
}

body.portal-menu-open {
    overflow: hidden;
}

.portal-nav__menu,
.portal-nav__menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-nav__menu {
    flex-direction: column;
    gap: 2px;
}

.portal-nav__menu li {
    position: relative;
}

.portal-nav__menu > li > a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid var(--portal-line);
    color: var(--portal-ink);
    font-size: 0.92rem;
    font-weight: 650;
}

.portal-nav__menu .sub-menu {
    display: block;
    margin: 0;
    padding: 4px 0 10px 14px;
    border: 0;
}

.portal-nav__menu .sub-menu a {
    display: block;
    padding: 7px 8px;
    color: var(--portal-muted);
    font-size: 0.82rem;
}

.portal-nav__menu .sub-menu .sub-menu {
    padding-left: 14px;
}

.portal-nav__menu .sub-menu .sub-menu a {
    font-size: 0.78rem;
}

.portal-nav__menu a:hover,
.portal-nav__menu .current-menu-item > a,
.portal-nav__menu .current-menu-ancestor > a {
    color: var(--portal-green-700);
}

.portal-nav__mobile-tools {
    margin-top: 24px;
}

.portal-nav__mobile-tools .search-form {
    display: flex;
    gap: 8px;
}

.portal-nav__mobile-tools .search-field {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: var(--portal-white);
    color: var(--portal-ink);
}

.portal-nav__mobile-tools .search-submit {
    padding: 9px 15px;
    border-radius: 8px;
    background: var(--portal-green-800);
    color: var(--portal-white);
}

.portal-header__actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.portal-header__actions .portal-button {
    display: none;
}

.portal-icon-button {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(29, 29, 27, 0.76);
    font: inherit;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.portal-icon-button[data-tooltip]::after {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 60;
    padding: 7px 10px;
    border-radius: 7px;
    background: var(--portal-ink);
    color: var(--portal-white);
    content: attr(data-tooltip);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -4px);
    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}

.portal-icon-button[data-tooltip]::before {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    z-index: 60;
    border: 5px solid transparent;
    border-bottom-color: var(--portal-ink);
    content: "";
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition:
        opacity 0.16s ease,
        visibility 0.16s ease;
}

.portal-icon-button[data-tooltip]:hover::after,
.portal-icon-button[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.portal-icon-button[data-tooltip]:hover::before,
.portal-icon-button[data-tooltip]:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

.portal-icon-button__svg {
    display: block;
    width: 18px;
    height: 18px;
}

.portal-icon-button__text-size {
    display: inline-flex;
    align-items: flex-end;
    gap: 1px;
    line-height: 1;
    font-family: var(--portal-font, "Inter", system-ui, sans-serif);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.portal-icon-button__text-size .is-small {
    font-size: 0.58rem;
    opacity: 0.72;
    transform: translateY(1px);
}

.portal-icon-button__text-size .is-large {
    font-size: 0.82rem;
}

.portal-icon-button:hover {
    background: rgba(29, 29, 27, 0.06);
    color: rgba(29, 29, 27, 0.88);
}

.portal-icon-button:active {
    transform: scale(0.94);
}

.portal-icon-button[aria-pressed="true"] {
    background: rgba(29, 29, 27, 0.1);
    color: var(--portal-ink);
}

.portal-icon-button:focus-visible {
    outline: 2px solid rgba(29, 29, 27, 0.28);
    outline-offset: 2px;
}

body.high-contrast .portal-icon-button {
    color: var(--portal-ink);
}

body.high-contrast .portal-icon-button:hover,
body.high-contrast .portal-icon-button[aria-pressed="true"] {
    background: rgba(0, 0, 0, 0.12);
    color: #000;
}

.portal-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--portal-line);
    background:
        radial-gradient(circle at 88% 8%, rgba(45, 129, 81, 0.12), transparent 30%),
        linear-gradient(180deg, var(--portal-white), var(--portal-green-50));
}

.portal-hero::after {
    position: absolute;
    right: -110px;
    bottom: -150px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(45, 129, 81, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.portal-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 42px;
    padding-block: 62px 54px;
}

.portal-hero__content {
    max-width: 690px;
}

.portal-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(2.25rem, 7vw, 4.4rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.portal-hero__lead {
    max-width: 650px;
    margin-top: 22px !important;
    color: var(--portal-muted);
    font-size: clamp(1rem, 2vw, 1.13rem);
    line-height: 1.75;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.portal-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    margin: 38px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--portal-line);
}

.portal-stats div {
    padding-right: 12px;
}

.portal-stats div + div {
    padding-left: 14px;
    border-left: 1px solid var(--portal-line);
}

.portal-stats dt {
    color: var(--portal-ink);
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 760;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.portal-stats dd {
    margin: 5px 0 0;
    color: var(--portal-muted);
    font-size: 0.72rem;
}

.portal-recruitments {
    align-self: center;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-white);
    box-shadow: var(--portal-shadow);
}

.portal-recruitments__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border-bottom: 1px solid var(--portal-line);
    background: var(--portal-soft);
}

.portal-recruitments__header .portal-eyebrow {
    margin-bottom: 4px;
}

.portal-recruitments__header h2 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.2rem;
    font-weight: 750;
}

.portal-recruitments__header > a,
.portal-recruitments__footer a {
    color: var(--portal-green-800);
    font-size: 0.78rem;
    font-weight: 750;
}

.portal-recruitment {
    padding: 19px 22px;
    border-bottom: 1px solid var(--portal-line);
}

.portal-recruitment__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--portal-muted);
    font-size: 0.7rem;
}

.portal-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.2;
}

.portal-status--trwa {
    background: #dff2e4;
    color: #185c32;
}

.portal-status--planowany {
    background: #fff3d7;
    color: var(--portal-warning);
}

.portal-status--zakonczony {
    background: #ecefed;
    color: var(--portal-muted);
}

.portal-recruitment h3 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 0.95rem;
    font-weight: 740;
    line-height: 1.45;
}

.portal-recruitment h3 a:hover {
    color: var(--portal-green-700);
}

.portal-recruitment p {
    margin-top: 7px !important;
    color: var(--portal-muted);
    font-size: 0.75rem;
}

.portal-recruitment--empty {
    padding-block: 28px;
}

.portal-recruitments__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 22px;
    background: var(--portal-soft);
}

.portal-section {
    padding-block: 72px;
}

.portal-section--compact {
    padding-block: 48px;
}

.portal-section--soft {
    border-block: 1px solid var(--portal-line);
    background: #fafaf9;
}

.portal-documents-page.portal-section--soft {
    border-top: 0;
    background: var(--portal-white);
}

.portal-section-heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.portal-section-heading h2,
.portal-documents-intro h2,
.portal-region h2,
.portal-contact-card h2 {
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.portal-section-heading > p,
.portal-documents-intro > p,
.portal-region__content > p,
.portal-contact-card__intro > p {
    max-width: 590px;
    color: var(--portal-muted);
}

.portal-quick-grid {
    display: grid;
    gap: 10px;
}

.portal-quick-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-sm);
    background: var(--portal-white);
    color: var(--portal-ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.portal-quick-card:hover {
    border-color: var(--portal-green-600);
    box-shadow: 0 12px 30px rgba(18, 63, 42, 0.08);
    transform: translateY(-2px);
}

.portal-quick-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: var(--portal-green-100);
    color: var(--portal-green-800);
}

.portal-quick-card__icon::before {
    font-size: 1rem;
    font-weight: 800;
}

.portal-icon--calendar::before {
    content: "31";
}

.portal-icon--strategy::before {
    content: "LSR";
    font-size: 0.65rem;
}

.portal-icon--file::before {
    content: "↓";
}

.portal-icon--process::before {
    content: "✓";
}

.portal-icon--contact::before {
    content: "@";
}

.portal-quick-card strong,
.portal-quick-card small {
    display: block;
}

.portal-quick-card strong {
    font-size: 0.85rem;
    font-weight: 750;
}

.portal-quick-card small {
    margin-top: 3px;
    color: var(--portal-muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.portal-arrow {
    color: var(--portal-green-700);
    font-size: 1.1rem;
    font-weight: 800;
}

.portal-download-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(29, 29, 27, 0.06);
    color: rgba(29, 29, 27, 0.62);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.portal-download-icon__svg {
    display: block;
    width: 17px;
    height: 17px;
}

.portal-document-row:hover .portal-document-row__download:not(:hover):not(:focus-visible) .portal-download-icon {
    background: var(--portal-accent-12);
    color: var(--portal-green-800);
}

.portal-paths {
    display: grid;
    gap: 14px;
}

.portal-path-card {
    position: relative;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-white);
}

.portal-path-card::after {
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 145px;
    height: 145px;
    border: 22px solid var(--portal-green-50);
    border-radius: 50%;
    content: "";
}

.portal-path-card--tourism {
    background: var(--portal-green-900);
    color: var(--portal-white);
}

.portal-path-card--tourism::after {
    border-color: rgba(255, 255, 255, 0.08);
}

.portal-path-card__number {
    color: var(--portal-green-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.portal-path-card h3 {
    position: relative;
    z-index: 1;
    max-width: 330px;
    margin: 42px 0 10px;
    color: inherit;
    font-size: 1.3rem;
    font-weight: 750;
    line-height: 1.25;
}

.portal-path-card p {
    position: relative;
    z-index: 1;
    max-width: 360px;
    color: var(--portal-muted);
    font-size: 0.85rem;
}

.portal-path-card--tourism p {
    color: rgba(255, 255, 255, 0.72);
}

.portal-path-card a {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 26px;
    color: var(--portal-green-700);
    font-size: 0.82rem;
    font-weight: 750;
}

.portal-path-card--tourism a {
    color: var(--portal-white);
}

.portal-documents-layout {
    display: grid;
    gap: 36px;
}

.portal-documents-intro > p:not(.portal-eyebrow) {
    margin-top: 18px !important;
}

.portal-documents-intro .portal-text-link {
    display: inline-block;
    margin-top: 24px;
}

.portal-document-list {
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
}

.portal-document-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--portal-line);
    background: var(--portal-white);
    color: var(--portal-ink);
    transition: background-color 0.15s ease;
}

.portal-document-row:last-child {
    border-bottom: 0;
}

.portal-document-row:hover {
    background: var(--portal-green-50);
}

.portal-document-row__preview {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.portal-document-row__preview:hover,
.portal-document-row__preview:focus-visible {
    color: inherit;
}

.portal-document-row__download {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--portal-green-800);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.portal-document-row__download:hover,
.portal-document-row__download:focus-visible {
    background: var(--portal-accent-12);
    color: var(--portal-green-800);
    transform: translateY(1px);
}

.portal-document-row__download .portal-download-icon {
    background: var(--portal-accent-08);
}

.portal-document-row__type {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--portal-green-100);
    color: var(--portal-green-800);
    font-size: 0.62rem;
    font-weight: 850;
}

.portal-document-row__content strong,
.portal-document-row__content small {
    display: block;
}

.portal-document-row__content strong {
    font-size: 0.82rem;
    font-weight: 730;
    line-height: 1.4;
}

.portal-document-row__content small {
    margin-top: 4px;
    color: var(--portal-muted);
    font-size: 0.68rem;
}

.portal-news-grid {
    display: grid;
    gap: 14px;
}

.portal-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-sm);
    background: var(--portal-white);
}

.portal-news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--portal-green-100);
}

.portal-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portal-news-card:hover .portal-news-card__media img {
    transform: scale(1.025);
}

.portal-news-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(140deg, rgba(45, 129, 81, 0.12), rgba(46, 102, 113, 0.2)),
        var(--portal-green-100);
}

.portal-news-card__body {
    padding: 18px;
}

.portal-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--portal-muted);
    font-size: 0.67rem;
}

.portal-news-card__meta span {
    color: var(--portal-green-700);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portal-news-card h3 {
    margin: 10px 0 0;
    color: var(--portal-ink);
    font-size: 1rem;
    font-weight: 740;
    line-height: 1.4;
}

.portal-news-card h3 a:hover {
    color: var(--portal-green-700);
}

.portal-news-card__body > p {
    margin-top: 12px !important;
    color: var(--portal-muted);
    font-size: 0.82rem;
}

.portal-region {
    padding-block: 74px;
    background:
        radial-gradient(circle at 15% 110%, rgba(255, 255, 255, 0.1), transparent 30%),
        var(--portal-green-950);
    color: var(--portal-white);
}

.portal-region__grid {
    display: grid;
    gap: 42px;
}

.portal-region .portal-eyebrow {
    color: #8fd0a5;
}

.portal-region h2 {
    color: var(--portal-white);
}

.portal-region__content > p:not(.portal-eyebrow) {
    margin-top: 18px !important;
    color: rgba(255, 255, 255, 0.72);
}

.portal-region__content .portal-button {
    margin-top: 26px;
}

.portal-municipalities {
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
}

.portal-municipalities a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--portal-white);
    font-size: 0.95rem;
    font-weight: 650;
}

.portal-municipalities a:hover {
    color: #a9dbb8;
}

.portal-contact-section {
    background: var(--portal-green-50);
}

.portal-contact-card {
    display: grid;
    gap: 38px;
    padding-block: 34px;
}

.portal-contact-card__intro > p:not(.portal-eyebrow) {
    margin-top: 17px !important;
}

.portal-contact-card__intro .portal-button {
    margin-top: 25px;
}

.portal-contact-details {
    display: grid;
    align-content: start;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-white);
    font-style: normal;
}

.portal-contact-details div {
    display: grid;
    gap: 4px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--portal-line);
}

.portal-contact-details div:last-child {
    border-bottom: 0;
}

.portal-contact-details span {
    color: var(--portal-muted);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-contact-details a,
.portal-contact-details strong {
    color: var(--portal-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.portal-contact-details__phones {
    display: grid;
    gap: 6px;
}

.portal-contact-details a:hover {
    color: var(--portal-green-700);
}

.portal-footer {
    background: #ffffff;
    color: var(--portal-ink);
}

.portal-footer__main {
    display: grid;
    gap: 34px;
    padding-block: 54px 42px;
    background: #ffffff;
}

.portal-footer__brand > p {
    max-width: 310px;
    margin: 17px 0 0;
    color: var(--portal-muted);
    font-size: 0.8rem;
}

.portal-footer__social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.portal-footer__social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    color: var(--portal-muted);
}

.portal-footer__social img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.portal-footer__social a:hover {
    border-color: var(--portal-green-700);
    color: var(--portal-green-700);
}

.portal-footer__column h2 {
    margin: 0 0 14px;
    color: var(--portal-ink);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-footer__links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-footer__links a,
.portal-footer__contact > a,
.portal-footer__contact > p {
    color: var(--portal-muted);
    font-size: 0.78rem;
}

.portal-footer__links a:hover,
.portal-footer__contact > a:hover {
    color: var(--portal-green-700);
}

.portal-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-style: normal;
}

.portal-footer__contact > a,
.portal-footer__contact > p {
    margin: 0 0 7px;
}

.portal-footer__funding {
    display: grid;
    gap: 18px;
    padding-block: 25px;
    border-top: 1px solid var(--portal-line);
}

.portal-ue-info {
    background: #ffffff;
}

.portal-ue-info__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 684px;
    margin: 0 auto;
    padding: 5rem 0 4rem;
    text-align: center;
}

.portal-ue-info__logos {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 1.3rem;
}

.portal-ue-info__logo {
    width: auto;
    height: 1.5rem;
    object-fit: contain;
}

.portal-ue-info__text {
    margin: 0;
    color: #717171;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .portal-ue-info__logo {
        height: 3rem;
    }

    .portal-ue-info__inner {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
}

.portal-footer__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.portal-footer__logos img {
    width: auto;
    max-width: 120px;
    height: 34px;
    object-fit: contain;
}

.portal-footer__funding > p {
    max-width: 720px;
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.68rem;
}

.portal-footer__bottom {
    background: #ffffff;
}

.portal-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-block: 17px;
    border-top: 1px solid var(--portal-line);
    color: var(--portal-muted);
    font-size: 0.68rem;
}

.portal-footer__bottom-inner > p {
    margin: 0;
}

.portal-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.portal-footer__legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-archive-hero {
    border-bottom: 1px solid var(--portal-line);
    background: var(--portal-white);
}

.portal-archive-hero .portal-eyebrow {
    color: var(--portal-accent-dark);
}

.portal-archive-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 760;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.portal-archive-hero .portal-container > p:not(.portal-eyebrow),
.portal-recruitment-single__header > p {
    max-width: 680px;
    margin-top: 18px !important;
    color: var(--portal-muted);
    font-size: 1rem;
}

.portal-recruitment-grid {
    display: grid;
    gap: 16px;
}

.portal-recruitment-card {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-white);
}

.portal-recruitment-card__top,
.portal-recruitment-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--portal-muted);
    font-size: 0.72rem;
}

.portal-recruitment-card h2 {
    margin: 24px 0 10px;
    color: var(--portal-ink);
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.3;
}

.portal-recruitment-card h2 a:hover {
    color: var(--portal-green-700);
}

.portal-recruitment-card > p {
    color: var(--portal-muted);
    font-size: 0.82rem;
}

.portal-recruitment-card__audience {
    margin-bottom: 8px !important;
    color: var(--portal-ink) !important;
}

.portal-recruitment-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
}

.portal-pagination {
    margin-top: 34px;
}

.portal-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portal-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-pagination ul.page-numbers > li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.portal-pagination a.page-numbers,
.portal-pagination span.page-numbers {
    display: inline-flex;
    width: auto;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid var(--portal-line);
    border-radius: 7px;
    background: var(--portal-white);
    color: var(--portal-ink);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.portal-pagination a.page-numbers.prev,
.portal-pagination a.page-numbers.next,
.portal-pagination span.page-numbers.prev,
.portal-pagination span.page-numbers.next {
    min-width: 0;
    padding-inline: 14px;
}

.portal-pagination span.page-numbers.dots {
    min-width: 0;
    padding-inline: 4px;
    border-color: transparent;
    background: transparent;
}

.portal-pagination span.page-numbers.current {
    border-color: var(--portal-green-800);
    background: var(--portal-green-800);
    color: var(--portal-white);
}

.portal-empty-state {
    max-width: 720px;
    padding: 40px;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-white);
}

.portal-empty-state h2 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.5rem;
}

.portal-empty-state > p {
    margin-top: 12px !important;
    color: var(--portal-muted);
}

.portal-back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--portal-accent-dark);
    font-size: 0.8rem;
    font-weight: 750;
}

.portal-recruitment-single__meta {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.portal-recruitment-single__layout {
    display: grid;
    gap: 42px;
}

.portal-entry-content {
    min-width: 0;
    color: var(--portal-ink);
}

.portal-entry-content > *:first-child {
    margin-top: 0;
}

.portal-entry-content h2,
.portal-entry-content h3 {
    color: var(--portal-ink);
    font-weight: 750;
    line-height: 1.25;
}

.portal-entry-content a {
    color: var(--portal-green-800);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-recruitment-summary {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background: var(--portal-soft);
}

.portal-recruitment-summary h2 {
    margin: 0 0 20px;
    color: var(--portal-ink);
    font-size: 1rem;
    font-weight: 780;
}

.portal-recruitment-summary > div {
    display: grid;
    gap: 4px;
    padding-block: 13px;
    border-top: 1px solid var(--portal-line);
}

.portal-recruitment-summary > div span {
    color: var(--portal-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portal-recruitment-summary > div strong {
    color: var(--portal-ink);
    font-size: 0.82rem;
}

.portal-recruitment-summary .portal-button {
    width: 100%;
    margin-top: 12px;
}

/* Existing inner templates remain usable while they are modernized in later stages. */
.portal-main > .section {
    margin-top: 0;
    padding-block: 42px 68px;
}

.portal-main .section__article,
.portal-main .section__page {
    width: min(100% - 32px, var(--portal-container));
    margin-inline: auto;
}

.portal-main .main-title {
    color: var(--portal-ink);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: -0.035em;
}

.portal-main .bottom-line-short::after {
    background: var(--portal-green-700);
}

@media (min-width: 560px) {
    .portal-brand__text {
        display: block;
    }

    .portal-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-contact-details div:nth-child(odd) {
        border-right: 1px solid var(--portal-line);
    }

    .portal-contact-details div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (min-width: 760px) {
    .portal-hero__grid {
        padding-block: 82px 70px;
    }

    .portal-section-heading {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .portal-section-heading > p {
        text-align: right;
    }

    .portal-paths {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-documents-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: start;
        gap: 70px;
    }

    .portal-region__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
        align-items: center;
        gap: 80px;
    }

    .portal-contact-card {
        grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
        align-items: center;
        gap: 70px;
    }

    .portal-footer__main {
        grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(130px, 1fr));
    }

    .portal-footer__funding {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .portal-footer__bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .portal-footer__legal {
        justify-content: flex-end;
    }

    .portal-recruitment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-recruitment-single__layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: start;
        gap: 70px;
    }

    .portal-recruitment-summary {
        position: sticky;
        top: 104px;
    }
}

@media (min-width: 980px) {
    .portal-header {
        overflow: visible;
    }

    .portal-header__bar {
        min-height: 78px;
    }

    .portal-menu-toggle {
        display: none;
    }

    .portal-nav {
        position: static;
        inset: auto;
        display: flex;
        width: auto;
        height: auto;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        overflow: visible;
        padding: 0;
        background: transparent;
    }

    .portal-nav__menu {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .portal-nav__menu > li > a {
        display: flex;
        min-height: 78px;
        align-items: center;
        padding: 0 9px;
        border: 0;
        border-bottom: 2px solid transparent;
        font-size: 0.74rem;
        font-weight: 680;
        white-space: nowrap;
    }

    .portal-nav__menu > li:hover > a,
    .portal-nav__menu > li.is-submenu-open > a,
    .portal-nav__menu > .current-menu-item > a,
    .portal-nav__menu > .current-menu-ancestor > a {
        border-bottom-color: var(--portal-green-700);
    }

    .portal-nav__menu > .menu-item-has-children > a {
        gap: 6px;
    }

    .portal-nav__menu > .menu-item-has-children > a::after {
        width: 7px;
        height: 7px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        margin-top: -2px;
        opacity: 0.55;
        content: "";
        transform: rotate(45deg);
    }

    .portal-nav__menu > li > a[href*="/kontakt"] {
        color: var(--portal-green-800);
        font-weight: 720;
    }

    .portal-nav__menu > li.menu-item-has-children::after {
        position: absolute;
        z-index: 19;
        top: 100%;
        left: 0;
        width: min(100%, 260px);
        height: 14px;
        content: "";
    }

    .portal-nav__menu .sub-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        z-index: 20;
        display: block;
        min-width: 230px;
        padding: 7px;
        border: 1px solid var(--portal-line);
        border-radius: 9px;
        background: var(--portal-white);
        box-shadow: var(--portal-shadow);
        visibility: hidden;
        opacity: 0;
        transform: translate3d(0, 4px, 0);
        transition:
            opacity 0.12s ease,
            transform 0.12s ease,
            visibility 0s linear 0.12s;
    }

    .portal-nav__menu .sub-menu::before {
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
        content: "";
    }

    .portal-nav__menu > li.is-submenu-open > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 0.12s ease,
            transform 0.12s ease,
            visibility 0s linear 0s;
    }

    .portal-nav__menu .sub-menu a {
        padding: 9px 10px;
        border-radius: 6px;
        transition: background-color 0.18s ease, color 0.18s ease;
    }

    .portal-nav__menu .sub-menu a:hover {
        background: var(--portal-green-50);
    }

    .portal-nav__menu .sub-menu li {
        position: relative;
        width: 100%;
    }

    .portal-nav__menu .sub-menu .sub-menu {
        top: -7px;
        left: calc(100% - 4px);
        z-index: 30;
        transform: translate3d(4px, 0, 0);
    }

    .portal-nav__menu .sub-menu > li.menu-item-has-children::after {
        position: absolute;
        z-index: 29;
        top: 0;
        right: -14px;
        width: 18px;
        height: 100%;
        content: "";
    }

    .portal-nav__menu .sub-menu > li.is-submenu-open > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 0.12s ease,
            transform 0.12s ease,
            visibility 0s linear 0s;
    }

    .portal-nav__menu .sub-menu .menu-item-has-children > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .portal-nav__menu .sub-menu .menu-item-has-children > a::after {
        color: var(--portal-muted);
        content: "→";
        font-size: 0.82rem;
        line-height: 1;
    }

    .portal-nav__mobile-tools {
        display: none;
    }

    .portal-header__actions {
        display: flex;
    }

    .portal-header__actions .portal-button {
        display: inline-flex;
    }

    .portal-hero__grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
        align-items: center;
        gap: 74px;
        min-height: 650px;
    }

    .portal-quick-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .portal-quick-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .portal-quick-card .portal-arrow {
        display: none;
    }

    .portal-news-grid {
        grid-template-columns: 1.65fr repeat(2, 1fr);
    }

    .portal-news-card--featured {
        grid-row: span 2;
    }

    .portal-news-card--featured .portal-news-card__media {
        aspect-ratio: auto;
        height: 330px;
    }

    .portal-news-card:nth-child(4) {
        grid-column: 2 / -1;
        display: grid;
        grid-template-columns: 220px 1fr;
    }

    .portal-news-card:nth-child(4) .portal-news-card__media {
        aspect-ratio: auto;
        height: 100%;
    }

    .portal-recruitment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .portal-nav__menu > li > a {
        padding-inline: 13px;
    }
}

@media (min-width: 1200px) {
    .portal-nav > .portal-nav__menu {
        display: flex !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
