:root {
    --bg-color: #fff;
    --menu-hamburger-fg: #fff;
    --menu-hamburger-bg: var(--brand-color);
    --landing-dead-zone: 10vw;
    --job-vacancy-card-width: 320px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

::-moz-selection {
    color: white;
    background: var(--brand-color);
}

::selection {
    color: white;
    background: var(--brand-color);
}

.invert-select ::-moz-selection {
    color: var(--brand-color);
    background: white;
}

.invert-select ::selection {
    color: var(--brand-color);
    background: white;
}

html {
    scrollbar-color: var(--brand-color) rgba(17, 34, 104, 0.33);
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: rgba(17, 34, 104, 0.33);
    border: none;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-color);
}

::-webkit-scrollbar-thumb:active {
    background: var(--brand-color);
}

::-webkit-scrollbar-track {
    background: rgba(17, 34, 104, 0.33);
    border: 0;
    border-radius: 0;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.heading {
    font-size: 2em;
    margin: 2em;
}

.drp-landing {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.page-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    cursor: progress;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 900;
}

.drp-landing.is-loading .page-loading {
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
}

.page-loading img {
    width: 128px;
}

.drp-landing .navbar {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0 15vw;
    padding: 0 calc(2 * var(--landing-dead-zone));
    position: relative;
    height: unset;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 5em;
    width: calc(100% - 4*var(--landing-dead-zone));
    z-index: 40;
}

.navbar .logo {
    position: relative;
    transition: 0.4s;
}

.navbar .logo::before {
    transition: 0.2s;
    pointer-events: none;
    opacity: 0;
    content: '';
    display: block;
    background-image: linear-gradient(to bottom, white, transparent);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navbar .logo.hide {
    margin-top: -20px;
    opacity: 0;
    pointer-events: none;
}

.navbar .logo.hide::before {
    opacity: 1;
}

.menu-toggle {
    top: 0;
    right: 0;
    position: fixed;
    z-index: 50;
}

.menu-toggle .menu-hamburger-outer {
    position: absolute;
    right: -100px;
    top: -100px;
    z-index: 100;
    width: 200px;
    height: 200px;
    background: var(--menu-hamburger-bg);
    border-radius: 50% 50% 50% 50%;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    box-shadow: 0 0 0 0 var(--menu-hamburger-bg), 0 0 0 0 var(--menu-hamburger-bg);
    cursor: var(--cursor-invert);
}

.menu-toggle .menu-hamburger {
    position: absolute;
    top: 135px;
    left: 50px;
    width: 30px;
    height: 2px;
    background: var(--menu-hamburger-fg);
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.menu-hamburger:after,
.menu-hamburger:before {
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--menu-hamburger-fg);
}

.menu-hamburger:before {
    top: -10px;
}

.menu-hamburger:after {
    bottom: -10px;
}

.menu input {
    display: none;
}

.menu input:checked+.menu-toggle .menu-hamburger-outer {
    box-shadow: 0 0 0 100vw var(--menu-hamburger-bg), 0 0 0 100vh var(--menu-hamburger-bg);
    border-radius: 0;
}

.menu>input:checked+.menu-toggle .menu-hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu>input:checked+.menu-toggle .menu-hamburger:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    bottom: 0;
}

.menu>input:checked+.menu-toggle .menu-hamburger:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
}

.menu-inner {
    position: fixed;
    visibility: hidden;
    pointer-events: none;
    overflow: auto;
    scrollbar-color: rgb(28, 45, 113) #343c5b;
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    width: calc(100% - 4em - 2*var(--landing-dead-zone));
    height: calc(100% - 8em);
    z-index: 200;
    margin: 4em;
    margin-right: calc(2 * var(--landing-dead-zone));
}

.menu-inner ul {
    color: white;
    list-style: none;
    padding: 0;
    font-size: 4em;
}

.menu-inner li {
    margin-bottom: 1em;
    position: relative;
    padding-right: 0.6em;
}

.menu input:checked+.menu-toggle+.menu-inner {
    transition-delay: 0.5s;
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
}

.menu-inner li::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0.6em;
    height: 100%;
    width: 0px;
    background-color: white;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
}

.menu-inner li:hover::before {
    opacity: 1;
    right: 0;
    width: 0.3em;
}

.logo img {
    height: 120px;
}

.hero {
    min-height: 100vh;
    padding: 15em var(--landing-dead-zone) 4em var(--landing-dead-zone);
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-sizing: border-box;
    position: relative;
    z-index: 15;
}

.hero h1 {
    font-size: 8em;
}

.hero-background,
.footer-background {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    z-index: -5;
    opacity: 0.7;
}

.media {
    position: relative;
    z-index: 18;
    background-image: linear-gradient(to bottom, transparent, var(--bg-color) 25vh);
    padding-top: 10em;
}

.media-item {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 1em;
}

.media-item::after {
    content: '';
    display: block;
    width: 100%;
    height: 5em;
    background-image: linear-gradient(to bottom, transparent, var(--bg-color) 100%);
    position: absolute;
    bottom: 0;
    right: 0;
}

.media-item:nth-child(2n) {
    direction: rtl;
}

.media-item:nth-child(2n+1) {
    direction: ltr;
}

.media-item .caption {
    padding: 1em 3em;
    max-width: 600px;
    direction: rtl;
}

.media-item .caption .title {
    font-size: 2em;
    position: relative;
}

.media-item .caption .label {
    position: absolute;
    bottom: -1em;
    color: #a8a8a8;
    text-transform: uppercase;
    font-size: 0.5em;
    font-style: italic;
}

.media-item .caption .summary {
    font-size: 1.4em;
    line-height: 1.8;
    text-align: justify;
    white-space: pre-line;
}

.media-item .viewer-outer {
    overflow: hidden;
    width: 600px;
    height: 100%;
    position: relative;
    z-index: 5;
}

.media-item .viewer-outer>* {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.job-vacancies {
    position: relative;
    z-index: 20;
    padding: 4em 0;
}

.job-vacancies .splide {
    direction: ltr;
}

.job-vacancies ul.items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

.job-vacancies ul.items>li {
    align-self: stretch;
}

.job-vacancy-card {
    direction: rtl;
    text-align: right;
    margin: 2em 3em;
    background-color: #fbfbfb;
    border-radius: var(--border-radius);
    box-shadow: -0.1em 0.1em 0.4em rgba(0, 0, 0, 0.15);
    width: 220px;
    width: var(--job-vacancy-card-width);
    max-width: calc(100% - 6em) !important;
    height: calc(100% - 4em);
    display: flex;
    flex-direction: column;
    cursor: grab;
}

.job-vacancy-card:active {
    cursor: grabbing;
}

.job-vacancy-card .title {
    margin: 0;
    left: 0;
    padding-left: 30%;
    word-break: break-word;
}

.job-vacancy-card .logo {
    position: absolute;
    top: 0;
    max-width: 30%;
    max-height: 100%;
    width: 80px;
    left: 0;
    margin: 1em 2em;
    padding: 0;
    border-radius: var(--border-radius);
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: -0.1em -0.1em 0.8em rgba(0, 0, 0, 0.46);
}

.job-vacancy-card .detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.job-vacancy-card .description {
    margin: 0;
    text-align: justify;
    line-height: 1.7;
    white-space: pre-line;
    position: relative;
    height: 100px;
    overflow: hidden;
}

.job-vacancy-card .description:after {
    background-image: linear-gradient(0deg, #fbfbfb, transparent);
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
}

.job-vacancy-card>* {
    padding: 1em;
}

.job-vacancy-card .buttons {
    margin-top: 1em;
    text-align: left;
    display: block;
    width: 100%;
    position: relative;
    left: -2em;
}

.job-vacancy-card .buttons>* {
    text-align: center;
    color: white;
    background-color: var(--brand-color);
    padding: 0.4em;
    display: inline-block;
    border-radius: 0.2em;
}

.footer {
    background-color: var(--brand-color);
    border-radius: 0;
    min-height: 95vh;
    margin-right: var(--landing-dead-zone);
    color: white;
    padding: 10em 5em;
    padding-right: 15vw;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.footer .copyright {
    text-align: center;
    direction: ltr;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    margin-top: 2em;
}

.footer-inner .contact {
    font-size: 1.3em;
}

.footer-inner .contact .min-width {
    min-width: 110px;
    display: inline-block;
    padding: 0.2em 1em;
}

.footer-inner .map {
    width: 100%;
    height: 300px;
}

.footer-inner .responsive-flex {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-block: 1em;
    justify-content: space-between;
    align-items: center;
}

.trust-items-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
}

.footer-inner .trust-items-wrapper > * {
	background-color: white;
	padding-top: 6px;
	border-radius: 8px;
	display: inline-block;
}

@media only screen and (min-width: 1600px) {
    :root {
        --job-vacancy-card-width: 400px;
    }
}

@media only screen and (max-width: 1250px) {
    :root {
        --job-vacancy-card-width: calc(100% - 2em);
    }

    .media-item {
        height: auto;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .media-item .viewer-outer {
        width: 35%;
    }

    .media-item .caption {
        max-width: 100%;
    }

    .menu-inner ul {
        font-size: 6vw;
    }

    .hero h1 {
        font-size: 10vw;
    }
}

@media only screen and (max-width: 800px) {
    .media-item {
        min-height: 70vh;
    }

    .media-item .viewer-outer {
        width: 50%;
        max-width: 280px;
    }

    .footer-inner .responsive-flex {
        flex-direction: column;
    }
}

@media only screen and (max-width: 500px) {
    .footer {
        min-height: 120vh;
        padding: 8em 1em;
    }

    .media-item {
        min-height: 70vh;
    }
}