/* Utility class to hide elements */
.hw-hidden {
  display: none !important;
}

/* Germany Career Site — Unified Stylesheet
   Supports: 1/2/3 map layouts, 1/2 video layouts */


/* Typography */

.custom-hw-section h2 {
    font-size: 1.8em !important;
    padding-top: 20px !important;
    padding-bottom: 25px !important;
    margin: 0px;
    color: #232f3e;
    text-align: center;
    line-height: 1.5em;
}

.custom-hw-section h3 {
    font-size: 1.4em !important;
    margin-bottom: 10px !important;
    color: #232f3e;
    text-transform: inherit !important;
    font-weight: 700;
    line-height: 1.5em;
}

.custom-hw-section p {
    font-size: 1.2em !important;
    margin-bottom: 0 !important;
    color: #232f3e;
    line-height: 26px !important;
}

.custom-hw-section ul {
    margin-bottom: 0px;
}

.custom-hw-section li {
    font-size: 1.2em !important;
    color: #232f3e;
    line-height: 26px !important;
}

.custom-hw-section a {
    font-size: 1em !important;
    color: #0078d7;
    text-decoration: underline;
    font-weight: bold !important;
}

@media (max-width: 768px) {

    .custom-hw-section h2 {
        font-size: 1.6em !important;
    }

    .custom-hw-section h3 {
        font-size: 1.4em !important;
    }

    .custom-hw-section p {
        font-size: 1.1em !important;
    }

    .custom-hw-section li {
        font-size: 1.1em !important;
    }

    .custom-hw-section a {
        font-size: 0.95em !important;
    }
}

.custom-hw-section a:hover {
    text-decoration: none;
}


/* Platform Overrides */

.job-detail-qualification-column {
    display: none !important;
}

/* .job-detail-heading {
    margin-bottom: 30px;
} */


/* Horizontal Rules */

.custom-hr,
.custom-hr-mobile {
    border: 1px solid #A2ABB5 !important;
    margin: 40px 0;
    border-top: 0 !important;
    height: 0 !important;
}

.job-description-horizontal-line {
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .custom-hr-mobile {
        display: none;
        margin: 0 !important;
    }

    .custom-display {
        display: none;
    }
}

@media (max-width: 768px) {

    .custom-hr-mobile {
        margin: 0 !important;
    }
}


/* Notification Bar */

.notification-bar {
    background-color: #d7ebfb;
    padding: 15px 20px;
    text-align: left;
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
    word-wrap: break-word;
}

.notification-bar p {
    margin-top: 0;
    max-width: 100%;
    overflow: hidden;
}

.notification-bar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}


/* Open Door Days */

.open-door-days-section {
    background-color: #F5F3EF;
    border-bottom: 6px solid #FF6200;
    padding-top: 40px !important;
    padding-bottom: 35px !important;
    padding-right: 40px !important;
    margin-top: 40px !important;
}

.open-door-days-checkmark {
    margin-left: 40px;
    margin-right: 15px !important;
    margin-top: 5px;
    width: 28px !important;
    height: 28px !important;
}

@media (max-width: 768px) {

    .open-door-days-section {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    .open-door-days-checkmark {
        margin-left: 24px;
        margin-right: 24px !important;
        margin-top: 6px;
        width: 30px !important;
        height: 30px !important;
    }
}


/* Grey Headers */

.h2-headers_grey {
    padding: 2px 0;
    text-align: center;
}


/* Maps — Layout */

.custom-hw-section:has(.i-fram-map-wrapper) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.i-fram-map-wrapper {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px;
    box-sizing: border-box;
}

/* 2 maps: side by side, matching video width */
.custom-hw-section:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper):not(:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper ~ .i-fram-map-wrapper)) > .i-fram-map-wrapper {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    padding: 15px 10px;
}

/* 1 map: centered */
.custom-hw-section:not(:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper)) > .i-fram-map-wrapper {
    flex: 0 0 100%;
    max-width: 600px;
    padding: 15px;
}

/* Map without .i-fram-map-wrapper: constrain and center */
.custom-hw-section:has(> .i-frame_map-section) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.custom-hw-section > .i-frame_map-section {
    width: 100%;
    height: 315px;
    padding-top: 0;
}

.custom-hw-section > .i-frame_map-section iframe {
    position: relative;
    height: 315px;
}

.custom-hw-section > .i-frame_map-heading {
    text-align: center;
}


/* Maps — Iframe & Aspect Ratio */

.i-frame_map-section {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.i-frame_map-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    vertical-align: middle;
}

/* 3 maps: taller ratio for narrower columns */
.custom-hw-section:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper ~ .i-fram-map-wrapper) .i-frame_map-section {
    padding-top: 75%;
}

.i-frame_map-heading > p {
    text-align: center;
    margin-bottom: 20px !important;
}


/* Maps — Responsive */

@media (max-width: 992px) {
    .i-fram-map-wrapper,
    .custom-hw-section:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper):not(:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper ~ .i-fram-map-wrapper)) > .i-fram-map-wrapper,
    .custom-hw-section:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper ~ .i-fram-map-wrapper) > .i-fram-map-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 30px;
    }

    .i-frame_map-section,
    .custom-hw-section:has(.i-fram-map-wrapper ~ .i-fram-map-wrapper ~ .i-fram-map-wrapper) .i-frame_map-section {
        padding-top: 56.25%;
    }
}


/* Two-Column Content */

.two-col-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px 0 20px 0;
    width: 100%;
}

.two-col-content>div {
    flex: 1;
    min-width: 300px;
    padding: 0 30px;
}

@media (max-width: 768px) {

    .two-col-content>div {
        min-width: 300px;
        padding: 0;
    }

    .two-col-content>div:first-child {
        margin-bottom: 40px;
    }
}

.two-col-content ul {
    list-style-type: disc;
    padding-left: 20px;
}


/* Intro Section */

.intro-inner-section {
    display: flex;
    flex-direction: row;
    padding: 50px 80px 0 0;
}

@media (max-width: 768px) {

    .intro-inner-section {
        padding: 30px 0 30px 0;
    }

    .custom-hr:first-of-type {
        margin-top: 0 !important;
    }

    .custom-hr:nth-of-type(2) {
        margin-bottom: 10px !important;
    }
}

.intro-inner-section>img {
    height: 60px;
    margin-right: 20px;
}

.intro-inner-copy>h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    padding: 5px 0;
    text-transform: inherit !important;
}

.intro-outer-section {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 30px;
    padding-top: 15px;
}

/* Forces 2x2 grid layout without relying on Bootstrap col-md-6 */
.intro-outer-section > .intro-inner-section.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.intro-outer-section > .clearfix,
.intro-outer-section > .custom-hr-mobile {
    flex: 0 0 100%;
}

@media (max-width: 768px) {
    .intro-outer-section > .intro-inner-section.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Videos — Layout */

.video-i-frame_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* 1 video: centered at max 800px */
.i-frame_container {
    flex: 0 0 100%;
    max-width: 800px;
    margin-top: 50px;
}

/* 2 videos: side by side */
.video-i-frame_section:has(.i-frame_container ~ .i-frame_container) > .i-frame_container {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 50px 10px 0;
}

.custom-video-heading > p {
    text-align: center;
    margin-bottom: 10px !important;
}


/* Videos — Iframe & Aspect Ratio */

.custom-video-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.custom-video-responsive > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Direct iframe inside container (no .custom-video-responsive wrapper) */
.i-frame_container:has(> iframe) {
    position: relative;
    padding-top: 30%;
    overflow: hidden;
}

.i-frame_container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}


/* Videos — Responsive */

@media only screen and (max-width: 992px) {
    .i-frame_container:has(> iframe) {
        padding-top: 56.25%;
    }
}

@media only screen and (max-width: 768px) {
    .video-i-frame_section {
        margin-bottom: 25px;
    }

    .i-frame_container {
        margin-top: 20px;
    }

    .video-i-frame_section:has(.i-frame_container ~ .i-frame_container) > .i-frame_container {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 20px 0 0;
    }
}


/* Perks / Cards */

.two-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 50px 0;
}

.two-card-item {
    width: calc(50% - 15px);
    border: 1px solid #D1D5DA;
    border-radius: 0px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.two-card-image-container {
    width: 100%;
    background-color: #F5F3EF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-card-image {
    width: 45%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 0px;
    padding: 30px 0;
}

.perks-text-container {
    padding: 20px 50px 40px;
}

@media (max-width: 768px) {

    .two-card-image {
        width: 55%;
    }

    .perks-text-container {
        padding: 15px 25px 40px;
    }

    .two-card-item {
        width: 100%;
    }

    .two-card-item:first-child {
        margin-bottom: 40px;
    }
}


/* Help / Contact */

.help-section {
    text-align: center;
    padding: 20px;
}

.help-title {
    font-size: 1.5em;
    color: #232f3e;
    margin-bottom: 20px;
}

.help-contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.help-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #A2ABB5;
    padding: 0 40px 0 40px;
}

.help-contact-item:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .help-contact-item {
        padding: 0;
    }
}

.help-main-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.help-icon-container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .help-contact-options {
        flex-direction: column;
        align-items: center;
    }

    .help-contact-item {
        border-right: none;
        padding-right: 0;
    }
}
