/* Therapies page styling */
.content-page-therapies {
    --thera-accent: #00a9a0;
    --thera-ink: #111517;
    --thera-muted: #4a5a61;
    --thera-soft: #d7e9e8;
    background: #f6f8fa;
}

.content-page-therapies .content-hero {
    position: relative;
    padding: 210px 0;
    background: #ffffff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.content-page-therapies .content-hero .page-breadcrumb {
    position: absolute;
    top: 22px;
    left: var(--container-gutter);
    margin: 0;
}

.content-page-therapies .content-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.content-page-therapies .content-hero-actions {
    display: grid;
    gap: 14px;
    justify-items: end;
}

.content-page-therapies .content-hero h1 {
    font-size: clamp(58px, 10vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0;
    font-weight: 500;
    color: var(--thera-ink);
}

.content-page-therapies .hero-action-btn {
    background: var(--thera-accent);
    color: #fff;
    text-decoration: none;
    padding: 18px 28px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
}

/* Therapies list */
.content-page-therapies .block-therapy-categories {
    background: var(--thera-soft);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 72px 0 64px;
}

.content-page-therapies .block-therapy-categories h2 {
    text-align: center;
    margin: 0 0 40px;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 500;
    color: var(--thera-ink);
}

.content-page-therapies .therapy-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.content-page-therapies .therapy-category h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-page-therapies .category-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.content-page-therapies .category-number {
    color: rgba(0, 169, 160, 0.35);
    font-size: 28px;
    font-weight: 500;
}

.content-page-therapies .therapy-category ul {
    margin: 0;
    padding: 0 0 0 18px;
    color: var(--thera-muted);
    line-height: 1.6;
}

.content-page-therapies .therapy-category li {
    margin: 6px 0;
}

/* Feature blocks */
.content-page-therapies .block-therapy-feature {
    margin: 0;
    padding: 96px 0;
}

.content-page-therapies .therapy-feature-inner {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.content-page-therapies .block-therapy-feature.image-right .therapy-feature-inner,
.content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.content-page-therapies .therapy-feature-media {
    border-radius: 20px;
    padding: 24px;
    display: grid;
    place-items: center;
    overflow: visible;
    background: #0aa39a;
    box-shadow: 0 18px 38px rgba(0,0,0,0.08);
    max-width: 310px;
    width: 100%;
    aspect-ratio: 3 / 5;
    justify-self: start;
    margin-left: -8%;
}

.content-page-therapies .block-therapy-feature.image-left,
.content-page-therapies .block-therapy-feature.image-right {
    background: #ffffff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 96px 0;
}

.content-page-therapies .block-therapy-feature.image-left-product,
.content-page-therapies .block-therapy-feature.image-right-product {
    background: #d7e9e8;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 96px 0;
}

.content-page-therapies .block-therapy-feature.image-left .therapy-feature-inner,
.content-page-therapies .block-therapy-feature.image-right .therapy-feature-inner,
.content-page-therapies .block-therapy-feature.image-left-product .therapy-feature-inner,
.content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-page-therapies .block-therapy-feature.image-left .therapy-feature-media {
    margin-left: 0;
    transform: translateX(16px);
}

.content-page-therapies .block-therapy-feature.image-left-product .therapy-feature-media,
.content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-media {
    background: transparent;
    border-radius: 0;
    padding: 0;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    margin-left: 0;
    box-shadow: none;
    overflow: hidden;
    justify-self: start;
    transform: translateX(16px);
}

.content-page-therapies .block-therapy-feature.image-left-product .therapy-feature-media img,
.content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    border-radius: 0;
}

.content-page-therapies .therapy-feature-media img {
    height: auto;
    object-fit: contain;
    display: block;
    width: 125%;
    transform: translate(20%, 18%);
    border-radius: 50%;
    mix-blend-mode: normal;
}


.content-page-therapies .therapy-feature-content h3 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 600;
}

.content-page-therapies .feature-kicker {
    margin: 0;
    color: var(--thera-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.content-page-therapies .feature-tag {
    display: inline-block;
    margin: 6px 0 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef3f5;
    color: #2a3b42;
    font-size: 13px;
}

.content-page-therapies .block-therapy-feature .rich-text {
    color: var(--thera-muted);
    line-height: 1.7;
}

.content-page-therapies .feature-cta {
    display: inline-flex;
    margin-top: 16px;
    color: #0b1113;
    font-weight: 600;
    text-decoration: none;
}

/* Products preview tweaks */
.content-page-therapies .block-products-preview h2 {
    text-align: center;
    font-size: clamp(30px, 4.6vw, 52px);
}

.content-page-therapies .block-products-preview p {
    text-align: center;
    color: var(--thera-muted);
}

.content-page-therapies .block-products-preview {
    background: #ffffff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 96px 0 112px;
}

.content-page-therapies .block-products-preview .products-grid {
    max-width: 1320px;
    margin: 32px auto 0;
    padding: 0 24px;
    gap: 32px;
}

.content-page-therapies .block-products-preview .product-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
}

.content-page-therapies .block-products-preview .product-card .thumb {
    height: 520px;
    border-radius: 0;
    background-color: transparent;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.content-page-therapies .block-products-preview .product-card .content {
    padding: 4px 4px 0;
    gap: 6px;
}

.content-page-therapies .block-products-preview .product-card h3 {
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    font-weight: 700;
    margin-bottom: 6px;
}

.content-page-therapies .block-products-preview .product-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.content-page-therapies .block-products-preview .product-card p {
    text-align: left;
    color: #3b4251;
    font-size: 15px;
    line-height: 1.5;
}

.content-page-therapies .block-products-preview .product-card .actions {
    display: none;
}

.content-page-therapies .products-preview-cta {
    display: flex;
    justify-content: center;
    margin: 18px 0 36px;
}

.content-page-therapies .products-preview-cta .btn-secondary {
    background: var(--thera-accent);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,169,160,0.18);
}


@media (max-width: 900px) {
    .content-page-therapies .content-hero-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .content-page-therapies .content-hero-actions {
        justify-items: start;
    }
    .content-page-therapies .therapy-feature-inner,
    .content-page-therapies .block-therapy-feature.image-right .therapy-feature-inner,
    .content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-inner {
        grid-template-columns: 1fr;
    }
    .content-page-therapies .block-therapy-feature {
        padding: 72px 0;
    }
    .content-page-therapies .block-therapy-feature.image-left,
    .content-page-therapies .block-therapy-feature.image-right,
    .content-page-therapies .block-therapy-feature.image-left-product,
    .content-page-therapies .block-therapy-feature.image-right-product {
        padding: 72px 0;
    }
    .content-page-therapies .therapy-feature-media {
        justify-self: center;
        margin-left: 0;
        max-width: 260px;
        padding: 20px;
    }
    .content-page-therapies .block-therapy-feature.image-left .therapy-feature-media {
        transform: none;
    }
    .content-page-therapies .block-therapy-feature.image-left-product .therapy-feature-media,
    .content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-media {
        max-width: 300px;
        padding: 0;
    }
    .content-page-therapies .therapy-feature-media img {
        width: 110%;
        transform: translate(10%, 12%);
    }
    .content-page-therapies .block-therapy-feature.image-left-product .therapy-feature-media img,
    .content-page-therapies .block-therapy-feature.image-right-product .therapy-feature-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }
}
