/* Advanced carousel */
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button {
    width: 100%;
    border: 1px solid #FFD208 !important;
    background-color: #FFD208 !important;
    color: #222F5B !important;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:hover,
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:focus-visible {
    border-color: #222F5B !important;
    background-color: #222F5B !important;
    color: #FFFFFF !important;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:focus-visible {
    outline: 2px solid #FFD208;
    outline-offset: 3px;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button::before,
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button::after {
    display: none !important;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button .df_cci_btn_text,
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button .df_cci_btn_icon {
    color: #222F5B !important;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:hover .df_cci_btn_text,
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:focus-visible .df_cci_btn_text {
    color: #FFFFFF !important;
}

body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:hover .df_cci_btn_icon,
body #page-container #highlights .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button:focus-visible .df_cci_btn_icon {
    color: #FFD208 !important;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper {
    margin-top: auto;
    width: 100%;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button {
    display: flex;
    width: 100%;
    border: 1px solid #FFD208 !important;
    background-color: #222F5B !important;
    color: #FFD208 !important;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:hover,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:focus-visible {
    border-color: #FFD208 !important;
    background-color: #222F5B !important;
    color: #FFFFFF !important;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:focus-visible {
    outline: none;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button::before,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button::after {
    display: none !important;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button .df_cci_btn_text,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button .df_cci_btn_icon {
    color: #FFD208 !important;
}

body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:hover .df_cci_btn_text,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:focus-visible .df_cci_btn_text,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:hover .df_cci_btn_icon,
body #page-container .vdma-advanced-carousel-on-yellow .df_cci_button_wrapper .df_cci_button:focus-visible .df_cci_btn_icon {
    color: #FFFFFF !important;
}

/* Shoulder Storys: Buttons nur in diesem Abschnitt auf Kartenbreite ziehen. */
body #page-container #shoulderstorys .vdma-advanced-carousel .df_cci_button_wrapper .df_cci_button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

/* Leistungen carousel */
body #page-container #leistungen .difl_contentcarousel .df_cci_button_wrapper {
    padding-bottom: 2em !important;
}

body #page-container #leistungen .difl_contentcarousel_0 .df_cci_button_wrapper {
    margin-right: 30px !important;
    margin-left: 30px !important;
    text-align: left !important;
}

body #page-container #leistungen .difl_contentcarousel_0 .df_cci_button_wrapper .df_cci_button {
    line-height: 1.4 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body #page-container #leistungen .difl_contentcarousel_0 .df_cci_button_wrapper .df_cci_button .df_cci_btn_text_icon_wrap,
body #page-container #leistungen .difl_contentcarousel_0 .df_cci_button_wrapper .df_cci_button .df_cci_btn_text,
body #page-container #leistungen .difl_contentcarousel_0 .df_cci_button_wrapper .df_cci_button .df_cci_btn_icon {
    line-height: 1.4 !important;
}

/* News carousel card layout */
body #page-container .vdma-post-carousel .swiper-slide {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
}

body #page-container .vdma-post-carousel .df-post-item {
    display: flex !important;
}

body #page-container .vdma-post-carousel .df-post-outer-wrap,
body #page-container .vdma-post-carousel .df-post-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
}

body #page-container .vdma-post-carousel .df-post-inner-wrap {
    position: relative !important;
    padding-bottom: 0 !important;
}

body #page-container .vdma-post-carousel .df-post-inner-wrap::after {
    content: "" !important;
    position: absolute !important;
    top: 320px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    box-shadow: inset 1px 0 0 #FFD208, inset -1px 0 0 #FFD208, inset 0 -1px 0 #FFD208 !important;
}

body #page-container .vdma-post-carousel .df-post-title-wrap {
    flex: 0 0 auto !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

body #page-container .vdma-post-carousel .df-post-content-wrap {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-right: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 2rem !important;
}

body #page-container .vdma-post-carousel .df-post-content-wrap p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body #page-container .vdma-post-carousel .df-post-button-wrap {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 0 !important;
}

body #page-container .vdma-post-carousel .df-post-button-wrap a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 -1px 0 #FFD208 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Jobs carousel */
body #page-container [class*="vdma-jobs-carousel"] .swiper-slide {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-item {
    display: flex !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-outer-wrap,
body #page-container [class*="vdma-jobs-carousel"] .df-post-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-inner-wrap {
    padding-bottom: 0 !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-title-wrap {
    flex: 1 1 auto !important;
}

body #page-container [class*="vdma-jobs-carousel"] .difl_postitem_4 {
    margin-bottom: 2rem !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap {
    box-sizing: border-box !important;
    width: auto !important;
    margin-top: auto !important;
    margin-right: -31px !important;
    margin-bottom: 0 !important;
    margin-left: -31px !important;
    padding: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 1rem 2rem !important;
}

@media (min-width: 981px) {
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:hover,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:focus-within {
        border-color: #222F5B !important;
        background-color: #222F5B !important;
        box-shadow: inset 0 0 0 1px #222F5B !important;
    }

    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:hover .df-post-read-more,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:focus-within .df-post-read-more,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:hover,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:focus-visible {
        border-color: #222F5B !important;
        background-color: #222F5B !important;
        box-shadow: inset 0 0 0 1px #222F5B !important;
        color: #FFFFFF !important;
    }

    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:hover .df-post-read-more .btn-text,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:focus-within .df-post-read-more .btn-text,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:hover .df-post-read-more .et-pb-icon,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-button-wrap:focus-within .df-post-read-more .et-pb-icon,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:hover .btn-text,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:focus-visible .btn-text,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:hover .et-pb-icon,
    body #page-container [class*="vdma-jobs-carousel"] .df-post-read-more:focus-visible .et-pb-icon {
        color: #FFFFFF !important;
    }
}

/* Homepage news carousel */
body #page-container .vdma-news-carousel .swiper-slide {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
}

body #page-container .vdma-news-carousel .df-post-item {
    display: flex !important;
}

body #page-container .vdma-news-carousel .df-post-outer-wrap,
body #page-container .vdma-news-carousel .df-post-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
}

body #page-container .vdma-news-carousel .df-post-inner-wrap {
    padding-bottom: 0 !important;
}

body #page-container .vdma-news-carousel .df-post-title-wrap,
body #page-container .vdma-news-carousel .df-post-content-wrap {
    flex: 1 1 auto !important;
}

body #page-container .vdma-news-carousel .df-post-button-wrap {
    box-sizing: border-box !important;
    width: auto !important;
    margin-top: auto !important;
    margin-right: -31px !important;
    margin-bottom: 0 !important;
    margin-left: -31px !important;
    padding: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body #page-container .vdma-news-carousel .df-post-read-more {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 2rem 2rem !important;
}

body #page-container .vdma-news-carousel .df-post-read-more .btn-text,
body #page-container .vdma-news-carousel .df-post-read-more .et-pb-icon {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

body #page-container .vdma-news-carousel .df-post-read-more .et-pb-icon {
    position: static !important;
    top: auto !important;
}

@media (min-width: 981px) {
    body #page-container .vdma-news-carousel .df-post-button-wrap:hover,
    body #page-container .vdma-news-carousel .df-post-button-wrap:focus-within {
        border-color: #222F5B !important;
        background-color: #222F5B !important;
        box-shadow: inset 0 0 0 1px #222F5B !important;
    }

    body #page-container .vdma-news-carousel .df-post-button-wrap:hover .df-post-read-more,
    body #page-container .vdma-news-carousel .df-post-button-wrap:focus-within .df-post-read-more,
    body #page-container .vdma-news-carousel .df-post-read-more:hover,
    body #page-container .vdma-news-carousel .df-post-read-more:focus-visible {
        border-color: #222F5B !important;
        background-color: #222F5B !important;
        box-shadow: inset 0 0 0 1px #222F5B !important;
        color: #FFFFFF !important;
    }

    body #page-container .vdma-news-carousel .df-post-button-wrap:hover .df-post-read-more .btn-text,
    body #page-container .vdma-news-carousel .df-post-button-wrap:focus-within .df-post-read-more .btn-text,
    body #page-container .vdma-news-carousel .df-post-button-wrap:hover .df-post-read-more .et-pb-icon,
    body #page-container .vdma-news-carousel .df-post-button-wrap:focus-within .df-post-read-more .et-pb-icon,
    body #page-container .vdma-news-carousel .df-post-read-more:hover .btn-text,
    body #page-container .vdma-news-carousel .df-post-read-more:focus-visible .btn-text,
    body #page-container .vdma-news-carousel .df-post-read-more:hover .et-pb-icon,
    body #page-container .vdma-news-carousel .df-post-read-more:focus-visible .et-pb-icon {
        color: #FFFFFF !important;
    }
}
