/* HOME PAGE */
/* ---------------------------- */
.home nav {
    /* position: absolute; Needed for blurred background effect */
    transition: all 0.3s ease-in-out;
    position: absolute;
    background-color: transparent;
}
@media screen and ( max-width: 999px ) {
    .home:not(.primary-navigation-open) nav:not(.scroll) {
        /* position: absolute; */
        color: var(--light);
        /* background-color: transparent; */
    }
    .home .calendar-button {
        background-color: var(--dark) !important;
        color: var(--light) !important;
    }
}
.home:not(.primary-navigation-open) nav:not(.scroll) .logo-li, .home:not(.primary-navigation-open) nav:not(.scroll) .icon-search {
    background-color: var(--light);
    transition: all 1s ease-in-out;
}
.home nav.scroll{
    background-color: var(--light);
    /* backdrop-filter: blur(10px); */
}
@media screen and ( min-width: 1000px ) {
    .home .menu-bg nav, .home nav .gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang {
        color: var(--light);
    }
    .home .menu-bg .logo-li, .home .menu-bg .icon-search, .gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
        background-color: var(--light);
    }
    .home .primary-navigation .primary-menu-container > ul > .menu-item.active {
        border: 1px solid var(--light);
    }
    .home .calendar-button button.light, .home .primary-navigation .sub-menu .menu-item > a {
        background-color: var(--light);
        color: var(--dark);
    }
}

/* HOME HEADER */

header {
    background-color: var(--dark);
    height: 625px;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}
header .background, header .background img {
    position: absolute;
    width: 100%;
    height: 100%;
}
header.justify-center .background img {
    opacity: .6;
}
header .headline-wrap {
    width: 100vw;
    z-index: 1;
    padding: 0 var(--x-screen-16-36);
}
header .headline {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    margin-bottom: calc(36px + 1vh);
    color: var(--light);
    z-index: 1;
}
header.justify-end .headline-wrap {
    background: linear-gradient(180deg, rgba(16, 22, 27, 0.00) 0%, #10161B 90.37%);
}
.status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    width: 100%;
}
header.justify-center .status {
    position: absolute;
    inset: auto 0% 0%;
}
.status > div {
    display: flex;
    padding: var(--x-screen-12-24);
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: min(24px, 3.5vw);
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(10px);
}
.open .icon-dot {
    width: 12px;
    height: 12px;
    background-color: #0ADC6F;
    border-radius: 12px;
}
.open .icon-dot.closed {
    background-color: #C51031;
}
#weather-icon {
    width: 1.25em;
    height: 1.25em;
}

@media screen and ( max-width: 515px ) {
    header .headline h2 {
        font-size: min(6.5vw, 32px);
    }
}
@media screen and ( max-width: 415px ) {
    .status {
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr;
    }
}
@media screen and ( min-width: 768px ) {
    header {
        height: 842px;
    }
}


.home .card-section {
    margin: var(--y-screen-36-64) var(--x-screen-16-36);
}


/* IN THE NEWS */
.section-news {
    padding: 24px var(--x-screen-16-36) var(--y-screen-36-48);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 36px;
}
.news-list {
    position: relative;
    width: 100%;
}
.news-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 0.5px solid rgba(16, 22, 27, 0.30);
    cursor: pointer;
}
.news-item:last-child {
    margin: 0;
}
.news-item img {
    width: min(50%, 250px);
}
.news-item::after {
    content: url('/wp-content/themes/_li/images/_icons/arrow-angle.svg');
    position: absolute;
    right: 2px;
    top: 2px;
    width: 18px;
}
.news-wrap {
    width: min(100%, 630px);
}
.news-wrap .eyelash {
    display: inline-block;
    margin-bottom: 8px;
}
.section-news .button {
    align-self: flex-end;
}

@media screen and ( min-width: 768px ) {
    .section-news {
        gap: 48px;
    }
    .news-wrap {
        margin-right: 50px;
    }
    .news-item {
        flex-direction: row;
        gap: 10vw;
        padding-bottom: 36px;
        margin-bottom: 48px;
    }
    .news-item::after {
        top: 50%;
        width: 24px;
        transform: translate(0, -100%);
    }
}