:root {
    --color-blue: #312f80;
    --color-blue2: #007fb0;
}

/* BUTTON 1 — Fill */
.button1 {
    --button-padding: 0.75rem 1.5625rem;
    --button-background: var(--color-button);
    --button-text: var(--color-button-text);
    --button-border: #0000;

    background-color: var(--button-background);
    border-color: var(--button-border);
    border-radius: 4px;
    border-style: solid;
    border-width: 2px;
    color: var(--button-text);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-family-sans);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-black);
    padding: var(--button-padding);
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(.19, 1, .22, 1);
}

.button1:hover {
    background-color: var(--color-blue2);
}

.button1:active {
    filter: brightness(1);
}


/* BUTTON 2 — Outline */
.button2 {
    --button-padding: 0.75rem 1.5625rem;
    --button-background: #0000;
    --button-text: var(--color-blue);
    --button-border: #e6e6e6;

    background-color: var(--button-background);
    border-color: var(--button-border);
    border-radius: 4px;
    border-style: solid;
    border-width: 2px;
    color: var(--button-text);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-family-sans);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-black);
    padding: var(--button-padding);
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(.19, 1, .22, 1);
}

.button2:hover {
    --button-border: var(--color-blue);
}

.button2:active {
    filter: brightness(1);
}

.button3 {
    --button-padding: 0.75rem 1.5625rem;
    --button-background: var(--color-button);
    --button-text: var(--color-button-text);
    --button-border: #e6e6e6;

    background-color: var(--button-background);
    border-color: var(--button-border);
    border-radius: 4px;
    border-style: solid;
    border-width: 2px;
    color: var(--button-text);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-family-sans);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-black);
    padding: var(--button-padding);
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(.19, 1, .22, 1);
}

.button3:hover {
    background-color: var(--color-blue2);
    border-color: transparent;
}

.button3:active {
    filter: brightness(1);
}

.header-tagline {
    /* margin-left: 80px; */
    color: var(--color-white);
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    text-transform: none;
}

.navigation-bar__brand {
    display: flex;
    align-items: center;
}

.logo-glow {
    position: relative;
    isolation: isolate;
}

.logo-glow::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: clamp(320px, 42vw, 680px);
    height: 260px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
            rgba(155, 170, 255, 0.30) 0%,
            rgba(135, 150, 245, 0.20) 35%,
            rgba(115, 130, 225, 0.09) 60%,
            transparent 75%);
    pointer-events: none;
}

.navigation-bar {
    background-image: radial-gradient(ellipse 350px 300px at 35px 50%,
            rgba(205, 212, 255, 0.50) 0%,
            rgba(180, 192, 255, 0.38) 35%,
            rgba(150, 165, 250, 0.15) 60%,
            transparent 75%) !important;
}

.navigation-bar::before {
    background-color: var(--color-brand-valiocom) !important;
    background-image: radial-gradient(ellipse 350px 300px at calc(100% + 35px) 50%,
            rgba(205, 212, 255, 0.50) 0%,
            rgba(180, 192, 255, 0.38) 35%,
            rgba(150, 165, 250, 0.15) 60%,
            transparent 75%) !important;
}

.navigation-bar::after {
    background: var(--color-brand-valiocom) !important;
}

/* Footer logo glow */
.site-footer {
    background-color: var(--color-brand-valiocom) !important;
    background-image: linear-gradient(
        90deg,
        rgba(205, 212, 255, 0.45) 0%,
        rgba(180, 192, 255, 0.32) 25%,
        var(--color-brand-valiocom) 65%
    ) !important;
}

.site-footer::before,
.site-footer::after {
    background: var(--color-brand-valiocom) !important;
}

@media (max-width: 767px) {
    .site-footer {
        background-image: radial-gradient(
            ellipse 350px 300px at 15% 10%,
            rgba(205, 212, 255, 0.50) 0%,
            rgba(180, 192, 255, 0.38) 35%,
            rgba(150, 165, 250, 0.15) 60%,
            transparent 90%
        ) !important;
    }

    .site-footer::before {
        background-color: var(--color-brand-valiocom) !important;
        background-image: radial-gradient(
            ellipse 350px 300px at calc(100% + 15%) 10%,
            rgba(205, 212, 255, 0.50) 0%,
            rgba(180, 192, 255, 0.38) 35%,
            rgba(150, 165, 250, 0.15) 60%,
            transparent 90%
        ) !important;
    }

    .site-footer::after {
        background: var(--color-brand-valiocom) !important;
    }
}

/* Image Location */
.wp-block-media-text__media {
    position: relative;
}

.image-location {
    position: absolute;
    right: 35px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    z-index: 2;
    text-align: right;
}

.image-location__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.image-location__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 0.6;
}

.image-location__country {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
}

.image-location svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .image-location {
        right: 18px;
        bottom: 18px;
        gap: 8px;
    }

    .image-location__title {
        font-size: 16px;
        line-height: 0.3;
    }

    .image-location__country {
        font-size: 12px;
    }

    .image-location svg {
        width: 21px;
        height: 21px;
    }
}

/* Narrow Text */
.narrowtext {
    padding:3.5rem;
}

.displaydesktop {
    display: block;
}

.displaymobil {
    display: none;
}

@media (max-width: 767px) {
    .narrowtext {
    padding:1rem;
}
.displaydesktop {
    display: none;
}
.displaymobil {
    display: block;
}
.mb-2 {
    margin-bottom: 2rem;
}
}

/* 404 Page Layout */
body:has(.page-404) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-404 {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-404__content {
    margin: 20px 0;
}

body:has(.page-404) .site-footer {
    flex-shrink: 0;
}

/* Header language switcher */
.header-menu-desktop__top-menu > .menu-item-language {
    align-items: center;
    display: flex;
    height: 100%;
}

.language-switcher {
    align-items: center;
    /* background: rgba(20, 21, 67, 0.08); */
    border: 1px solid rgba(20, 21, 67, 0.16);
    border-radius: 999px;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    position: relative;
    z-index: 2;
}

.language-switcher__option {
    align-items: center;
    border-radius: 999px;
    color: rgba(20, 21, 67, 0.68);
    display: inline-flex;
    font-family: var(--font-family-sans);
    font-size: 0.75rem;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    min-width: 54px;
    padding: 0 3px;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher__option img {
    /* border: 1px solid rgba(20, 21, 67, 0.12);
    border-radius: 50%; */
    display: block;
    flex: 0 0 25px;
    height: 25px;
    object-fit: cover;
    width: 25px;
}

.language-switcher__option.is-active {
    background: var(--color-brand-valiocom);
    box-shadow: 0 1px 4px rgba(20, 21, 67, 0.18);
    color: #fff;
}

.language-switcher__option:not(.is-active):hover,
.language-switcher__option:not(.is-active):focus-visible {
    background: rgba(20, 21, 67, 0.1);
    color: var(--color-brand-valiocom);
}

.language-switcher__option:focus-visible {
    outline: 2px solid var(--color-brand-valiocom);
    outline-offset: 2px;
}

.header-menu-mobile--bottom-menu .language-switcher__option {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    line-height: 1;
    min-height: 30px;
}

.header-menu-mobile--bottom-menu .language-switcher {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-menu-mobile--bottom-menu .language-switcher__option.is-active {
    background: #fff;
    color: var(--color-brand-valiocom);
}

@media (max-width: 1079px) {
    .header-menu-mobile--bottom-menu .menu-item-language {
        margin-top: 0.5rem;
    }
}
