/*
 * Theme Name: DÄV Karriere
 * Description: Theme für die Karriereseite des Deutschen Ärzteverlags
 * Author: Sebastian Höschel
 * Version: 1.0.0
*/
html {
    scroll-behavior: smooth;
}

* {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}
ul li,
ol li,
p{
    line-height: 1.8;
}
ul{
    margin-left: 0;
    padding-left: 15px;
}

.share-buttons ul li:before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: none;
}
.content-wrapper ul {
    margin-left: 0;
    padding-left: 0;
}
    .content-wrapper .article-body ul li {
        list-style: none; /* Standard Bullet Points entfernen */
        position: relative;
        padding-left: 28px; /* Platz für das Icon */
    }

.content-wrapper .article-body ul li::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 8px;
    width: 17px;
    height: 17px;
    background-image: url(/wp-content/themes/daev-career/static/img/daev-bullet.png);
    background-size: contain;
    background-repeat: no-repeat;
}

p{
    margin:0 0 1.3em;
}
strong, b {
    font-weight: bold;
    font-size: inherit;
}
small{
    font-size: 0.8em;
}
.hdr-logo-link {
    max-width: 250px;
}
.hdr-logo-link svg {
    width: 183px;
    overflow: visible;
    height: auto;
}

.hdr-logo-link {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    position: relative;
    top: -50px;
}

.hdr-logo-link span {
    font-size: 2.6rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    left: 0px;
    top: 9px;
    color: #377D91;
    line-height: 50px;
    display: block;
    margin: 0 auto;
}


#site-header {
    background: transparent;
}

#site-main {
    background: transparent;
}
.jobs-template-default.single #site-main {
    background-attachment: fixed;
    background-position: bottom;
}

#site-footer {
    background: #377D91;
    text-align: center;
    color: #fff;
}

a {
    text-decoration: none;
    color: #4a6e7a;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
}
.hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-button .bar {
    width: 100%;
    height: 3px;
    background-color: #4a6e7a;
    border-radius: 3px;
    transition: 0.3s;
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #337d91;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 3rem 2rem 2rem;
    font-family: 'Open Sans', sans-serif;
}

.mobile-menu.open {
    right: 0;
}

#site-header .mobile-menu ul {
    list-style: none;
    padding: 0;
}

#site-header .mobile-menu li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

#site-header .mobile-menu a, .submenu-toggle {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: 300;
    padding: 0;
    text-transform: uppercase;
}
#site-header .mobile-menu a:hover,
.submenu-toggle:hover {
    color: #cce32d;
}

.submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 1.5rem;
    border-left: 2px solid #fff;
    margin-left: 0rem;
    margin-bottom: 2.5rem;
}

.submenu li a {
    font-size: 0.95rem;
    color: #fff;
    padding: 0.3rem 0;
    display: block;
    margin-left: 1rem;
    font-weight: 200;
    text-transform: initial;
}

.submenu-toggle.open + .submenu {
    display: block;
}

.caret {
    display: inline-block;
    transform: rotate(0);
    transition: transform 0.3s;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 0.5rem;
    position: relative;
    top: -4px;
}

.submenu-toggle.open .caret {
    transform: rotate(-135deg);
}

.social-media-buttons ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.social-media-buttons {
    margin-bottom: 4em;
}

.social-media-buttons a {
    color: #3A3A3A;
    font-size: 1.5em;
    transition: color 0.2s;
}

.transparent .social-media-buttons a {
    color: #377D91;
    font-size: 1.5em;
    transition: color 0.2s;
}
.transparent .social-media-buttons a:hover {
    color: #164475;
}

.social-media-buttons a i {
    font-size: 1em;
}

.social-media-buttons a:hover {
    color: #377D91; /* Farbe passend zu Ihrer CI */
}

.social-media-buttons ul {
    justify-content: center;
}

#site-header .social-media-buttons {
    margin-bottom: 0;
}

#site-header .social-media-buttons ul {
    justify-content: end;
}

#site-header .social-media-buttons a i {
    font-size: 0.8em;
}

.share-buttons {
    text-align: center;
    margin-bottom: 4em;
}

.share-buttons ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.share-buttons a {
    color: #3A3A3A;
    font-size: 1.5em;
    transition: color 0.2s;
    display: inline-block;
    margin: 0 1em;
}

.share-buttons a i {
    font-size: 1em;
}


.share-buttons a:hover {
    color: #377D91;
}

#nav-main ul li {
    list-style: none;
    display: inline-block;
    border-left: 3px solid #56b6db;
    border-right: 3px solid transparent;
    padding: 10px 10px;
    border-radius: 20px;
    margin: 0 0 10px;
    transition: all .2s;
}

#nav-main ul li:hover {
    border-left: 3px solid #0a6a93;
}

#nav-footer {
    margin-bottom: 2em;
}

#nav-footer ul li {
    list-style: none;
    display: inline-block;
    padding: 0 1em;
}

#nav-footer ul li a {
    color: #fff;
}
#nav-footer ul li a:hover {
    color: #cce32d;
}

img {
    max-width: 100%;
}

h1 {
    font-size: 42px;
    line-height: 50px;
    color: #377D91;
    font-weight: 300;
}

h2 {
    color: #377D91;
    text-align: center;
    margin: 4em 0;
    font-size: 2em;
    font-weight: 200;
}


.archive h2,
.page h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    font-weight: 100;
}

.archive p,
.single p,
.page p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 2em;
}

.archive ul li,
.single ul li,
.page ul li {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 0.6rem;
}

.home p {
    font-size: 1.5em;
    line-height: 1.4;
    margin-bottom: 1em;
}

.article-body blockquote p {
    position: relative;
    top: 100px;
}

.page blockquote p {
    width: 100%;
    max-width: 754px;
    font-size: 21px;
    line-height: 26px;
    color: #377D91;
    margin: 0 auto;
    font-weight: 300;
    text-align: center;
    font-size: 36px;
    line-height: 46px;
}

.benefit p {
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 0;
}

.article-content header {
    position: relative;
    margin-bottom: 4em;
}
.article-content header img{
    border-radius: 25px;
}


/* Reasons Section */
.reasons-section {

}

.reasons-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    margin: 0 0 3em;
}

.reasons-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.reason-card {
    background: #fff;
    border: 0px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.reason-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.reason-content {
    padding: 20px;
    text-align: center;
}

.reason-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #377D91;
    margin-bottom: 10px;
}

.reason-content p {
    font-size: 14px;
    color: #3A3A3A;
    margin: 0;
}


.cta {
    margin: 4rem;
    text-align: center;
}
.cta .cta-button {
    font-size: 1.3em;
}

.cta-button-meta {
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    padding: 11px 30px;
    color: #fff;
    background-color: #377D91;
    border: 2px solid #377D91;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
    margin-bottom: 1.5em;
}
.floating-header .cta-button-meta {
    margin:0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reason-card {
        margin-bottom: 20px;
    }

    .reason-image {
        height: 150px;
    }
}
.archive header .article-h1,
.single header .article-h1,
.page header .article-h1 {
    position: absolute;
    font-size: 1em;
    font-weight: 200;
    text-align: center;
    top: 30px;
    left: 0;
    margin: 2em 0 1em;
    line-height: 20px;
    color: #fff;
    background: #377D91c2;
    display: inline-block;
    padding: .5em 1em;
    /* height: 40px; */
}
.single header .article-h1 small {
    position: absolute;
    background: #d5d5d5e0;
    display: block;
    top: -16px;
    left: 0;
    height: 20px;
    padding: 0 1em;
    font-weight: 200;
    font-size: 1em;
}


.article-h1 {
    /* position: absolute; */
    font-size: 2em;
    font-weight: 200;
    text-align: center;
    top: 30px;
    left: 0;
    margin: 0em 0 1em;
    /* width: 100%; */
    line-height: 40px;
    color: #377D91;
    display: inline-block;
    /* height: 40px; */
}

.block {
    margin: 0;
    padding: 0;
    text-align: center;
    border-radius: 20px;
}

.block-share {
    border: 3px solid #6cbadc;
}

.block-related {
    border: 3px solid #28799c;
}

.wp-block-image img {
    border-radius: 20px;
}

/* Floating Menu */
#floating-menu {
    position: fixed;
    right: 0;
    top: calc(50% - 24px);
    z-index: 9999;
}

#floating-menu likeH3 {
    color: #fff;
    font-size: 1em;
}
#floating-menu p {
    font-size: 1em;
    color: #000;
}

#menu-toggle {
    position: relative;
    right: -1px;
    background-color: #377D91;
    color: #fff;
    border: none;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    padding: 10px;
    cursor: pointer;
    font-size: 36px;
    z-index: 1001;
    position: relative;
    transition: all 0.2s ease-in-out;
    border-top-right-radius: 0;
    /* border-left: 5px solid #377D91; */
    line-height: 1;
    box-shadow: -3px 0px 4px rgb(0, 0, 0, 0.2);
}

#menu-toggle:hover {
    background-color: #377D91;
    color:#fff;
    transform: scale(1.1);
}

#menu-content {
    position: fixed;
    right: 0;
    top: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.2s ease-in-out;
    overflow-y: auto;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#menu-content div {
    display: block;
    width: 100%;
}

#menu-content div.transparent {
    padding: 0em;
    background: transparent;
    color: #000;
    text-align: center;
}

#menu-content div.transparent .partner {
    font-size: 1.3em;
}

body.admin-bar #menu-content {
    top: 32px;
    height: calc(100% - 32px);
}

#menu-content.open {
    transform: translateX(0);
}

#menu-toggle.open {
    transition: transform 0.2s ease-in-out;
    transform: translateX(-320px);
}

.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.contact-icons a {
    color: #377D91;
    font-size: 1.1em;
    margin-right: 15px;
    transition: color 0.2s;
    line-height: 1.6;
    padding-left: 0rem;
}

.contact-icons a:hover {
    color: #164475;
}


/* Contact Form Section */
/* Contact Section */
.contact-section {
    background-color: #377D91; /* CI Blau */
    color: #fff;
    padding: 60px 20px;
    border-radius: 8px;
}

.contact-section .form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.contact-section .form-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.contact-section .form-group {
    margin-bottom: 20px;
}

.contact-section .form-control {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
}

.contact-section .form-control:focus {
    outline: none;
    border-color: #377D91;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-section label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
}

.contact-section .btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-section .btn:hover {
    background-color: #fff;
}

.contact-section .btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .contact-section .form-title {
        font-size: 24px;
    }

    .contact-section .form-description {
        font-size: 14px;
    }

    .contact-section .btn {
        width: 100%;
    }
}


/* Block Testimonial */
.block-testimonials__wrapper {
    display: flex;
    gap: 8em;
    justify-content: center;
}

.block-testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    font-weight: 100;
}

.block-testimonials__wrapper .testimonial {
    position: relative;
    width: 20%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.block-testimonials__wrapper .image-wrapper {
    position: relative;
    width: 100%;
    height: 390px;
}

.block-testimonials__wrapper .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-testimonials__wrapper .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #377D91d9;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.4s ease-in-out;
}

.block-testimonials__wrapper .overlay .quote {
    color: white;
    text-align: center;
    padding: 10px;
    font-family: Arial, sans-serif;
}

.block-testimonials__wrapper .overlay .quote .text {
    font-size: 16px;
    margin-bottom: 10px;
}

.block-testimonials__wrapper .overlay .quote .author {
    font-size: 14px;
    font-style: italic;
}

.block-testimonials__wrapper .image-wrapper:hover .overlay {
    bottom: 0; /* Animation: Overlay erscheint */
}

.single .meta-header i{
    color: #377D91;
    margin-right: 8px;
}
.single .meta-header{
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
}
.single .meta-header div{
    margin-right: 2em;
    margin-bottom: 10px;
    font-size:0.8em;
    display: flex;
    justify-content: start;
    align-items: center;
}
.single .meta-header div a{
    font-size:0.8rem;
    color: #377D91;
}
.single h2{
    text-align: left;
    margin: 2em 0 1.5em;
    font-size: 2em;
    font-weight: 300;
}
 .meta-footer{
    background: #eee;
    padding: 2em;
    border-left: 5px solid #377D91;
    border-radius: 25px;
}
.content-divider {
    border: 0;
    border-bottom: 1px solid #dddddd;
    width: 80%;
    margin: 4em auto;
}

/* Benefits Block */
/*.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.benefit {
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.icon img {
    max-width: 50px;
    margin-bottom: 10px;
}

.details {
    display: none;
    color: #3A3A3A;
}

.benefit:hover .details {
    display: block;
}*/
.floating-header {
    position: fixed;
    top: -113px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: top 0.2s;
}


.floating-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.floating-header .job-title {
    font-size: 1.4em;
    font-weight: 300;
    margin: 0;
    color: #377D91;
    padding: 0 30px;
}

.floating-header .apply-btn {
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    padding: 11px 30px;
    color: white;
    background-color: #377D91;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.floating-header .apply-btn:hover {
    background-color: #005bb5;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #377D91;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.back-to-top i{
    font-size: 2em;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #cce32d;
    transform: scale(1.1);
}
.main-link {
    color: #fff;
    background: #377D91;
    padding: 0.9em;
    border-radius: 9px;
    font-weight: 200;
    font-size: 1.2em;
    transition: 0.25s ease;
}

.main-link:hover {
    background: #047db8;
}

.stellenanzeigen {
    margin: 20px 0;
}

.stellenanzeigen h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.stellenanzeigen ul {
    list-style-type: none;
    padding: 0;
}

.stellenanzeigen li {
    margin-bottom: 5px;
}

.stellenanzeigen a {
    text-decoration: none;
    color: #0073aa;
}

.stellenanzeigen a:hover {
    text-decoration: underline;
    color: #005177;
}

/* BARRIERE STYLINGS ----------------------------------------------*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* --- Floating-Menü Grunddesign --- */
#am-accessibility-menu {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: none;
    z-index: 1000;
}

/* --- Hauptbutton für das Menü --- */
#am-toggle-menu {
    background: #377D91;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, background 0.2s;
}

#am-toggle-menu:hover {
    background: #3A3A3A;
    transform: scale(1.1);
}

/* --- Menü-Inhalt --- */
#am-menu-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 300px;
    background: #fff;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

#am-menu-content.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

/* --- Menü-Titel --- */
#am-menu-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #377D91;
    text-align: center;
    margin-top: 0;
}

/* --- Buttons im Menü --- */
#am-menu-content button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 1em;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #377D91;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
#am-menu-content button:last-child {
    margin-bottom: 0;
}

#am-menu-content button:hover,
#am-menu-content button:focus {
    background: #377D91;
    transform: scale(1.05);
}

/* Styling für die Tabelle */
.floating-menu-table .job-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.floating-menu-table .job-table th,
.floating-menu-table .job-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.floating-menu-table .job-table th {
    background-color: #377D91;
    color: #fff;
    font-weight: bold;
}

.floating-menu-table .job-table td {
    background-color: #f9f9f9;
}

.floating-menu-table .job-table tr:hover {
    background-color: #f1f1f1;
}

/* Styling für den Job-Link */
.floating-menu-table .job-link {
    color: #377D91;
    text-decoration: none;
    font-weight: 500;
}

.floating-menu-table .job-link:hover {
    text-decoration: underline;
}



.skip-link {
    position: absolute;
    top: -50px; /* Versteckt den Link */
    left: 10px;
    background: #000;
    color: #fff;
    padding: 10px 15px;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.3s ease-in-out;
}

.skip-link:focus {
    top: 10px; /* Sichtbar, wenn fokussiert */
}

.mfp-iframe-scaler iframe {
    padding: 1rem 2rem;
    background: #fff !important;
    border-radius: 20px;
}

.job-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    padding: .5rem;
}

.job-slide {
    min-width: 100%; /* Jeder Slide nimmt die volle Breite ein */
    transition: all 0.3s ease;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom:1rem;
    display: block;
}

.job-slide h3 {
    font-size: 1.1em;
    margin: 0;
    font-weight: 300;
    text-align: center;
    transition: all 0.3s ease;
}
.job-slide:hover {
    background-color: #377D91;
}
.job-slide:hover h3 {
    color: #fff;
}

.job-slide p {
    font-size: 1em;
    margin-bottom: 15px;
}

#floating-menu .job-link {
    color: #fff;
    font-weight: 300;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3sease;
    background: #377D91;
    padding: .5rem;
    border-radius: 5px;
    display: inline-block;
    margin: 0 auto;
}

#floating-menu .job-link:hover {
    background-color: #0056b3;
}


.block-job-tiles .block-job-tiles__wrapper .tile a {
    color: #ffffff;
    font-size: 1.9rem;
    line-height: 1;
    position: relative;
    z-index: 2;
    font-weight: 100;
    margin-bottom: 2rem;
    background: rgb(85 85 85 / 76%);
    border-radius: 5px;
    padding: 0.9rem;
}
.block-job-tiles .block-job-tiles__wrapper .tile a small {
    font-size: 0.6em;
    font-weight: 200;
}

/* Grundstil für den Header-Video-Bereich */

.header-video {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    border-radius: 20px;
}

/* Video-Stil */
.header-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay für Text und Buttons */
.header-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background-color: #377D91d9;
    padding: 10px;
    border-radius: 10px;
    max-width: 340px;
    margin: auto;
    position: relative;
    top: 30px;
}

.header-overlay h1 {
    font-size: 2.5em;
    font-weight: 200;
    margin-bottom: 10px;
}

.header-overlay p {
    font-size: 1.2em;
    margin-bottom: 50px;
    font-weight: 200;
}

/* CTA Button */
.header-overlay .btn {
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    padding: 11px 30px;
    color: #377D91;
    background-color: #fff;
    border: 1px solid #fff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
    margin-bottom:10px;
    display: inline-block;
}

.header-overlay .btn:hover {
    background: #377D91;
    border: 1px solid #fff;
    color: #fff;
}



.archive.tax-abteilung h3,
.archive.tax-abteilung h4{
    font-size: 1.3rem;
    font-weight: bold;
    color:#377D91;
}

.w-100{
    width: 100%;
}

.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.linkedin-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.linkedin-card:hover {
    transform: translateY(-4px);
}

.linkedin-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    object-fit: cover;
}

.linkedin-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
}

.linkedin-date {
    font-size: 14px;
    color: #888;
}
.page-template-page-template_5fragen h1.article-h1{
    margin-bottom: 4rem;
}
.page-template-page-template_5fragen .wp-block-video{
    margin-bottom:4rem;
}




.ipnrm.ipnrm-scene-active.ipnrm-widget-modern .ipnrm-title {
    background-color: #377d91b8 !important;
    line-height: 32px !important;
    font-family: sans-serif;
    font-size: 27px !important;
    border-radius: 20px;
}

.news-card .news-title {
margin-top:0;
}

.news-card .news-excerpt{
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1em;
}
.hp-logos{
    margin: 4rem auto 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-self: center;
    align-items: center;
}

tr.job-row{
    display: flex;
    flex-direction: column;
}
tr.job-row td{
    padding: .5rem;
}
tr.job-row td.mobile-only{
    display: block;
}
tr.job-row td.desktop-only{
    display: none;
}
.mobile-only small{
    display: inline-block;
    margin-right: 10px;
}
.job-link-btn {
    margin-bottom: 5px;
    display: inline-block;
}
.mfp-iframe-holder .mfp-content {
    height: 100%;
}

.single-job-page{
    background: #fff;
    padding: 0 1rem;
    box-shadow: none;
}

.floating-header{
    display: none;
}
.erfahrung-header{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.erfahrung-header-image{
    margin-right:0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.erfahrung-header-title{
    margin: 0;
    font-size: 2rem;
}
.erfahrung-header-quote{
    color: #377d91;
    font-weight: 300;
    font-size: 1.7rem;
    margin: 2rem;
}
.linkedin-text{

}
.linkedin-text p{
    font-size: 1rem;
}
.linkedIn-more{
    background: #4a6e7a;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 10px;
    text-transform: uppercase;
    width: 100%;
    max-width: 90px;
    display: block;
    text-align: center;
    margin: .5rem auto 0;
    font-size: 1rem;
}
/* Responsive Anpassungen */
@media (min-width: 768px) {
    .erfahrung-header{
        flex-direction: row;
    }
    .erfahrung-header-image{
        margin-right:2rem;
    }
    .erfahrung-header-title{
        margin: 0;
        font-size: 42px;
    }
    .erfahrung-header-quote{
        font-size: 2rem;
        margin: 3rem;
    }
    .single-job-page{
        background: #fff;
        padding: 0 4rem;
        box-shadow: 0px 13px 10px 0px #0000006b;
    }
    tr.job-row{
        display: table-row;
        flex-direction: column;
    }
    tr.job-row td.mobile-only{
        display: none;
    }
    tr.job-row td.desktop-only{
        display: table-cell;
    }
    .hp-logos{
        flex-direction: row;
    }
    .hdr-logo-link {
        max-width: initial;
        top: 0;
    }
    .hdr-logo-link span {
        font-size: 5rem;
    }
    .header-video {
        height: 710px;
    }
    .header-overlay {
        padding: 30px 30px 45px;
        max-width: 600px;
        top: 150px;
    }
    tr.job-row td{
        padding: 1.2rem;
    }
    .job-link-btn {
        margin-bottom: 0;
        display: inline-block;
    }
    .mfp-iframe-holder .mfp-content {
        height: auto;
    }
    #menu-content {
        width: 550px;
    }
    #menu-toggle.open {
        transform: translateX(-550px);
    }
    #menu-toggle {
        padding: 13px 40px 13px 25px;
    }
    .single .meta-header{
        flex-direction: row;
    }
    .single .meta-header div{
        margin-right: 2em;
        margin-bottom: 0;
    }
    .archive header .article-h1,
    .single header .article-h1,
    .page header .article-h1 {
        font-size: 1.4em;
        margin: 3em 0 3em;
        line-height: 30px;
    }
    .single header .article-h1 small {
        top: -30px;
        height: 35px;
        font-size: 1em;
    }
    .article-h1 {
        font-size: 3em;
        margin: 3em 0 3em;
        line-height: 60px;
    }
}
@media (min-width: 996px) {
    .floating-header{
        display: block;
    }
}
@media (min-width: 1200px) {
    .archive header .article-h1,
    .single header .article-h1,
    .page header .article-h1 {
        font-size: 3em;
        margin: 3em 0 3em;
        line-height: 60px;
    }
    .single header .article-h1 small {
        top: -40px;
        height: 60px;
    }
}
@media (max-width: 768px) {
    .header-overlay h1 {
        font-size: 1.3em;
        margin: 0 0 1rem;
        line-height: 1.3;
    }
    .header-overlay p {
        font-size: 1em;
        margin-bottom:10px;
    }
    .header-overlay .btn {
        font-size: 0.9em;
    }
    .slick-next {
        right: -2px;
    }
    .slick-prev {
        left: -2px;
    }
}


