@font-face {
    font-family: "Brandon Grotesque";
    font-style: normal;
    font-weight: 200;
    src: url("/files/css/webfonts/BrandonGrotesqueBlack/font.woff"); /* IE9 Compat Modes */
    src: local(""),
      url("/files/css/webfonts/BrandonGrotesqueBlack/font.eot?#iefix")
        format("embedded-opentype"),
      /* IE6-IE8 */
        url("/files/css/webfonts/BrandonGrotesqueBlack/font.woff2")
        format("woff2"),
      /* Super Modern Browsers */
        url("/files/css/webfonts/BrandonGrotesqueBlack/font.woff")
        format("woff"),
}
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 200;
    src: url("/files/css/webfonts/barlow-v12-latin-regular.woff2"); /* IE9 Compat Modes */
    src: local(""),

        url("/files/css/webfonts/barlow-v12-latin-regular.woff2")
        format("woff2"),
}

.body_100{
    background-color: #0D0D0D !important;
    padding: 0;
    font-weight: 400;
    font-style: normal;
}

#main .inside >div:first-child{
    height: 0 !important;
}
.customer_top{
    padding: 0;
    width: 100%;
}
.customer_top >div:first-child{
    width: 100%;
    margin: 0;
}
.body_100> div:first-child{
    margin: 0;
}

.job_detail_container .job_detail_body,.body_bewerbung .job_detail_body{
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.job_detail_container >.row:first-child{
    width: 100%;
    margin: 0;
}
.bewerbungs_task_image {
    padding: 0;
    margin-bottom: 50px;
}
/* Header Styles */
.mts-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 20px 0;
}

.mts-header.scrolled {
    background-color: #000000;
    padding: 10px 0;
}

/* Hide header on karriere pages for hrpulsid 2080 */
.hr_suite_2080.uid_18 #header,
.hr_suite_2080.uid_19 #header,
.hr_suite_2080.uid_351 #header,
.hr_suite_2080.uid_128 #header,
.hr_suite_2080.uid_25 #header {
    display: none !important;
}

.mts-logo {
    height: 60px;
}

/* Hero Section */
.mts-hero-section {
    position: relative;
    height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 35px;
}

.mts-hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hero Logo in top left corner */
.mts-hero-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    height: 80px;
    width: 160px;
    z-index: 10;
}

.hero-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
}

.mts-jobs-grid-container {
    padding: 0 20px;
    margin-top:50px;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none ;
    display: none ;
}

.mts-hero-content {
    max-width: 600px;
    padding-left: 50px;
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    padding: 24px 32px;
    display: inline-block;
}

.mts-hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 2px #000;
}

.mts-hero-subtitle p {
    font-size: 18px;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.9;
}

/* Main Content */
.mts-main-content {
    background-color: #0D0D0D;
    padding: 80px 0 60px;
}

.mts-jobs-intro {
    text-align: center;
    margin-bottom: 60px;
}

.mts-jobs-intro h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
}

.mts-jobs-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mts-jobs-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.mts-job-grid-item {
    width: 100%;
}

.mts-job-grid-item.center-last {
    grid-column: 2 / 3;
}

/* Modern Job Tile Styles for MTS - Updated for XD Design */
.mts-modern-job-tile {
    background: #003354;
    border: 1px solid var(--spred-color-blue-30);
    color: #FFFFFF;
    border-radius: 0; /* Square corners as per XD */
    box-shadow: none;
    border: none;
    padding: 40px 30px 30px 30px;
    margin: 0;
    min-height: 367px; /* Larger tiles */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    text-align: center;
    overflow: visible;
}

.mts-modern-job-tile:hover {
    /* Remove box-shadow and transform on hover */
    box-shadow: none;
    /* transform: none; */
    z-index: 2;
}

.mts-modern-job-tile:hover .mts-modern-job-btn {
    background: #fcd600;
    border: 1px solid #003354;
    color: #003354;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    transform: scale(1.04);
    text-decoration: none;
}

.mts-modern-job-content {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    margin-bottom: 20px;
    overflow: visible;
}

.mts-modern-job-title {
    font-family: "Brandon Grotesque", sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    word-break: auto-phrase;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    hyphens: auto;
}

.mts-modern-job-location {
    font-family: "Barlow", sans-serif;
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.8;
    word-break: break-word;
    white-space: pre-line;
    line-height: 1.4;
}

.mts-modern-job-btn-area {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 60px;
}
.mts-job-offer-heading {
    width:100%;
    display:block;
    margin-left:0;
    margin-right:0;
    margin-top:0;
    font-size:54px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.body_bewerbung .job_detail_header{
    max-width:850px;
    margin:0 auto 40px auto;
}
.mts-job-offer-heading h1,.body_bewerbung .job_detail_header h1{
    font-family: "Brandon Grotesque", sans-serif;
    font-size:48.6px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.mts-modern-job-btn {
    min-width: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Always visible on static tiles */
    pointer-events: auto;
    background: #FFFFFF;
    color: #003354;
    border: 1px solid #003354;
    border-radius: 9px;
    padding: 12px 63px 12px 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    z-index: 2;
    text-decoration: none;
    margin-top: 0;
    margin-bottom: 0;
    width: auto;
    justify-content: center;
    font-family: "Barlow", sans-serif;
    letter-spacing: 0.02em;
}

.mts-modern-job-btn::after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 20px;
    background: var(--spred-color-neutral-100, #003354);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-mask: url("/files/public_folder/c_2080/0_frontend/arrow-right-strong.svg") no-repeat center;
    mask: url("/files/public_folder/c_2080/0_frontend/arrow-right-strong.svg") no-repeat center;
    -webkit-mask-size: 25px;
    mask-size: 25px;
    transition: .4s ease-out;
    pointer-events: none;
}

.mts-modern-job-btn:hover::after,
.mts-modern-job-btn:focus::after {
    right: 12px;
}
/* MTS Search Styles */
.mts-search-container {
    background: transparent;
    padding: 20px 0;
    max-width: 1120px;
    margin: 0 auto;
}

.mts-search-form {
    width: 100%;
}


.mts-search-input-container {
    display: flex;
    align-items: center;
    padding: 0;
    background: #FFFFFF;
}

.mts-search-icon {
    padding: 18px 20px;
    color: #003354;
    font-size: 24px;
    background: #F8F9FA;
    border-right: 1px solid #E8E8E8;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mts-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 20px;
    font-size: 16px;
    font-family: "Barlow", sans-serif;
    color: #003354;
    background: #FFFFFF;
    min-height: 56px;
}

.mts-search-input::placeholder {
    color: #8A8A8A;
    font-weight: 400;
}

.mts-search-button-container {
    border-left: 1px solid #E8E8E8;
}

.mts-search-clear-container {
    margin-top: 15px;
}

.mts-search-clear-btn {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: "Barlow", sans-serif;
    padding: 8px 16px;
    border-radius: 20px;
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    transition: all 0.3s ease;
}

.mts-search-clear-btn:hover {
    color: #003354;
    background: #FFFFFF;
    border-color: #003354;
    text-decoration: none;
}

.mts-no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.mts-no-results h3 {
    color: #003354;
    margin-bottom: 20px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
}

.mts-no-results p {
    color: #666;
    margin-bottom: 30px;
    font-family: "Barlow", sans-serif;
}
/* --- MTS Job Detail Page --- */
.mts-job-detail-page {
    background: #0D0D0D;
    color: #fff;
    font-family: 'Barlow', Arial, sans-serif;
    min-height: 100vh;
    padding-bottom: 40px;
    margin-inline: auto;
    max-width: 100%;
}
.mts-job-detail-title {
    color: #FFFFFF;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 62px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 35px;
    font-size: 65px;
    line-height: 90px;
    font-family: "Brandon Grotesque", sans-serif;
}
.mts-job-detail-section {
    margin-bottom: 36px;
    padding:20px 0;
}
.mts-job-detail-section h1,
.mts-job-detail-section h2,
.mts-job-detail-section h3,
.mts-job-detail-section h4,
.mts-job-detail-section h5,
.mts-job-detail-section h6 ,
.body_bewerbung h3{
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "Brandon Grotesque", sans-serif;
}
.mts-job-detail-section p,
.mts-job-detail-section ul,
.mts-job-detail-section li ,
.mts-job-detail-page .mts-job-detail-section div{
    color: #fff;
    font-size: 22px;
    line-height: 1.6;
    font-family: "Barlow", sans-serif;
}
.mts-job-detail-section h2{
    font-size: 33px;
    font-family: "Brandon Grotesque", sans-serif;
}
.mts-job-detail-section h1{
    font-size: 33px;
    font-family: "Brandon Grotesque", sans-serif;
}
.mts-job-detail-title{
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    font-family: "Brandon Grotesque", sans-serif;
}
.mts-job-detail-filters {
    background: 003354 0% 0% no-repeat padding-box;
    color: #fff;
    border-radius: 14px;
    padding: 24px 32px;
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 32px;
}
.mts-job-detail-filters .filter-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mts-job-detail-filters .filter-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}
.mts-job-detail-btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 32px 0 36px 0;
}
.mts-job-detail-btn-row .mts-modern-job-btn:hover ,.mts-back-button:hover{
    background: #fcd600;
    border: 1px solid #003354;
    color: #003354;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    transform: scale(1.04);
    text-decoration: none;
}
.mts-search-btn{
    border-radius: 4px 9px 9px 4px;
    background: #003354;
    color: #FFFFFF;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Barlow", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}
.mts-search-wrapper {
    background: #FFFFFF;
    border-radius: 9px;
    box-shadow: 0 4px 20px rgba(0, 51, 84, 0.1);
    overflow: hidden;
    border: 2px solid #E8E8E8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0 5px;
    
}

.mts-search-wrapper:focus-within {
    border-color: #003354;
    box-shadow: 0 4px 25px rgba(0, 51, 84, 0.15);
    padding: 0 5px;
}
.mts-mts-btn{
    background: #003354;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    text-decoration: none;
    justify-content: center;
    letter-spacing: 0.02em;
    min-width: 250px;
}
.mts-mts-btn:hover, .mts-mts-btn:focus, .mts-search-btn:hover, .mts-search-btn:focus{
    background: #fcd600;
    color: #003354;
    box-shadow: 0 4px 18px rgba(0,68,107,0.18);
    transform: scale(1.04);
    text-decoration: none;
}

.mts-job-detail-contact {
    background: 003354 0% 0% no-repeat padding-box;
    color: #fff;
    border-radius: 16px;
    padding: 36px 24px 28px 24px;
    margin: 48px auto 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.mts-job-detail-contact .contact-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 4px solid #fff;
}
.mts-job-detail-contact .contact-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}
.mts-job-detail-contact .contact-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #fff;
    opacity: 0.85;
}
.mts-job-detail-contact .contact-info {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 2px;
    opacity: 0.9;
}
.bewerbungs_task_image img{
    width: auto;
    object-fit: contain;
    filter: brightness(1);
}
/* MTS Application Form Styling */
.body_bewerbung {
    background-color: #0D0D0D;
    color: #FFFFFF;
}

.body_bewerbung .job_detail_header {
    text-align: center;
    margin-bottom: 40px;
}

.body_bewerbung .bewerbungs_task_image img{
   display: none;
}
.body_bewerbung .form-label-group input[type="checkbox"] {
    padding: 0;
}
.body_bewerbung .form-control,
.body_bewerbung select,
.body_bewerbung textarea {
    background-color: #1a1f2e;
    border: 2px solid #003354;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.body_bewerbung .form-control:focus,
.body_bewerbung select:focus,
.body_bewerbung textarea:focus {
    background-color: #1a1f2e;
    border-color: #003354;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    color: #FFFFFF;
    outline: none;
}

.body_bewerbung .form-label-group {
    text-align: left;
}
 .form-label-group.checkbox input:not(:placeholder-shown) ~ label {
    font-size:18px;
}
.body_bewerbung .form-label-group label {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 18px;
    margin-top: 5px;
    display: flex;
    font-family: "Barlow", sans-serif;
    align-items: center;
}

.body_bewerbung .dropzone {
    background-color: #003354;
    border: 2px dashed #003354;
    border-radius: 12px;
    color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.body_bewerbung .bs-checkbox [type="checkbox"]:checked + span:before, .body_bewerbung .dropdown-item [type="checkbox"]:checked + span:before, .body_bewerbung [type="checkbox"]:checked + label:before{
    background:#fcd600 !important;
}
.body_bewerbung .bs-checkbox [type="checkbox"]:not(:checked) + span:before, .body_bewerbung .bs-checkbox [type="checkbox"]:checked + span:before, .body_bewerbung .dropdown-item [type="checkbox"]:not(:checked) + span:before, .body_bewerbung .dropdown-item [type="checkbox"]:checked + span:before, .body_bewerbung [type="checkbox"]:not(:checked) + label:before, .body_bewerbung [type="checkbox"]:checked + label:before{
    border-color:#fcd600 !important;
}
.body_bewerbung .dropzone:hover {
    border-color: #003354;
    background-color: rgba(0, 102, 204, 0.05);
}

.body_bewerbung .dropzone .dz-message {
    color: #FFFFFF;
    font-size: 16px;
}

.body_bewerbung h3 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    text-align: center;
    font-family: "Brandon Grotesque", sans-serif;
}


/* Global text centering for job descriptions and content */
.mts-job-detail-page .container > div,
.mts-job-detail-page .mts-job-detail-section,
.mts-job-detail-page .mts-job-detail-section p,
.mts-job-detail-page .mts-job-detail-section div {
    text-align: center !important;
}

/* Ensure lists have proper centering */
.mts-job-detail-section ul {
    list-style-position: outside;
    padding-left: 2em;
    margin: 0 0 1em 0;
    display: block;
    text-align: left;
}

.mts-job-detail-section li {
    margin-bottom: 8px;
    text-align: left;
}

.mts-job-detail-section {
    text-align: center;
}

/* Job tile styling improvements */
.mts-modern-job-tile {
    text-align: center;
}

/* Contact section improvements */
.mts-contact-section-custom {
    background: #0D0D0D;
    padding: 80px 0 64px 0;
}

.mts-contact-flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 896px;
    margin: 48px auto;
    min-height: 304px;
}

.mts-contact-info-card-overlap {
    width: 896px;
    height: 304.8px;
    background: #003354 0% 0% no-repeat padding-box;
    border-radius: 9px;
    opacity: 1;
    color: #fff;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: none;
    padding: 48px 80px;
    
}

.contact-image-overlap {
    position: absolute;
    right: 0;
    top: 35%;
    transform: translateY(-50%);
    width: 401.6px;
    height: 400px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: none;
    z-index: 2;
    box-shadow: none;
    pointer-events: none;

}

.mts-contact-info-card-overlap h3 {
    font-size: 26.4px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Brandon Grotesque", sans-serif;
}

.mts-contact-info-card-overlap h4 {
    font-size: 26.4px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-family: "Brandon Grotesque", sans-serif;
}

.mts-contact-info-card-overlap p {
    font-size: 17.6px;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 400;
    font-family: "Barlow", sans-serif;
}

.mts-contact-info-card-overlap p strong {
    font-weight: 700;
    color: #fff;
}

.mts-contact-info-card-overlap a.contact-info-email {
    display: inline-block;
    margin-top: 18px;
    font-weight: 800;
    color: #fff;
    background: none;
    border: none;
    font-size: 18px;
    text-decoration: underline;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.mts-contact-info-card-overlap a.contact-info-email:hover {
    color: #00b04f;
}

/* Slideout Buttons to Match XD Design */
.slideout-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.slideout-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.slideout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 0;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
    background: #003354;
    z-index: 2;
    position: relative;
    border: none;
}

.slideout-btn-phone {
    background: #003354;
}

.slideout-btn-email {
    background: #003354;
    margin-top: 1px;
}

.slideout-btn:hover {
    color: white;
    text-decoration: none;
    background: #003354;
}

/* Slideout Text Labels */
.slideout-text {
    position: absolute;
    right: 60px;
    background: #003354;
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    height: 60px;
    min-width: 200px;
}

.slideout-text::after {
    display: none;
}

.slideout-contact {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
}

/* Hover Effects */
.slideout-btn-wrapper:hover .slideout-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slideout-btn-wrapper:hover .slideout-btn {
    background: #003354;
}

.slideout-btn-wrapper:hover .slideout-text-phone {
    background: #003354;
}

.slideout-btn-wrapper:hover .slideout-text-email {
    background: #003354;
}

.slideout-text-phone {
    background: #003354;
    margin-top: 0;
}

.slideout-text-email {
    background: #003354;
    margin-top: 1px;
}
.contact-icon{
    width: 30px;
    height: 30px;
}

/* Text Centering */
.job_detail_header h1,
.job_detail_header h2,
.job_detail_header h3,
.mts-job-detail-title {
    text-align: center;
}

.mts-job-detail-section p,
.mts-job-detail-section ul,
.mts-job-detail-section li {
    text-align: center;
}

.mts-job-detail-section ul {
    list-style-position: inside;
    padding-left: 0;
}

.mts-job-detail-section li {
    margin-bottom: 8px;
}

/* Center only headings in job detail section */
.mts-job-detail-section h1,
.mts-job-detail-section h2,
.mts-job-detail-section h3 {
    text-align: center;
}

/* Left-align all lists and their items in job detail section */
.mts-job-detail-section ul,
.mts-job-detail-section ol,
.mts-job-detail-section li {
    text-align: left !important;
    margin-left: 0;
    padding-left: 2em;
    display: list-item;
}
.mts-job-detail-section li{
    padding-left: 0;
}

.mts-job-detail-section ul,
.mts-job-detail-section ol {
    display: block;
    margin: 0 0 1em 0;
    list-style-position: outside;
}

/* === Adobe XD style for form inputs and buttons === */
.job_detail_form input[type="text"],
.job_detail_form input[type="email"],
.job_detail_form input[type="tel"],
.job_detail_form input[type="date"],
.job_detail_form input[type="number"],
.job_detail_form input[type="password"],
.job_detail_form select,
.job_detail_form textarea {
    border: none;
    border-radius: 9px;
    color: #fff;
    font-size: 16px;
    padding: 16px 18px;
    margin-bottom: 0;
    box-shadow: none;
    width: 100%;
    outline: none;
    opacity: 1;
    transition: box-shadow 0.2s;
    height: 51px;
    background: #003354;
    border-radius: 9px;
    opacity: 1;
    padding-top:24px;
}
.job_detail_form input[type="text"]:hover,
.job_detail_form input[type="email"]:hover,
.job_detail_form input[type="tel"]:hover,
.job_detail_form input[type="date"]:hover,
.job_detail_form input[type="number"]:hover,
.job_detail_form input[type="password"]:hover,
.job_detail_form select:hover,
.job_detail_form textarea:hover {
    background: #003354 !important;
}
.job_detail_form input[type="text"]::placeholder,
.job_detail_form input[type="email"]::placeholder,
.job_detail_form input[type="tel"]::placeholder,
.job_detail_form input[type="date"]::placeholder,
.job_detail_form input[type="number"]::placeholder,
.job_detail_form input[type="password"]::placeholder,
.job_detail_form select::placeholder,
.job_detail_form textarea::placeholder {
    color: transparent ;
    opacity: 0 ;
}

.job_detail_form input[type="text"]:focus,
.job_detail_form input[type="email"]:focus,
.job_detail_form input[type="tel"]:focus,
.job_detail_form input[type="date"]:focus,
.job_detail_form input[type="number"]:focus,
.job_detail_form input[type="password"]:focus,
.job_detail_form select:focus,
.job_detail_form textarea:focus {
    box-shadow: 0 0 0 2px rgba(0,51,84,0.25) ;
}


.job_detail_form input[type="submit"],
#send_bewerbung {
    color: #fff ;
    font-weight: 700 ;
    font-size: 16px ;
    border-radius: 6px ;
    border: none ;
    width: 100% ;
    margin-top: 18px ;
    transition: background 0.2s;
    box-shadow: none ;
    outline: none ;
    height: 49px;
    background: #003354 0% 0% no-repeat padding-box;
    border-radius: 0px;
    opacity: 1;
}


.job_detail_form input[type="submit"]:hover {
    background: #1551b8 ;
} 
.form-label-group.radio input:not(:placeholder-shown) ~ label, .form-label-group.checkbox input:not(:placeholder-shown) ~ label {
    color: #fff ;
}

a{
    color: #fcd600 ;
}
a:hover{
    color: #004d7a ;
}
/* MTS Search Styles */
.mts-search-container {
    background: transparent;
    padding: 20px 0;
}

.mts-search-form {
    width: 100%;
}


.mts-search-input-container {
    display: flex;
    align-items: center;
    padding: 0;
    background: #FFFFFF;
}

.mts-search-icon {
    padding: 18px 20px;
    color: #003354;
    font-size: 24px;
    background: #F8F9FA;
    border-right: 1px solid #E8E8E8;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mts-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 20px;
    font-size: 16px;
    font-family: "Barlow", sans-serif;
    color: #003354;
    background: #FFFFFF;
    min-height: 56px;
}

.mts-search-input::placeholder {
    color: #8A8A8A;
    font-weight: 400;
}

.mts-search-button-container {
    border-left: 1px solid #E8E8E8;
}

.mts-search-clear-container {
    margin-top: 15px;
}

.mts-search-clear-btn {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: "Barlow", sans-serif;
    padding: 8px 16px;
    border-radius: 20px;
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    transition: all 0.3s ease;
}

.mts-search-clear-btn:hover {
    color: #003354;
    background: #FFFFFF;
    border-color: #003354;
    text-decoration: none;
}

.mts-no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.mts-no-results h3 {
    color: #003354;
    margin-bottom: 20px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
}

.mts-no-results p {
    color: #666;
    margin-bottom: 30px;
    font-family: "Barlow", sans-serif;
}
/* --- Footer Two-Column Layout --- */
.mts-footer-hrpuls .row.align-items-start {
    align-items: flex-start !important;
}
.mts-footer-links-vertical a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    text-transform: uppercase;
}
.mts-footer-links-vertical a:hover {
    color: #fcd600;
}
.mts-footer-divider {
    border: none;
    border-top: 2px solid #fff;
    margin: 24px 0 18px 0;
    opacity: 0.15;
}

/* Job Detail Contact Section - Horizontal Layout */
.mts-job-detail-contact-horizontal {
    background: #0D0D0D;
    padding: 60px 0;
    margin: 48px 0 0 0;
}

.mts-contact-flex-row-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background: #003354;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.mts-contact-info-card-horizontal {
    flex: 1;
    color: #fff;
    padding-right: 40px;
}

.mts-contact-info-card-horizontal h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Brandon Grotesque", sans-serif;
}

.mts-contact-info-card-horizontal h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-family: "Brandon Grotesque", sans-serif;
}

.mts-contact-info-card-horizontal p {
    font-size: 22px;
    color: #e0e0e0;
    margin-bottom: 6px;
    font-weight: 400;
    font-family: "Barlow", sans-serif;
}

.contact-image-horizontal {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    flex-shrink: 0;
}
.job_detail_form input[type="submit"]:hover, #send_bewerbung:hover{
    background: #FFCC00;
    color: #003354;
}
/* Job Application Button Style */
.mts-job-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFCC00;
    color: #000000;
    border: none;
    border-radius: 0;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 250px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: "Brandon Grotesque", sans-serif;
}

.mts-job-apply-btn:hover {
    background: #FFE44D;
    color: #000000;
    text-decoration: none;
}

.mts-job-apply-btn::after {
    content: "→";
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    margin-left: 12px;
    transition: transform 0.3s ease;
    line-height: 1;
    position: relative;
    top: -2px;
}

.mts-job-apply-btn:hover::after {
    transform: translateX(8px);
}

/* Benefits Section */
.mts-benefits-section {
    background-color: #0D0D0D;
    padding: 80px 0;
}

.mts-team-image {
    position: relative;
    margin-bottom: 60px;
}

.team-bg-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.mts-team-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.mts-team-badge {
    background-color: #00b04f;
    color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.mts-benefits-title {
    text-align: center;
    margin-bottom: 60px;
}

.mts-benefits-title h2 {
    font-size: 48px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mts-benefits-title p {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mts-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- BENEFIT OVERLAY EFFECT --- */
.mts-benefit-item {
    width: 248px;
    height: 248px;
    position: relative;
    overflow: hidden;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mts-benefit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.benefit-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.0) 100%);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 18px 10px 12px 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.3s;
}
.benefit-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 3;
    padding: 32px 18px 18px 18px;
    text-align: center;
}
.mts-benefit-item:hover .benefit-overlay,
.mts-benefit-item:focus-within .benefit-overlay {
    opacity: 1;
    pointer-events: auto;
}
.mts-benefit-item:hover .benefit-title,
.mts-benefit-item:focus-within .benefit-title {
    opacity: 0;
}
.benefit-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.benefit-overlay p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: #fff;
    opacity: 0.95;
}

/* Values Section */
.mts-values-section {
    background-color: #0D0D0D;
    padding: 80px 0;
}

.mts-values-header {
    text-align: center;
    margin-bottom: 60px;
}

.mts-values-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
}

.mts-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mts-values-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.mts-values-right h3 {
    font-size: 32px;
    font-weight: 700;
    color: #003354;
    margin-bottom: 30px;
    line-height: 1.2;
}

.mts-values-right p {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.8;
    line-height: 1.6;
}

/* Testimonial Section */
.mts-testimonial-section {
    background-color: #0D0D0D;
    padding: 80px 0;
}

.mts-testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mts-video-container {
    position: relative;
}

.testimonial-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.mts-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mts-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.mts-testimonial-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.3;
}

.mts-testimonial-text p {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.8;
    margin-bottom: 20px;
}

.mts-cta-link {
    color: #003354;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.mts-cta-link:hover {
    color: #004d7a;
    transform: translateX(5px);
}

/* Contact Section */
.mts-contact-section {
    padding: 80px 0;
}

.mts-contact-content {
    text-align: center;
}

.mts-contact-person {
    display: flex;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background-color: #003354;
    padding: 40px;
    border-radius: 12px;
}

.contact-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.mts-contact-info {
    text-align: left;
}

.mts-contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mts-contact-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.mts-contact-info p {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.8;
    margin-bottom: 5px;
}

/* Footer */
.mts-footer {
    background: #003354 0% 0% no-repeat padding-box;
    padding: 60px 0 40px;
}

/* Footer company info */
.mts-footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.mts-footer-section p {
    color: #fff;
    opacity: 0.85;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 400;
    line-height: 1.4;
}

/* Social icons row */
.mts-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.social-icon {
    width: 32px;
    height: 32px;
    background: none;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}


/* Right column links */
.mts-footer-links-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 38px;
    margin-top: 0;
    margin-left: 0;
}
.mts-footer-links-vertical a {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: color 0.2s;
}

/* Divider at the very bottom */
.mts-footer-divider {
    border: none;
    border-top: 2px solid #fff;
    margin: 32px 0 12px 0;
    opacity: 0.15;
}

/* Bottom row: copyright right, powered by left */
.mts-footer-hrpuls .row.align-items-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}
.footer-hrpuls, .footer-copyright {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}
.footer-hrpuls {
    order: 1;
}
.footer-copyright {
    order: 2;
    text-align: right;
    width: 100%;
}

/* Job Detail Page Styles */
.mts-job-detail-header {
    background-color: #0D0D0D;
    padding: 120px 0 60px;
}

.mts-job-title-section {
    text-align: center;
    margin-bottom: 60px;
}

.mts-job-title {
    font-size: 48px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.mts-job-filters {
    background-color: rgba(0, 51, 84, 0.3);
    padding: 40px;
    border-radius: 12px;
}

.mts-filter-item {
    margin-bottom: 20px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    opacity: 0.7;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.filter-value {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

/* --- HERO BOTTOM LEFT --- */
.mts-hero-content-bottom-left {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- MODERN FOOTER WITH HRPULS BRANDING --- */
.mts-footer-hrpuls {
    background: #003354 !important;
    color: #fff !important;
    padding: 60px 0 40px 0;
    border-top: none;
    margin-top: 0;
}
.mts-footer-hrpuls .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}
.mts-footer-section {
    text-align: left !important;
}
.mts-footer-section h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    line-height: 1.3;
}
.mts-footer-section p {
    color: #fff;
    opacity: 0.85;
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.5;
}
.mts-social-icons {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}
.social-icon {
    width: 36px;
    height: 36px;
    background-color: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-hrpuls, .footer-copyright {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin: 0;
    text-align: left;
}
.footer-hrpuls a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.footer-hrpuls a:hover {
    color: #66B2FF;
}

/* Back to Homepage Button */
.mts-back-button-container {
    background-color: #0D0D0D;
    padding: 0 0 20px 0;
    text-align: left;
    font-family: "Barlow", sans-serif;
}

.mts-back-button {
    display: inline-flex;
    align-items: center;
    background: #003354;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 20px 12px 63px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 40px;
    border: 2px solid #003354;
    position: relative;
}

.mts-back-button::before {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 32px;
    height: 20px;
    background: #FFFFFF;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-mask: url("/files/public_folder/c_2080/0_frontend/arrow-right-strong.svg") no-repeat center;
    mask: url("/files/public_folder/c_2080/0_frontend/arrow-right-strong.svg") no-repeat center;
    -webkit-mask-size: 25px;
    mask-size: 25px;
    transition: .4s ease-out;
    pointer-events: none;
}

.mts-back-button:hover::before {
    left: 12px;
    background: #003354;
}

.back-arrow {
    display: none;
}
/* Remove top margin from first container inside wrapper on karriere pages */
body.hr_suite_2080.uid_18 #wrapper > div:first-child,
body.hr_suite_2080.uid_19 #wrapper > div:first-child,
body.hr_suite_2080.uid_351 #wrapper > div:first-child,
body.hr_suite_2080.uid_128 #wrapper > div:first-child,
body.hr_suite_2080.uid_25 #wrapper > div:first-child {
    margin-top: 0;
    padding-top: 0;
}
.hr_suite_2080.uid_18 #container,
.hr_suite_2080.uid_19 #container,
.hr_suite_2080.uid_351 #container,
.hr_suite_2080.uid_128 #container,
.hr_suite_2080.uid_25 #container{
    margin-top: 0;
    padding-top: 0;
}
.footer_public{
    display: none;
}
body.uid_357 .footer_public {
    display: block;
    padding:10px 0;
    margin-left: 0 !important;
}
/* Responsive Design for Static Grid */
@media (max-width: 1400px) {
    .mts-jobs-static-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .mts-modern-job-tile {
        min-height: 300px;
        padding: 30px 20px 20px 20px;
    }
    
    .mts-modern-job-title {
        font-size: 1.25rem;
    }
    
    .mts-modern-job-btn {
        font-size: 15px;
        padding: 10px 15px;
    }
}

@media (max-width: 1200px) {
    .mts-jobs-static-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .mts-modern-job-tile {
        min-height: 280px;
        padding: 25px 15px 15px 15px;
    }
    
    .mts-modern-job-title {
        font-size: 1.2rem;
    }
    
    .mts-modern-job-btn {
        font-size: 14px;
        padding: 10px 12px;
    }
    .mts-contact-info-card-overlap {
        width: 95vw;
        max-width: 900px;
        padding: 40px 60px;
        height: auto;
        min-height: 320px;
    }
    .contact-image-overlap {
        top: 38%;
        width: 400px;
        height: 400px;
    }
    .mts-contact-info-card-overlap h3 {
        font-size: 28px;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 28px;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .container .mts-jobs-static-grid,
    .mts-jobs-grid-container .mts-jobs-static-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .mts-job-grid-item.center-last {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 900px) {
    .container .mts-jobs-static-grid,
    .mts-jobs-grid-container .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .mts-modern-job-tile {
        min-height: 280px;
        padding: 25px 15px 15px 15px;
    }
    
    .mts-modern-job-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .mts-modern-job-location {
        font-size: 1rem;
    }
    
    .mts-modern-job-btn {
        font-size: 14px;
        padding: 12px 15px;
        min-width: 200px;
    }
    .benefit-title, .benefit-overlay {
        font-size: 1rem;
        padding: 12px 6px 8px 6px;
    }
    .benefit-overlay {
        padding: 18px 8px 8px 8px;
    }
    .mts-benefit-item {
        width: 180px;
        height: 180px;
    }
    .mts-footer-hrpuls .row.align-items-start {
        flex-direction: column;
    }
    .mts-footer-links-vertical {
        align-items: flex-start;
        margin-top: 24px;
    }
    .mts-footer-hrpuls .row.align-items-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .footer-copyright {
        text-align: left;
        width: 100%;
    }
    .mts-footer-hrpuls {
        padding: 30px 0 15px 0;
    }
    .mts-footer-section h4 {
        font-size: 15px;
    }
    .footer-hrpuls, .footer-copyright {
        font-size: 12px;
    }
    .mts-job-detail-title {
        font-size: 2rem;
    }
    .mts-job-detail-filters {
        padding: 18px 8px;
        gap: 18px;
    }
    .mts-job-detail-contact {
        padding: 24px 8px 18px 8px;
    }
    .mts-contact-flex-row {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .mts-contact-info-card-overlap {
        padding: 32px 12px 18px 12px;
        padding-right: 0;
        width: 100%;
        max-width: 98vw;
        border-radius: 14px;
        align-items: center;
        height: auto;
    }
    .contact-image-overlap {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 120px;
        height: 160px;
        pointer-events: auto;
    }
    .mts-footer-hrpuls .row.align-items-start {
        flex-direction: column;
    }
    .mts-footer-links-vertical {
        align-items: flex-start;
        margin-top: 24px;
    }
    .mts-contact-flex-row-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .mts-contact-info-card-horizontal {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 18px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-flex-row {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        position: relative;
    }
    
    .mts-contact-info-card-overlap {
        padding: 32px 20px 32px 40px;
        padding-right: 160px;
        width: 100%;
        max-width: 95vw;
        border-radius: 14px;
        align-items: flex-start;
        height: auto;
        text-align: left;
        position: relative;
        z-index: 1;
    }
    .contact-image-overlap {
        position: absolute;
        right: 20px;
        top: 41%;
        transform: translateY(-50%);
        width: 350px;
        height: 350px;
        pointer-events: none;
        z-index: 2;
    }
    
    /* Horizontal contact responsive */
    .mts-contact-flex-row-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .mts-contact-info-card-horizontal {
        padding-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 22px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal p {
        font-size: 18px;
    }
    
    .contact-image-horizontal {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .container .mts-jobs-static-grid,
    .mts-jobs-grid-container .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        max-width: calc(100% - 30px);
        margin: 0 15px;
    }
    
    .mts-modern-job-tile {
        min-height: 260px;
        padding: 20px 12px 12px 12px;
    }
    
    .mts-modern-job-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .mts-modern-job-location {
        font-size: 0.95rem;
    }
    
    .mts-modern-job-btn {
        font-size: 13px;
        padding: 10px 12px;
        min-width: 260px;
    }
    .mts-search-input-container {
        flex-direction: column;
    }
    
    .mts-search-icon {
        border-right: none;
        border-bottom: 1px solid #E8E8E8;
        min-width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .mts-search-input {
        padding: 15px 20px;
        min-height: 50px;
    }
    
    .mts-search-button-container {
        border-left: none;
        border-top: 1px solid #E8E8E8;
        width: 100%;
    }
    
    .mts-search-btn {
        width: 100%;
        min-height: 50px;
        padding: 15px 20px;
    }
    .mts-hero-title {
        font-size: 36px;
    }
    
    .mts-jobs-intro h2 {
        font-size: 32px;
    }
    
    .mts-benefits-title h2 {
        font-size: 32px;
    }
    
    .mts-values-header h2 {
        font-size: 32px;
    }
    
    .mts-jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mts-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .mts-values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mts-testimonial-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mts-contact-person {
        flex-direction: column;
        text-align: center;
    }
    
    .mts-contact-info {
        text-align: center;
    }
    
    .mts-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero logo responsive adjustments */
    .mts-hero-logo {
        top: 20px;
        left: 20px;
    }
    
    .hero-logo-image {
        height: 60px;
    }
    
    .mts-job-offer-heading h1{
        font-size: 33px;
    }

    /* Back button responsive styles */
    .mts-back-button-container {
        padding: 15px;
    }
    
    .mts-back-button {
        margin-left: 20px;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .back-arrow {
        font-size: 16px;
    }
    .mts-hero-content-bottom-left {
        bottom: 40px;
        padding: 0 15px;
    }
    .mts-hero-title {
        font-size: 36px;
        text-align: center;
    }
    .mts-job-detail-btn-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .mts-mts-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-left: 0 !important;
    }
    
    .body_bewerbung .job_detail_header h1 {
        font-size: 24px;
    }
    
    .mts-job-detail-section ul {
        text-align: center;
    }
    
    .mts-job-detail-section li {
        text-align: center;
    }
    .slideout-buttons {
        right: 0;
    }
    
    .slideout-btn {
        width: 50px;
        height: 50px;
    }
    
    .slideout-text {
        right: 50px;
        padding: 10px 15px;
        height: 50px;
        min-width: 180px;
    }
    
    .slideout-contact {
        font-size: 12px;
    }
    .mts-search-input-container {
        flex-direction: column;
    }
    
    .mts-search-icon {
        border-right: none;
        border-bottom: 1px solid #E8E8E8;
        min-width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .mts-search-input {
        padding: 15px 20px;
        min-height: 50px;
    }
    
    .mts-search-button-container {
        border-left: none;
        border-top: 1px solid #E8E8E8;
        width: 100%;
    }
    
    .mts-search-btn {
        width: 100%;
        min-height: 50px;
        padding: 15px 20px;
    }
    .mts-job-apply-btn {
        font-size: 14px;
        padding: 10px 18px;
        margin: 20px auto;
    }
    .mts-job-apply-btn::after {
        font-size: 12px;
    }
    .mts-contact-info-card-overlap h3{
        font-size: 18px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-info-card-overlap h4{
        font-size: 16px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-info-card-overlap p{
        font-size: 14px;
        font-family: "Barlow", sans-serif;
    }
    .customer_bottom{
        margin-top: 0;
    }
    .mts-job-detail-section p, .mts-job-detail-section ul, .mts-job-detail-section li, .mts-job-detail-page .mts-job-detail-section div{
        font-size: 18px;
        line-height: 22px;
        font-family: "Barlow", sans-serif;
    }
    .mts-job-detail-section h2{
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-job-detail-section h1{
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-job-detail-title{
        font-size: 33px;
        line-height: 39px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-info-card-horizontal p{
        font-size: 16px;
        font-family: "Barlow", sans-serif;
    }
    .mts-contact-info-card-horizontal h3{
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-info-card-horizontal h4{
        font-size: 20px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-section-custom {
        padding: 50px 0 30px 0;
    }
    
    .mts-contact-flex-row {
        padding: 15px;
        margin: 15px auto;
        position: relative;
    }
    
    .mts-contact-info-card-overlap {
        padding: 25px 20px 25px 30px;
        padding-right: 140px;
        max-width: 90vw;
        border-radius: 10px;
        position: relative;
        z-index: 1;
    }
    
    .contact-image-overlap {
        position: absolute;
        right: 15px;
        top: 48%;
        transform: translateY(-50%);
        width: 300px;
        height: 300px;
        z-index: 2;
    }
    
    .mts-contact-info-card-overlap h3 {
        font-size: 20px;
        margin-bottom: 12px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 18px;
        margin-bottom: 8px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 16px;
        margin-bottom: 6px;
        font-family: "Barlow", sans-serif;
    }
    
    /* Horizontal contact mobile large */
    .mts-job-detail-contact-horizontal {
        padding: 50px 0;
        margin: 30px 0 0 0;
    }
    
    .mts-contact-flex-row-horizontal {
        margin: 0 15px;
        padding: 25px 15px;
    }
    
    .contact-image-horizontal {
        width: 120px;
        height: 120px;
        border: 3px solid #fff;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 20px;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 18px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal p {
        font-size: 16px;
        font-family: "Barlow", sans-serif;
    }
    
}

@media (max-width: 600px) {
    .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: calc(100% - 20px);
        margin: 0 10px;
    }
    
    .mts-modern-job-tile {
        min-height: 250px;
        padding: 25px 15px 15px 15px;
    }
    
    .mts-modern-job-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .mts-modern-job-location {
        font-size: 0.95rem;
    }
    
    .mts-modern-job-btn {
        font-size: 14px;
        padding: 10px 15px;
        min-width: 260px;
    }
    .mts-search-container {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .mts-search-wrapper {
        border-radius: 8px;
    }
    .mts-search-container {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .mts-search-wrapper {
        border-radius: 8px;
    }
    .mts-benefit-item {
        min-height: 120px;
    }
    .benefit-title, .benefit-overlay {
        font-size: 0.95rem;
        padding: 8px 4px 6px 4px;
    }
    .benefit-overlay {
        padding: 12px 4px 4px 4px;
    }
    .mts-benefit-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        min-width: 120px;
        min-height: 120px;
    }
    .mts-benefit-item img {
        width: 100%;
        height: 100%;
    }
    .mts-footer-hrpuls {
        padding: 18px 0 10px 0;
    }
    .mts-footer-section h4 {
        font-size: 13px;
    }
    .mts-footer-section p {
        font-size: 13px;
    }
    .mts-social-icons {
        gap: 10px;
    }
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .footer-hrpuls, .footer-copyright {
        font-size: 10px;
    }
    .mts-job-detail-title {
        font-size: 1.3rem;
    }
    .mts-job-detail-section h2 {
        font-size: 1.1rem;
    }
    .mts-job-detail-contact {
        padding: 14px 2px 10px 2px;
        max-width: 98vw;
    }
    .mts-job-detail-contact .contact-image {
        width: 80px;
        height: 80px;
    }
    .mts-mts-btn {
        font-size: 16px;
        padding: 10px 10px;
        min-width: 120px;
    }
    .mts-contact-flex-row {
        position: relative;
        display: block;
        min-height: 420px;
        margin: 0 auto;
        max-width: 100vw;
        padding-bottom: 40px;
    }
    .mts-contact-info-card-overlap {
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 95vw;
        background: rgba(0,51,84,0.95);
        z-index: 2;
        border-radius: 16px;
        padding: 32px 12px 24px 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        text-align: left;
        align-items: flex-start;
    }
    .mts-contact-info-card-overlap h3,
    .mts-contact-info-card-overlap h4 {
        font-size: 1.5rem;
        font-weight: 900;
        margin-bottom: 10px;
        text-align: left;
    }
    .mts-contact-info-card-overlap p {
        font-size: 1.1rem;
        margin-bottom: 8px;
        text-align: left;
    }
    .contact-image-overlap {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) translateY(20%);
        width: 180px;
        height: 180px;
        max-width: 80vw;
        object-fit: contain;
        z-index: 1;
        pointer-events: none;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .slideout-buttons {
        z-index: 10;
    }
    .mts-job-detail-contact-horizontal {
        padding: 40px 0;
        margin: 30px 0 0 0;
    }
    
    .mts-contact-flex-row-horizontal {
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .contact-image-horizontal {
        width: 100px;
        height: 100px;
        border: 3px solid #fff;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 18px;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 16px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    .mts-contact-flex-row {
        position: relative;
        display: flex;
        flex-direction: row;
        min-height: 280px;
        margin: 0 auto;
        max-width: 100vw;
        padding: 15px 10px;
    }
    .mts-contact-info-card-overlap {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        background: #003354;
        z-index: 1;
        border-radius: 16px;
        padding: 25px 15px 25px 25px;
        padding-right: 140px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        text-align: left;
        align-items: center;
    }
    .mts-contact-info-card-overlap h3,
    .mts-contact-info-card-overlap h4 {
        font-size: 18px;
        font-weight: 900;
        margin-bottom: 8px;
        text-align: left;
    }
    .mts-contact-info-card-overlap p {
        font-size: 14px;
        margin-bottom: 6px;
        text-align: left;
    }
    .contact-image-overlap {
        position: absolute;
        right: -54px;
        top: 61%;
        transform: translateY(-50%);
        width: 250px;
        height: 200px;
        max-width: none;
        object-fit: contain;
        z-index: 2;
        pointer-events: none;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .slideout-buttons {
        z-index: 10;
    }

    /* Mobile horizontal contact */
    .mts-job-detail-contact-horizontal {
        padding: 40px 0;
        margin: 30px 0 0 0;
    }

    .mts-contact-flex-row-horizontal {
        margin: 0 10px;
        padding: 20px 15px;
    }

    .contact-image-horizontal {
        width: 100px;
        height: 100px;
        border: 3px solid #fff;
    }

    .mts-contact-info-card-horizontal h3 {
        font-size: 18px;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }

    .mts-contact-info-card-horizontal h4 {
        font-size: 16px;
        font-family: "Brandon Grotesque", sans-serif;
    }
}

@media (max-width: 480px) {
    .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        max-width: calc(100% - 20px);
        margin: 0 10px;
    }
    
    .mts-modern-job-tile {
        min-height: 230px;
        padding: 20px 12px 12px 12px;
        margin: 0;
        width: 100%;
    }
    
    .mts-modern-job-title {
        font-size: 1rem;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-modern-job-location {
        font-size: 0.9rem;
        font-family: "Barlow", sans-serif;
    }
    
    .mts-modern-job-btn {
        font-size: 13px;
        padding: 8px 12px;
        min-width: 260px;
    }
    .mts-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .mts-hero-title {
        font-size: 28px;
    }
    
    .mts-jobs-intro h2 {
        font-size: 24px;
    }
    .mts-hero-logo {
        top: 15px;
        left: 15px;
    }
    
    .hero-logo-image {
        height: 45px;
    }
    
    .mts-back-button {
        margin-left: 0;
        font-size: 13px;
        padding: 8px 14px;
        width: 285px;
        justify-content: center;
    }
    
    .back-arrow {
        font-size: 14px;
        margin-right: 6px;
    }
    .mts-job-offer-heading h1 {
        font-size: 24px;
    }
     .mts-jobs-grid-container .mts-jobs-static-grid{
        margin:0;
    }
    .slideout-btn {
        width: 45px;
        height: 45px;
    }
    
    .slideout-text {
        right: 45px;
        padding: 8px 12px;
        height: 45px;
        min-width: 160px;
    }
    
    .slideout-contact {
        font-size: 11px;
    }
    .container .mts-jobs-grid-container{
        padding:0;
    }
    .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        max-width: calc(100% - 20px);
        margin: 0 10px;
    }
    
    .mts-modern-job-tile {
        min-height: 230px;
        padding: 20px 12px 12px 12px;
        margin: 0;
        width: 100%;
    }
    
    .mts-modern-job-title {
        font-size: 1rem;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-modern-job-location {
        font-size: 0.9rem;
        font-family: "Barlow", sans-serif;
    }
    
    .mts-modern-job-btn {
        font-size: 13px;
        padding: 8px 12px;
        min-width: 260px;
    }
    .mts-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .mts-hero-title {
        font-size: 28px;
    }
    
    .mts-jobs-intro h2 {
        font-size: 24px;
    }
    
    /* Hero logo mobile adjustments */
    .mts-hero-logo {
        top: 15px;
        left: 15px;
    }
    
    .hero-logo-image {
        height: 45px;
    }
    
    .mts-back-button {
        margin-left: 0;
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .back-arrow {
        font-size: 14px;
        margin-right: 6px;
    }
    .mts-job-offer-heading h1 {
        font-size: 24px;
    }
     .mts-jobs-grid-container .mts-jobs-static-grid{
        margin:0;
    }
    .slideout-btn {
        width: 45px;
        height: 45px;
    }
    
    .slideout-text {
        right: 45px;
        padding: 8px 12px;
        height: 45px;
        min-width: 160px;
    }
    
    .slideout-contact {
        font-size: 11px;
    }
    .container .mts-jobs-grid-container{
        padding:0;
    }
    .mts-contact-section-custom {
        padding: 40px 0 20px 0;
    }
    
    .mts-contact-flex-row {
        min-height: 240px;
        padding: 10px 8px;
        position: relative;
        display: flex;
        flex-direction: row;
    }
    
    .mts-contact-info-card-overlap {
        width: 100%;
        max-width: 100%;
        padding: 20px 12px 20px 20px;
        padding-right: 100px;
        position: relative;
        z-index: 1;
        top: auto;
        left: auto;
        transform: none;
        background: #003354;
    }
    
    .mts-contact-info-card-overlap h3 {
        font-size: 16px;
        margin-bottom: 6px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 15px;
        margin-bottom: 5px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 13px;
        margin-bottom: 4px;
        font-family: "Barlow", sans-serif;
    }
    
    
    .slideout-btn {
        width: 45px;
        height: 45px;
    }
    
    .slideout-text {
        right: 45px;
        padding: 8px 12px;
        height: 45px;
        min-width: 160px;
    }
    
    .slideout-contact {
        font-size: 11px;
    }
    
    .container .mts-jobs-grid-container{
        padding:0;
    }
    
    /* Small mobile horizontal contact */
    .mts-contact-flex-row-horizontal {
        margin: 0 8px;
        padding: 15px 10px;
    }
    
    .contact-image-horizontal {
        width: 80px;
        height: 80px;
        border: 2px solid #fff;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .mts-contact-info-card-horizontal p {
        font-size: 12px;
        margin-bottom: 3px;
    }
    .mts-contact-section-custom {
        padding: 30px 0 15px 0;
    }
    
    .mts-contact-flex-row {
        min-height: 450px;
        padding: 15px 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mts-contact-info-card-overlap {
        width: 100%;
        max-width: 100%;
        padding: 25px 15px;
        padding-right: 15px;
        text-align: center;
        align-items: center;
    }
    
    .mts-contact-info-card-overlap h3 {
        font-size: 16px;
        margin-bottom: 6px;
        font-family: "Brandon Grotesque", sans-serif;
        text-align: center;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 15px;
        margin-bottom: 5px;
        font-family: "Brandon Grotesque", sans-serif;
        text-align: center;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 13px;
        margin-bottom: 4px;
        font-family: "Barlow", sans-serif;
        text-align: center;
    }
}


@media screen and (max-width: 1024px) {
    body .mts-jobs-static-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    
    body .mts-job-grid-item {
        width: 100% ;
        grid-column: auto ;
    }
    
    body .mts-job-grid-item.center-last {
        grid-column: 1;
        justify-self: stretch;
    }
}

@media screen and (max-width: 480px) {
    body .mts-jobs-static-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        max-width: calc(100% - 20px);
        margin: 0 10px;
        padding: 0;
    }
    
    body .mts-modern-job-tile {
        min-height: 230px;
        padding: 20px 12px 12px 12px;
        margin: 0;
        width: 100%;
    }
    
    body .mts-modern-job-title {
        font-size: 1rem;
        margin-bottom: 10px;
        font-family: "Brandon Grotesque", sans-serif;
    }
    
    body .mts-modern-job-location {
        font-size: 0.9rem;
        font-family: "Barlow", sans-serif;
    }
    

}

@media (max-width: 1100px) {
    .mts-contact-info-card-overlap {
        width: 98vw;
        min-width: 0;
        max-width: 98vw;
        padding-right: 200px;
        height: auto;
    }
    .contact-image-overlap {
        right: 10px;
    }
    
    .mts-contact-section-custom {
        padding: 80px 0 60px 0;
    }
    
    .mts-contact-flex-row {
        margin: 40px auto;
        min-height: 300px;
    }
}

/* Enhanced tablet styles */
@media (max-width: 1000px) {
    .mts-contact-info-card-overlap {
        padding-right: 180px;
    }
}

@media (max-width: 900px) {

}



/* Enhanced mobile very small */
@media (max-width: 360px) {
    .mts-contact-flex-row {
        min-height: 220px;
        padding: 8px 5px;
    }
    
    .mts-contact-info-card-overlap {
        width: 100%;
        max-width: 100%;
        padding: 18px 10px 18px 15px;
        padding-right: 80px;
    }
    
    .mts-contact-info-card-overlap h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .slideout-text {
        min-width: 140px;
        font-size: 10px;
    }
    
    .slideout-contact {
        font-size: 10px;
    }
    .contact-image-overlap {
        position: absolute;
        right: 0;
        left: 29%;
        top: 11%;
        width: 118px;
        height: 200px;
    }
}

/* Enhanced mobile medium - 546px and below */
@media (max-width: 546px) {
    .contact-image-overlap {
        position: absolute;
        right: 0;
        left: 38%;
        top: 20%;
        width: 118px;
        height: 200px;

    }
    .mts-contact-section-custom {
        padding: 40px 0 20px 0;
    }
    
    .mts-contact-flex-row {
        min-height: 480px;
        padding: 20px 15px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mts-contact-info-card-overlap {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        padding-right: 20px;
        position: relative;
        z-index: 1;
        top: auto;
        left: auto;
        transform: none;
        background: #003354;
        border-radius: 16px;
        text-align: center;
        align-items: center;
    }
    
    .mts-contact-info-card-overlap h3 {
        font-size: 18px;
        margin-bottom: 8px;
        font-family: "Brandon Grotesque", sans-serif;
        text-align: center;
    }
    
    .mts-contact-info-card-overlap h4 {
        font-size: 16px;
        margin-bottom: 6px;
        font-family: "Brandon Grotesque", sans-serif;
        text-align: center;
    }
    
    .mts-contact-info-card-overlap p {
        font-size: 14px;
        margin-bottom: 4px;
        font-family: "Barlow", sans-serif;
        text-align: center;
    }
    
    .slideout-btn {
        width: 45px;
        height: 45px;
    }
    
    .slideout-text {
        right: 45px;
        padding: 8px 12px;
        height: 45px;
        min-width: 160px;
    }
    
    .slideout-contact {
        font-size: 11px;
    }
    
    .container .mts-jobs-grid-container{
        padding:0;
    }
    
    /* Small mobile horizontal contact */
    .mts-contact-flex-row-horizontal {
        margin: 0 8px;
        padding: 15px 10px;
    }
    
    .contact-image-horizontal {
        width: 80px;
        height: 80px;
        border: 2px solid #fff;
    }
    
    .mts-contact-info-card-horizontal h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .mts-contact-info-card-horizontal h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .mts-contact-info-card-horizontal p {
        font-size: 12px;
        margin-bottom: 3px;
    }
}


