@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap");

/* VERTANICAL job board theme - inspired by vertanical.com */
:root {
    --colorPrimary900: #ca2e68;
    --colorPrimary600: #df5b8a;
    --widthMaxJobBoard: 1100px;
    --borderRadiusContainer: 0px;
    --borderRadiusControl: 0px;
    --borderRadiusButton: 0px;
    --fontFamily: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --colorAppBackground: #ffffff;
}

html {
    margin: 0;
    background-color: #ffffff !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}

body {
    margin: 0;
    background-color: #ffffff !important;
    color: #061a3a;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    position: relative;
}

/* Full-width hero field. The source color compensates for Ashby's apparent compositing/dulling. */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 650px;
    z-index: 0;
    background-color: #de1a6a !important;
    opacity: 1 !important;
    pointer-events: none;
}

/* Keep Ashby's structural wrappers from painting over the full-width hero field. */
header,
nav,
main,
body > div,
body > div > div {
    background: transparent !important;
    background-color: transparent !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}

/* Prevent Ashby div wrappers from creating a scrolling fixed-positioning context. */
body div {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    transform-style: flat !important;
}

html,
body {
    overflow-x: visible !important;
}

/* Logo: position it inside the full-width magenta hero field. */
img[alt="VERTANICAL"],
img[alt="Vertanical"],
img[alt="VERTANICAL GmbH"] {
    position: fixed !important;
    top: 38px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    width: 220px !important;
    height: auto !important;
    margin: 0 0 0 -525px !important;
    transform: none !important;
}

/* Hero column. The magenta field is the brand's main visual anchor. */
.ashby-job-board-heading {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 560px;
    min-height: 560px;
    margin: 0 0 44px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background-color: transparent !important;
    z-index: 1;
    color: transparent !important;
    font-size: 0 !important;
    text-align: left;
}

/* Right-hand hero image, cropped into VERTANICAL's characteristic
   asymmetrical shape: rounded upper-right and lower-left corners. */
.ashby-job-board-heading .ashby-job-board-heading-count {
    display: block;
    position: absolute;
    top: -15px;
    right: 0;
    left: 52%;
    z-index: 0;
    height: 430px;
    overflow: hidden;
    border-radius: 0 230px 0 230px;
    background-image: url("https://vertanical.com/wp-content/uploads/home-hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: transparent !important;
    font-size: 0 !important;
}

/* Hero headline. */
.ashby-job-board-heading::before {
    content: "A World free of Chronic Pain.";
    position: absolute;
    top: 110px;
    left: 0;
    z-index: 2;
    display: block;
    width: 570px;
    color: #ffffff;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
    white-space: normal;
    text-shadow: 0 2px 12px rgba(6, 26, 58, 0.18);
}

/* Supporting sentence in the hero. */
.ashby-job-board-heading::after {
    content: "We want to give a new lease of life to chronic pain patients all over the world. With the development of VER-01, we have reached our first significant milestone.";
    position: absolute;
    top: 285px;
    left: 0;
    z-index: 2;
    display: block;
    width: 610px;
    color: #ffffff;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
}

/* Restore Ashby's position count above the filters using an approved hook. */
.ashby-job-board-filters-label::before {
    content: "Open Positions (0)";
    display: block;
    margin: 0 0 24px;
    color: #061a3a !important;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Filters */
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
    color: #061a3a !important;
    font-size: 15px;
    font-weight: 600;
}

.ashby-job-board-reset-filters-label:hover {
    color: #ca2e68 !important;
}

.ashby-job-board-filter {
    background-color: #ffffff !important;
    border: 1px solid rgba(6, 26, 58, 0.22) !important;
    border-radius: 0 !important;
    color: #061a3a !important;
}

.ashby-job-board-filter * {
    color: #061a3a !important;
    fill: #061a3a !important;
}

/* Department and job list */
.ashby-department-heading {
    margin: 64px 0 8px;
    color: #ca2e68 !important;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ashby-department-heading-level {
    color: rgba(6, 26, 58, 0.68) !important;
    font-size: 18px;
    font-weight: 400;
}

.ashby-job-posting-brief {
    margin-bottom: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(6, 26, 58, 0.18);
    border-radius: 0 !important;
    background-color: transparent !important;
}

.ashby-job-posting-brief-title {
    color: #061a3a !important;
    font-size: 22px;
    font-weight: 600;
}

.ashby-job-posting-brief-title:hover {
    color: #ca2e68 !important;
}

.ashby-job-posting-brief-details {
    color: rgba(6, 26, 58, 0.68) !important;
    font-size: 15px;
}

/* Job posting page */
.ashby-job-posting-heading {
    color: #ca2e68 !important;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane {
    color: #061a3a;
}

.ashby-job-board-back-to-all-jobs-button {
    color: #ca2e68 !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    color: #a51f52 !important;
}

/* Application form */
.ashby-application-form-section-header-title,
.ashby-application-form-question-title {
    color: #ca2e68 !important;
    font-weight: 700;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
    color: rgba(6, 26, 58, 0.68) !important;
}

input,
textarea,
select {
    background-color: #ffffff !important;
    color: #061a3a !important;
    border: 1px solid rgba(6, 26, 58, 0.28) !important;
    border-radius: 0 !important;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input::placeholder,
textarea::placeholder {
    color: #52627a !important;
}

.ashby-application-form-submit-button {
    padding: 14px 32px !important;
    background-color: #ca2e68 !important;
    border: none !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.ashby-application-form-submit-button:hover {
    background-color: #a51f52 !important;
}

@media (max-width: 700px) {
    body::before {
        height: 760px;
    }

    .ashby-job-board-heading {
        height: 760px;
        min-height: 760px;
        margin-bottom: 28px;
    }

    .ashby-job-board-heading .ashby-job-board-heading-count {
        top: 30px;
        right: 0;
        left: 0;
        height: 300px;
        border-radius: 0 150px 0 150px;
        background-position: center center;
    }

    .ashby-job-board-heading::before {
        top: 365px;
        left: 20px;
        width: 90%;
        font-size: 39px;
        line-height: 1.08;
        letter-spacing: -0.5px;
    }

    .ashby-job-board-heading::after {
        top: 525px;
        left: 20px;
        width: 90%;
        font-size: 17px;
        line-height: 1.4;
    }

    img[alt="VERTANICAL"],
    img[alt="Vertanical"],
    img[alt="VERTANICAL GmbH"] {
        position: fixed !important;
        top: 22px !important;
        left: 24px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 2147483647 !important;
        width: 150px !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .ashby-department-heading {
        margin-top: 48px;
        font-size: 31px;
    }

    .ashby-job-posting-brief-title {
        font-size: 19px;
    }

    .ashby-job-posting-heading {
        font-size: 30px;
    }
}
