:root {
    --primaryColor: #D6521C;
    --defaulttextsize: 1.3125rem;
    --textcolor: #191919;
    --verticalDefaultSpace: 60px;
    --contentSidepadding: 24px;
}

* {
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: var(--defaulttextsize);
    line-height: 145%;
    background: #fff;
    color: var(--textcolor);
    min-width: 100%;
    margin: 0;
}

h1 {
    color: var(--textcolor);
    font-size: 2.5rem;
    line-height: 119%;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 24px;
}

h2.smallH2, h2.smallH2 b {
    color: var(--textcolor);
    font-size: var(--defaulttextsize);
    font-weight: 600;
    line-height: 145%;
    margin-top: 0;
    margin-bottom: 8px;
}

h3, h3 b {
    color: var(--textcolor);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 16px;
}

a, a:visited {
    color: var(--textcolor);
    text-decoration: none;
    transition: color 0.25s ease 0s;
}

.cta, .cta:visited {
    display: inline-flex;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    font-size: 1.3125rem;
    line-height: 1.8125;
    line-height: 1.4;
    color: currentColor;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    gap: 2px;
    align-items: flex-start;
}

.cta:hover {
    color: var(--primaryColor);
}

.cta span {
    box-shadow: -1px 2px 0 -1px var(--primaryColor), 1px 2px 0 -1px var(--primaryColor);
}

.cta svg {
    position: relative;
    top: 2px;
    transition: color 0.25s ease 0s;
}

.cta:hover svg {
    color: var(--primaryColor);
}

.textContentBlock {
    margin-bottom: 24px;
}

.textContentBlock:last-child, .textContentBlock:last-of-type {
    margin-bottom: 0;
}

.textContentBlock h2 + ul {
    margin-top: 0;
}

.textContentBlock ul:last-child {
    margin-bottom: 0;
}

img {
    width: 100%;
    height: auto;
}

.button, .button:visited {
    background-color: var(--primaryColor);
    background: linear-gradient(180deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0) 100%),var(--primaryColor);
    padding: 8px 12px;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 17px;
    text-decoration: none;
}

.button.outline, .button.outline:visited {
    background: transparent;
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
    border-radius: 20px;
    padding: 9px 14px 10px;
}

.button.outline:hover {
    background-color: var(--primaryColor);
    background: linear-gradient(180deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0) 100%),var(--primaryColor);
    color: rgba(255, 255, 255, 0.9);
}

/* Header */
#header {
    background: #FFFFFF;
    z-index: 500;
    width: 100%;
    padding: 27px 30px 0;
}

body.sticky-header #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    animation: stickySlideDown 0.35s ease forwards;
    padding: 12px 30px;
}

@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.headerInnerContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding-bottom: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

body.sticky-header .headerInnerContainer {
    border-bottom: 0;
    padding-bottom: 0;
}

.headerRight {
    display: flex;
}

.headerLogo {
    width: 420px;
}

body.sticky-header .headerLogo {
    display: none;
}

.stickyLogo {
    display: none;
    width: 36px;
    height: 36px;
}

body.sticky-header .stickyLogo {
    display: block;
}

/* Hero */
#keyVisual {
    display: flex;
    margin: 0 auto;
    max-width: 1284px;
}

#keyVisual img {
    width: 100%;
    height: auto;
    max-height: 501px;
    object-fit: cover;
}

/* Content */
main {
    display: flex;
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
    padding: 36px var(--contentSidepadding) 72px;
}

/* Jobmeta */
.jobMeta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 36px;
    position: relative;
}

.jobMetaContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 0;
}

.jobMetaItem {
    flex: 0 0 calc(50% - 16px);
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0,0,0,0.4);
    padding: 12px 0;
}

.jobMetaTitle {
    font-size: 1.125rem;
    font-weight: 300;
}

.jobMetaText {
    font-size: 1.125rem;
    font-weight: 600;
}

.awardContainer {
    max-width: 147px;
    width: 100%;
}

.awardsText {
    font-size: 1rem;
    font-weight: 600;
    line-height: 144%;
}

#introduction {
    margin-top: 0;
}

/* Video */
#video {
    display: flex;
    flex-direction: column;
    margin-top: var(--verticalDefaultSpace);
}

#video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Map */
#place-of-work {
    display: flex;
    flex-direction: column;
    margin-top: var(--verticalDefaultSpace);
}

#google-maps iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 400px;
}

/* Benefits */
#benefits {
    margin-top: 36px;
}

.benefit {
    background-color: #FFF48E;
    padding: 12px 14px 18px;
}

.benefitImageContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 9px auto 15px;
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.benefitText {
    font-size: 0.9375rem;
    line-height: 133%;
}

.benefitText span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 1.3125rem;
    line-height: 119%;
}

.benefitsMoreLinkContainer {
    display: block;
    margin-top: 36px;
}

/* Benefits Swiper - Mobile Slider */
.mySwiper.swiper {
    overflow: hidden;
    position: relative;
}

.mySwiper .card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Benefits Grid Layout for Desktop */
@media screen and (min-width: 851px) {
    .mySwiper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .mySwiper .swiper-wrapper {
        display: contents;
    }

    .mySwiper .benefit.swiper-slide {
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    .swiper-navigation-buttons {
        display: none !important;
    }

    #swiper-scrollbar {
        display: none !important;
    }
}


#swiper-scrollbar {
    position: relative;
    left: 0;
    width: calc(100% - var(--contentSidepadding));
    height: 6px;
    border-radius: 0;
    margin-top: 16px;
    cursor: pointer;
    background: #e0e0e0;
    display: flex;
    align-items: center;
}

.swiper-scrollbar-drag {
    height: 6px;
    border-radius: 0;
    background: #000000;
    display: block;
}

/* Contact */
#contact {
    margin-top: var(--verticalDefaultSpace);
}

.contactContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: var(--verticalDefaultSpace);
}

.contactContainer .imageContainer {
    display: flex;
    max-width: 333px;
    width: 100%;
}

.contactLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.phonenumber {
    display: inline-flex;
    gap: 3px;
    flex-wrap: nowrap;
    margin-top: 2px;
}

.phonenumber:hover {
    color: var(--primaryColor);
}

.phonenumber svg {
    position: relative;
    margin-top: 3px;
}

.addressMobile {
    display: none;
}

/**
 * Jobs.
 */
#similar-jobs {
    margin: 0 auto 48px;
    max-width: 1248px;
    padding-right: var(--contentSidepadding);
    padding-left: var(--contentSidepadding);
}

#similar-jobs h3 {
    font-weight: 400;
    margin-bottom: 24px;
    word-wrap: anywhere;
}

.jobs {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.job {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(161, 187, 247, 1);
    border-radius: 6px;
    padding: 16px 24px 24px;
    box-shadow: 1px 1px 2px 0px rgba(153, 153, 153, 1);
}

.job-title, .job-content {
    display: block;
    font-size: 1.125rem;
    line-height: 144%;
}

.job-title {
    font-weight: 600;
}

.job a {
    display: inline-flex;
}

#job-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

#job-more .button {
    padding: 10px 16px;
    font-size: 1.125rem;
    line-height: 22px;
}

#privacyLink {
    display: flex;
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
    padding: 36px var(--contentSidepadding) 72px;
}

/**
 * Footer
 */
#footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 1400;
    box-shadow: 0px 0.5px 0px 0px rgba(0, 0, 0, 0.3) inset;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    background-color:#FFFFFF;
    overflow: hidden;

}

.footerContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    max-width: 1108px;
    margin: 0 auto;
    width: 100%;
    padding: 16px var(--contentSidepadding);
}

.footerShare {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

#footer .footerButtons {
    display: flex;
    gap:10px;
}

#social-icons {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

#social-icons a {
    color: rgba(0,0,0,0.9);
    display: flex;
}

#social-icons a:hover {
    color: var(--primaryColor);
}

#social-icons svg {
    width: 36px;
    height: 36px;
}

#socialMobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin: 0 auto 48px;
    max-width: 1248px;
    padding-right: var(--contentSidepadding);
    padding-left: var(--contentSidepadding);
}

#social-icons-mobile {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

#social-icons-mobile a {
    color: rgba(0,0,0,0.9);
    display: flex;
}

#social-icons-mobile a:hover {
    color: var(--primaryColor);
}

#social-icons-mobile svg {
    width: 32px;
    height: 32px;
}

.apply.button {
    padding: 13px 11px;
    font-size: 21px;
    line-height: 119%;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
}

/* Flying Focus */
#flying-focus {
    position: absolute;
    margin: 0;
    background: transparent;
    -webkit-transition-property: left, top, width, height;
    transition-property: left, top, width, height;
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0, 1);
    transition-timing-function: cubic-bezier(0, 1, 0, 1);
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
}
#flying-focus:after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    box-shadow: 0 0 0 2px #005BA6, 0 0 2px #005BA6 inset;
}
@media (hover: none) and (pointer: coarse) {
    #flying-focus:after {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}
@media (forced-colors: active) {
    #flying-focus:after {
        box-shadow: none;
        border: 2px solid Highlight;
    }
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    #flying-focus {
        box-shadow: none;
        outline: 0;
        outline-offset: 0;
    }
}
#flying-focus.flying-focus_visible {
    visibility: visible;
    z-index: 99999;
}

.flying-focus_target {
    outline: none !important;
}

.flying-focus_target::-moz-focus-inner {
    border: 0 !important;
}


/* Media Queries */
@media screen and (max-width: 1100px) {
    .jobs {
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {
    .footerShare {
        display: none;
    }
    #socialMobile {
        display: flex;
    }
    .footerContainer {
        padding: 18px var(--contentSidepadding)
    }
    .apply.button svg {
        width: 30px;
        height: 30px;
    }
    .contactContainer {
        flex-direction: column;
    }
    #header, body.sticky-header #header {
        padding: 10px 13px 10px 25px;
    }
    .headerLogo {
        display: none;
    }
    .stickyLogo {
        display: flex;
        width: 40px;
        height: 40px;
    }
    .headerInnerContainer {
        border-bottom: 0;
        padding-bottom: 0;
        align-items: center;
    }
    .jobMeta {
        flex-direction: column;
    }
    .reverseOnMobile {
        display: flex;
        flex-direction: column-reverse;
    }
    .jobMetaItem:first-child {
        border-top: 0;
    }
    .contactContainer {
        gap: 24px;
    }
    .addressMobile {
        display: block;
    }
    .addressDesktop {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .jobMetaContainer {
        flex-direction: column;
    }
}

@media screen and (max-width: 850px) {
    /* Mobile/Tablet - Swiper handles all sizing via inline styles */
    .swiper {
        margin-right: -24px;
    }
    .mySwiper.swiper {
        overflow: hidden;
    }
}

@media screen and (min-width: 1025px) {
    body.sticky-header #header {
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    }
}

.printable-only {
    display: none;
}