/* ==========================================================================
   Condition Detail Pages (wm_service CPT) Custom Stylesheet
   ========================================================================== */

/* ── Global/Common Utilities for Condition Details ─────────────────────── */
.bg-wm-cream-soft {
    background-color: #FAF8F5 !important;
}

.wm-section-padding {
    padding: 130px 0 110px;
}

.wm-tagline-line {
    width: 30px;
    height: 1px;
    background: var(--wm-heading);
    display: inline-block;
    margin-right: 10px;
}

.wm-tagline-text {
    letter-spacing: 2px;
    color: var(--wm-subheading);
}

.wm-section-title {
    color: #2E3030;
    font-family: var(--font-heading);
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
}

@media (min-width: 992px) {

    .wm-section-title,
    .cd-hero-title {
        font-size: 3.8rem !important;
    }
}

.wm-section-divider {
    width: 55px;
    height: 3px;
    background-color: #A2D3CD;
    margin: 24px 0 28px;
    border-radius: 2px;
}

.wm-body-desc {
    color: #60403E;
    font-size: 1.1rem;
    line-height: 1.75;
    font-family: var(--font-body);
}

.wm-card-title {
    color: #2E3030;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    line-height: 1.4;
    font-weight: 700;
}

.wm-z-index-2 {
    z-index: 2 !important;
}

.wm-z-index-10 {
    z-index: 10 !important;
}

.btn-wm-primary:hover {
    box-shadow: 0 10px 20px rgba(114, 165, 159, 0.2) !important;
}

/* ── Section 1: Hero ────────────────────────────────────────────────────── */
body .condition-hero-section {
    min-height: 900px !important;
    padding: 0 !important;
    overflow: visible;
    display: flex;
    align-items: stretch;
    background: var(--hero-background-color);
}

.condition-hero-section>.container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-height: 900px;
    padding-top: 60px;
    padding-bottom: 60px;
}


.condition-hero-section .tagline-dot {
    background: #ffffff;
}

.condition-hero-section .tagline-text {
    color: #ffffff;
}

.condition-hero-section .btn-wm-primary {
    background: white !important;
    color: #347d75 !important;
    border: 1px solid transparent !important
}

.condition-hero-section .btn-wm-primary:hover {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important
}

.condition-hero-section .btn-wm-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.cd-hero-tagline-pill {
    display: inline-block;
    background-color: #FAEAE6;
    color: #B06060;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.condition-differences-section {
    min-height: 1100px;
    ;
}

.cd-hero-title {
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 16px;
    max-width: 700px;
}

.cd-hero-divider {
    width: 44px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    margin-bottom: 22px;
}

.cd-hero-desc {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 440px;
}

.cd-hero-desc p {
    color: #ffffff;
}

.condition-hero-section .btn-wm-primary {
    margin-bottom: 36px;
}

.cd-feat-bar {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cd-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 4px 16px;
}

.cd-feat-item:first-child {
    padding-left: 4px;
}

.cd-feat-item:last-child {
    padding-right: 4px;
}

.cd-feat-sep {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    align-self: stretch;
    flex-shrink: 0;
    margin: 4px 0;
}

.cd-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-feat-icon svg,
.cd-feat-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.cd-feat-label {
    font-size: 0.83rem;
    font-weight: 600;
    color: #1C1C1E;
    line-height: 1.3;
}

.cd-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.cd-hero-img-wrap {
    position: relative;
    display: inline-block;
    width: 690px;
    max-width: 100%;
}

.cd-hero-img-border {
    position: absolute;
    top: 18px;
    left: 128px;
    right: -18px;
    bottom: -18px;
    border: 2px solid rgba(162, 211, 205, 0.65);
    border-radius: 260px 260px 84px 260px;
    pointer-events: none;
    z-index: 1;
    width: 460px;
}

.cd-hero-img-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: auto;
    height: 626px;
}

.cd-hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

/* ── Section 2: Symptoms ────────────────────────────────────────────────── */
.condition-symptoms-section {
    min-height: 1200px !important;
}

.symptoms-badges-stack {
    max-width: 600px;
    margin: 40px 0 0 auto;
    padding: 40px 30px 40px 90px;
    border: 1px solid #5ba8a0;
    border-radius: 50px 0 50px 0;
}

.symptom-pill-card {
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
    padding: 10px;
    min-height: 150px;
    border-radius: 10px;
}

.symptom-pill-card:hover {
    transform: translateY(-5px);
}

.symptom-icon-wrap {
    width: 90px;
    height: 90px;
    min-width: 90px;
}

.symptom-icon-wrap img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.symptom-text {
    color: #2E3030;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-transform: capitalize;
}

.wm-section-separator {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    z-index: 10;
    pointer-events: none;
}

.wm-section-separator-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(229, 197, 144, 0) 0%, rgba(229, 197, 144, 0.4) 15%, rgba(162, 211, 205, 0.5) 50%, rgba(229, 197, 144, 0.4) 85%, rgba(229, 197, 144, 0) 100%);
    position: relative;
}

.wm-section-separator-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f5f5f5;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Section 3: Differences ────────────────────────────────────────────── */
.differences-body-desc {
    max-width: 530px;
}



.diff-lifecycle-bar {
    max-width: 620px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 30px;
    margin-top: 30px;
}

.diff-lifecycle-item {
    transition: transform 0.25s ease;
}

.diff-lifecycle-item:hover {
    transform: translateY(-2px);
}

.diff-lifecycle-icon {
    width: 36px;
    height: 36px;
}

.diff-lifecycle-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.diff-lifecycle-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #2E3030;
}

.diff-lifecycle-sep {
    width: 1px;
    height: 20px;
    background-color: #E2E2E2;
}

.differences-arch-container {
    width: 100%;
    max-width: 500px;
    padding: 40px 0;
}

.diff-bg-circle-blue {
    display: none !important;
    width: 340px;
    height: 340px;
    background-color: #D5E8F2;
    opacity: 0.65;
    bottom: -20px;
    left: -60px;
    z-index: 1;
    filter: blur(30px);
    pointer-events: none;
}

.diff-bg-circle-peach {
    display: none !important;
    width: 300px;
    height: 300px;
    background-color: #F2DEDD;
    opacity: 0.65;
    bottom: 0px;
    right: -40px;
    z-index: 1;
    filter: blur(30px);
    pointer-events: none;
}

.diff-arch-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.diff-img-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(162, 211, 205, 0.55);
    border-radius: 245px 245px 30px 245px;
    pointer-events: none;
    z-index: 1;
}

.diff-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 245px 245px 30px 245px;
    overflow: visible;
    width: 100%;
    height: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.diff-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.diff-img-frame img:hover {
    transform: scale(1.04);
}

.diff-floating-stat-card {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.diff-floating-stat-card:hover {
    transform: translateX(-50%) translateY(-5px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

.diff-stat-number {
    color: #3C867C;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 5px;
    font-size: 3.5rem;
}

.diff-stat-title {
    color: #2E3030;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.25;
    text-transform: capitalize;
}

.diff-stat-divider {
    width: 35px;
    height: 1.5px;
    background-color: rgba(98, 184, 174, 0.3);
    margin: 0 auto 12px;
}

.diff-stat-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #60403E;
    font-family: var(--font-body);
}

/* Differences section: when no image is set */
.diff-img-frame--empty {
    display: none !important;
}

/* When no image, stat card is relative (handled via PHP class toggle) */
.diff-col-no-image .differences-arch-container {
    padding: 20px 0;
}

.diff-col-no-image .diff-bg-circle-blue,
.diff-col-no-image .diff-bg-circle-peach {
    display: none;
}

/* ── Section 4: How We Help ─────────────────────────────────────────────── */
.help-bg-pink-blob {
    display: none !important;
    bottom: 0;
    left: 0;
    width: 220px;
    height: 260px;
    z-index: 1;
    pointer-events: none;
    transform: translate(-20px, 40px);
}

.help-bg-blue-wave {
    display: none !important;
    bottom: 0;
    left: 0;
    width: 560px;
    height: 260px;
    z-index: 1;
    pointer-events: none;
}

.help-bg-floral-top {
    top: 25px;
    left: 45%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

.help-body-desc {
    max-width: 520px;
}

.help-arch-visual-container {
    width: 100%;
    max-width: 395px;
    aspect-ratio: 395 / 495;
    margin: 40px auto 0 !important;
}

.solution-grid-card {
    padding: 40px !important;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(46, 48, 48, 0.03) !important;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.solution-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 48, 48, 0.08) !important;
}

.solution-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-icon-box img,
.solution-icon-box svg {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.solution-grid-card:hover .solution-icon-box {
    transform: scale(1.08);
}

.help-bottom-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #60403E;
    font-family: var(--font-body);
    text-align: left;
    /* max-width: 600px; */
}

/* ── Section 5: Journey ─────────────────────────────────────────────────── */
.journey-body-desc {
    max-width: 760px;
}

.journey-steps-wrapper {
    z-index: 2;
}

.journey-card {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(46, 48, 48, 0.03) !important;
    padding: 40px 24px !important;
    height: 100% !important;
    z-index: 2 !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.journey-step-column {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.journey-step-column:hover {
    transform: translateY(-8px) !important;
}

.journey-step-column:hover .journey-card {
    box-shadow: 0 20px 45px rgba(60, 134, 124, 0.06) !important;
}

.journey-icon-wrap {
    width: 80px;
    height: 80px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.journey-step-column:hover .journey-icon-wrap {
    transform: scale(1.08) !important;
}

.journey-step-title {
    color: #2E3030;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    line-height: 1.35;
    font-weight: 700;
    margin-top: 24px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-step-divider {
    width: 40px;
    height: 1px;
    background-color: rgba(162, 211, 205, 0.5);
    margin: 16px auto;
}

.journey-step-desc {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #736E6A !important;
    font-family: var(--font-body);
}

.journey-bottom-msg {
    color: #736E6A !important;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}



/* ── Section 6: FAQs ────────────────────────────────────────────────────── */
.faqs-body-desc {
    max-width: 760px;
}

.faq-accordion-card {
    padding: 40px !important;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(46, 48, 48, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    gap: 24px !important;
}

.faq-accordion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(60, 134, 124, 0.06) !important;
}

.faq-icon-circle {
    width: 56px;
    height: 56px;
    background-color: #EAF4F2;
    color: #3C867C;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 30px;
}

.faq-accordion-card:hover .faq-icon-circle {
    transform: scale(1.08);
}

.faq-answer-inner {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #60403E !important;
    font-weight: 400;
    font-family: var(--font-body);
}

/* ── Section 7: Footer CTA ──────────────────────────────────────────────── */
body .condition-footer-cta-section {
    height: 800px;
    max-height: 800px;
    min-height: 800px !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.condition-footer-cta-section .container {
    width: 100%;
}

.footer-cta-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.footer-cta-desc {
    max-width: 680px;
}



.btn-wm-contact-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF !important;
    border: 1px solid #BACCDD !important;
    color: #2E3030 !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 12px;
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.btn-wm-contact-us:hover {
    background-color: #BACCDD !important;
    color: #FFFFFF !important;
    border-color: #BACCDD !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(186, 204, 221, 0.3);
}

.footer-cta-features-bar {
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(46, 48, 48, 0.03) !important;
    max-width: max-content;
    padding: 16px 40px !important;
    min-height: 120px;
}

.footer-feature-item {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #60403E !important;
    transition: all 0.3s ease !important;
    cursor: default;
}

.footer-feature-item:hover {
    color: #3C867C !important;
}

.footer-feature-divider {
    font-size: 0.9rem;
    color: rgba(60, 134, 124, 0.25) !important;
    font-weight: 300;
}

.footer-divider-wrap {
    line-height: 0;
    position: relative;
    z-index: 2;
    margin-top: -160px;
}

.footer-divider-wrap img {
    width: 100%;
    display: block;
    height: auto;
}

/* ==========================================================================
   Responsive Adjustments & Media Queries
   ========================================================================== */

@media (min-width: 992px) {
    .help-arch-visual-container {
        margin: 40px 0 0 !important;
    }
}

@media (max-width: 991px) {

    /* Hero */
    .condition-hero-section {
        min-height: unset !important;
        padding: 90px 0 40px !important;
    }

    .condition-hero-section>.container {
        min-height: unset;
        padding-top: 0;
        padding-bottom: 0;
    }



    .cd-hero-right {
        margin-top: 40px;
    }

    .cd-feat-bar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cd-feat-sep {
        display: none;
    }

    .cd-feat-item {
        padding: 4px 8px;
        min-width: 120px;
    }

    .cd-hero-img-frame {
        width: 100% !important;
        height: 420px !important;
    }

    .cd-hero-img-wrap {
        width: 100% !important;
    }

    /* Symptoms */
    .symptoms-badges-stack {
        margin: 40px auto 0 !important;
    }

    /* Differences */
    .condition-differences-section {
        padding: 80px 0 !important;
    }

    .diff-lifecycle-bar {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 12px 20px;
        border-radius: 20px !important;
        padding: 20px 15px !important;
    }

    .diff-lifecycle-sep {
        display: none;
    }

    .differences-arch-container {
        margin-top: 40px;
    }

    /* How We Help */
    .condition-help-section {
        padding: 80px 0 !important;
    }

    .help-arch-visual-container {
        margin-top: 40px;
    }

    /* Footer CTA */
    .footer-cta-features-bar {
        border-radius: 24px !important;
        max-width: 100%;
        justify-content: center;
        padding: 20px 24px !important;
        gap: 12px !important;
        min-height: inherit;
    }

    .footer-feature-divider {
        display: none;
    }

    .footer-divider-wrap {
        margin-top: -80px;
    }
}

@media (max-width: 575px) {

    /* Differences Floating Card */
    .diff-floating-stat-card {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin-top: 40px !important;
        transform: none !important;
    }

    .diff-floating-stat-card:hover {
        transform: translateY(-5px) !important;
    }

    .diff-img-frame {
        height: 440px !important;
    }
}

.condition-differences-section .wm-tagline-text,
.condition-differences-section .wm-tagline-line,
.condition-differences-section .differences-body-desc p,
.condition-differences-section .wm-section-title {
    color: white !important
}

.condition-differences-section .btn-wm-primary {
    background: white !important;
    color: #5ba8a0 !important
}

.condition-section-divider {
    width: 100% !important;
    display: block;
}

.condition-section-divider img {
    width: 100% !important;
    height: auto;
}