/* shared five-tab navigation */
:root {
    --nav-height: 88px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--surface, #fffefa);
    border-bottom: 1px solid var(--line, #d7ddd2);
    color: var(--text, #17342e);
    transition: background .3s, border-color .3s, box-shadow .3s;
    font: 14px/1.5 Arial, Helvetica, sans-serif
}

.site-header .nav {
    width: min(1240px, calc(100% - 72px));
    margin-inline: auto;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.site-header .brand {
    display: block;
    flex-shrink: 0;
    text-decoration: none
}

.site-header .logo {
    display: block;
    width: 195px;
    height: auto;
    max-height: 68px;
    object-fit: contain
}

.site-header .dark-logo {
    display: none
}

.site-header #menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    position: static;
    padding: 0;
    background: none;
    border: 0;
    flex-direction: row;
    flex-shrink: 0
}

.site-header #menu>a,
.site-header summary {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    font: 600 13px/1.5 Arial, sans-serif;
    white-space: nowrap;
    text-decoration: none;
    padding: 17px 0;
    position: relative;
    cursor: pointer;
    list-style: none;
    letter-spacing: .01em
}

.site-header summary::-webkit-details-marker {
    display: none
}

.site-header summary svg {
    transition: transform .2s
}

.site-header details[open] summary svg {
    transform: rotate(180deg)
}

.site-header #menu>a:after,
.site-header summary:after {
    content: "";
    position: absolute;
    bottom: 9px;
    left: 0;
    right: 0;
    height: 1px;
    background: #c7a86a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s
}

.site-header #menu>a:hover:after,
.site-header #menu>a[aria-current=page]:after,
.site-header .navgroup[data-current] summary:after,
.site-header summary:hover:after,
.site-header details[open] summary:after {
    transform: scaleX(1)
}

.site-header .navgroup {
    position: relative;
    margin: 0;
    padding: 0;
    color: inherit;
    border: 0;
    background: none
}

.site-header .navdropdown {
    position: absolute;
    top: 100%;
    left: -23px;
    width: 285px;
    background: var(--surface, #fffefa);
    color: var(--text, #17342e);
    border: 1px solid var(--line, #d7ddd2);
    border-top: 2px solid #c7a86a;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 50px #071e2440;
    padding: 8px;
    animation: nav-enter .18s ease-out
}

.site-header .navdropdown a {
    display: block;
    padding: 12px 13px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    white-space: normal;
    position: relative;
    border-radius: 4px;
    line-height: 1.35
}

.site-header .navdropdown a:hover,
.site-header .navdropdown a:focus-visible,
.site-header .navdropdown a[aria-current=page] {
    background: var(--tint, #edf1e9)
}

.site-header .navdropdown a[aria-current=page]:after {
    display: none
}

.site-header .navdropdown small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted, #52665e);
    margin-top: 4px
}

.site-header .navdropdown a span {
    font-size: 13px
}

.site-header .navtools {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0
}

.site-header .iconbutton {
    border: 1px solid var(--line, #d7ddd2);
    background: transparent;
    color: inherit;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 19px;
    line-height: 1;
    cursor: pointer
}

.site-header .menu-toggle {
    display: none
}

.site-header :focus-visible {
    outline: 2px solid #c7a86a;
    outline-offset: 4px
}

.cinema-home .site-header {
    margin-bottom: calc(-1 * var(--nav-height) - 1px)
}

.cinema-home .cinema-content {
    padding-top: calc(var(--nav-height) + 40px)
}

.cinema-home .cinema {
    min-height: max(778px, calc(100svh - 31px))
}

.cinema-home .site-header.over-hero:not(.menu-open) {
    background: linear-gradient(180deg, #0a2823e8, #0a282340);
    border-color: #ffffff29;
    color: #f8f7f2;
    box-shadow: none
}

.cinema-home .site-header.over-hero:not(.menu-open) .light-logo {
    display: none
}

.cinema-home .site-header.over-hero:not(.menu-open) .dark-logo {
    display: block
}

.cinema-home .site-header.over-hero:not(.menu-open) .iconbutton {
    border-color: #ffffff60
}

.cinema-home .site-header:not(.over-hero) {
    box-shadow: 0 5px 25px #102f2a15
}

@keyframes nav-enter {
    from {
        opacity: 0;
        transform: translateY(-5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:1150px) {
    .site-header .nav {
        width: calc(100% - 44px);
        gap: 16px
    }

    .site-header .logo {
        width: 175px
    }

    .site-header #menu {
        gap: 16px
    }
}

@media(max-width:1100px) {
    :root {
        --nav-height: 76px
    }

    .site-header .nav {
        width: calc(100% - 36px);
        gap: 10px
    }

    .site-header .logo {
        width: 155px
    }

    .site-header .navtools {
        gap: 7px
    }

    .js-nav .site-header .menu-toggle {
        display: grid
    }

    .site-header #menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface, #fffefa);
        color: var(--text, #17342e);
        padding: 14px 22px 22px;
        border-bottom: 1px solid var(--line, #d7ddd2);
        box-shadow: 0 15px 35px #071e242b;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - 105px);
        overflow: auto
    }

    .js-nav .site-header #menu:not(.open) {
        display: none
    }

    .site-header #menu>a,
    .site-header summary {
        font-size: 15px;
        padding: 14px 0;
        min-height: 46px;
        border-bottom: 1px solid var(--line, #d7ddd2)
    }

    .site-header summary {
        justify-content: space-between
    }

    .site-header #menu>a:after,
    .site-header summary:after {
        bottom: 0;
        right: auto;
        width: 32px
    }

    .site-header .navdropdown {
        position: static;
        width: auto;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 6px 0 6px 13px;
        animation: nav-enter .18s ease-out
    }

    .site-header .navdropdown a {
        padding: 12px;
        min-height: 44px
    }

    .site-header .navgroup {
        border: 0
    }

    .cinema-home .cinema-content {
        padding-top: calc(var(--nav-height) + 28px)
    }

    .cinema-home .cinema {
        min-height: max(756px, calc(100svh - 25px))
    }
}

@media(max-width:560px) {
    .site-header .nav {
        width: calc(100% - 30px)
    }

    .site-header .iconbutton {
        width: 35px;
        height: 35px
    }

    .cinema-home .cinema {
        min-height: 0
    }

    .cinema-home .cinema-content {
        padding-top: calc(var(--nav-height) + 24px)
    }
}

@media(max-width:350px) {
    .site-header .logo {
        width: 135px
    }

    .site-header .navtools {
        gap: 5px
    }
}

@media(prefers-reduced-motion:reduce) {

    .site-header,
    .site-header *,
    .site-header *:before,
    .site-header *:after {
        animation: none !important;
        transition: none !important
    }
}

/* Single consultation action, shared by desktop and mobile. */
.site-header .header-consultation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 15px;
    border: 1px solid #b99a60;
    border-radius: 3px;
    background: #c7a86a;
    color: #17342e;
    text-decoration: none;
    font: 700 13px/1.25 Arial, Helvetica, sans-serif;
    white-space: nowrap;
    text-align: center;
    transition: background-color .18s, border-color .18s
}

.site-header .header-consultation:hover {
    background: #d6ba82;
    border-color: #d6ba82;
    color: #17342e
}

@media(max-width:560px) {
    .site-header .header-consultation {
        white-space: normal;
        max-width: 115px;
        padding: 6px 8px;
        font-size: 12px
    }

    .site-header .nav .logo {
        width: 125px
    }

    .site-header .navtools {
        gap: 5px
    }
}

@media(max-width:390px) {
    .site-header .nav {
        width: calc(100% - 24px);
        gap: 5px
    }

    .site-header .nav .logo {
        width: 106px
    }

    .site-header .header-consultation {
        max-width: 102px;
        font-size: 11.5px;
        padding: 5px 6px
    }

    .site-header .navtools {
        gap: 4px
    }

    .site-header .navtools .iconbutton {
        width: 34px;
        height: 34px
    }
}