.error-hero {
    position: relative;
    padding: 140px 20px 160px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.84) 100%);
    color: #fff;
    overflow: hidden;
}

.error-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/news-bg.png') center/cover no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.error-hero__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    z-index: 1;
}

.error-hero__title {
    font-size: clamp(36px, 5vw, 54px);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    font-weight: 700;
}

.error-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.error-hero__actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-hero__btn {
    min-width: 200px;
    height: 48px;
    border-radius: 0;
    border: 1px solid rgba(88, 183, 179, 0.92);
    background: rgba(88, 183, 179, 0.92);
    color: #01202c;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.error-hero__btn:hover,
.error-hero__btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.94);
    color: #58B7B3;
}

.error-hero__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.error-hero__btn--ghost:hover,
.error-hero__btn--ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 575px) {
    .error-hero {
        padding: 120px 16px 140px;
    }

    .error-hero__actions {
        flex-direction: column;
    }

    .error-hero__btn {
        width: 100%;
    }
}
/*
Theme Name: Inmode
Theme URI: https://inmode.com
Description: Parent theme for Inmode multi-market sites.
Author: InMode
Text Domain: inmode
Version: 1.0.0
*/

/* Place UK-specific overrides below. Parent styles are enqueued via functions.php */

/*!
Theme Name: Inmode WP Theme
Version: 2025.1.30.v3 - Debug and Cache Bust
*/
body{color:#fff;}
.color_bg{background:#fff;}
*{box-sizing:border-box}
:root{--bs-white:#ffffff;--bs-black:#000000;--bs-lightblue:#59B7B3;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))}
img{max-width:100%;height:auto}
body{width:100%;overflow-x:hidden;font-family:Heebo;background:var(--bs-black)}

body.page-template-about-page-template{background-color:transparent!important}
a{color:var(--bs-white);text-decoration:none;outline:0}
dl,ol,ul{margin:0}
ul#social li{list-style:none;gap:10px;padding:5px 10px;font-size:14px}
ul#social >li{padding:5px 0px;}
ul#social li a{color:var(--bs-white);text-decoration:none}
#social i.fa.fa-globe{font-size:22px;margin-right:6px}
ul#top-menu{justify-content:right;gap:10px;list-style:none;font-size:14px;font-family:Heebo;margin-right:20px}
.col-sm-6.d-flex.justify-content-end{align-items:center;justify-content:flex-end!important;display:flex!important}
.row.pt-3.mob-hide .col-sm-6:last-child{text-align:right;justify-content:flex-end}
.row.pt-3.mob-hide .col-sm-6:last-child .d-flex{justify-content:flex-end!important;margin-left:auto}
.row.pt-3.mob-hide .col-sm-6:last-child{display:flex!important;justify-content:flex-end!important;align-items:center}
/* Force the top menu container to be fully right-aligned */
.row.pt-3.mob-hide .col-sm-6:last-child{width:50%;margin-left:50%;padding-left:0!important;padding-right:48px!important}
a.custom-logo-link img{max-width:100%;height:auto;width:100%; -webkit-transition: all .5s; }
ul#primary-menu,ul#provider-menu{justify-content:center;align-items:center;list-style:none;gap:10px;font-size:17px;margin:0;padding:0}
.active .nav-bg>div{background:#000000CC}
header{background:transparent;}
.banner{
    background-color:transparent;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    padding-top:100px;
    margin-top:-250px;
    min-height:100vh;
    height:auto;
    background-position:center center;
}
@media only screen and (max-width:767px){
.banner{
    background-color:transparent;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    background-position:center center!important;
    padding-top:80px;
    margin-top:-62px;
    min-height:100vh;
    height:auto!important;
}
.home section.banner > .container,
.home section.banner > .container > .row.signature-section,
.home section.banner > .container > .row.signature-section > [class*="col-"]{
    margin:0!important;
    padding:0!important;
}
  img.w-100.signture{padding:0!important}
  section.about_inmode{padding:50px 0}
/* Fix about section text overflow on mobile */
section.about_inmode .container{
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
section.about_inmode p{
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
  .col-md-6.sign{height:440px}
  .desktop-hide{display:block}
  .mob-hide{display:none}
}
@media (min-width: 768px) {
  .mob-hide{display:block}
}
.counter-box.colored{color:var(--bs-lightblue)}
.counter-box.colored .counter-wrap{display:flex;align-items:flex-end;justify-content:center;gap:4px;line-height:1}
.counter-box.colored .counter{font-size:64px;line-height:1;display:block}
.counter-box.colored .counter-suffix{font-size:64px;line-height:1;display:block}
.counter-box.colored p{color:var(--bs-white);font-size:24px;line-height:28px;max-width:145px;text-align:center;margin:0 auto 20px}
.counter-row{border-width:2px 0 2px 0;border-color:var(--bs-white);border-style:solid}
section.home-counters { background: #fff; }
section.home-counters .container { max-width: 1550px; }
ul#primary-menu li a,ul#provider-menu li a,ul#patients-menu li a{padding:7px 15px;display:block;font-size:20px; z-index:999;}
ul#primary-menu li a .submenu{font-weight:300 !important;}
ul#top-menu li a{padding:0 10px;display:block}
footer{background:var(--bs-black);color:var(--bs-white)}
.footer_top{padding-top:80px;padding-bottom:50px;text-align:center}
.footer_bottom{margin-bottom:10px}
.footer_top h3{font-size:48px;padding:10px 0 0;margin:0;color:var(--bs-lightblue)}
.footer_top h5{font-size:30px;font-weight:400!important;padding:0;margin:0;letter-spacing:-.3px;color:var(--bs-lightblue)}
ul.socail.links{display:flex;gap:20px;margin-top:10px;list-style:none;justify-content:center;font-size:22px;margin-left:20px}
.site-header ul.socail.links{gap:14px;margin-top:0}
.row.footer_bottom nav #footer-menu{list-style:none;font-size:16px;font-weight:400!important;width:100%;gap:10px}
.footer-address p{margin-bottom:0}
.footer-address{display:flex;font-size:16px;font-weight:400!important;justify-content:end;align-items:center;padding-right:20px}
.footer-address .footer-contact-block{max-width:360px;margin-left:auto;text-align:right;display:inline-block}
.footer-address .footer-contact-block p{margin:0;text-align:right}
.footer-address .footer-contact-block a{color:#ffffff;text-decoration:none}
.footer-address .footer-contact-block a:hover{text-decoration:underline}
@@
-@media(max-width:992px){.footer-address{justify-content:center;padding-right:0;text-align:center}.footer-address .footer-contact-block{margin-left:0;text-align:center}}
section.about_inmode{text-align:center;padding:80px 0;background:#fff}
section.our_workstation{padding:80px 0;text-align:center;background:url('/wp-content/uploads/2025/02/Group-21.png');background-size:cover;background-position:bottom center;background-color:var(--bs-black)}
.our_workstation img{margin:0 auto;max-width:100%}
.our_workstation p{color:var(--bs-white);line-height:25px;font-size:20px;max-width:80%;margin:12px auto;font-weight:700; height:75px; overflow:hidden;}
.our_workstation a.link_discover,.studies_list a.link_discover{display:block;color:var(--bs-lightblue);padding-top:10px;font-weight:700;font-size:20px;line-height:25px;font-weight:700}
section.clinical_studies h2,section.our_workstation h2{color:var(--bs-white);font-size:36px!important;font-weight:400!important}
section.clinical_studies{background:var(--bs-black);margin-top:-20px;text-align:center;color:var(--bs-white)}
hr{opacity:1!important;border:2px solid var(--bs-white)!important}
section.clinical_studies .studies_description h2{font-size:20px!important;line-height:27px!important}
a.btn.btn-primary.btn-studies{background:0 0;border:0;font-weight:700;color:var(--bs-lightblue);font-size:20px;line-height:25px;border:2px solid transparent}
.studies_thumb{background:url('/wp-content/uploads/2025/02/Layer_1.png');background-repeat:no-repeat;background-position:center top;padding-top:20px;background-size:contain}

/* Clinical studies spacing & image sizing */
body.page-template-clinical-studies .form-filters {
    margin-bottom: 80px !important;
}

body.page-template-clinical-studies .studies_thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

body.page-template-clinical-studies .studies_description a.open_download {
    display: inline-block;
    padding: 5px 50px;
    border: 2px solid var(--bs-lightblue);
    border-radius: 0;
    background: var(--bs-lightblue);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.page-template-clinical-studies .studies_description a.open_download:hover,
body.page-template-clinical-studies .studies_description a.open_download:focus {
    background: transparent;
    border-color: var(--bs-lightblue);
    color: #ffffff !important;
}

/* Shared clinical study card styles */
.legacy-study-card .studies_thumb {
    background: url('/wp-content/uploads/2025/02/Layer_1.png') no-repeat center top;
    background-size: contain;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legacy-study-card .studies_thumb a {
    display: block;
    width: 100%;
    max-width: 420px;
    padding: 0;
    background: transparent !important;
}

.legacy-study-card .studies_thumb img {
    width: 100%;
    height: auto;
    max-width: 420px;
    display: block;
    margin: 0 auto;
}

.legacy-study-card .studies_description a.open_download {
    display: inline-block;
    padding: 5px 50px;
    border: 2px solid var(--bs-lightblue);
    border-radius: 0;
    background: var(--bs-lightblue);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.legacy-study-card .studies_description a.open_download:hover,
.legacy-study-card .studies_description a.open_download:focus {
    background: transparent;
    border-color: var(--bs-lightblue);
    color: #ffffff !important;
}

/* Clinical Studies Cards - Equal Height & Center Aligned */
.row.studies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px; /* Compensate for col padding */
}
.studies_list {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    min-height: 550px; /* Set minimum height for all cards */
}
.studies_list .studies_thumb {
    flex-shrink: 0;
    margin-bottom: 20px;
}
.studies_list .studies_description {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    text-align: center;
    min-height: 200px; /* Ensure consistent text area height */
}
.studies_list .studies_description .link_discover {
    margin-top: auto;
    align-self: center;
    flex-shrink: 0;
}

/* Clinical Studies Cards - Equal Height & Center Aligned */
.row.studies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px; /* Compensate for col padding */
}
.studies_list {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    min-height: 550px; /* Set minimum height for all cards */
}
.studies_list .studies_thumb {
    flex-shrink: 0;
    margin-bottom: 20px;
}
.studies_list .studies_description {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    text-align: center;
    min-height: 200px; /* Ensure consistent text area height */
}
.studies_list .studies_description .link_discover {
    margin-top: auto;
    align-self: center;
    flex-shrink: 0;
}

/* Clinical Studies Carousel Container */
section.clinical_studies .row.studies {
    position: relative;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}
section.clinical_studies .container-fluid.fixed_width{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}
section.clinical_studies .slick-prev,
section.clinical_studies .slick-next {
    z-index: 10;
}
section.clients.says{padding:80px 0;text-align:center;background:transparent}
.testimonial_thumb img{margin:0 auto}
.testimonial_description{text-align:center}
.testimonial_description p{font-size:18px !important;line-height:28px;color:var(--bs-black);font-style:italic;font-weight:300}
.testimonial_description{padding:10px 0px; margin:0 auto; max-width:400px;}
.testimonial_description h5{font-size:20px;color:var(--bs-black);font-weight:700}
section.clinical_studies{padding-bottom:80px}
.testimonial_description a{color:var(--bs-lightblue);font-size:20px;text-align:center;display:block;margin-top:30px}
.about_inmode h1,section.clients.says h2{font-size:36px!important;color:var(--bs-lightblue);margin-bottom:30px!important;font-weight:400;text-transform:uppercase}
.about_inmode p{font-size:24px;line-height:37px;font-weight:400; color:#000;}
section.techonology h2{font-size:62px;font-weight:400!important;color:var(--bs-lightblue);white-space: pre-line;line-height:1.1;margin-bottom:30px;}
section.techonology a.btn.btn-primary.btn-contact{border:1px solid var(--bs-lightblue);background:var(--bs-lightblue);color:var(--bs-white);font-size:23px;max-width:500px;width:90%;border-radius:0!important}
section.techonology .row{padding-top:80px}
section.techonology{background:transparent}
.desktop-hide{display:none}
.workstation_desc img{padding-bottom:10px}
.workstation_desc h3{font-size:20px;color:var(--bs-lightblue)}
.work_list{color:var(--bs-white);font-size:14px;line-height:24px}
section.work_stations{padding:80px 50px;background:url('/wp-content/uploads/2025/02/Group-21.png');background-repeat:repeat;background-position:top center}
h2.page-title{color:var(--bs-white);font-size:36px;font-weight:400!important;text-align:center;margin-bottom:50px}
ul{margin:0;padding:0}
ul#provider-menu{padding:0;list-style:none}
ul.sub-menu{padding:0;list-style:none;position:absolute;padding-top:20px}
.btn.btn-provider{height:35px; line-height:33px; text-transform:uppercase;padding:0px 5px;border:1px solid var(--bs-white);display:block;width:155px;font-size:20px;text-align:center;color:var(--bs-white);border-radius:0;margin:13px 5px}
.btn.btn-provider.btn1{width:190px;}
a.btn.btn-provider:hover{background:var(--bs-white)!important;color:var(--bs-black)!important}
.hero-slider.slick-initialized.slick-slider{margin-bottom:0}
ul#primary-menu li{position:relative}
ul#primary-menu li .menu-item-has-children .sub-menu{display:none;position:absolute;background-color:transparent;padding:10px;z-index:9999;left:18px;margin-top:8px}
.overlay-menu:after{content:"";width:100vw;height:100vw;position:absolute;left:0px;background:#00000070; z-index:9; top:-60px; }
.row.footer_bottom nav.navbar.navbar-expand.justify-content-left{justify-content:left!important}
.overlay-menu{position:relative}
button.slick-prev.slick-arrow{left:20px!important;z-index:99}
button.slick-next.slick-arrow{right:20px!important}
.our_workstation a.link_discover:hover,.studies_list a.link_discover:hover{color:var(--bs-white)}
.testimonial_description a:hover{color:var(--bs-black)}
section.techonology a.btn.btn-primary.btn-contact:hover{color:var(--bs-lightblue);background:var(--bs-white);border:1px solid;font-size:23px!important;font-weight:500!important}
.studies_thumb img{margin:0 auto}
#contactModal .modal-content{border:0;padding:0;background:var(--bs-white)}
#contactModal .modal-content .modal-body{padding:0}
#contactModal .tab-container{margin:40px 0 0 auto;padding:0 15px}
#contactModal button.btn-close{top:5px;left:calc(100% - 37px)}
.bg-white.contact_bg.bg-pop{color:var(--bs-black)!important;min-height:80vh}
p.study_date{margin-bottom:0!important;font-size:20px}
p.study_publication{font-size:20px}
section.clinical_studies .container>h2{padding:50px 0}
section.clients.says .conatiner-fluid{padding-left:50px;padding-right:50px}
.page-template-workstation section.work_stations{background:var(--bs-black) url('/wp-content/uploads/2025/02/bg-pattren-workstation.png')!important;background-position:center center!important;background-size:contain!important;background-repeat:no-repeat!important}
.row.workstation-bottom.my-3{max-width:90%;margin:0 auto;border-bottom:1px solid var(--bs-lightblue)}
.workstation-link{text-align:right}
.workstation-link a{color:var(--bs-lightblue)!important;font-size:16px;font-weight:700}
.workstation-bottom .workstation_desc{color:var(--bs-white);font-size:14px;font-weight:400;line-height:20px}
.workstation-bottom .workstation_desc h3{font-size:14px;font-weight:400;line-height:20px}
.workstation-bottom img.wrokstation_logo{max-width:221px;margin:0 auto;display:block}
.post_header h3{color:var(--bs-lightblue);font-size:32px;font-weight:400;letter-spacing:5px;margin:30px;line-height:30px}

/* Workstation sliders - shared layout */
body.single-workstation section#work_event .container-fluid,
body.single-workstation section#work_news .container-fluid,
body.single-workstation section#work_studies .container-fluid{
    max-width:1260px;
    margin:0 auto;
    padding:0 24px;
}

body.single-workstation section#work_event,
body.single-workstation section#work_news,
body.single-workstation section#work_studies{overflow-x:hidden;}

/* Workstation sliders use global defaults */

/* Workstation event cards use global styling */

/* Workstation news cards use global styling */

/* Workstation studies cards use shared styling */

/* Workstation CTAs reuse global button styles */

section.main_part img.mx-auto{padding-bottom:15px; height:175px; width:auto; z-index:-1; margin-top:-110px;}
ul.workstation_nav{list-style:none}
ul.workstation_nav li{border-right:1px solid var(--bs-white)}
ul.workstation_nav li:last-child{border:0}
ul.workstation_nav li a{display:block;padding:0 15px;font-size:17px;font-weight:300;line-height:20px}
section.main_part .row.content_work h2{font-size:33px;font-weight:400;line-height:28px;padding:20px 0}
.row.content_work img{margin:0 auto;width:fit-content;display:block;  }
div#work_banifit ul{padding-left:20px;margin:0;font-size:23px;color:var(--bs-white);list-style:outside;line-height:40px;font-weight:400}
.row.content_work{padding-top:80px}
section.main_part .post_desc{font-size:23px;line-height:30px;color:var(--bs-white);font-weight:400}
div#work_banifit>ul>li{padding:10px 0}
div#work_banifit>ul>li::marker, .fundamentals ul>li::marker{color:var(--bs-lightblue)}
div#work_banifit a.request-list{text-align:right;width:fit-content;display:block;margin-left:auto;font-size:25px;line-height:28px;font-weight:500;padding-bottom:20px}
body.single.single-workstation{background-image:url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/Group-20-3.png');background-position:top 78vh center;background-repeat:no-repeat}
section#work_studies{padding-bottom:40px!important}
hr.border-single-work{max-width:98%;margin:60px auto 0;border:2px solid var(--bs-lightblue)!important}
section#work_studies hr.border-single-work{margin-bottom:40px}
section.main_part{padding-bottom:80px}
section#work_tech h2.inner_heading{font-size:33px;line-height:28px;font-weight:400}
section#work_event{margin:30px 0}
section#work_event h2,section#work_news h2{font-size:36px;font-weight:400;line-height:40px;padding:40px 0;text-align:center;color:var(--bs-white)!important;text-transform:uppercase}
body.single-workstation section#work_event h2,
body.single-workstation section#work_news h2,
body.single-workstation section#work_studies h2{
    font-size:20px !important;
    line-height:25px;
    padding:40px 0;
    text-align:center;
    color:var(--bs-white)!important;
    text-transform:uppercase;
}
section#work_news{padding-bottom:80px}
section#work_tech h3{font-size:33px;line-height:28px;font-weight:400}
section#work_tech p{color:var(--bs-white);font-size:20px!important;text-align:center;line-height:28px;font-weight:400;padding:20px 10px}
section#work_tech .after-before.mt-auto span{color:var(--bs-white);font-size:18px;line-height:28px;font-weight:400;padding-top:10px!important;display:block}
section#work_studies h3{font-size:36px;line-height:45px;font-weight:400;padding-bottom:40px}
.tech_list a.link-btn{border:2px solid;padding:5px 50px;display:block;width:fit-content;margin:20px auto;font-size:20px;font-weight:400}
section#work_studies h2{padding:0 0 50px}
section.clinical_studies .btn-primary:hover{background-color:transparent;color:var(--bs-lightblue)!important;border:2px solid var(--bs-lightblue)}
section.clinical_studies a.btn.btn-primary.btn-studies{border:2px solid transparent; color:#fff;}
section.clinical_studies a.btn.btn-primary.btn-studies:hover{background:0 0;border:2px solid var(--bs-lightblue);color:var(--bs-lightblue)}
.page-template-treament_template{background-image:url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-1-2.png'),url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-banner.png');background-size:100% 80vh,auto auto;background-repeat:no-repeat;background-position:top center,center center}
h2.page_title{text-transform:uppercase;font-size:45px}
ul.treament-list{display:flex;flex-direction:row-reverse;flex-wrap:wrap}
ul.treament-list li{list-style:none;width:33%}
h3.treatment_heading{max-width:200px;position:absolute;top:60%;left:50%;transform:translate(-50%,-60%);text-align:center;font-size:20px}
.treament-thumb{width:200px;position:relative;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);overflow:hidden}
.team-list.col-md-4.text-right .treament-thumb{margin-left:auto}
.team-list a.color2.link-btn { display: block; margin: 20px auto;  width: 220px;text-align: center;border: 2px solid; padding:5px 10px;}
.overlay{height:100%;width:100%;background:#00000070;position:absolute;top:0;opacity:0; z-index:99;}
.treament-thumb a:hover .overlay{opacity:1}
.results-section{padding:80px 15px}
.image{position:relative;width:40em;max-width:100%;height:20em;margin:auto}
span.caption_title{position:absolute;bottom:0;color:var(--bs-white);width:100%;text-align:right;display:block;padding:10px}
img.title_logo{display:block;margin:10px auto}
a.link{text-align:center;display:block;margin-bottom:50px}
.comparison{width:100%;padding-bottom:100%;overflow:hidden;position:relative}
figure{position:absolute;background-size:cover!important;font-size:0;width:100%;height:100%;margin:0}
.divisor{background-size:cover!important;position:absolute;width:50%;box-shadow:0 5px 10px -2px rgba(0,0,0,.3);bottom:0;height:100%}
.handle{position:absolute;height:50px;width:50px;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);z-index:1;background:var(--bs-lightblue);border-radius:50%;border-color:var(--bs-lightblue)}
input[type=range]{-webkit-appearance:none;-moz-appearance:none;position:absolute;top:50%;left:-25px;transform:translateY(-50%);background-color:transparent;width:calc(100% + 50px);z-index:2}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;height:50px;width:50px;border-radius:50%;background:0 0;border:4px solid #fff;box-shadow:0 0 8px 1px rgba(0,0,0,.3)}
input[type=range]::-moz-range-track{-moz-appearance:none;height:15px;width:100%;background-color:transparent;position:relative;outline:0}
.news-desc{padding:15px 35px;text-align:center;background:var(--bs-lightblue)}
.news-desc h4{font-size:16px;text-align:left;border-bottom:2px solid var(--bs-white);width:fit-content;font-weight:700;color:var(--bs-white)}
.news-desc p{font-size:20px;margin-bottom:0;margin-top:10px;line-height:26px;font-weight:700;min-height:80px;overflow:hidden; color:#000;}
.news-desc h2 { font-size: 20px;line-height: 26px;  font-weight: 700;  color: #000;  min-height: 80px;}
.single.single-treatments h2.color2.heading_post{margin:00;text-align:center;font-size:52px;line-height:90px;font-weight:400}
.single.single-treatments h3{font-size:32px;line-height:48px;text-align:center;letter-spacing:0;text-transform:uppercase;word-spacing:5px;color:var(--bs-white)}
.single.single-treatments .single-post_desc h3{font-size:32px;text-align:left;color:var(--bs-lightblue);text-transform:capitalize;word-spacing:5px}
.single.single-treatments .single-post_desc p{color:var(--bs-white);font-size:23px;line-height:28px;margin-bottom:25px}
.result_list1.col-md-4>div{max-width:450px;margin:0 auto;text-align:center}
.after-before-content p{color:var(--bs-white);font-size:23px;line-height:28px;font-weight:400;margin:30px auto}
.page-template-clinical-studies h2.page_title{font-size:52px;font-weight:400}
.page-template-clinical-studies .main_part p{font-size:24px;line-height:37px;font-weight:400}
.page-template-clinical-studies h3.clinical-Studies_heading{font-size:26px;line-height:32px;font-weight:400}
.page-template-clinical-studies .studies-meta p{font-size:20px;line-height:24px;font-weight:400;text-align:center}
.page-template-clinical-studies .studies-meta{padding:20px 0}
.page-template-clinical-studies a.color2.link-btn{font-size:20px;border:2px solid var(--bs-lightblue);padding:.375rem 1.75rem;display:block;max-width:max-content;margin:20px auto}
.modal-header{border-bottom:none}
.modal-content{height:auto;border-radius:0;background:0 0;box-shadow:none}
.modal-body form{margin:0 auto}
.modal-content .close{opacity:1;font-size:30px}
div#exampleModal{background:rgba(0,0,0,.8)}
input.search-field{background:0 0;color:var(--bs-white);border:1px solid var(--bs-white);box-shadow:none;padding:13px 20px;width:300px}
input.search-submit{background:var(--bs-white);border:1px solid var(--bs-white);padding:13px 20px;font-size:16px;font-weight:400}
.modal-content{color:var(--bs-white);border-color:var(--bs-white)}
button.btn-close{padding:0;margin:0;color:var(--bs-white);opacity:1;top:-10px;position:relative;font-size:24px;outline:0!important}
.modal-header .btn-close:hover{color:var(--bs-white)}
button.btn.btn-search{background:0 0;border:0;padding:0;font-size:16px;line-height:20px;top:-2px;position:relative;color:var(--bs-white)}
.trapezoid-1{height:50px;width:200px;background:var(--bs-lightblue);text-align:center;line-height:50px;position:fixed;top:calc(50% + 100px);right:-75px;transform:rotate(90deg) translateX(-50%);clip-path:polygon(0% 0%,100% 0%,75% 100%,25% 100%)}
.trapezoid-1 a{display:block}
.tab-container form input,.tab-container form select,.tab-container form textarea{width:80%!important;height:35px;border:1px solid var(--bs-black);padding:0 10px}
.tab-container form textarea{height:87px}
.tab-container form label{display:block;width:100%;padding:14px 0; color:#000;}
.tab-container form input.wpcf7-submit{max-width:258px;margin:0 auto;display:block;height:49px;background:var(--bs-lightblue);color:var(--bs-white);border:0;text-transform:uppercase;font-size:25px; font-weight: 400;}
.nav-tabs{border-bottom:1px solid var(--bs-black)}
.nav-tabs .nav-link.active,.nav-tabs .nav-link:hover{background:var(--bs-black);color:var(--bs-white);border-color:var(--bs-black);border-radius:0}
.bg-white{background-color:var(--bs-white)!important;background-image:url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/Pro-Capture-One-2229-Contact-1.png'),url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/Group-20-1.png');background-repeat:no-repeat,no-repeat;background-position:center left,center center}
.nav-tabs,.nav-tabs .nav-link{background:0 0;color:var(--bs-black);border-color:var(--bs-black);border-radius:0}
body.single.single-treatments{background-image:url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-1-2.png'),url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-banner.png');background-size:100% 80vh,auto auto;background-repeat:no-repeat;background-position:top center,center center}
body.single.single-treatments section.main_part{padding-bottom:0}
.workstation_desc h3{text-transform:uppercase}
.workstation_desc li{list-style:inside}
.workstation_desc p{margin-bottom:20px}
.workstation-link a:hover{color:var(--bs-white)!important}
section.logo_list{background:rgba(89,183,179,.64)}
.logo_list img{max-width:180px;width:100%}
.page-desc p{font-size:22px;text-align:center;color:var(--bs-white)}
.studies_description{padding:8px 20px}
h3.clinical-Studies_heading.color2{font-size:26px;line-height:32px}
.studies-meta p{text-align:left;color:var(--bs-white);font-size:17px;line-height:24px;margin:0}
.studies-meta{padding:0 20px}
/* Workstation styling - single source of truth in parent theme */
.workstation_img.col-md-5.col-sm-12 {  overflow: visible !important;}
.workstation_img img{height:auto !important;object-fit:contain !important;max-height:700px !important;width:auto !important;display:block !important;margin:0 auto !important;}

/* Workstation single page sections */
.section-content {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}
.section-content p {
    margin-bottom: 15px;
    color: #fff;
}
.section-content ul, .section-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
    color: #fff;
}
.section-content li {
    margin-bottom: 5px;
    color: #fff;
}
.section-content h1, .section-content h2, .section-content h3,
.section-content h4, .section-content h5, .section-content h6 {
    color: #59B7B3;
}
.section-content a {
    color: #59B7B3;
}
.section-content a:hover {
    color: #fff;
}
.btn-check:focus+.btn,.btn:focus{box-shadow:none}
.color2{color:var(--bs-lightblue) !important;}
a:hover{color:var(--bs-white)}
.menu-item-has-children .sub-menu{display:none;position:absolute;background-color:#00000070;padding:10px;z-index:9999;left:0}
.sub-menu li a:hover{color:var(--bs-lightblue)}
.menu-item-has-children>a{position:relative}
.menu-item-has-children>a:after{content:"\f107";font-size:12px;margin-left:5px;cursor:pointer;font-family:FontAwesome}
.collapse.show .menu-item-has-children .sub-menu{position:relative;left:0;background:0 0}
.row.content_work.align-items-end.px-5{max-width:1550px;margin:0 auto}
section#work_tech h2{max-width:1550px;margin:0 auto}
.slick-prev:before{content:"\f104"!important;font-family:FontAwesome!important;font-size:40px;color:var(--bs-lightblue)}
.slick-next:before{content:"\f105"!important;font-family:FontAwesome!important;font-size:40px;color:var(--bs-lightblue)}
.testimonial_slider .slick-next:before,.testimonial_slider .slick-prev:before{color:var(--bs-lightblue)!important}
.home-clinical-slider{margin:0 auto;max-width:1200px;width:100%;padding:0 12px;box-sizing:border-box;}
.home-clinical-slider .slick-list{padding:0 24px;overflow:hidden;margin:0 auto;}
.home-clinical-slider .slick-slide{display:flex!important;justify-content:center;align-items:stretch;padding:0!important;}
.home-clinical-slider .home-clinical-slide{width:100%;max-width:360px;margin:0 auto;display:flex;}
.home-clinical-slider .home-clinical-slide .legacy-study-card{width:100%;}
.home-clinical-slider .slick-prev,.home-clinical-slider .slick-next{top:50%;transform:translateY(-50%);}
.home-clinical-slider .slick-prev:before,.home-clinical-slider .slick-next:before{color:var(--bs-lightblue)!important;font-size:28px;}
@media (min-width: 768px) {
    section.clinical_studies .row.studies {
        justify-content: center;
    }
    .home-clinical-slider .slick-track{
        display:flex!important;
        align-items:stretch!important;
        justify-content:center;
        gap:24px;
        margin:0 auto!important;
    }
    .home-clinical-slider .slick-slide{
        width:auto!important;
    }
    .home-clinical-slider .slick-list{
        overflow:visible;
        padding:0;
    }
}
@media(max-width:767px){
    /* Remove row padding on mobile to allow full width */
    section.clinical_studies .row.studies {
        padding: 0 !important;
    }
    /* Container padding for arrows - use box-sizing to ensure proper width calculation */
    .home-clinical-slider .slick-list{
        padding:0 !important;
        overflow:hidden!important;
        box-sizing:border-box!important;
        width:100%!important;
        max-width:100%!important;
    }
    /* Ensure slide width matches the .slick-list content width (excluding padding) */
    .home-clinical-slider .slick-slide{
        box-sizing:border-box!important;
    }
    /* Hide cloned slides completely */
    .home-clinical-slider .slick-slide.slick-cloned {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    /* Ensure arrows are visible */
    .home-clinical-slider .slick-prev,
    .home-clinical-slider .slick-next {
        display: block !important;
        visibility: visible !important;
        z-index: 10 !important;
        opacity: 1 !important;
    }
    .home-clinical-slider .slick-prev {
        left: 0 !important;
    }
    .home-clinical-slider .slick-next {
        right: 0 !important;
    }
    /* JavaScript will set the exact width, but ensure it can override Slick's inline styles */
    .home-clinical-slider .slick-track .slick-slide {
        /* Width set by JavaScript to match .slick-list content width */
    }
    /* Style disabled arrows */
    .home-clinical-slider .slick-arrow.slick-disabled {
        opacity: 0.3 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }
    /* Remove Bootstrap column width constraints - let content flow naturally */
    .home-clinical-slider .slick-slide .col-lg-4,
    .home-clinical-slider .slick-slide .col-md-6,
    .home-clinical-slider .slick-slide .col-12{
        width:auto!important;
        max-width:none!important;
        flex:none!important;
    }
    /* Constrain the actual card content to 90% width for arrow visibility and center it */
    .home-clinical-slider .slick-slide .home-clinical-slide{
        width:90%!important;
        max-width:360px!important;
        margin:0 auto!important;
    }
    
    /* Keep existing arrow design - just ensure visibility */
    .home-clinical-slider .slick-prev:before,
    .home-clinical-slider .slick-next:before {
        color: var(--bs-lightblue) !important;
        opacity: 1 !important;
    }
}
.single-workstation .work-slider .slick-track{display:flex!important;align-items:stretch;gap:24px;}
.single-workstation .work-slider .slick-slide{display:flex!important;align-items:stretch;padding:0!important;height:100%;box-sizing:border-box;}
.single-workstation .work-slider .slick-slide > *{margin:0 auto;display:flex!important;flex-direction:column;height:100%;}
.slick-prev{left:0}
.slick-next{right:0}
div#navbarSupportedContent{position:absolute;background:rgba(0,0,0,.8);left:0;width:100%;z-index:9999;padding:30px;list-style:none}
ul#mobile-menu li a{padding:15px;display:block}
ul#mobile-menu{list-style:none;position:relative}
div#navbarSupportedContent ul.socail.links{gap:20px;justify-content:start}
button.navbar-toggler{color:var(--bs-white);border:1px solid var(--bs-white)}
button.navbar-toggler .ml-auto i.fa.fa-bars,button.navbar-toggler.collapsed i.fa.fa-times{display:none!important}
button.navbar-toggler i.fa.fa-times,button.navbar-toggler.ml-auto.collapsed i.fa.fa-bars{display:block!important}
section#work_studies{margin-top:0}
.news-desc p.date{font-size:16px!important;margin-top:0;color:var(--bs-white)}
.navbar-expand{justify-content:center!important}
.btn.btn-provider:hover{background:var(--bs-white)!important;color:var(--bs-black)}
.active button.btn.btn-provider{background:var(--bs-white);color:var(--bs-black)}
ul#social{position:relative}
ul#social .menu-item-has-children .sub-menu li a{color:var(--bs-white);font-size:14px!important}
ul#primary-menu>.menu-item-has-children>ul.sub-menu{width:max-content!important}
ul#primary-menu>.menu-item-has-children>ul.sub-menu li>ul.sub-menu{left:100%;top:0;margin-top:0;padding-top:0;width:max-content}
ul#primary-menu li>ul.sub-menu li>ul.sub-menu li a{padding:9px 10px 0; font-weight:300 !important;}
ul#primary-menu>li>a, ul#provider-menu>li>a{border-bottom:1px solid transparent}
ul#primary-menu>li>a:active,ul#primary-menu>li>a:hover, ul#provider-menu>li>a:active,ul#provider-menu>li>a:hover{border-color:var(--bs-lightblue);color:var(--bs-lightblue)}
.tab-container{margin:0 auto;width:950px;padding:80px 15px;max-width:100%}
.menu-item-has-children>.sub-menu>.menu-item-has-children>a:after{content:"\f105";width:10px;font-size:20px;margin-left:15px}
.menu-item-has-children>.sub-menu>li>a{font-size:24px!important;font-weight:300;line-height:36px!important;}
ul#primary-menu li>ul.sub-menu li>ul.sub-menu li a{padding:3px 10px 0;font-size:24px!important; font-weight:300;}
section#work_event .row.tech_list.px-5{padding:0 50px}
.row.justify-content-center.align-items-center.single_details p { font-size: 16px; color: #fff;}
body.page-template-clinical-studies .main_part .container-fluid { max-width: 1550px;}
body.page-template-clinical-studies { background-image: url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-1-2.png'),url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/bg-banner.png'); background-size: 100% 80vh,100% auto; background-repeat: no-repeat;  background-position: top center,center center;}
ul.sub-menu { z-index: 9999999 !important;}
img.custom-logo:hover{transform:scale(1.1);}
.site-title{display:none;}
.fixed_width.container-fluid {  max-width: 1550px;  margin: 0 auto;}
/* About page background - applied to entire page */
body.page-template-about-page-template {
    background-image: url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/10/aboutus_background-scaled.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-color: transparent !important;
}

/* Ensure header remains visible on about page */
body.page-template-about-page-template .site-header {
    background: rgba(0, 0, 0, 0.8) !important; /* Semi-transparent dark background */
    position: relative !important;
    z-index: 1000 !important;
}

section.body_content_about {
    color: #000 !important;
    padding: 35px 0;
    background: transparent !important;
    position: relative;
    z-index: 1;
}
section.body_content_about p {   color: #000;}
section.body_content_about .page-desc p {  font-size: 24px;  line-height: 37px;}
section.body_content_about hr.single_border { border: 2px solid #59b7b3 !important; margin-top: 50px; margin: 50px auto;width: 90%;}
section.body_content_about h2{font-weight:400; text-transform: uppercase;}
section.body_content_about h3.heading_sub_inner { font-size: 33px;line-height: 37px; font-weight: 400;}
.vision_mission { font-size: 23px;line-height: 37px;}
.fundamentals ul li {font-size: 23px;line-height: 37px;}
.fundamentals ul {  padding-left: 30px;}
.fixed_width.team_group{
    padding-top:80px;
    margin-bottom: 40px;
}
.team_thumb img { clip-path: polygon(7% 28%, 49% 7%, 92% 28%, 92% 71%, 49% 92%, 7% 70%); height: 163px; padding: 0; width: 337px;  object-fit: cover; object-position: top center;}
.team_thumb {background: url("https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/box-container.png");background-size: contain; background-repeat: no-repeat; overflow: hidden;}
div#teamModal .modal-dialog .modal-content {background: #fff; color: #000; border:1px solid;}
.team-list.row img {width: 180px;}
/* Override Bootstrap padding for team member spacing */
.team-list.row .col-md-4.pb-5 {
    padding-bottom: 5rem !important; /* Increased from 3rem to 5rem */
}

.team-list.row .col-md-4.pb-sm-3 {
    padding-bottom: 3rem !important; /* Increased from 1rem to 3rem on small screens */
}
.team_description h4, .team_description p { font-size: 16px !important; line-height: 23px !important; margin:5px 10px 10px; color: var(--bs-lightblue) !important; text-align:left; text-transform:uppercase;}
.team-list.row p { font-size: 20px;line-height: 33px; color: #000 !important;}
div#teamModal{background-color:rgba(255,255,255,0.8);}
div#teamModal button.btn-close {position: absolute; right: 15px;top: 15px;}
img#modalImage {max-height: 190px; margin-right: 20px;}
.team-list.row p {font-size: 20px;  line-height: 33px; text-align:left; color: #000 !important;}
.team_list_div:after { content: ""; position: absolute;width: calc(100% - 130px); height: 2px;background: var(--bs-lightblue);right: 0;bottom: 12px;}
.team_list_div{position:relative;}
.team_pop_content h5 { font-size: 21px;line-height: 27px;text-transform: uppercase; text-align: left;}
div#teamModal .d-flex.align-items-end { border-bottom: 2px solid #59b7b3; width: fit-content;}
p#modalContent {text-align: left; margin-top: 10px; font-size: 20px;line-height: 33px;}
.team_pop_content { margin-bottom: 20px;}
.team_description.p-2 { width: calc(100% );}
.img-thumb {width: 180px;}
button.btn-close {top: 0; font-size: 20px;}
section.our_workstation h2{margin-bottom:50px;}
.our_workstation .slick-dots li button:before{color:#fff !important;}
.slick-dots li button:before{opacity:1 !important}
.slick-dots li button:hover:before, .slick-dots li button:focus:before {opacity:0.25 !important;}
p.branding {margin-bottom: 0;font-size: 10px;  margin-top: 0px;}
input.search-submit:hover { background: var(--bs-lightblue);border-color: var(--bs-lightblue);  color: #fff; border:1px solid var(--bs-lightblue);}
.meta_content>p {min-height: unset;}
.news-desc h3 { color: #000;font-size: 20px;margin-top: 10px; font-weight:500;}
section.work_stations h2.page-title { color: var(--bs-lightblue); font-size:52px;}
.frame-container {position: relative; display: inline-block;width: 300px; height: 310px;}
.frame-container img {display:block; width:100%;height:100%;-webkit-mask-image: url('#hex-mask');mask-image: url('#hex-mask'); -webkit-mask-size: 100% 100%;mask-size: 100% 100%;background-color: white;}
.hexagon-frame {position: absolute;top: 0; left: 0;width: 100%;height: 100%;pointer-events: none; }
.bg_work img{max-height:650px; opacity:0;}

.news-thumb img{width:100%;}
.slick-initialized .slick-slide.team-list.blog-list { display: block; margin-left: 50px;  margin-right: 50px;}
body.single.single-workstation section.main_part {  postion:relative;}
.sticky {position: fixed;top: 0; width: 100%;left: 0;padding: 20px; background: rgba(0,0,0,0.8);}
/* Original ba-Slider rule - force height constraint for desktop */
.ba-Slider{  position:relative;  display:block; width:max-content; margin:0 auto; overflow:hidden;-moz-user-select: none; -webkit-user-select: none;  -ms-user-select:none; user-select:none; max-width:100%;}

/* CLEANED UP - Removed duplicate conflicting CSS */

/* Before/After true split fix */
.ba-Slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 270px;
  max-height: 270px;
  min-height: 270px;
  overflow: hidden;
  background: #000;
}
.ba-Slider #after {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%;
  height: 270px;
  z-index: 1;
  overflow: hidden;
}
.ba-Slider #before {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%; /* Controlled by JS */
  height: 270px;
  z-index: 2;
  overflow: hidden;
  transition: width 0.2s;
}
.ba-Slider #before img,
.ba-Slider #after img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}
/* Figma-style bar and handle */
.ba-Slider .slider2 {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 270px;
  background: #00BCD4;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  transition: left 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px #00BCD4;
}
.ba-Slider .slider2::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: #00BCD4;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 600px) {
  .ba-Slider .slider2::after {
    width: 20px;
    height: 20px;
  }
  .ba-Slider {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 767px) {
    .ba-Slider {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* REMOVED CONFLICTING CSS - keeping only the fixed version at line 1172 */
body.page-template-news_template:not(.single-workstation),
.page-template-blog-template,
.news-template-default,
.post-template-default,
.page-template-past-events,
.page-template-upcoming-events  {background: #000 url('https://inmodemdmasstg.wpenginepowered.com/wp-content/uploads/2025/02/news-bg.png'); background-size: 100% auto; background-repeat: no-repeat;}
.form-filters button.btn.btn_border_white.dropdown-toggle, .form-filters button.btn_border_white { border: 1px solid #fff; color: #fff; width: 230px !important; font-size: 20px; font-weight: 400;}
.filter_list { gap: 20px;}
.form-filters ul.dropdown-menu.show li label { color: #fff !important; white-space:unset !important; font-size: 20px !important; background: transparent; font-weight: 400;}
.form-filters ul.dropdown-menu {width: 230px;background: rgba(0,0,0,0.75);}
.form-filters button#all-button { background: #fff; color: #000;}
#after img {width: 100%;max-width: 100%;}
.footer_top img.custom-logo { max-width: 281px;}
.multip, .multip1 { position: absolute; border: 1px solid #000; width: 800px; right: 60px;padding: 20px; color:#000; background:#fff; z-index:9999;}
.tab-container form input[type="checkbox"] {width: 20px !important; height: 20px;}
.tab-container form input[type="checkbox"] span.wpcf7-form-control.wpcf7-checkbox {display: flex;flex-wrap: wrap; width: 100%;  gap: 20px;}
.tab-container form .wpcf7-list-item { margin: 0;width: 50%;}
.tab-container form .wpcf7-list-item label {padding: 10px; display: flex; gap: 10px;align-items: start;}
a.multi.btn, a.multi1.btn {  width: 80%; text-align: left; padding: 0 10px;height: 35px;border: 1px solid;border-radius: 0;line-height: 33px; color: #000;}
div#videoModal {background: rgba(255,255,255,0.8);}
div#videoModal button.btn-close {position: absolute; top: 15px; right: 15px;}
div#videoModal .modal-content { border: 1px solid #000; background:#fff;}
.page-template-about-page-template section.main_part { padding-bottom: 0;}
.tech_logo {min-height: 100px; width:100%; text-align:center;}
.tech_logo img {margin: 20px auto;}
.event-top-part { background: #59B7B3; padding: 20px; text-align: center;}
.event-top-part p {    margin-bottom: 0; border-bottom: 1px solid #fff; font-size:16px !important;}
.event-top-part h4 a{color: #000;font-size: 20px;line-height: 26px;  margin-bottom: 0;  padding: 15px 0 0; display:block; font-weight:700; min-height:60px;}
.event-top-part span{font-size:16px; font-weight:700;}
.event-top-part sapn i { font-size: 25px;}
a.btn.btn-event {
    background: var(--bs-lightblue);
    color: #fff;
    display: block;
    margin: 20px;
    max-width: 100%;
    width: 230px !important;
    height: 35px;
    padding: 0;
    line-height: 35px;
    border: 1px solid var(--bs-lightblue);
    border-radius:0px;
}
a.btn.btn-event:hover {
    background: #fff;
    color: var(--bs-lightblue);
    border: 1px solid #fff;
}
    .event-thumb {
  position: relative;
  width: 100%;}

.event-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-thumb {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.75);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.event-thumb:hover .overlay-thumb {
  height: 100%;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.event-thumb iframe {
    max-width: 100%;
    height: auto;
    min-height: 280px;
} 
section.events.upcoming-events h2.page-title {
    color: var(--bs-lightblue);
    font-size: 52px;
    text-transform:uppercase;
}
section.events.upcoming-events p {
    font-size: 24px;
    line-height: 37px;
    font-weight: normal;
    text-align: center;
}



.page-template-contact-page-template label {
    font-size: 20px !important;
    font-weight: 400;
}
.page-template-after-before-template .page-desc p {
    font-size: 24px;
    margin-bottom: 50px;
}
.page-template-about-page-template a.uk_marketing.btn.btn_link {
    font-size: 33px;
    font-weight: 400;
    color: #59B7B3;
    text-transform: uppercase;
}
.entry-content1 {
    max-width: 880px;
    margin: 0 auto;
}

.entry-content1 p {
    font-size: 20px;
    line-height: 27px;
}
h1.entry-title {
    font-size: 52px;
    text-transform: uppercase;
}

.top_bar_model {background: var(--bs-lightblue);padding: 15px  50px !important; }
.row.p-5.bg_dark { background: #000;color: #fff;}
.serach.result.row.row_list h2 a {color: var(--bs-lightblue);   text-transform: uppercase;font-size: 35px;    display: block;   margin-bottom: 10px;}
.serach.result.row.row_list p {font-size: 20px;line-height: 31px;}
.serach.result.row.row a.color2.link-btn { display: block;font-size: 16px !important; margin-top: 0 !important; max-width: fit-content; border: 1px solid;  padding: 5px 30px; margin-bottom: 30px;}
ul#primary-menu li .color2 a{color:var(--bs-lightblue) !important;}

button.slick-next.slick-arrow{right:0px}
button.slick-prev.slick-arrow{left:0px;}
a.btn.btn-treatment_back.color2 { font-size: 20px;  font-weight: 700;  padding: 50px 0;}
h2.color2.heading_post {font-size: 30px;font-weight: 700;}
a.d-block.color2.link_btn.link_box.p-2 {font-weight: 700; font-size: 20px;}
.post_header p {  font-size: 20px;  line-height: 24px;}
h2.text-center.color2.single_post_title {
    font-size: 52px;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.post_header p.date {
    font-size: 19px; font-weight:700; 
}
.event-top-part p {
    font-weight: 700 !important;
}
a.text-center.color2.pre_event_link {
    display: block;
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom:30px;
}
h2.page_title.text-center.after_before_gallery {
    font-size: 52px;
    font-weight: 400;
}
.result_list1 a.color2.link-btn.d-block {
    font-size: 20px;
    font-weight: 700;
}
.tab-container form textarea {
    height: 87px;
    width: 100% !important;
}
.tab-container form span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item-label {
    font-size: 14px;
}
.tab-container form .d-flex >p { display: flex; width: 100%;  margin-bottom: 0; justify-content:space-between;}
.tab-container form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {width: 100%;}
.tab-container form span.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item { width: 100%;}
.tab-container div#nav-tab {
    gap: 20px;
}
.sign-height {
    min-height: calc(80vh - 170px);
}
#wpcf7-f1430-o1 label {
    display: block;
    width: 100% !important;  font-size: 20px;
    margin-top: 15px;
}
#wpcf7-f1430-o1 input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, #wpcf7-f1430-o1 select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required, #wpcf7-f1430-o1 textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #fff;
    height: 35px; padding:7px 15px;     color: #ffff !important;
} 
#wpcf7-f1430-o1 input.wpcf7-form-control.wpcf7-submit.has-spinner {
    max-width: 348px;
    width: 100%;
    margin: 0 auto;
    background: var(--bs-lightblue);
    color: #fff;
    height: 47px;
    font-size: 20px;
    display: block;
}
#wpcf7-f1430-o1 span.wpcf7-form-control.wpcf7-acceptance label {
    font-size: 14px !important;
}
#StudiesModal .modal-content{border:0px;}

/* Clinical Studies Download Modal Styling */
#StudiesModal .modal-content {
    border: 0;
    border-radius: 0;
    background: var(--bs-white);
}
/* Clinical Studies modal form readability (white background, dark text) */
#StudiesModal .modal-body, #StudiesModal .bg_dark { background:#fff !important; color:#000 !important; }
#StudiesModal .top_bar_model { background: var(--bs-lightblue) !important; color:#fff !important; }
#StudiesModal .wpcf7 label { color:#000 !important; font-size:16px !important; display:block; }
#StudiesModal .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
#StudiesModal .wpcf7 select,
#StudiesModal .wpcf7 textarea { width:100% !important; background:#fff !important; color:#000 !important; border:1px solid #000 !important; height:35px; padding:7px 10px; box-sizing:border-box; }
#StudiesModal .wpcf7 textarea { height:120px; }
#StudiesModal .wpcf7 input.wpcf7-submit { background: var(--bs-lightblue); color:#fff; border:0; height:47px; text-transform:uppercase; border-radius:0; }

#StudiesModal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1050;
    font-size: 30px;
    color: #000;
    border: none;
    background: transparent;
    opacity: 0.8;
}

#StudiesModal .close:hover {
    opacity: 1;
    color: #000;
}

#StudiesModal .modal-content textarea {
    height: 180px !important;
    min-height: 180px !important;
}

/* Clinical Studies Modal Form Dropdown Fixes */
#StudiesModal select {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
}

#StudiesModal select option {
    background-color: #fff !important;
    color: #000 !important;
    padding: 8px 12px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

#StudiesModal select:focus {
    outline: 2px solid var(--bs-lightblue) !important;
    background-color: #fff !important;
}

#StudiesModal select:hover {
    border-color: var(--bs-lightblue) !important;
}

/* Ensure dropdown options are always visible - multiple selectors for compatibility */
#StudiesModal .wpcf7-form-control.wpcf7-select,
#StudiesModal .wpcf7-select,
#StudiesModal select[name="pays"] {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
}

#StudiesModal .wpcf7-form-control.wpcf7-select option,
#StudiesModal .wpcf7-select option,
#StudiesModal select[name="pays"] option {
    background-color: #fff !important;
    color: #000 !important;
    font-weight: normal !important;
}

/* Force override any inherited white text color */
#StudiesModal form select,
#StudiesModal form select *,
#StudiesModal select,
#StudiesModal .modal-body select,
#StudiesModal .modal-content select {
    color: #000 !important;
    background-color: #fff !important;
}

/* Additional force overrides for all possible select variations */
#StudiesModal * select {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
}

#StudiesModal * select option {
    color: #000 !important;
    background-color: #fff !important;
    font-weight: normal !important;
}

/* Clinical Studies Modal - Essential Dropdown Fix Only */
#StudiesModal select {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
}

#StudiesModal select option {
    background-color: #fff !important;
    color: #000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media only screen and (max-width:1920px){
#contactModal .modal-xl{max-width:100%!important;width:1400px!important}

}
@media only screen and (min-width:1200px){
.signauture-section img.w-100.signture { margin-left: 110px; width:100%;}



}
/* StudiesModal Form Field Styling - Essential CSS from German site */
#StudiesModal form input:not([type="submit"]):not([type="checkbox"]),
#StudiesModal form select,
#StudiesModal form textarea {
    width: 80% !important;
    height: 35px !important;
    border: 1px solid var(--bs-black) !important;
    padding: 0 10px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

#StudiesModal form textarea {
    height: 87px !important;
    min-height: 87px !important;
}

#StudiesModal form label {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    color: #000 !important;
    font-size: 16px !important;
}

#StudiesModal form input.wpcf7-submit {
    max-width: 258px !important;
    margin: 0 auto !important;
    display: block !important;
    height: 49px !important;
    background: var(--bs-lightblue) !important;
    color: var(--bs-white) !important;
    border: 0 !important;
    text-transform: uppercase !important;
    font-size: 25px !important;
    font-weight: 400 !important;
}

#StudiesModal form input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
}

#StudiesModal form input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
}

/* Clean StudiesModal CSS - matches German site exactly */

@media only screen and (max-width:767px){
img.w-100.signture{padding:0!important}
section.about_inmode{padding:50px 0}
/* Fix about section text overflow on mobile */
section.about_inmode .container{
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
section.about_inmode p{
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.col-md-6.sign{height:440px}
.desktop-hide{display:block}
.mob-hide{display:none}
.counter-box.colored .counter,
.counter-box.colored .counter-suffix{font-size:40px}
.counter-box.colored p{font-size:17px;max-width:180px;color:var(--bs-black)}
.mob-menu.desktop-hide{width:30%;text-align:right;padding-right:20px;padding-top:0;color:var(--bs-white);font-size:20px}
.logo_wrap{width:70%;padding-left:20px}
.banner{background-color:transparent!important;background-repeat:no-repeat!important;padding-top:0;margin-top:0;background-size:cover!important;background-position:center center!important;min-height:auto;height:auto!important}
.about_inmode h1,section.about_inmode,section.clients.says h2,section.clinical_studies h2,section.our_workstation,section.our_workstation h2{font-size:19px!important;margin-bottom:15px!important}
.about_inmode p{font-size:16px;line-height:24px}
.banner_slider.multiple-banners.slick-initialized.slick-slider{margin-bottom:0!important}
.our_workstation a.link_discover,.our_workstation p,.studies_description a.link_discover{font-size:14px!important;font-weight:500}
.col-sm-6.sign{height:440px}
section.clients.says,section.our_workstation{padding:40px 0}
section.clinical_studies .container>h2{padding:25px 0}
.testimonial_description h5,.testimonial_description p{font-size:18px;line-height:24px}
section.clients.says .conatiner-fluid{padding-left:15px;padding-right:15px}
.testimonial_description a{font-size:14px}
section.techonology{background:url('/wp-content/uploads/2025/02/Pro-Capture-One-2061-1.png');background-repeat:no-repeat;background-size:50%;background-position:left -40% bottom;padding:0}
section.techonology h2{font-size:24px!important;white-space: pre-line;line-height:1.2;margin-bottom:20px;}
section.techonology a.btn.btn-primary.btn-contact{font-size:17px}
.footer_top h3{font-size:35px}
.footer_top h5{font-size:22px}
.footer-address{font-size:10px}
.row.footer_bottom nav #footer-menu{font-size:11px}
.footer_top{padding-top:40px;padding-bottom:20px;border-bottom:2px solid var(--bs-lightblue)}
section.techonology .row{padding-bottom:80px}
h2.page-title{margin-bottom:0;font-size:19px}
section.work_stations{padding:40px 15px;}
.d-flex.flex-column.h-100.flex-height{min-height:320px}
.row.workstation-bottom.my-3{max-width:100%;border-bottom:0}
.workstation-link{text-align:center}
.workstation-link a{font-size:12px;border:1px solid var(--bs-lightblue);max-width:110px;display:block;margin:0 auto;background:transparent;color:var(--bs-lightblue);padding:8px 15px;height:35px;line-height:19px;border-radius:4px}
.workstation_desc p{margin-bottom:15px;font-size:12px}
.workstation-bottom .workstation_desc,.workstation-bottom .workstation_desc h3{font-size:12px}
.workstation-bottom .workstation_desc ul li{font-size:12px}
/* Mobile-only workstation styles */
@media only screen and (max-width: 767px) {
    /* Reset the layout to stack vertically */
    .row.workstation-bottom.my-3{
        min-height: 500px;
        align-items: stretch;
        flex-direction: column;
    }
    
    .workstation_img, .workstation-content{
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .workstation-content{
        display: block !important;
        height: auto;
    }
    
    /* Override the flex classes on mobile */
    .workstation-content .d-flex,
    .workstation-content .flex-column,
    .workstation-content .h-100,
    .workstation-content .flex-height{
        display: block !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    /* 1. Logo at top */
    .workstation-bottom img.wrokstation_logo{
        max-width: 100px;
        max-height: 50px;
        margin: 0 auto 15px;
        display: block;
    }
    
    /* 2. Machine image */
    .workstation_img{
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 15px 0;
        order: -1; /* Put machine before content */
    }
    .workstation_img img{
        height: 180px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* 3. Text content */
    .workstation_desc{
        margin-bottom: 10px;
    }
    
    /* Limit description text to 3 lines */
    .workstation_desc p{
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: calc(1.4em * 3);
        margin-bottom: 8px;
    }
    
    /* Limit treatment list to 3 lines */
    .workstation_desc ul{
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        max-height: calc(1.3em * 3);
        margin-bottom: 5px;
        padding-left: 15px;
    }
    
    /* Reduce space on content section */
    .workstation_desc{
        margin-bottom: 5px;
    }
    
    /* 4. Discover more with reduced space */
    .workstation-link{
        margin-top: 0px;
        padding-top: 0px;
        margin-bottom: 10px;
    }
    
    .workstation-link a{
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        height: auto !important;
        line-height: normal !important;
        border-radius: 0 !important;
        max-width: none !important;
        font-size: 12px;
        color: var(--bs-lightblue);
        text-decoration: none;
        white-space: nowrap;
        margin: 0;
    }
}
/* Mobile counters spacing and alignment */
@media (max-width: 767px) {
  section.banner > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  section.banner .row.signature-section {
    margin: 0 !important;
    background: #fff;
    padding: 24px 0;
  }
  .counter-row {
    padding: 0 20px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .counter-row .col-6 { padding: 16px 0; }
  .counter-box.colored { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .counter-box.colored span { line-height: 1; }
  .counter-box.colored p { margin: 8px auto 0; }
}

@media (min-width: 992px) {
}
/* Remove any accidental gap between hero and counters on small screens */
@media (max-width: 767px){
  section.banner + section.home-counters { margin-top: 0 !important; }
}
.post_header h3{font-size:15px;letter-spacing:2px;margin:30px 10px;line-height:22px; font-weight:500;}
.p2i button.navbar-toggler{font-size:15px}
.p2i .navbar-toggler:focus{box-shadow:none!important}
.p2i_list li a{padding:5px 30px 5px;font-size:13px;display:block}
section.main_part .post_desc{font-size:12px;line-height:15px}
section.main_part .row.content_work h2{font-size:16px;line-height:20px;padding:10px 0}
.row.content_work{padding-top:40px}
div#work_banifit ul{font-size:12px;line-height:24px}
div#work_banifit>ul>li{padding:5px 0}
/* HIDE REQUEST INFORMATION BUTTON COMPLETELY */
div#work_banifit a.request-list, 
a.request-list, 
.request-list, 
a.color2.request-list, 
.color2.request-list,
#work_banifit a.color2.request-list,
div#work_banifit a.color2.request-list,
section div#work_banifit a.color2.request-list {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
.row.content_work hr.border-single-work{display:none!important}
section.main_part{padding-bottom:40px}
section#work_tech h2.inner_heading{font-size:16px;line-height:20px}
section#work_tech p{font-size:12px!important;line-height:15px;padding:10px 0}
section#work_tech .after-before.mt-auto span{font-size:10px}
section#work_event h2,section#work_news h2{font-size:18px;line-height:24px;padding:20px 0}
body.single-workstation section#work_event h2,
body.single-workstation section#work_news h2{
    font-size:18px;
    line-height:24px;
    padding:20px 0;
    text-align:center;
}
.tech_list a.link-btn{margin-bottom:0}
section#work_studies h2{padding:40px 0}
p.study_date,p.study_publication,section.clinical_studies a.btn.btn-primary.btn-studies{font-size:12px}
hr.border-single-work{margin:40px auto}
section#work_news{padding-bottom:0}
.team-list.col-md-4 .treament-thumb{margin:20px auto;margin-right:auto}
h2.page_title{font-size:20px}
h3.treatment_heading{font-size:14px}
.result_list1 a.link.color2{font-size:12px}
.single.single-treatments h2.color2.heading_post{font-size:19px;line-height:35px}
.single.single-treatments h3{font-size:16px;line-height:34px;letter-spacing:0}
.single.single-treatments .single-post_desc p{font-size:12px;line-height:15px}
.single.single-treatments .single-post_desc h3{font-size:16px}
.after-before-content p{font-size:12px;line-height:18px}
.result-slide1.row.p-5{padding-top:1rem !important padding-bottom:1rem}
.page-template-clinical-studies h2.page_title{font-size:19px}
.page-template-clinical-studies p{font-size:15px;line-height:20px;}
.page-template-clinical-studies .main_part p{font-size:15px;line-height:20px !important;}
.page-template-clinical-studies h3.clinical-Studies_heading{font-size:15px;line-height:18px;font-weight:400}
.page-template-clinical-studies .studies-meta p{font-size:12px;line-height:15px}
.page-template-clinical-studies a.color2.link-btn{font-size:15px;margin:9px auto!important;}
.page-desc p{font-size:14px;line-height:20px}
.bg-white {
    background-repeat: no-repeat;
    background-position: bottom left, center center;
    background-size: 340px, cover;
}
.menu-item-has-children > .sub-menu >li> a {font-size: 13px !important; padding: 10px 10px !important;}
img.w-100.signture { padding: 0px !important;}
.col-md-6.sign {height: 440px;}
.row.footer_bottom nav #footer-menu { justify-content: space-evenly;  padding: 0 15px; flex-wrap:wrap;}
.row.footer_bottom nav #footer-menu li { padding: 10px;}
.col-md-6.text-right.footer-address { text-align: center !important; padding: 0 10px;justify-content: center;}
section.clinical_studies .row{padding-bottom:0px !important;}
.menu-item-has-children > a:after {content: "\f107"; }
a.custom-logo-link img{max-width:398px; margin-top:0!important; height:auto!important;}
nav button.navbar-toggler{border:0 !important; margin-top: 6px;}
nav button.navbar-toggler[aria-expanded="false"] i.fa-times {display: none !important;}
nav button.navbar-toggler[aria-expanded="true"] i.fa-times {display: block !important;}
nav button.navbar-toggler[aria-expanded="true"] i.fa-bars { display: none !important;}
.counter-row { background: #fff;}	
section.techonology { background-color: #fff; background-size: 78%;background-position: left -160% bottom;}
section.clients.says { padding-bottom: 3px;}

/* Home media slider (video/image with right overlay) */
.homepage_videobanner { background-color:#000; position:relative; overflow:hidden; }
.homepage_videobanner-container { position:relative; max-width:100%; margin:0 auto; height:100%; }
/* Ensure desktop media covers the banner area */
.homepage_videobanner-video { position:absolute; inset:0; overflow:hidden; z-index:1; }
.homepage_videobanner-video video,
.homepage_videobanner-video img { width:100%; height:100%; object-fit:cover; display:block; }
/* Right overlay content aligned to the right middle */
.homepage_videobanner-content { position:absolute; left:0; right:0; top:0; bottom:0; display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:20px; padding:0 40px; z-index:2; }
.homepage_videobanner-content-image { display:flex; align-items:center; justify-content:flex-end; }
.homepage_videobanner-content-image img { max-width:460px; width:100%; height:auto; }
.homepage_videobanner-content-button a {
    display:inline-block;
    padding:12px 28px;
    border:2px solid #fff;
    color:#fff;
    border-radius:9999px;
    text-transform:uppercase;
    letter-spacing:.5px;
}
.homepage_videobanner-content-button a:hover { background:#fff; color:#000; }
@media (max-width: 1199px) {
  .homepage_videobanner-content { padding:0 24px; }
  .homepage_videobanner-content-image img { max-width:320px; }
}
@media (max-width: 767px){
  /* Mobile uses the mobile image slider; hide desktop overlay stack */
  .homepage_videobanner-content{ display:none; }
}
/* Enforce USA desktop banner height (approx 1905x340) */
@media (min-width: 1200px){
  .banner_slider .banner_slide .homepage_videobanner{ height:370px; }
  .banner_slider, .banner_slider .slick-list, .banner_slider .slick-track, .banner_slider .banner_slide { height:370px; }
  .banner_slider .banner_slide .homepage_videobanner-container{ height:100%; }
  .banner_slider .banner_slide .homepage_videobanner-video{ inset:0; }
  .banner_slider .banner_slide .homepage_videobanner-video video,
  .banner_slider .banner_slide .homepage_videobanner-video img{ height:100%; width:100%; object-fit:cover; }
  /* If single banner (no slick), ensure min height still applies */
  .banner_slider.single-banner .homepage_videobanner{ height:370px; }
}
footer#colophon {padding-bottom: 20px;}	
section.clients.says.slick-dots{display:none !important;}
.tab-container form label{font-size:13px !important;}  
section.work_stations h2.page-title {font-size:19px;}
.page-template-about-page-template h2.page_title , section.body_content_about h2 { font-size: 19px;}
section.body_content_about .page-desc p {font-size: 12px; line-height: 20px;}
section.body_content_about hr.single_border{display:none;}
.col-md-4.col-12.modal_video { text-align: center;  margin: 20px auto;}
.fundamentals ul li, .vision_mission  { font-size: 12px;line-height: 20px;}
.vision_mission { margin-bottom: 20px;}
section.body_content_about h3.heading_sub_inner, h3.color2.heading_inner {font-size: 16px; line-height:28px;font-weight: 400;}
.page-template-about-page-template a.uk_marketing.btn.btn_link {
    font-size: 33px;
    font-weight: 400;
    color: #59B7B3;
    text-transform: uppercase;
}
.team_description h4{font-size:17px !important; font-weight:600; line-height:20px;}
.team_description p{margin-bottom:20px;}
.team-list.row p {  font-size: 15px;line-height: 23px;  text-align: left;}
p#modalContent {font-size: 13px;line-height: 16px;}
.team_pop_content h5 {font-size: 17px;line-height: 21px;}
/* Transparent top utilities row and navbar - ONLY for About Us page */
body.page-template-about-page-template .site-header .container-fluid > .row { background: transparent !important; }
body.page-template-about-page-template .site-header nav.navbar { background: transparent !important; }
/* Hide textual site title/description when a logo exists - ONLY for About Us page */
body.page-template-about-page-template .custom-logo + .site-title, body.page-template-about-page-template .custom-logo + .site-title + .site-description { display: none !important; }
.treatment_list img {width: 280px  !important;  max-width: 100%;}
body.treatments-template-default .post_header h3 {
    margin: 10px;
    font-size: 15px;
    line-height: 18px;
}
.after-before-content p { margin: 10px 0;}
a.btn.btn-treatment_back.color2 { font-size: 16px;  padding: 0px 0 20px;}
#before img, #after img{max-height:270px;}
  
   
   
   .form-filters.active {
       display: block;
       z-index: 999;
   }
.form-filters {
    background: #fff;
    color: #000;
    padding: 10px;
}
.filter_list {
    gap: 0px;
    flex-direction: column;
}
.form-filters button#all-button{display:none;}

.form-filters button.btn.btn_border_white.dropdown-toggle, .form-filters button.btn_border_white {
    border: 0;
    color: #000;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-transform:uppercase; margin-top:10px;
    width:100% !important;
}
.form-filters .dropdown-toggle::after {
    float: right;
}
.form-filters ul.dropdown-menu li {
    width: 49%;
    float: left;
}
.form-filters ul.dropdown-menu.show {
    position: relative !important;
    transition: none !important;
    inset: unset !important;
    display: block !important;
}
.form-filters ul.dropdown-menu.show li label {color: #000000 !important;  font-size: 16px !important;}
.form-filters .dropdown {  border-bottom: 1px solid var(--bs-lightblue);}

.form-filters ul.dropdown-menu {position: relative; display: block; width: 100%;background: transparent;border: 0px;font-size: 14px;}
h4.filter_title { font-size: 14px;font-weight: 400; margin-bottom: 0; text-trnasform:uppercase;}
a#reset-button {
    color: var(--bs-lightblue);
    font-size: 13px;
    float: right;
    padding: 0;
    float:right;}

.row.d-md-none.align-items-center.mx-3 {
    border-bottom: 1px solid var(--bs-lightblue);
}
.form-filters{display:none;}
.page-template-news_template h2.page_title, .page-template-blog-template h2{font-size:19px;}
.team-list a.color2.link-btn {  margin: 0 auto 15px;font-size: 15px;}
.news-desc h4{font-size:10px;}
.news-desc h2 {font-size: 12px; line-height: 14px; min-height: unset;}
.blog-list .news-desc h4, .news-desc p.date { font-size: 12px;}
.blog-list .news-desc h3 { font-size: 19px;font-weight: 700;}
h2.text-center.color2.single_post_title { font-size: 19px; margin-bottom: 30px;}
.mob_show { display:block !important;}
.single.single-post h2.color2.heading_post.mb-2 { font-size: 20px;}
.single.single-post p.date {font-size: 12px;font-weight: 700;}
.post_header p {font-size: 12px;line-height: 15px;}
.single.single-post section.main_part .container {max-width: 100%; padding:0 15px; }
h2.page_title.text-center.after_before_gallery{ font-size: 19px;font-weight: 700; padding:10px !important;}
.page-template-after-before-template .page-desc p{font-size:15px;line-height:20px}
.result_list1 a.color2.link-btn.d-block { font-size: 15px; font-weight: 700;}
.tech_logo{min-height:unset !important}
.page-template-after-before-template #before img, .page-template-after-before-template #after img { max-height: 270px;}

/* Desktop before/after slider fix for after-before template page - FIXED HEIGHT */
@media (min-width: 768px) {
    .page-template-after-before-template .ba-Slider {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 270px !important;
        max-height: 270px !important;
        min-height: 270px !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .page-template-after-before-template .ba-Slider #before, 
    .page-template-after-before-template .ba-Slider #after {
        position: absolute !important;
        top: 0 !important;
        height: 270px !important;
        max-height: 270px !important;
        min-height: 270px !important;
        overflow: hidden !important;
    }
    
    .page-template-after-before-template .ba-Slider #after {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1 !important;
    }
    
    .page-template-after-before-template .ba-Slider #before {
        left: 0 !important;
        width: 50% !important;
        z-index: 2 !important;
    }
    
    .page-template-after-before-template .ba-Slider #before img,
    .page-template-after-before-template .ba-Slider #after img {
        width: 100% !important;
        height: 270px !important;
        max-height: 270px !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .page-template-after-before-template .ba-Slider .slider2 {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        width: 3px !important;
        height: 270px !important;
        max-height: 270px !important;
        background: #00BCD4 !important;
        z-index: 3 !important;
        cursor: ew-resize !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 0 4px rgba(0, 188, 212, 0.5) !important;
        background-image: none !important;
        background-size: auto !important;
    }
    
    .page-template-after-before-template .ba-Slider .slider2::after {
        content: '' !important;
        display: block !important;
        width: 28px !important;
        height: 28px !important;
        background: #00BCD4 !important;
        border-radius: 50% !important;
        border: 3px solid #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}
section.events.upcoming-events h2.page-title{font-size:19px;}
section.events.upcoming-events p { font-size: 15px; line-height: 20px;}
.event-top-part p, .event-top-part span{font-size:12px !important;}
.event-top-part h4 a{font-size:19px;padding-top: 10px; min-height:unset;}

.location span {font-size: 15px !important; font-weight:400; }
a.btn.btn-event{width:125px; font-size:13px;}
.event-thumb:hover .overlay-thumb .text {  display: flex;}
a.text-center.color2.pre_event_link{font-size:15px;}
.event-thumb iframe {
    max-width: 100%;
    height: auto;
    min-height: 300px;
    WIDTH: 100%;
}

/* StudiesModal CSS Reset and Form Fixes */
/* StudiesModal CSS - Clean version matching German site exactly */

/* Custom CSS moved from Theme Customizer - SAFE RULES ONLY */
/* Removed conflicting form-related CSS that was breaking StudiesModal */

a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    #before img, #after img {
        height: 270px;
        max-height: 270px;
        object-fit: cover;
    }
}

/* Contact (shared: contact page and popup modal) */
#contactModal .modal-dialog,
#contactModal .modal-dialog.modal-full{width:100% !important;max-width:1600px !important;margin:0 auto !important;transform:none !important}
#contactModal .modal-content{width:100% !important;max-width:none !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important}
#contactModal .modal-body{padding:0 !important}
#contactModal .container{width:100% !important;max-width:1600px !important;padding-left:0 !important;padding-right:0 !important}
.bg-white.contact_bg.bg-pop{color:#000 !important;min-height:80vh}
.contact_bg label{display:block;width:100%;font-size:20px !important;font-weight:400}
.contact_bg .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.contact_bg .wpcf7 select,
.contact_bg .wpcf7 textarea{width:100% !important;background:#fff !important;border:1px solid #000 !important;height:35px;padding:7px 15px;color:#000 !important}
.contact_bg .wpcf7 textarea{height:87px}
.contact_bg input.wpcf7-submit{max-width:348px;width:100%;margin:0 auto;display:block;height:47px;background:#59B7B3;color:#fff;border:0;text-transform:uppercase;font-size:20px}
.contact_bg .nav-tabs,.contact_bg .nav-tabs .nav-link{background:transparent;color:#000;border-color:#000;border-radius:0}

.banner_slider:not(.slick-initialized) .banner_slide {display:none;}
.banner_slider:not(.slick-initialized) .banner_slide:first-child {display:block;}
.banner_slider.pre-slick {opacity:0; visibility:hidden;}
.banner_slider.slick-initialized {opacity:1; visibility:visible;}

.hero-slider {opacity:0; visibility:hidden;}
.hero-slider.slick-initialized {opacity:1; visibility:visible;}
.hero-slider:not(.slick-initialized) .banner_slide {display:none;}
.hero-slider:not(.slick-initialized) .banner_slide:first-child {display:block;}

/* Workstation Technologies Section - Match German Site Design */
@media (min-width: 1200px) {
    section.work_technologies .tech_list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    section.work_technologies .tech_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    section.work_technologies .tech_list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    section.work_technologies .work_tech_list {
        max-width: 48% !important;
        width: 48% !important;
        margin: 0 auto 20px !important;
    }
}

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

section.work_technologies .tech_hexagon {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    background: url('/wp-content/uploads/2025/02/box-container.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.work_technologies .tech_image {
    position: relative;
    z-index: 2;
    text-align: center;
}

section.work_technologies .tech_image img {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

section.work_technologies .tech_logo {
    max-width: 120px;
    height: auto;
}

section.work_technologies .tech_content {
    background: rgba(89, 183, 179, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

section.work_technologies .tech-card{
    height:100%;
}

section.work_technologies .tech-slider{
    display:flex;
    justify-content:center;
    margin-top:20px;
}

section.work_technologies .tech_content p {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Events CPT layout & card design refresh (Italy staging) */
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .events.upcoming-events,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .events.past-events,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .container-fluid.fixed_width,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .future-list,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .past-list,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) #posts-container,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .col-lg-4.col-md-6.col-sm-6.mb-4.event-column {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) #posts-container,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .future-list,
body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .past-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px 16px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    justify-content: center !important;
    padding-bottom: 40px !important;
    grid-auto-rows: 1fr !important;
}

body:not(.single-workstation):is(.events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .col-lg-4.col-md-6.col-sm-6.mb-4.event-column {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .col-lg-4.col-md-6.col-sm-6.mb-4.event-column > .event-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card {
    background: rgba(88, 183, 179, 0.94) !important;
    border-radius: 0 !important;
    border: 1px solid rgba(8, 38, 45, 0.18) !important;
    box-shadow: 0 24px 50px rgba(8, 38, 45, 0.24) !important;
    color: #042030 !important;
    overflow: hidden !important;
    position: relative !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__top {
    background: transparent !important;
    padding: 22px 24px 12px !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__top::after {
    display: none !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 6px 0 18px !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__type,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__date {
    background: #ffffff !important;
    color: #042030 !important;
    padding: 4px 16px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(8, 38, 45, 0.10) !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__type {
    order: -1 !important;
    margin-bottom: 2px !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__type.placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__title {
    margin: 6px 0 12px !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #042030 !important;
    -webkit-line-clamp: unset !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__location {
    margin: 0 !important;
    padding: 18px 24px !important;
    background: rgba(8, 38, 45, 0.82) !important;
    color: #e8fcff !important;
    border-radius: 0 !important;
    min-height: calc(1.6em * 2 + 36px) !important;
    display: grid !important;
    grid-template-columns: 24px 1fr !important;
    align-items: center !important;
    gap: 12px !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__location::before {
    display: none !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__location i {
    color: rgba(255, 255, 255, 0.72) !important;
    margin-top: 2px !important;
    font-size: 16px !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__location-lines {
    font-size: 14px !important;
    line-height: 1.6 !important;
    min-height: calc(1.6em * 2) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__media {
    margin: 22px 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: relative !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__media img,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__media video,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__image {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__media::after {
    content: '' !important;
    display: block !important;
    height: 40px !important;
    background: rgba(88, 183, 179, 0.94) !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(8, 38, 45, 0) 0%, rgba(8, 38, 45, 0.9) 100%) !important;
    padding: 20px 24px 22px !important;
    transition: opacity 0.25s ease !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card:hover .event-card__overlay,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card:focus-within .event-card__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__cta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50% !important;
    max-width: 210px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(88, 183, 179, 0.92) !important;
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    background: rgba(88, 183, 179, 0.92) !important;
    color: #ffffff !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease !important;
    text-align: center !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn + .event-card__btn {
    background: rgba(88, 183, 179, 0.78) !important;
    border-color: rgba(88, 183, 179, 0.78) !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn:hover,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn:focus {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #58B7B3 !important;
    box-shadow: 0 16px 28px rgba(8, 38, 45, 0.24) !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card {
    background: #58B7B3 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(8, 38, 45, 0.18) !important;
    box-shadow: 0 24px 50px rgba(8, 38, 45, 0.24) !important;
    color: #042030 !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__top {
    background: transparent !important;
    padding: 24px 24px 14px !important;
    gap: 18px !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 10px 0 22px !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__type,
body.event-cards-enhanced:not(.single-workstation) .event-card__date {
    background: #ffffff !important;
    color: #042030 !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(8, 38, 45, 0.10) !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__title {
    margin: 6px 0 12px !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #042030 !important;
    -webkit-line-clamp: unset !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__location {
    margin: 0 !important;
    padding: 18px 24px !important;
    background: rgba(8, 38, 45, 0.82) !important;
    color: #e8fcff !important;
    display: grid !important;
    grid-template-columns: 24px 1fr !important;
    gap: 12px !important;
    min-height: calc(1.6em * 2 + 36px) !important;
    align-items: center !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__location-lines {
    font-size: 14px !important;
    line-height: 1.6 !important;
    min-height: calc(1.6em * 2) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__media {
    margin: 24px 24px 0 !important;
    padding: 26px 24px 0 !important;
    background: #58B7B3 !important;
    position: relative !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__media::after {
    content: '' !important;
    display: block !important;
    height: 40px !important;
    background: #58B7B3 !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(88, 183, 179, 0) 0%, rgba(8, 38, 45, 0.88) 100%) !important;
    padding: 22px 24px 24px !important;
    transition: opacity 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card:hover .event-card__overlay,
body.event-cards-enhanced:not(.single-workstation) .event-card:focus-within .event-card__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__cta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
    width: 100% !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70% !important;
    max-width: 220px !important;
    height: 46px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(88, 183, 179, 0.92) !important;
    background: rgba(88, 183, 179, 0.92) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__btn + .event-card__btn {
    background: rgba(88, 183, 179, 0.78) !important;
    border-color: rgba(88, 183, 179, 0.78) !important;
}

body.event-cards-enhanced:not(.single-workstation) .event-card__btn:hover,
body.event-cards-enhanced:not(.single-workstation) .event-card__btn:focus {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #58B7B3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 28px rgba(8, 38, 45, 0.24) !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__tags {
    display: none !important;
}

@media (max-width: 991px) {
    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__top,
    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__overlay {
        padding: 16px 18px 8px !important;
    }

    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__media {
        margin: 22px 18px 0 !important;
    }

    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__location {
        padding: 18px 18px !important;
    }

    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn {
        width: 60% !important;
    }
}

@media (max-width: 575px) {
    body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__title {
        font-size: 19px !important;
    }
}

/* Shared card grid layout for non-event templates */
body.page-template-clinical-studies #posts-container,
body.page-template-clinical-studies-php #posts-container,
body[class*="page-template-news"] #posts-container,
body[class*="page-template-blog"] #posts-container,
body.post-type-archive-news #posts-container,
body.blog #posts-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px 32px !important;
    padding: 0 24px 40px !important;
    margin: 0 auto !important;
    max-width: 1260px !important;
    box-sizing: border-box !important;
}

body.page-template-clinical-studies #posts-container > *,
body.page-template-clinical-studies-php #posts-container > *,
body[class*="page-template-news"] #posts-container > *,
body[class*="page-template-blog"] #posts-container > *,
body.post-type-archive-news #posts-container > *,
body.blog #posts-container > * {
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 calc(33.333% - 32px) !important;
    max-width: calc(33.333% - 32px) !important;
}

@media (max-width: 991px) {
    body.page-template-clinical-studies #posts-container > *,
    body.page-template-clinical-studies-php #posts-container > *,
    body[class*="page-template-news"] #posts-container > *,
    body[class*="page-template-blog"] #posts-container > *,
    body.post-type-archive-news #posts-container > *,
    body.blog #posts-container > * {
        flex: 0 0 calc(50% - 24px) !important;
        max-width: calc(50% - 24px) !important;
    }
}

@media (max-width: 575px) {
    body.page-template-clinical-studies #posts-container > *,
    body.page-template-clinical-studies-php #posts-container > *,
    body[class*="page-template-news"] #posts-container > *,
    body[class*="page-template-blog"] #posts-container > *,
    body.post-type-archive-news #posts-container > *,
    body.blog #posts-container > * {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn:hover,
body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__btn:focus {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #58B7B3 !important;
    box-shadow: 0 16px 28px rgba(8, 38, 45, 0.24) !important;
}

body:is(.single-workstation, .events-plugin-active, .page-template-upcoming-events, .page-template-past-events, .post-type-archive-events) .event-card__tags {
    display: none !important;
}

/* Restore news card styling (news template reuses .event-card markup) */
body.page-template-news_template:not(.single-workstation) .event-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #042030 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__meta,
body.page-template-news_template:not(.single-workstation) .event-card__location,
body.page-template-news_template:not(.single-workstation) .event-card__date,
body.page-template-news_template:not(.single-workstation) .event-card__type {
    display: none !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__top {
    background: rgba(88, 183, 179, 0.92) !important;
    padding: 28px 32px !important;
    min-height: 170px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__title {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    color: #042030 !important;
    text-transform: none !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__media {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__media img,
body.page-template-news_template:not(.single-workstation) .event-card__media video,
body.page-template-news_template:not(.single-workstation) .event-card__image {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__overlay {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__cta-group {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__btn {
    width: auto !important;
    min-width: 190px !important;
    height: 44px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(88, 183, 179, 0.92) !important;
    background: transparent !important;
    color: rgba(88, 183, 179, 0.92) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

body.page-template-news_template:not(.single-workstation) .event-card__btn:hover,
body.page-template-news_template:not(.single-workstation) .event-card__btn:focus {
    background: rgba(88, 183, 179, 0.92) !important;
    color: #042030 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 28px rgba(8, 38, 45, 0.24) !important;
}

div#eventModal .modal-dialog{max-width:960px}
div#eventModal .modal-content.event-modal{position:relative;border:1px solid rgba(8,38,45,0.18);border-radius:0;background:#042030;color:#fff;box-shadow:0 30px 60px rgba(8,38,45,0.32);overflow:hidden;padding:0}
button.close.btn.close-event{opacity:1;font-size:30px;padding:0 10px}
div#eventModal .close.btn.close-event{position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.92);color:#042030;border:0;transition:background .2s ease}
div#eventModal .close.btn.close-event:hover{background:#ffffff}
div#eventModal .close.btn.close-event span{font-size:24px;line-height:1;color:#042030}
div#eventModal .event-modal__header{background:rgba(88,183,179,0.94);padding:40px 48px 44px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;position:relative}
div#eventModal .event-modal__chip{align-self:flex-start;background:#ffffff;color:#042030;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:6px 14px;border-radius:999px;display:none}
div#eventModal .event-modal__date{margin:0;font-size:28px;font-weight:600;color:#ffffff;text-transform:uppercase;letter-spacing:.08em}
div#eventModal .event-modal__title{margin:0;font-size:32px;font-weight:700;line-height:1.2;color:#042030;max-width:640px}
div#eventModal .event-modal__body{display:flex;gap:48px;padding:52px 58px 60px;background:#000;color:#fff}
div#eventModal .event-modal__media{flex:0 0 320px;max-width:320px;display:flex;justify-content:center;align-items:flex-start}
div#eventModal .event-modal__media-inner{width:100%;display:flex;flex-direction:column;gap:16px}
div#eventModal .event-modal__image{width:100%;height:auto;object-fit:cover;display:block}
div#eventModal .event-modal__video{position:relative;width:100%;padding-top:56.25%;overflow:hidden;background:#000}
div#eventModal .event-modal__video iframe,
div#eventModal .event-modal__video video{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
div#eventModal .event-modal__content{flex:1 1 auto;display:flex;flex-direction:column;gap:24px;color:#ffffff}
div#eventModal .eventDescription{margin:0;font-size:18px;line-height:1.6}
div#eventModal .event-modal__location{margin:0;font-size:18px;line-height:1.6;color:rgba(88,183,179,0.94);display:flex;align-items:flex-start;gap:10px}
div#eventModal .event-modal__location i{margin-top:4px;color:rgba(88,183,179,0.94)}
div#eventModal .event-modal__cta-group{display:flex;justify-content:center}
div#eventModal .event-modal__cta{width:50%;max-width:210px}
div#eventModal .event-modal--no-media .event-modal__body{gap:0;justify-content:flex-start}
div#eventModal .event-modal--no-media .event-modal__media{display:none}
div#eventModal .event-modal--no-media .event-modal__content{max-width:none;width:100%;text-align:left;align-items:flex-start}
div#eventModal .event-modal--no-media .eventDescription{width:100%;text-align:left}
div#eventModal .event-modal--no-media .event-modal__location{justify-content:flex-start}
div#eventModal .event-modal--no-media .event-modal__cta-group{justify-content:flex-start}
@media (max-width: 1199px){div#eventModal .event-modal__body{gap:36px;padding:48px 48px 56px}div#eventModal .event-modal__media{flex:0 0 280px;max-width:280px}}
@media (max-width: 991px){div#eventModal .event-modal__header{padding:36px 32px 40px}div#eventModal .event-modal__body{flex-direction:column;align-items:center;gap:32px;padding:40px 36px 48px}div#eventModal .event-modal__media{width:100%;max-width:420px}div#eventModal .event-modal__cta{width:70%;max-width:260px}}
@media (max-width: 575px){div#eventModal .close.btn.close-event{top:10px;right:10px;width:38px;height:38px}div#eventModal .event-modal__header{align-items:flex-start;text-align:left;padding:32px 24px 28px}div#eventModal .event-modal__chip{margin-bottom:6px}div#eventModal .event-modal__date{font-size:22px}div#eventModal .event-modal__title{font-size:26px}div#eventModal .event-modal__body{padding:32px 24px 40px;gap:28px}div#eventModal .event-modal__location{flex-direction:column;align-items:flex-start;gap:6px}div#eventModal .event-modal__cta{width:100%;max-width:none}}

section.clinical_studies .studies_thumb__placeholder{width:100%;padding-top:120%;background:rgba(89,183,179,0.15);border:1px dashed rgba(89,183,179,0.4);position:relative;border-radius:12px}
section.clinical_studies .studies_thumb__placeholder:after{content:"";position:absolute;inset:30%;border:1px solid rgba(89,183,179,0.35);border-radius:8px}

/* News cards unified styling */
.legacy-news-card{
    background:rgba(3,21,32,0.94);
    border:1px solid rgba(89,183,179,0.42);
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    padding:28px 30px 34px;
    display:flex;
    flex-direction:column;
    gap:24px;
    min-height:100%;
    color:#ffffff;
    position:relative;
    overflow:hidden;
}

.legacy-news-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(89,183,179,0.16) 0%, rgba(3,21,32,0) 60%);
    pointer-events:none;
    opacity:0.8;
}

.legacy-news-card>*{
    position:relative;
    z-index:1;
}

.legacy-news-card .news-desc{
    background:transparent;
    text-align:left;
    padding:0;
}

.legacy-news-card .news-desc h4{
    font-size:12px;
    letter-spacing:0.24em;
    text-transform:uppercase;
    color:var(--bs-lightblue);
    border-bottom:1px solid rgba(255,255,255,0.22);
    padding-bottom:8px;
    margin:0 0 14px;
}

.legacy-news-card .news-desc p{
    margin:0;
    font-size:20px;
    line-height:1.35;
    text-transform:uppercase;
    color:#ffffff;
}

.legacy-news-card .news-desc h2{
    margin:0 0 18px !important;
    font-size:24px !important;
    line-height:1.35 !important;
    text-transform:uppercase !important;
    color:#ffffff !important;
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:4 !important;
    overflow:hidden !important;
    min-height:150px !important;
}

.legacy-news-card .news-thumb{
    border-radius:18px;
    overflow:hidden;
    position:relative;
    box-shadow:0 18px 32px rgba(0,0,0,0.35);
}

.legacy-news-card .news-thumb img{
    width:100%;
    display:block;
    object-fit:cover;
}

.legacy-news-card .link-btn{
    align-self:flex-start;
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 24px;
    border:1px solid var(--bs-lightblue);
    border-radius:0;
    background:transparent;
    color:#ffffff !important;
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:0.08em;
    transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.legacy-news-card .link-btn:hover,
.legacy-news-card .link-btn:focus{
    background:var(--bs-lightblue);
    border-color:var(--bs-lightblue);
    color:#ffffff !important;
}

.legacy-news-card .news-thumb + .link-btn{
    margin-top:24px !important;
}

.legacy-news-card .news-thumb img{
    min-height:140px !important;
    object-fit:cover !important;
}

/* Workstation news slider – force cards to match news template design */
body.single-workstation .work-slider[data-slider="news"] .legacy-news-card{
    padding:28px 30px 34px;
    background:rgba(3,21,32,0.94)!important;
    border:1px solid rgba(89,183,179,0.42);
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    gap:24px;
    min-height:100%;
    color:#ffffff;
    position:relative;
    overflow:hidden;
    max-width:340px;
    width:100%;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(89,183,179,0.16) 0%, rgba(3,21,32,0) 60%);
    pointer-events:none;
    opacity:0.8;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card>*{
    position:relative;
    z-index:1;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-desc{
    background:transparent;
    text-align:left;
    padding:0;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-desc h4{
    font-size:12px;
    letter-spacing:0.24em;
    text-transform:uppercase;
    color:var(--bs-lightblue);
    border-bottom:1px solid rgba(255,255,255,0.22);
    padding-bottom:8px;
    margin:0 0 14px;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-desc p{
    margin:0;
    font-size:20px;
    line-height:1.35;
    text-transform:uppercase;
    color:#ffffff;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-desc h2{
    margin:0 0 18px !important;
    font-size:22px !important;
    line-height:1.32 !important;
    text-transform:uppercase !important;
    color:#ffffff !important;
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:3 !important;
    overflow:hidden !important;
    min-height:110px !important;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-thumb{
    border-radius:18px;
    overflow:hidden;
    position:relative;
    box-shadow:0 18px 32px rgba(0,0,0,0.35);
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-thumb img{
    width:100%;
    min-height:140px;
    height:auto;
    object-fit:cover;
    display:block;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .link-btn{
    align-self:flex-start;
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 24px;
    border:1px solid var(--bs-lightblue);
    border-radius:0;
    background:transparent;
    color:#ffffff !important;
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:0.08em;
    transition:background .2s ease,color .2s ease,border-color .2s ease;
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .link-btn:hover,
body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .link-btn:focus{
    background:var(--bs-lightblue);
    border-color:var(--bs-lightblue);
    color:#ffffff !important;
}

/* ========================================
   NEW FIGMA-BASED NEWS CARD DESIGN
   ======================================== */

/* Base card container */
.news-card--figma{
    background:#58B7B3;
    width:454px;
    max-width:100%;
    display:flex;
    flex-direction:column;
    box-shadow:0 8px 24px rgba(0,0,0,0.2);
    overflow:hidden;
    font-family:'Heebo',sans-serif;
}

/* Category strip at top */
.news-card__category{
    background:#58B7B3;
    color:#ffffff;
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.08em;
    padding:12px 20px;
    border-bottom:2px solid #ffffff;
}

/* Title section */
.news-card__title{
    background:#58B7B3;
    padding:16px 20px 20px;
    margin:0;
    min-height:78px;
    display:flex;
    align-items:flex-start;
}

.news-card__title a{
    font-size:20px;
    line-height:26px;
    font-weight:700;
    color:#000000;
    text-decoration:none;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    transition:color 0.3s ease;
}

.news-card__title a:hover{
    color:#042030;
}

/* Publisher logo section */
.news-card__logo{
    width:100%;
    height:200px;
    background:#000000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    box-sizing:border-box;
}

.news-card__logo img{
    max-width:90%;
    max-height:90%;
    object-fit:contain;
    display:block;
}

/* Featured image section */
.news-card__image{
    width:100%;
    height:200px;
    overflow:hidden;
    position:relative;
    background:#f0f0f0;
}

.news-card__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.news-card__image a{
    display:block;
    width:100%;
    height:100%;
}

/* CTA button */
.news-card__cta{
    background:#ffffff;
    border:1px solid #58B7B3;
    color:#58B7B3;
    font-size:16px;
    font-weight:700;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:0.08em;
    padding:14px 20px;
    text-decoration:none;
    transition:all 0.3s ease;
    display:block;
}

.news-card__cta:hover,
.news-card__cta:focus{
    background:#58B7B3;
    border-color:#58B7B3;
    color:#ffffff;
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(88,183,179,0.3);
}

/* Workstation slider specific */
body.single-workstation .work-slider[data-slider="news"] .news-card--figma{
    margin:0 auto;
}

/* Responsive adjustments */
@media (max-width: 767px){
    .news-card--figma{
        width:100%;
        max-width:380px;
        margin:0 auto;
    }
    
    .news-card__logo,
    .news-card__image{
        height:auto;
        min-height:140px;
        aspect-ratio:454 / 200;
    }
    
    .news-card__title{
        min-height:70px;
        padding:14px 18px 16px;
    }
    
    .news-card__title a{
        font-size:18px;
        line-height:24px;
    }
    
    .news-card__category{
        font-size:14px;
        padding:10px 18px;
    }
    
    .news-card__cta{
        font-size:14px;
        padding:12px 18px;
    }
}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-thumb + .link-btn{
    margin-top:24px !important;
}

body.single-workstation .work-slider[data-slider="events"] .event-card__overlay{
    z-index:2 !important;
}

body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group{
    width:100% !important;
    gap:14px !important;
    align-items:center !important;
}

body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group button,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:70% !important;
    max-width:220px !important;
    min-height:46px !important;
    padding:0 28px !important;
    border-radius:0 !important;
    border:1px solid rgba(88,183,179,0.92) !important;
    background:rgba(88,183,179,0.92) !important;
    color:#ffffff !important;
    font-size:13px !important;
    letter-spacing:0.1em !important;
    text-transform:uppercase !important;
    font-weight:700 !important;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease !important;
}

body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group button + button,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group a + a,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group button + a,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group a + button{
    background:rgba(88,183,179,0.78) !important;
    border-color:rgba(88,183,179,0.78) !important;
}

body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group button:hover,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group button:focus,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group a:hover,
body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group a:focus{
    transform:translateY(-2px) !important;
    background:rgba(255,255,255,0.94) !important;
    color:#58B7B3 !important;
    border-color:rgba(255,255,255,0.94) !important;
    box-shadow:0 16px 28px rgba(8,38,45,0.24) !important;
}

/* Workstation sliders use global defaults */
body.single-workstation .work-slider{position:relative;margin:0 -12px;}

body.single-workstation .work-slider .slick-list{overflow:hidden;}

body.single-workstation .work-slider .slick-track{display:flex!important;align-items:stretch;gap:24px;}

body.single-workstation .work-slider .slick-slide{display:flex!important;align-items:stretch;padding:0!important;height:100%;box-sizing:border-box;}

body.single-workstation .work-slider .slick-slide > *{width:100%;display:flex!important;flex-direction:column;height:100%;}

body.single-workstation .work-slider .slick-arrow{top:50%;transform:translateY(-50%);}

body.single-workstation .work-slider .slick-list{
    padding:0 24px;
}

body.single-workstation .work-slider[data-slider="events"] .event-card,
body.single-workstation .work-slider[data-slider="news"] .legacy-news-card,
body.single-workstation .work-slider[data-slider="studies"] .legacy-study-card{
    margin:0 12px;
}

/* Safeguard overrides to neutralise legacy child rules */
body.single-workstation #work_event .work-slider[data-slider="events"] .slick-slide,
body.single-workstation #work_news .work-slider[data-slider="news"] .slick-slide{
    padding:0!important;
    display:flex!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .slick-slide > *,
body.single-workstation #work_news .work-slider[data-slider="news"] .slick-slide > *{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__media{
    position:relative!important;
    margin:22px 24px 0!important;
    overflow:hidden!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__media::after{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:40px!important;
    background:rgba(88,183,179,0.94)!important;
    pointer-events:none!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__overlay{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(8,38,45,0) 0%,rgba(8,38,45,0.9) 100%)!important;
    padding:20px 24px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    transition:opacity .25s ease!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__media:hover .event-card__overlay,
body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__media:focus-within .event-card__overlay{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__cta-group{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:12px!important;
}

body.single-workstation #work_event .work-slider[data-slider="events"] .event-card__cta-group .btn{
    width:100%!important;
    max-width:220px!important;
    text-transform:uppercase!important;
    font-weight:700!important;
    letter-spacing:0.08em!important;
}

body.single-workstation #work_news .work-slider[data-slider="news"] .legacy-news-card{
    margin:0 auto!important;
    min-height:100%!important;
}

@media (max-width: 767px){
    body.single-workstation .work-slider .slick-track{
        display:block!important;
        gap:0!important;
    }

    body.single-workstation .work-slider .slick-list{
        padding:0 24px!important;
        overflow:hidden!important;
    }

    body.single-workstation .work-slider .slick-slide{
        float:none!important;
        width:auto!important;
        margin:0 auto!important;
        display:flex!important;
        justify-content:center;
        padding:0!important;
    }

    body.single-workstation .work-slider .slick-slide > *{
        width:calc(100vw - 96px);
        max-width:320px;
        margin:0 auto;
    }

    body.single-workstation #work_news .work-slider .slick-track{
        gap:0!important;
    }

    body.single-workstation #work_news .work-slider .slick-list{
        padding:0 16px!important;
    }

    body.single-workstation #work_news .work-slider .slick-arrow{
        display:block!important;
        opacity:1!important;
        visibility:visible!important;
    }

    body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-desc h2{
        margin:0 0 16px!important;
        font-size:14px!important;
        line-height:1.3!important;
        min-height:100px!important;
    }

    body.single-workstation .work-slider[data-slider="news"] .legacy-news-card .news-thumb img{
        min-height:100px!important;
        object-fit:cover!important;
    }

    body.single-workstation #work_event .work-slider .slick-track,
    body.single-workstation #work_studies .work-slider .slick-track{
        gap:0!important;
    }

    body.single-workstation #work_event .work-slider .slick-list,
    body.single-workstation #work_studies .work-slider .slick-list{
        padding:0 16px!important;
    }

    body.single-workstation #work_event .work-slider .slick-arrow,
    body.single-workstation #work_studies .work-slider .slick-arrow{
        display:block!important;
        opacity:1!important;
        visibility:visible!important;
    }

    body.single-workstation .work-slider[data-slider="events"] .event-card__media{
        margin:0!important;
    }

    body.single-workstation .work-slider[data-slider="events"] .event-card__image{
        width:100%!important;
        height:auto!important;
        object-fit:cover!important;
        display:block!important;
    }

    body.single-workstation .work-slider[data-slider="events"] .event-card,
    body.single-workstation .work-slider[data-slider="news"] .legacy-news-card,
    body.single-workstation .work-slider[data-slider="studies"] .legacy-study-card{
        margin:0 auto!important;
    }
}

/* Desktop only - mobile handled by child-mobile.css */
@media (min-width: 768px) {
body.single-workstation .work-slider[data-slider="events"] .event-card{background:rgba(88,183,179,0.94);border:1px solid rgba(8,38,45,0.18);box-shadow:0 24px 50px rgba(8,38,45,0.24);color:#042030;display:flex;flex-direction:column;min-height:100%;overflow:hidden;}

body.single-workstation .work-slider[data-slider="events"] .event-card__media{position:relative;margin:22px 24px 0;overflow:hidden;background:transparent;}

body.single-workstation .work-slider[data-slider="events"] .event-card__media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40px;background:rgba(88,183,179,0.94);pointer-events:none;}

body.single-workstation .work-slider[data-slider="events"] .event-card__image{display:block;width:100%;height:100%;object-fit:cover;}

body.single-workstation .work-slider[data-slider="events"] .event-card__overlay{position:absolute!important;left:0;right:0;bottom:0;opacity:0;visibility:hidden;pointer-events:none;background:linear-gradient(180deg,rgba(8,38,45,0) 0%,rgba(8,38,45,0.9) 100%);padding:20px 24px 24px;display:flex;flex-direction:column;gap:14px;transition:opacity .25s ease;}

body.single-workstation .work-slider[data-slider="events"] .event-card__cta-group{display:flex!important;flex-direction:column;gap:12px;align-items:center;}

body.single-workstation .work-slider[data-slider="events"] .event-card__overlay .btn{width:100%;max-width:220px;text-transform:uppercase;font-weight:700;letter-spacing:0.08em;}

body.single-workstation .work-slider[data-slider="events"] .event-card__media:hover .event-card__overlay,
body.single-workstation .work-slider[data-slider="events"] .event-card__media:focus-within .event-card__overlay{opacity:1;visibility:visible;pointer-events:auto;}

body.single-workstation .work-slider[data-slider="news"] .legacy-news-card{margin:0 auto;min-height:100%;}
}

