.wm-service-single {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 0;
    box-sizing: border-box;
}

.wm-service-single-container {
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
}

.wm-service-single-header {
    margin-bottom: 60px;
    text-align: center;
}

.wm-service-single-header h1 {
    margin: 0;
    color: #26379d;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1;
    font-weight: 700;
}

/* Hero */
.wm-service-single-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 65vw, 580px);
    overflow: hidden;
    /*border-radius: 25px;*/
    background: #000;
    margin-bottom: 50px;
}

.wm-service-hero-native-video,
.wm-service-single-hero > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.wm-service-hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    border: 0;
    transform: translate(-50%, -50%);
}

.embed-root img, .embed-root video {
    object-fit: cover!important;
}

/* Medical services */
.wm-medical-services-section {
    margin-bottom: 80px;
}

.wm-medical-services-header {
    margin-bottom: 40px;
    text-align: center;
}

.wm-medical-services-header h2 {
    margin: 0;
    color: #000000;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
}

.wm-medical-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.wm-medical-service-card {
    border-radius: 34px;
    padding: 42px 32px;
    background: #507D5A;
    color: #fff;
}

.wm-medical-service-card h3 {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1.35;
    font-weight: 700;
}

.wm-medical-service-card p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    font-size: 18px;
    line-height: 1.8;
}

/* Showcase Services*/
.wm-service-hero-title {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wm-service-hero-title h1 {
    margin: 0;
    color: #26379d;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1;
    font-weight: 800;
}

/* Overview */
.wm-service-overview {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.wm-service-overview p {
    margin: 0;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
}

.wm-service-showcase-sections {
    display: grid;
    gap: 42px;
    margin: 70px 0;
}

.wm-service-showcase-row {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 46px;
    align-items: center;
}

.wm-service-showcase-content h2 {
    margin: 0 0 22px;
    color: #000000;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
}

.wm-service-showcase-content {
    color: #222;
    font-size: 17px;
    line-height: 1.65;
}

.wm-service-showcase-media {
    display: grid;
    gap: 28px;
}

.wm-service-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
}

.wm-service-showcase-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    display: block;
    padding-left: 150px;
    background: #000000;
}

.wm-service-showcase-card span {
    position: absolute;
    left: 28px;
    top: 50%;
    max-width: 105px;
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    transform: translateY(-50%);
}

/* Process */
.wm-service-process-section {
    margin-top: 30px;
}

.wm-service-process-header {
    margin-bottom: 24px;
    text-align: center;
}

.wm-service-process-header h2 {
    margin: 0;
    color: #000000;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
    text-align: start;
}

.wm-service-process-description {
    margin: 0 auto 50px;
    color: #222;
    font-size: 20px;
    line-height: 1.8;
}

.wm-service-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.wm-service-process-card {
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
}

.wm-service-process-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.wm-service-process-caption {
    padding: 18px 24px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Custom section */
.wm-service-custom-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
    margin-top: 80px;
}

.wm-service-custom-content h2 {
    margin: 0 0 24px;
    color: #000000;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
}

.wm-service-custom-content p {
    margin: 0;
    color: #222;
    font-size: 20px;
    line-height: 1.8;
}

.wm-service-custom-image {
    overflow: hidden;
    border-radius: 28px;
}

.wm-service-custom-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) and (max-width: 1399px) {
    .wm-service-single {
        padding: 20px;
    }
}

@media (max-width: 1199px) {
    .wm-service-single-hero {
        height: clamp(320px, 60vw, 450px);
        /*border-radius: 20px;*/
    }
}

@media (max-width: 991px) {
    .wm-service-single {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .wm-service-single-hero {
        height: clamp(220px, 50vw, 350px);
        /*border-radius: 20px;*/
    }

    .wm-medical-services-grid,
    .wm-service-process-grid,
    .wm-service-custom-section {
        grid-template-columns: 1fr;
    }
    
    .wm-service-showcase-row {
        grid-template-columns: 1fr;
    }

    .wm-service-showcase-card img {
        height: 300px;
    }

    .wm-service-process-image img,
    .wm-service-custom-image img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .wm-service-single-container {
        padding: 30px 0;
    }

    .wm-service-single-header {
        margin-bottom: 42px;
    }

    .wm-service-single-hero {
        height: clamp(180px, 45vw, 350px);
        /*border-radius: 20px;*/
    }

    .wm-medical-services-section {
        margin-bottom: 60px;
    }

    .wm-medical-service-card {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .wm-medical-service-card p,
    .wm-service-process-description,
    .wm-service-custom-content p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .wm-service-hero-title {
        min-height: auto;
        margin-bottom: 30px;
    }

    .wm-service-showcase-sections {
        margin: 50px 0;
    }

    .wm-service-showcase-card img {
        height: 260px;
        padding-left: 115px;
    }

    .wm-service-showcase-card span {
        left: 20px;
        max-width: 80px;
        font-size: 11px;
    }

    .wm-service-process-image img,
    .wm-service-custom-image img {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .wm-service-single-hero {
        height: clamp(140px, 40vw, 200px);
        border-radius: 15px;
    }
    
    .wm-service-showcase-card img {
        height: 230px;
        padding-left: 95px;
    }

    .wm-service-process-image img,
    .wm-service-custom-image img {
        height: 260px;
    }
}

/* New Service Single Sections */
.wm-service-video-grid-section,
.wm-service-feature-bg-section,
.wm-service-why-section {
    margin: 70px 0;
}

.wm-service-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.wm-service-video-card,
.wm-service-why-card {
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.wm-service-video-media,
.wm-service-why-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.wm-service-video-media iframe,
.wm-service-video-media video,
.wm-service-video-media img,
.wm-service-why-media iframe,
.wm-service-why-media video,
.wm-service-why-media img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.wm-service-video-caption,
.wm-service-why-caption {
    min-height: 56px;
    padding: 14px 16px;
    text-align: center;
    color: #fff;
    background: #000000;
    font-weight: 700;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.wm-service-video-caption span {
    font-size: 12px;
    font-weight: 600;
}

.wm-service-feature-bg-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
    min-height: 520px;
    background: #7f8782;
    border-radius: 25px;
    overflow: hidden;
}

.wm-service-feature-bg-left {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.wm-service-feature-bg-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(70, 78, 75, 0.55);
}

.wm-service-feature-overlay {
    position: relative;
    z-index: 1;
    padding: clamp(35px, 6vw, 70px);
    color: #fff;
}

.wm-service-feature-overlay h2 {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
}

.wm-service-feature-overlay p,
.wm-service-feature-overlay li {
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
}

.wm-service-feature-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 50px);
}

.wm-service-feature-right img {
    width: auto;
    height: 80%;
    border-radius: 16px;
    display: block;
}

.wm-service-why-section > h2 {
    margin: 0 0 55px;
    color: #000000;
    text-align: start;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
}

.wm-service-why-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
    gap: clamp(35px, 7vw, 90px);
    align-items: start;
}

.wm-service-why-text {
    color: #050505;
    font-size: clamp(17px, 1.7vw, 23px);
    line-height: 1.38;
}

.wm-service-why-text ul {
    margin-top: 40px;
}

.wm-service-why-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 90px;
    align-items: start;
}

.wm-service-why-card {
    max-width: 450px;
}

.wm-service-why-card-2 {
    margin-top: 50px;
}

.wm-service-why-card-3 {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 450px;
    margin-top: -80px;
}

@media (max-width: 1024px) {
    .wm-service-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wm-service-feature-bg-section,
    .wm-service-why-layout {
        grid-template-columns: 1fr;
    }

    .wm-service-feature-right {
        padding-top: 0;
    }

    .wm-service-why-cards {
        gap: 35px;
    }

    .wm-service-why-card-2,
    .wm-service-why-card-3 {
        margin-top: 0;
        grid-column: auto;
        justify-self: auto;
    }
}

@media (max-width: 640px) {
    .wm-service-video-grid,
    .wm-service-why-cards {
        grid-template-columns: 1fr;
    }

    .wm-service-feature-bg-left {
        min-height: auto;
    }

    .wm-service-feature-overlay {
        padding: 30px 22px;
    }

    .wm-service-why-section > h2 {
        margin-bottom: 28px;
    }

    .wm-service-why-text {
        padding-left: 0;
        font-size: 17px;
    }
}
