@font-face {
    font-family: "Inter Tight";
    src:
        url("../fonts/inter-tight/InterTight-VariableFont_wght.ttf")
        format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}


/* =========================================================
   ЛьвДУВС — глобальна шапка та fullscreen-меню
   Версія: 0.7.164

   Єдина структура шапки:
   [ бренд ] [ ВСТУП ] [ Вхід ] [ Пошук ] [ hamburger ]

   ВСТУП / Вхід / Пошук:
   один Joomla Menu module у position: header-actions.

   Головна, Вхід, Пошук та внутрішні сторінки
   використовують одну й ту саму геометрію header.
   ========================================================= */


/* =========================================================
   1. Layout stability
   ========================================================= */

/*
 * На коротких сторінках, зокрема login,
 * вертикальний scrollbar може зникати.
 * Резервуємо його місце, щоб header не зміщувався
 * горизонтально між сторінками.
 */
html {
    scrollbar-gutter: stable;
}

/* =========================================================
   3. Глобальна шапка
   ========================================================= */

.lvduvs-header {
    position: sticky;

    z-index: 900;

    top: 0;

    width: 100%;

    border-bottom:
        1px solid
        rgb(255 255 255 / 10%);

    background:
        linear-gradient(
            100deg,
            #061a2b 0%,
            #082238 54%,
            #0a2b44 100%
        );

    color:
        var(--lvduvs-paper);

    box-shadow:
        0 0.6rem 2rem
        rgb(4 21 37 / 14%);

    backdrop-filter: none;

    /*
     * Геометрія і колір поверхні header стабільні.
     * При scroll змінюються лише border/shadow.
     * Це усуває короткий світлий flash на світлих сторінках.
     */
    transition:
        border-color
        var(--lvduvs-transition-base),
        box-shadow
        var(--lvduvs-transition-base);
}


.lvduvs-header.is-scrolled {
    border-bottom-color:
        rgb(255 255 255 / 16%);

    /*
     * Той самий непрозорий фон, що і у звичайному стані.
     * Жодної прозорості та backdrop-filter під час scroll.
     */
    background:
        linear-gradient(
            100deg,
            #061a2b 0%,
            #082238 54%,
            #0a2b44 100%
        );

    box-shadow:
        0 0.8rem 2.4rem
        rgb(0 0 0 / 18%);

    backdrop-filter: none;
}


/* =========================================================
   4. Внутрішній контейнер шапки
   ========================================================= */

.lvduvs-header__inner {
    display: flex;

    width: 100%;
    max-width: none;

    min-height: 5.45rem;

    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 5rem);

    align-items: center;
    justify-content: space-between;

    gap: clamp(1.3rem, 2.4vw, 2.8rem);
}

/*
 * КРИТИЧНО:
 * is-scrolled не змінює min-height.
 * Це усуває вертикальне "дьоргання" шапки.
 */
.lvduvs-header.is-scrolled
.lvduvs-header__inner {
    min-height: 5.45rem;
}


/* =========================================================
   5. Брендинг
   ========================================================= */

.lvduvs-header,
.lvduvs-header button,
.lvduvs-header a,
.lvduvs-brand {
    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;
}


.lvduvs-header__brand {
    display: flex;

    min-width: 0;

    flex: 1 1 auto;

    align-items: center;
}


.lvduvs-brand {
    display: inline-flex;

    max-width: 42rem;

    min-width: 0;

    align-items: center;

    gap: 1.15rem;

    color: inherit;

    text-decoration: none;
}


.lvduvs-brand:hover {
    color: inherit;
}


.lvduvs-brand__mark--logo,
.lvduvs-header.is-scrolled
.lvduvs-brand__mark--logo {
    display: block;

    width: 4.8rem;
    height: 4.8rem;

    flex: 0 0 auto;

    overflow: visible;

    border: 0;
    border-radius: 0;

    background:
        transparent;
}


.lvduvs-brand__mark--logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.lvduvs-brand__content {
    display: grid;

    min-width: 0;

    line-height: 1.12;
}


.lvduvs-brand__short {
    color:
        var(--lvduvs-paper);

    font-size: 1.56rem;
    font-weight: 760;

    line-height: 1;

    letter-spacing: 0.04em;
}


.lvduvs-brand__full,
.lvduvs-header.is-scrolled
.lvduvs-brand__full {
    max-width: 27rem;

    margin-top: 0.38rem;

    overflow: hidden;

    color:
        rgb(255 255 255 / 68%);

    font-size: 0.9rem;
    font-weight: 500;

    line-height: 1.23;

    letter-spacing: 0;

    text-overflow: ellipsis;
}


/* =========================================================
   6. Права функціональна зона
   ========================================================= */

.lvduvs-header__actions {
    display: flex;

    min-width: 0;

    min-height: 3.25rem;

    flex: 0 0 auto;

    align-items: center;
}


/* =========================================================
   7. HEADER ACTIONS
      Єдина Joomla-навігація шапки

      1. ВСТУП
      2. Вхід
      3. Пошук
   ========================================================= */

.lvduvs-header-actions {
    display: flex;

    min-width: 0;

    min-height: 3.25rem;

    flex: 0 0 auto;

    align-items: center;
}


.lvduvs-header-actions ul,
.lvduvs-header-actions .mod-menu,
.lvduvs-header-actions .mod-list {
    display: flex;

    min-width: 0;

    min-height: 3.25rem;

    align-items: center;

    gap: 0;

    margin: 0;

    padding: 0;

    list-style: none;
}


.lvduvs-header-actions li {
    position: relative;

    display: flex;

    min-width: 0;
    min-height: 3.25rem;

    align-items: center;

    margin: 0;

    padding: 0;
}


.lvduvs-header-actions a {
    display: inline-flex;

    height: 3.25rem;
    min-height: 3.25rem;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    color:
        rgb(255 255 255 / 84%);

    font-size: 0.82rem;
    font-weight: 680;

    line-height: 1;

    letter-spacing: 0.003em;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color
        var(--lvduvs-transition-fast);
}


.lvduvs-header-actions a:hover {
    color:
        rgb(255 255 255 / 100%);
}


.lvduvs-header-actions a:focus-visible {
    outline:
        2px solid
        var(--lvduvs-gold-line);

    outline-offset: 3px;
}


/* ---------------------------------------------------------
   7.1. ВСТУП
   --------------------------------------------------------- */

.lvduvs-header-actions
li:nth-child(1) {
    margin-right: 0.72rem;
}


.lvduvs-header-actions
li:nth-child(1) a {
    gap: 0.46rem;

    padding:
        0
        0.28rem;

    color:
        rgb(235 188 74 / 100%);

    font-size: 0.86rem;
    font-weight: 800;

    letter-spacing: 0.018em;

    text-transform: uppercase;
}


.lvduvs-header-actions
li:nth-child(1) a::after {
    display: inline-block;

    margin-left: 0.03rem;

    color: currentColor;

    content: "↗";

    font-size: 0.92rem;
    font-weight: 620;

    line-height: 1;

    transform:
        translateY(-0.04rem);

    transition:
        transform
        var(--lvduvs-transition-fast);
}


.lvduvs-header-actions
li:nth-child(1) a:hover {
    color:
        #f2cf76;
}


.lvduvs-header-actions
li:nth-child(1) a:hover::after {
    transform:
        translate(
            0.1rem,
            -0.12rem
        );
}


/* ---------------------------------------------------------
   7.2. Вхід
   --------------------------------------------------------- */

.lvduvs-header-actions
li:nth-child(2) {
    min-width: 5.2rem;

    padding:
        0
        0.82rem;
}


/*
 * Єдиний ритм розділювачів:
 * ВСТУП | Вхід | Пошук | hamburger
 */
.lvduvs-header-actions
li:nth-child(2)::before,
.lvduvs-header-actions
li:nth-child(3)::before {
    position: absolute;

    top: 50%;
    left: 0;

    width: 1px;
    height: 1.45rem;

    background:
        rgb(255 255 255 / 16%);

    content: "";

    transform:
        translateY(-50%);
}


.lvduvs-header-actions
li:nth-child(2) a {
    width: 100%;

    gap: 0.48rem;

    padding: 0;

    color:
        rgb(255 255 255 / 84%);

    font-size: 0.8rem;
    font-weight: 660;
}


.lvduvs-header-actions
li:nth-child(2) a::before {
    display: block;

    width: 1.2rem;
    height: 1.2rem;

    flex: 0 0 1.2rem;

    background:
        currentColor;

    content: "";

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.4 19c.85-3.9 3.05-5.8 6.6-5.8s5.75 1.9 6.6 5.8' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
        center /
        contain
        no-repeat;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.4 19c.85-3.9 3.05-5.8 6.6-5.8s5.75 1.9 6.6 5.8' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
        center /
        contain
        no-repeat;
}


.lvduvs-header-actions
li:nth-child(2) a:hover {
    color:
        rgb(255 255 255 / 100%);
}


/* ---------------------------------------------------------
   7.3. Пошук
   --------------------------------------------------------- */

.lvduvs-header-actions
li:nth-child(3) {
    width: 3.25rem;

    flex: 0 0 3.25rem;
}


.lvduvs-header-actions
li:nth-child(3) a {
    position: relative;

    width: 100%;

    padding: 0;

    overflow: hidden;

    color:
        rgb(255 255 255 / 78%);

    font-size: 0;

    text-indent: -9999px;
}


.lvduvs-header-actions
li:nth-child(3) a:hover {
    color:
        rgb(255 255 255 / 100%);
}


.lvduvs-header-actions
li:nth-child(3) a::before {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 1.04rem;
    height: 1.04rem;

    border:
        1.5px solid
        currentColor;

    border-radius: 50%;

    content: "";

    transform:
        translate(
            -62%,
            -58%
        );
}


.lvduvs-header-actions
li:nth-child(3) a::after {
    position: absolute;

    top: calc(50% + 0.32rem);
    left: calc(50% + 0.29rem);

    width: 0.46rem;
    height: 1.5px;

    background:
        currentColor;

    content: "";

    transform:
        rotate(45deg);

    transform-origin:
        left center;
}


/* ---------------------------------------------------------
   7.4. Active / current

   Joomla може додати .current / .active,
   але це НЕ змінює розмір, weight, padding або position.
   --------------------------------------------------------- */

.lvduvs-header-actions
li:nth-child(1).current > a,
.lvduvs-header-actions
li:nth-child(1).active > a,
.lvduvs-header-actions
li:nth-child(1) > a[aria-current="page"] {
    color:
        rgb(235 188 74 / 100%);

    font-size: 0.86rem;
    font-weight: 800;
}


.lvduvs-header-actions
li:nth-child(2).current > a,
.lvduvs-header-actions
li:nth-child(2).active > a,
.lvduvs-header-actions
li:nth-child(2) > a[aria-current="page"] {
    color:
        rgb(255 255 255 / 84%);

    font-size: 0.8rem;
    font-weight: 660;
}


.lvduvs-header-actions
li:nth-child(3).current > a,
.lvduvs-header-actions
li:nth-child(3).active > a,
.lvduvs-header-actions
li:nth-child(3) > a[aria-current="page"] {
    color:
        rgb(255 255 255 / 78%);
}


/* =========================================================
   8. Hamburger
   ========================================================= */

.lvduvs-menu-toggle {
    position: relative;

    display: inline-grid;

    width: 3.6rem;
    height: 3.25rem;

    min-height: 3.25rem;

    flex: 0 0 3.6rem;

    place-items: center;

    box-sizing: border-box;

    padding:
        0
        0
        0
        0.95rem;

    border: 0;
    border-radius: 0;

    background:
        transparent;

    color:
        rgb(255 255 255 / 84%);

    cursor: pointer;

    transition:
        color
        var(--lvduvs-transition-fast);
}


.lvduvs-menu-toggle::before {
    position: absolute;

    top: 50%;
    left: 0;

    width: 1px;
    height: 1.45rem;

    background:
        rgb(255 255 255 / 16%);

    content: "";

    transform:
        translateY(-50%);
}


.lvduvs-menu-toggle:hover {
    color:
        var(--lvduvs-paper);
}


.lvduvs-menu-toggle:active {
    color:
        var(--lvduvs-paper);
}


.lvduvs-menu-toggle:focus-visible {
    outline:
        2px solid
        var(--lvduvs-gold-line);

    outline-offset: 2px;
}


.lvduvs-menu-toggle__icon {
    display: grid;

    width: 1.45rem;

    gap: 0.32rem;
}


.lvduvs-menu-toggle__icon span {
    display: block;

    width: 100%;
    height: 1.5px;

    background:
        currentColor;
}


.lvduvs-menu-toggle__icon
span:nth-child(2) {
    width: 72%;

    justify-self: end;
}


/* =========================================================
   9. Старе горизонтальне меню
   ========================================================= */

.lvduvs-navigation {
    display: none !important;
}

/* =========================================================
   10. Responsive — глобальна шапка

   Один compact-режим для всіх екранів <= 960px.
   Розміри змінюються плавно через clamp(),
   без окремих breakpoint-латок на 760px і 390px.
   ========================================================= */

@media (max-width: 960px) {

    /* ---------------------------------------------------------
       10.1. Геометрія шапки
       --------------------------------------------------------- */

    .lvduvs-header__inner,
    .lvduvs-header.is-scrolled
    .lvduvs-header__inner {
        min-height:
            clamp(
                4.5rem,
                8vw,
                5rem
            );

        padding-inline:
            clamp(
                0.75rem,
                3vw,
                2rem
            );

        gap:
            clamp(
                0.25rem,
                1.3vw,
                1rem
            );
    }


    /* ---------------------------------------------------------
       10.2. Брендинг
       --------------------------------------------------------- */

    .lvduvs-brand {
        min-width: 0;

        gap:
            clamp(
                0.42rem,
                1.2vw,
                0.9rem
            );
    }


    .lvduvs-brand__mark--logo,
    .lvduvs-header.is-scrolled
    .lvduvs-brand__mark--logo {
        width:
            clamp(
                2.35rem,
                6vw,
                3.75rem
            );

        height:
            clamp(
                2.35rem,
                6vw,
                3.75rem
            );
    }


    .lvduvs-brand__short {
        font-size:
            clamp(
                0.66rem,
                2vw,
                1.08rem
            );
    }


    .lvduvs-brand__full,
    .lvduvs-header.is-scrolled
    .lvduvs-brand__full {
        max-width:
            clamp(
                12rem,
                28vw,
                20rem
            );

        margin-top: 0.28rem;

        font-size:
            clamp(
                0.68rem,
                1.4vw,
                0.72rem
            );
    }

    /* ---------------------------------------------------------
       10.3. Загальна геометрія header-actions
       --------------------------------------------------------- */

    .lvduvs-header-actions,
    .lvduvs-header-actions ul,
    .lvduvs-header-actions .mod-menu,
    .lvduvs-header-actions .mod-list,
    .lvduvs-header-actions li {
        min-height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );
    }


    .lvduvs-header-actions a {
        height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );

        min-height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );
    }


    /* ---------------------------------------------------------
       10.4. ВСТУП
       --------------------------------------------------------- */

    .lvduvs-header-actions
    li:nth-child(1) {
        margin-right:
            clamp(
                0.05rem,
                0.8vw,
                0.52rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(1) a,
    .lvduvs-header-actions
    li:nth-child(1).current > a,
    .lvduvs-header-actions
    li:nth-child(1).active > a,
    .lvduvs-header-actions
    li:nth-child(1) > a[aria-current="page"] {
        height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );

        min-height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );

        padding-inline:
            clamp(
                0.1rem,
                0.5vw,
                0.18rem
            );

        font-size:
            clamp(
                0.61rem,
                1.5vw,
                0.78rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(1) a::after {
        font-size:
            clamp(
                0.74rem,
                1.6vw,
                0.92rem
            );
    }


    /* ---------------------------------------------------------
       10.5. Вхід / Кабінет
       --------------------------------------------------------- */

    .lvduvs-header-actions
    li:nth-child(2) {
        min-width: 0;

        padding-inline:
            clamp(
                0.3rem,
                1.1vw,
                0.68rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(2) a,
    .lvduvs-header-actions
    li:nth-child(2).current > a,
    .lvduvs-header-actions
    li:nth-child(2).active > a,
    .lvduvs-header-actions
    li:nth-child(2) > a[aria-current="page"] {
        gap:
            clamp(
                0.24rem,
                0.7vw,
                0.42rem
            );

        font-size:
            clamp(
                0.65rem,
                1.5vw,
                0.76rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(2) a::before {
        width:
            clamp(
                1rem,
                2vw,
                1.2rem
            );

        height:
            clamp(
                1rem,
                2vw,
                1.2rem
            );

        flex-basis:
            clamp(
                1rem,
                2vw,
                1.2rem
            );
    }


    /* ---------------------------------------------------------
       10.6. Розділювачі
       --------------------------------------------------------- */

    .lvduvs-header-actions
    li:nth-child(2)::before,
    .lvduvs-header-actions
    li:nth-child(3)::before,
    .lvduvs-menu-toggle::before {
        height:
            clamp(
                1.2rem,
                2.5vw,
                1.45rem
            );
    }


    /* ---------------------------------------------------------
       10.7. Пошук
       --------------------------------------------------------- */

    .lvduvs-header-actions
    li:nth-child(3) {
        width:
            clamp(
                2.35rem,
                5vw,
                3rem
            );

        flex-basis:
            clamp(
                2.35rem,
                5vw,
                3rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(3) a::before {
        width:
            clamp(
                0.94rem,
                2vw,
                1.04rem
            );

        height:
            clamp(
                0.94rem,
                2vw,
                1.04rem
            );
    }


    .lvduvs-header-actions
    li:nth-child(3) a::after {
        top:
            calc(
                50% +
                clamp(
                    0.29rem,
                    0.6vw,
                    0.32rem
                )
            );

        left:
            calc(
                50% +
                clamp(
                    0.26rem,
                    0.55vw,
                    0.29rem
                )
            );

        width:
            clamp(
                0.4rem,
                0.9vw,
                0.46rem
            );
    }


    /* ---------------------------------------------------------
       10.8. Hamburger
       --------------------------------------------------------- */

    .lvduvs-menu-toggle {
        width:
            clamp(
                2.5rem,
                5vw,
                3.25rem
            );

        height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );

        min-height:
            clamp(
                2.65rem,
                5vw,
                3.25rem
            );

        flex-basis:
            clamp(
                2.5rem,
                5vw,
                3.25rem
            );

        padding-left:
            clamp(
                0.32rem,
                1vw,
                0.78rem
            );
    }


    .lvduvs-menu-toggle__icon {
        width:
            clamp(
                1.3rem,
                2.5vw,
                1.45rem
            );

        gap:
            clamp(
                0.28rem,
                0.5vw,
                0.32rem
            );
    }

}

/* =========================================================
   10. Fullscreen menu — shell
   ========================================================= */

.lvduvs-mobile-menu[hidden] {
    display: none;
}


.lvduvs-mobile-menu {
    position: fixed;

    z-index: 1400;

    inset: 0;
}


.lvduvs-mobile-menu__backdrop {
    position: absolute;

    inset: 0;

    background:
        rgb(1 10 18 / 82%);

    opacity: 0;

    backdrop-filter:
        blur(12px);

    transition:
        opacity
        var(--lvduvs-motion-duration-normal)
        var(--lvduvs-motion-ease-standard);
}


.lvduvs-mobile-menu.is-open
.lvduvs-mobile-menu__backdrop {
    opacity: 1;
}


body.lvduvs-menu-is-open {
    overflow: hidden;
}


/* Кнопка закриття fullscreen-меню. */
.lvduvs-mobile-menu__close {
    position: relative;

    width: 3rem;
    height: 3rem;

    flex: 0 0 auto;

    border:
        1px solid
        rgb(255 255 255 / 20%);

    border-radius: 50%;

    background:
        rgb(255 255 255 / 6%);

    color:
        var(--lvduvs-paper);

    cursor: pointer;

    transition:
        border-color
        var(--lvduvs-transition-fast),
        background-color
        var(--lvduvs-transition-fast),
        transform
        var(--lvduvs-transition-fast);
}


.lvduvs-mobile-menu__close:hover {
    border-color:
        rgb(255 255 255 / 38%);

    background:
        rgb(255 255 255 / 11%);

    transform:
        rotate(3deg)
        scale(1.04);
}


.lvduvs-mobile-menu__close:focus-visible {
    outline:
        2px solid
        var(--lvduvs-gold-line);

    outline-offset: 3px;
}


.lvduvs-mobile-menu__close span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 1.2rem;
    height: 1px;

    background:
        currentColor;
}


.lvduvs-mobile-menu__close
span:first-child {
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


.lvduvs-mobile-menu__close
span:last-child {
    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}


/* =========================================================
   31. Premium fullscreen menu — approved 10/10
   ========================================================= */

.lvduvs-mobile-menu__panel {
    position: absolute;
    inset: 0;

    display: grid;

    width: 100%;
    height: 100dvh;

    grid-template-columns:
        minmax(20rem, 34%)
        minmax(0, 66%);

    grid-template-rows:
        auto
        minmax(0, 1fr);

    padding: 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% -8%,
            rgb(70 142 188 / 19%),
            transparent 32rem
        ),
        radial-gradient(
            circle at 52% 44%,
            rgb(24 94 137 / 10%),
            transparent 34rem
        ),
        linear-gradient(
            112deg,
            #031522 0%,
            #051c2e 39%,
            #072844 72%,
            #06233a 100%
        );

    color:
        var(--lvduvs-paper);

    opacity: 0;

    filter:
        blur(
            var(--lvduvs-motion-blur-start)
        );

    transform:
        translateY(-0.65rem)
        scale(0.995);

    transform-origin:
        top center;

    transition:
        opacity
        var(--lvduvs-motion-duration-normal)
        var(--lvduvs-motion-ease-standard),

        filter
        var(--lvduvs-motion-duration-normal)
        var(--lvduvs-motion-ease-emphasized),

        transform
        var(--lvduvs-motion-duration-normal)
        var(--lvduvs-motion-ease-emphasized);
}


.lvduvs-mobile-menu.is-open
.lvduvs-mobile-menu__panel {
    opacity: 1;

    filter: blur(0);

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   31.1. Brand area
   ========================================================= */

.lvduvs-global-menu__header {
    position: relative;
    z-index: 2;

    grid-column: 1;
    grid-row: 1;

    display: flex;

    min-width: 0;

    align-items: flex-start;
    justify-content: flex-start;

    padding:
        clamp(2.2rem, 5vh, 4.2rem)
        clamp(2rem, 4vw, 4.4rem)
        1.45rem;

    border-right:
        1px solid
        rgb(255 255 255 / 15%);

    border-bottom: 0;
}


.lvduvs-global-menu__brand {
    display: inline-flex;

    min-width: 0;

    align-items: center;

    gap:
        clamp(
            1rem,
            1.4vw,
            1.4rem
        );

    color:
        var(--lvduvs-paper);

    text-decoration: none;
}


.lvduvs-global-menu__brand:hover {
    color:
        var(--lvduvs-paper);
}


.lvduvs-global-menu__brand-mark--logo {
    display: block;

    width:
        clamp(
            4.5rem,
            5.5vw,
            6rem
        );

    height:
        clamp(
            4.5rem,
            5.5vw,
            6rem
        );

    flex: 0 0 auto;

    overflow: visible;

    border: 0;
    border-radius: 0;

    background: transparent;
}


.lvduvs-global-menu__brand-mark--logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.lvduvs-global-menu__brand-text {
    position: relative;

    display: grid;

    min-width: 0;

    padding-left:
        clamp(
            1rem,
            1.5vw,
            1.35rem
        );
}


.lvduvs-global-menu__brand-text::before {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 1px;

    background:
        rgb(222 178 87 / 92%);

    content: "";
}


.lvduvs-global-menu__brand-short {
    color:
        var(--lvduvs-paper);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            1.35rem,
            2vw,
            2rem
        );

    font-weight: 760;

    letter-spacing: 0.015em;

    line-height: 0.95;

    text-transform: none;
}


.lvduvs-global-menu__brand-full {
    max-width: 18rem;

    margin-top: 0.65rem;

    color:
        rgb(255 255 255 / 78%);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            0.72rem,
            0.9vw,
            0.92rem
        );

    font-weight: 470;

    line-height: 1.2;

    letter-spacing: 0.015em;

    text-transform: uppercase;
}


/* =========================================================
   31.2. Close
   ========================================================= */

.lvduvs-global-menu__header
.lvduvs-mobile-menu__close {
    position: fixed;
    z-index: 5;

    top:
        clamp(
            1.6rem,
            3vw,
            2.5rem
        );

    right:
        clamp(
            1.6rem,
            3vw,
            2.7rem
        );

    width: 3.25rem;
    height: 3.25rem;

    border:
        1px solid
        rgb(255 255 255 / 24%);

    border-radius: 50%;

    background:
        rgb(2 18 30 / 18%);

    color:
        rgb(255 255 255 / 92%);

    backdrop-filter:
        blur(10px);
}


.lvduvs-global-menu__header
.lvduvs-mobile-menu__close:hover {
    border-color:
        rgb(222 178 87 / 70%);

    background:
        rgb(222 178 87 / 9%);

    color:
        rgb(222 178 87 / 100%);

    transform:
        rotate(2deg)
        scale(1.025);
}

/* =========================================================
   31.3. Grid body
   ========================================================= */

.lvduvs-global-menu__body {
    display: contents;
}


/* =========================================================
   31.4. Utility column
   ========================================================= */

.lvduvs-global-menu__utility {
    position: relative;
    z-index: 1;

    display: flex;

    min-width: 0;
    min-height: 0;

    grid-column: 1;
    grid-row: 2;

    flex-direction: column;

    padding:
        0
        clamp(2rem, 4vw, 4.4rem)
        clamp(1.6rem, 3vh, 2.4rem);

    border-right:
        1px solid
        rgb(255 255 255 / 15%);

    overflow-y: auto;

    isolation: isolate;
}


.lvduvs-global-menu__utility::after {
    position: absolute;

    z-index: -1;

    right: 0;
    bottom: 0;
    left: 0;

    height: 43%;

    background-image:
        linear-gradient(
            to bottom,
            rgb(3 21 34 / 0%),
            rgb(3 21 34 / 18%) 30%,
            rgb(3 21 34 / 46%) 100%
        ),
        url("../images/navigation/lvduvs-menu-building.png");

    background-position:
        center bottom,
        left bottom;

    background-repeat:
        no-repeat,
        no-repeat;

    background-size:
        100% 100%,
        min(100%, 38rem) auto;

    content: "";

    opacity: 0.66;

    pointer-events: none;
}


.lvduvs-global-menu__utility-top {
    max-width: 100%;
}


.lvduvs-global-menu__eyebrow {
    margin:
        0
        0
        1.9rem;

    padding-left: 0;

    color:
        rgb(222 178 87 / 100%);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            0.62rem,
            0.69vw,
            0.73rem
        );

    font-weight: 720;

    letter-spacing: 0.19em;

    line-height: 1.4;

    text-transform: uppercase;
}


.lvduvs-global-menu__eyebrow::before {
    display: none;
}


/* =========================================================
   31.5. Utility links
   ========================================================= */

.lvduvs-global-menu__utility-nav {
    margin-top: 0;
}


.lvduvs-global-menu__utility-nav
.mod-menu,
.lvduvs-global-menu__utility-nav
.mod-list,
.lvduvs-global-menu__utility-nav ul {
    display: grid;

    margin: 0;
    padding: 0;

    list-style: none;
}


.lvduvs-global-menu__utility-nav li {
    margin: 0;

    border-top:
        1px solid
        rgb(255 255 255 / 10%);
}


.lvduvs-global-menu__utility-nav li:last-child {
    border-bottom:
        1px solid
        rgb(255 255 255 / 12%);
}


.lvduvs-global-menu__utility-nav a {
    display: grid;

    min-height: 4.2rem;

    grid-template-columns:
        1.65rem
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 1.15rem;

    padding:
        0
        0.15rem;

    color:
        rgb(255 255 255 / 84%);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            0.88rem,
            1vw,
            1.02rem
        );

    font-weight: 590;

    letter-spacing: 0;

    line-height: 1.25;

    text-decoration: none;

    transition:
        color
        var(--lvduvs-transition-fast),

        padding-left
        var(--lvduvs-transition-fast);
}


.lvduvs-global-menu__utility-nav a::before {
    display: block;

    width: 1.35rem;
    height: 1.35rem;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    content: "";
}


.lvduvs-global-menu__utility-nav
li:nth-child(1) > a::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='11' rx='1.5'/%3E%3Cpath d='M2.5 19h19M9 19l1-3h4l1 3'/%3E%3C/svg%3E");
}


.lvduvs-global-menu__utility-nav
li:nth-child(2) > a::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 12h6M9 16h6'/%3E%3C/svg%3E");
}


.lvduvs-global-menu__utility-nav
li:nth-child(3) > a::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6-5.2 6-11a6 6 0 1 0-12 0c0 5.8 6 11 6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E");
}


.lvduvs-global-menu__utility-nav
li:nth-child(4) > a::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.1 8.2-7 10-3.9-1.8-7-5-7-10V6z'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
}


.lvduvs-global-menu__utility-nav
li:nth-child(n + 5) > a::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
}


.lvduvs-global-menu__utility-nav a::after {
    color:
        rgb(222 178 87 / 100%);

    content: "↗";

    font-size: 1rem;
    font-weight: 420;

    line-height: 1;

    transition:
        transform
        var(--lvduvs-transition-fast);
}


.lvduvs-global-menu__utility-nav a:hover,
.lvduvs-global-menu__utility-nav a:focus-visible {
    padding-left: 0.18rem;

    color:
        var(--lvduvs-paper);
}


.lvduvs-global-menu__utility-nav a:hover::after,
.lvduvs-global-menu__utility-nav a:focus-visible::after {
    transform:
        translate(
            0.1rem,
            -0.08rem
        );
}


/* =========================================================
   31.6. Languages
   ========================================================= */

.lvduvs-global-menu__languages {
    margin-top: 1.2rem;
}


.lvduvs-global-menu__languages
.mod-languages ul {
    display: flex;

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


.lvduvs-global-menu__languages
.mod-languages li {
    display: flex;

    align-items: center;

    margin: 0;
}


.lvduvs-global-menu__languages
.mod-languages li + li::before {
    margin-inline: 0.55rem;

    color:
        rgb(255 255 255 / 30%);

    content: "/";
}


.lvduvs-global-menu__languages
.mod-languages a {
    color:
        rgb(255 255 255 / 52%);

    font-size: 0.68rem;
    font-weight: 720;

    letter-spacing: 0.08em;

    text-decoration: none;

    text-transform: uppercase;
}


.lvduvs-global-menu__languages
.mod-languages
.lang-active a,
.lvduvs-global-menu__languages
.mod-languages a:hover {
    color:
        var(--lvduvs-paper);
}


/* =========================================================
   31.7. Main navigation
   ========================================================= */

.lvduvs-global-menu__main {
    position: relative;

    display: flex;

    min-width: 0;
    min-height: 0;

    grid-column: 2;
    grid-row: 1 / span 2;

    flex-direction: column;

    padding:
        clamp(5.8rem, 10vh, 8.6rem)
        clamp(3.4rem, 6vw, 7.2rem)
        clamp(2rem, 4vh, 3.2rem)
        clamp(3.1rem, 5.2vw, 6.2rem);

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 78% 4%,
            rgb(71 149 196 / 9%),
            transparent 27rem
        );
}


.lvduvs-global-menu__navigation {
    min-height: 0;

    padding: 0;

    overflow: visible;
}


.lvduvs-global-menu__navigation
.mod-menu,
.lvduvs-global-menu__navigation
.mod-list {
    display: grid;

    margin: 0;
    padding: 0;

    list-style: none;
}


.lvduvs-global-menu__navigation
.mod-menu > li,
.lvduvs-global-menu__navigation
.mod-list > li {
    margin: 0;

    border-top:
        1px solid
        rgb(255 255 255 / 18%);

    opacity: 0;

    transform:
        translateX(
            var(
                --lvduvs-motion-distance-medium
            )
        );

    transition:
        opacity
        var(--lvduvs-motion-duration-slow)
        var(--lvduvs-motion-ease-emphasized),

        transform
        var(--lvduvs-motion-duration-slow)
        var(--lvduvs-motion-ease-emphasized);
}


.lvduvs-global-menu__navigation
.mod-menu > li:last-child,
.lvduvs-global-menu__navigation
.mod-list > li:last-child {
    border-bottom:
        1px solid
        rgb(255 255 255 / 18%);
}


.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-menu > li,
.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-list > li {
    opacity: 1;

    transform:
        translateX(0);
}


.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-menu > li:nth-child(1),
.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-list > li:nth-child(1) {
    transition-delay: 55ms;
}


.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-menu > li:nth-child(2),
.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-list > li:nth-child(2) {
    transition-delay: 85ms;
}


.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-menu > li:nth-child(3),
.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-list > li:nth-child(3) {
    transition-delay: 115ms;
}


.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-menu > li:nth-child(n + 4),
.lvduvs-mobile-menu.is-open
.lvduvs-global-menu__navigation
.mod-list > li:nth-child(n + 4) {
    transition-delay: 145ms;
}


.lvduvs-global-menu__navigation
.mod-menu > li > a,
.lvduvs-global-menu__navigation
.mod-list > li > a,
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub {
    display: flex;

    width: 100%;

    min-height:
        clamp(
            4.55rem,
            8.2vh,
            6.1rem
        );

    box-sizing: border-box;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    appearance: none;
    -webkit-appearance: none;

    color:
        rgb(255 255 255 / 94%);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            1.55rem,
            2.45vw,
            2.75rem
        );

    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.035em;

    text-align: left;
    text-indent: 0;

    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color
        var(--lvduvs-transition-fast),

        padding-left
        var(--lvduvs-transition-fast);
}

.lvduvs-global-menu__navigation
.mod-menu > li > a:hover,
.lvduvs-global-menu__navigation
.mod-list > li > a:hover,
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub:hover,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub:hover,
.lvduvs-global-menu__navigation
.mod-menu > li > a:focus-visible,
.lvduvs-global-menu__navigation
.mod-list > li > a:focus-visible,
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub:focus-visible,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub:focus-visible {
    padding-left: 0.32rem;

    color:
        var(--lvduvs-paper);
}


/*
 * Звичайні пункти:
 * золота стрілка вправо.
 */
.lvduvs-global-menu__navigation
.mod-menu > li > a::after,
.lvduvs-global-menu__navigation
.mod-list > li > a::after {
    flex: 0 0 auto;

    color:
        rgb(222 178 87 / 100%);

    content: "›";

    font-size:
        clamp(
            1.55rem,
            2vw,
            2rem
        );

    font-weight: 300;

    line-height: 1;

    transition:
        transform
        var(--lvduvs-transition-fast);
}


/*
 * Батьківський пункт з підменю:
 * показуємо власний chevron через ::after,
 * щоб він гарантовано був видимий незалежно
 * від стандартної Joomla-іконки.
 */
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub::after,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub::after {
    flex: 0 0 auto;

    color:
        rgb(222 178 87 / 100%);

    content: "›";

    font-size:
        clamp(
            1.55rem,
            2vw,
            2rem
        );

    font-weight: 300;

    line-height: 1;

    transform:
        rotate(0deg);

    transform-origin:
        center;

    transition:
        transform
        var(--lvduvs-transition-fast);
}


/*
 * Стандартну Joomla-іконку приховуємо,
 * щоб не отримати дві стрілки.
 */
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub
.icon-chevron-down {
    display: none;
}


/*
 * При відкритті підменю:
 * - батьківський пункт не змінює базовий колір;
 * - текст залишається білим;
 * - chevron повертається вниз.
 */
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub[aria-expanded="true"] {
    color:
        rgb(255 255 255 / 94%);
}


.lvduvs-global-menu__navigation
.mod-menu__toggle-sub[aria-expanded="true"]::after {
    transform:
        rotate(90deg);
}


/*
 * Hover/focus: стрілка рухається разом із пунктом.
 */
.lvduvs-global-menu__navigation
.mod-menu > li > a:hover::after,
.lvduvs-global-menu__navigation
.mod-list > li > a:hover::after,
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub:hover::after,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub:hover::after,
.lvduvs-global-menu__navigation
.mod-menu > li > a:focus-visible::after,
.lvduvs-global-menu__navigation
.mod-list > li > a:focus-visible::after,
.lvduvs-global-menu__navigation
.mod-menu > li >
.mod-menu__toggle-sub:focus-visible::after,
.lvduvs-global-menu__navigation
.mod-list > li >
.mod-menu__toggle-sub:focus-visible::after {
    transform:
        translateX(0.18rem);
}


/*
 * Якщо підменю вже відкрите і на пункт наведено курсор,
 * зберігаємо поворот вниз + легкий рух вправо.
 */
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub[aria-expanded="true"]:hover::after,
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub[aria-expanded="true"]:focus-visible::after {
    transform:
        translateX(0.18rem)
        rotate(90deg);
}


/*
 * Надійний відкритий стан для Joomla:
 * якщо вкладений список уже має .show-menu,
 * chevron батьківського пункту повертається вниз
 * навіть якщо aria-expanded не оновився вчасно.
 */
.lvduvs-global-menu__navigation
.mod-menu > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub::after,
.lvduvs-global-menu__navigation
.mod-list > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub::after {
    transform:
        rotate(90deg);
}


.lvduvs-global-menu__navigation
.mod-menu > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub:hover::after,
.lvduvs-global-menu__navigation
.mod-list > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub:hover::after,
.lvduvs-global-menu__navigation
.mod-menu > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub:focus-visible::after,
.lvduvs-global-menu__navigation
.mod-list > li:has(> .mod-menu__sub.show-menu)
> .mod-menu__toggle-sub:focus-visible::after {
    transform:
        translateX(0.18rem)
        rotate(90deg);
}


/*
 * Поточний пункт меню.
 */
.lvduvs-global-menu__navigation
a[aria-current="page"],
.lvduvs-global-menu__navigation
li.current > a,
.lvduvs-global-menu__navigation
li.active > a,
.lvduvs-global-menu__navigation
li.current > .mod-menu__toggle-sub,
.lvduvs-global-menu__navigation
li.active > .mod-menu__toggle-sub {
    color:
        rgb(255 255 255 / 94%);
}


/*
 * ВСТУП — постійний стратегічний золотий акцент.
 *
 * Не залежить від позиції пункту в Joomla-меню.
 * Підтримуються:
 * - семантичний CSS-клас;
 * - типові URL admission / vstup / vstupnyk / abitur.
 */
.lvduvs-global-menu__navigation
a.lvduvs-menu-admission,
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub.lvduvs-menu-admission,
.lvduvs-global-menu__navigation
li.lvduvs-menu-admission > a,
.lvduvs-global-menu__navigation
li.lvduvs-menu-admission > .mod-menu__toggle-sub,
.lvduvs-global-menu__navigation
a[href*="/vstup"],
.lvduvs-global-menu__navigation
a[href*="vstup"],
.lvduvs-global-menu__navigation
a[href*="vstupny"],
.lvduvs-global-menu__navigation
a[href*="admission"],
.lvduvs-global-menu__navigation
a[href*="abitur"] {
    color:
        rgb(222 178 87 / 100%);
}

/* =========================================================
   31.8. Submenu — editorial second level
   ========================================================= */

.lvduvs-global-menu__navigation
.mod-menu__sub {
    display: grid;

    max-height: 0;

    margin:
        0
        0
        0
        0.18rem;

    padding:
        0
        0
        0
        clamp(
            1.15rem,
            1.8vw,
            1.85rem
        );

    position: relative;

    overflow: hidden;

    border-left: 0;

    list-style: none;

    opacity: 0;
    visibility: hidden;

    transition:
        max-height
        var(--lvduvs-motion-duration-normal)
        var(--lvduvs-motion-ease-emphasized),

        opacity
        var(--lvduvs-motion-duration-fast)
        var(--lvduvs-motion-ease-standard),

        padding
        var(--lvduvs-motion-duration-fast)
        var(--lvduvs-motion-ease-standard),

        visibility
        var(--lvduvs-motion-duration-fast)
        var(--lvduvs-motion-ease-standard);
}


/*
 * Коротка золота вертикаль другого рівня:
 * не доходить ані до батьківського рядка,
 * ані до нижньої горизонтальної лінії.
 */
.lvduvs-global-menu__navigation
.mod-menu__sub::before {
    position: absolute;

    top: 0.65rem;
    bottom: 1.65rem;
    left: 0;

    width: 1px;

    background:
        rgb(222 178 87 / 34%);

    content: "";

    pointer-events: none;
}


.lvduvs-global-menu__navigation
.mod-menu__sub.show-menu {
    max-height: 42rem;

    padding-top: 0.12rem;
    padding-bottom: 0.7rem;

    opacity: 1;
    visibility: visible;
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li {
    margin: 0;

    border-top:
        1px solid
        rgb(255 255 255 / 8%);

    opacity: 1;

    transform: none;

    transition: none;
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li:first-child {
    border-top: 0;
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li > a {
    display: flex;

    min-height: 2.9rem;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    padding:
        0
        0.15rem;

    color:
        rgb(255 255 255 / 74%);

    font-family:
        "Inter Tight",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        clamp(
            1.04rem,
            1.16vw,
            1.16rem
        );

    font-weight: 560;

    line-height: 1.3;

    letter-spacing: -0.01em;

    text-decoration: none;

    text-transform: none;

    transition:
        color
        var(--lvduvs-transition-fast),

        padding-left
        var(--lvduvs-transition-fast);
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li > a::after {
    flex: 0 0 auto;

    color:
        rgb(222 178 87 / 78%);

    content: "↗";

    font-size: 0.78rem;

    transition:
        transform
        var(--lvduvs-transition-fast),

        color
        var(--lvduvs-transition-fast);
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li > a:hover,
.lvduvs-global-menu__navigation
.mod-menu__sub > li > a:focus-visible {
    padding-left: 0.22rem;

    color:
        var(--lvduvs-paper);
}


.lvduvs-global-menu__navigation
.mod-menu__sub > li > a:hover::after,
.lvduvs-global-menu__navigation
.mod-menu__sub > li > a:focus-visible::after {
    color:
        rgb(222 178 87 / 100%);

    transform:
        translate(
            0.1rem,
            -0.08rem
        );
}


/* =========================================================
   31.9. Tablet
   ========================================================= */

@media (max-width: 1100px) {

    .lvduvs-mobile-menu__panel {
        grid-template-columns:
            minmax(17rem, 36%)
            minmax(0, 64%);
    }

    .lvduvs-global-menu__header,
    .lvduvs-global-menu__utility {
        padding-inline: 2rem;
    }

    .lvduvs-global-menu__main {
        padding:
            5.7rem
            2.7rem
            2.2rem;
    }

    .lvduvs-global-menu__navigation
    .mod-menu > li > a,
    .lvduvs-global-menu__navigation
    .mod-list > li > a,
    .lvduvs-global-menu__navigation
    .mod-menu__toggle-sub {
        min-height: 4.8rem;

        font-size:
            clamp(
                1.25rem,
                2.4vw,
                1.85rem
            );
    }
}

/* =========================================================
   31.11. Narrow mobile
   ========================================================= */

@media (max-width: 420px) {

    .lvduvs-global-menu__navigation
    .mod-menu > li > a,
    .lvduvs-global-menu__navigation
    .mod-list > li > a,
    .lvduvs-global-menu__navigation
    .mod-menu__toggle-sub {
        min-height: 4.2rem;

        font-size: 1.02rem;
    }

    .lvduvs-global-menu__utility-nav a {
        grid-template-columns:
            1.4rem
            minmax(0, 1fr)
            auto;

        gap: 0.85rem;
    }
}



/*
 * Joomla може вкладати текст батьківського пункту у span.
 * Він не повинен мати власну метрику шрифту.
 */
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub > span:not(.icon-chevron-down) {
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

/* =========================================================
   32. Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .lvduvs-header,
    .lvduvs-header__inner,
    .lvduvs-brand__mark--logo,
    .lvduvs-header-actions a,
    .lvduvs-header-actions a::before,
    .lvduvs-header-actions a::after,
    .lvduvs-menu-toggle,
    .lvduvs-mobile-menu__backdrop,
    .lvduvs-mobile-menu__panel,
    .lvduvs-mobile-menu__close,
    .lvduvs-global-menu__utility,
    .lvduvs-global-menu__main,
    .lvduvs-global-menu__navigation a,
    .lvduvs-global-menu__navigation
    .mod-menu__toggle-sub,
    .lvduvs-global-menu__utility-nav a {
        transition: none !important;
    }


    .lvduvs-header-actions
    li:nth-child(1) a::after {
        transform:
            translateY(-0.04rem);
    }


    .lvduvs-header-actions
    li:nth-child(3) a::before {
        transform:
            translate(
                -62%,
                -58%
            );
    }


    .lvduvs-header-actions
    li:nth-child(3) a::after {
        transform:
            rotate(45deg);
    }
}



/* LVDUVS-MOBILE-MENU-RESTORE:START */


/* =========================================================
   Mobile fullscreen menu
   ========================================================= */

@media (max-width: 760px) {

    /*
     * Desktop grid на телефоні вимикається повністю.
     */
    .lvduvs-mobile-menu__panel {
        display: block;

        width: 100%;
        height: 100dvh;

        overflow-y: auto;
        overflow-x: hidden;
    }


    /*
     * Верхня частина fullscreen menu.
     */
    .lvduvs-global-menu__header {
        position: sticky;

        z-index: 4;

        top: 0;

        display: flex;

        width: 100%;
        min-height: 5rem;

        box-sizing: border-box;

        align-items: center;

        padding:
            0.75rem
            1rem;

        border-right: 0;

        border-bottom:
            1px solid
            rgb(255 255 255 / 12%);

        background:
            rgb(3 21 34 / 96%);

        backdrop-filter:
            blur(18px);
    }


    /*
     * Компактний бренд.
     */
    .lvduvs-brand__full,
    .lvduvs-header.is-scrolled
    .lvduvs-brand__full,
    .lvduvs-global-menu__brand-full {
        display: none;
    }


    .lvduvs-global-menu__brand {
        gap: 0.7rem;
    }


    .lvduvs-global-menu__brand-mark--logo {
        width: 2.8rem;
        height: 2.8rem;
    }


    .lvduvs-global-menu__brand-text {
        padding-left: 0.7rem;
    }


    .lvduvs-global-menu__brand-short {
        font-size: 0.92rem;
    }


    /*
     * Close.
     */
    .lvduvs-global-menu__header
    .lvduvs-mobile-menu__close {
        position: absolute;

        top: 50%;
        right: 0.85rem;

        width: 2.7rem;
        height: 2.7rem;

        transform:
            translateY(-50%);
    }


    .lvduvs-global-menu__header
    .lvduvs-mobile-menu__close:hover {
        transform:
            translateY(-50%)
            scale(1.02);
    }


    /*
     * Основна навігація зверху,
     * службові посилання нижче.
     */
    .lvduvs-global-menu__body {
        display: flex;

        width: 100%;

        flex-direction: column;
    }


    .lvduvs-global-menu__main {
        order: 1;

        width: 100%;
        box-sizing: border-box;

        padding:
            1.6rem
            1rem
            2rem;

        overflow: visible;

        background: transparent;
    }


    /*
     * Усі пункти першого рівня —
     * і <a>, і submenu-button —
     * мають абсолютно однакову геометрію.
     */
    .lvduvs-global-menu__navigation
    .mod-menu > li > a,
    .lvduvs-global-menu__navigation
    .mod-list > li > a,
    .lvduvs-global-menu__navigation
    .mod-menu > li > .mod-menu__toggle-sub,
    .lvduvs-global-menu__navigation
    .mod-list > li > .mod-menu__toggle-sub {
        display: flex;

        width: 100%;
        min-height: 4.5rem;

        box-sizing: border-box;

        align-items: center;
        justify-content: space-between;

        gap: 1rem;

        margin: 0;
        padding: 0;

        border: 0;
        border-radius: 0;

        appearance: none;
        -webkit-appearance: none;

        background: transparent;

        font-family:
            "Inter Tight",
            "Inter",
            "Segoe UI",
            Arial,
            sans-serif;

        font-size:
            clamp(
                1.08rem,
                5vw,
                1.38rem
            );

        font-weight: 700;
        line-height: 1;

        letter-spacing: -0.02em;

        text-align: left;
        text-indent: 0;

        text-transform: uppercase;
    }


    /*
     * Joomla може обгорнути текст toggle у span.
     */
    .lvduvs-global-menu__navigation
    .mod-menu__toggle-sub > span:not(.icon-chevron-down) {
        margin: 0;
        padding: 0;

        font: inherit;

        letter-spacing: inherit;
        line-height: inherit;
    }


    /*
     * Однакова стрілка.
     */
    .lvduvs-global-menu__navigation
    .mod-menu > li > a::after,
    .lvduvs-global-menu__navigation
    .mod-list > li > a::after,
    .lvduvs-global-menu__navigation
    .mod-menu > li > .mod-menu__toggle-sub::after,
    .lvduvs-global-menu__navigation
    .mod-list > li > .mod-menu__toggle-sub::after {
        font-size: 1.5rem;
    }


    /*
     * Utility — завжди ПІСЛЯ основного меню.
     */
    .lvduvs-global-menu__utility {
        order: 2;

        width: 100%;
        box-sizing: border-box;

        padding:
            2rem
            1rem
            1.4rem;

        border-top:
            1px solid
            rgb(255 255 255 / 12%);

        border-right: 0;

        overflow: visible;
    }


    .lvduvs-global-menu__utility::after {
        display: none;
    }


    .lvduvs-global-menu__eyebrow {
        margin-bottom: 1.3rem;

        font-size: 0.62rem;
    }


    .lvduvs-global-menu__utility-nav a {
        min-height: 3.8rem;

        font-size: 0.86rem;
    }

}


/* =========================================================
   Narrow mobile
   ========================================================= */

@media (max-width: 420px) {

    .lvduvs-global-menu__navigation
    .mod-menu > li > a,
    .lvduvs-global-menu__navigation
    .mod-list > li > a,
    .lvduvs-global-menu__navigation
    .mod-menu > li > .mod-menu__toggle-sub,
    .lvduvs-global-menu__navigation
    .mod-list > li > .mod-menu__toggle-sub {
        min-height: 4.2rem;

        font-size: 1.02rem;
    }


    .lvduvs-global-menu__utility-nav a {
        grid-template-columns:
            1.4rem
            minmax(0, 1fr)
            auto;

        gap: 0.85rem;
    }

}


/* =========================================================
   ВСТУП — semantic accent
   ========================================================= */

.lvduvs-global-menu__navigation
a.lvduvs-menu-admission,
.lvduvs-global-menu__navigation
.mod-menu__toggle-sub.lvduvs-menu-admission,
.lvduvs-global-menu__navigation
li.lvduvs-menu-admission > a,
.lvduvs-global-menu__navigation
li.lvduvs-menu-admission > .mod-menu__toggle-sub,
.lvduvs-global-menu__navigation
a[href*="vstup"],
.lvduvs-global-menu__navigation
a[href*="admission"] {
    color:
        rgb(222 178 87 / 100%);
}


/* LVDUVS-MOBILE-MENU-RESTORE:END */