/* =====================================================================
   Cancer-treatment pages — /location/<slug>/cancer-treatment/<cancer>/
   Follows the location design system: Poppins, --brandClr purple,
   pink accents, and the dual rem scale (html = 5.31vw mobile, 2.76vw ≥768px),
   so every value has a mobile size and a ≥768px override.
   ===================================================================== */

.ct-breadcrumb {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem 1.2rem 0.2rem;
    font-size: 0.845rem;
    color: #5a5b60;
}

.ct-breadcrumb a {
    color: var(--brandClr, #802a8f);
    text-decoration: none;
    font-weight: 500;
}

.ct-breadcrumb a:hover,
.ct-breadcrumb a:focus-visible {
    text-decoration: underline;
}

/* ── Hero ── */
.ct-hero {
    margin: 0 auto;
    padding: 0.8rem 1.2rem 1rem;
    background: linear-gradient(180deg, #fff3f8 0%, #ffffff 100%);
}

.ct-hero h1 {
    font-size: 1.495rem;
    font-weight: 700;
    line-height: 130%;
    color: var(--brandClr, #802a8f);
    margin: 0 0 0.4rem;
}

.ct-hero p {
    font-size: 0.91rem;
    font-weight: 400;
    line-height: 145%;
    color: #5a5b60;
    margin: 0;
}

.ct-cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.ct-cta a,
.ct-cta button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    padding: 0 1.2rem;
    border-radius: 2.4rem;
    font-size: 1.04rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.ct-cta .ct-call {
    background-color: var(--brandClr, #802a8f);
    color: #fdfdfd;
}

.ct-cta .ct-call:hover {
    background-color: #6a2377;
}

.ct-cta .ct-book {
    background-color: #fff3f8;
    color: #c7527f;
    border: 1px solid #f0d0dd;
}

.ct-cta .ct-book:hover {
    background-color: #ffe5f0;
}

.ct-cta a:focus-visible,
.ct-cta button:focus-visible {
    outline: 2px solid var(--brandClr, #802a8f);
    outline-offset: 2px;
}

/* ── Sections ── */
.ct-section {
    margin: 1.6rem auto;
    padding: 0 1.2rem;
}

.ct-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 140%;
    color: var(--brandClr, #802a8f);
    margin: 0 0 0.5rem;
}

.ct-section p,
.ct-section li {
    font-size: 0.91rem;
    font-weight: 400;
    line-height: 150%;
    color: #5a5b60;
}

.ct-section p {
    margin: 0 0 0.3rem;
}

.ct-section ul {
    margin: 0.2rem 0 0 1rem;
    padding: 0;
}

.ct-link {
    color: var(--brandClr, #802a8f);
    font-weight: 500;
    text-decoration: underline;
}

.ct-link:hover {
    color: #c7527f;
}

/* ── Symptom / risk-factor cards ── */
.ct-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.ct-card {
    background-color: #fff3f8;
    border: 1px solid #f0d0dd;
    border-radius: 0.4rem;
    padding: 0.7rem 0.8rem;
}

.ct-card h2 {
    font-size: 1.105rem;
    margin-bottom: 0.25rem;
}

.ct-card ul {
    margin: 0.2rem 0 0 1rem;
}

/* ── Local centre block ── */
.ct-local {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: flex-start;
}

.ct-local-info {
    flex: 1 1 100%;
}

.ct-local-info p {
    margin: 0 0 0.25rem;
}

.ct-local-info strong {
    color: #444444;
    font-weight: 600;
}

.ct-local iframe {
    flex: 1 1 100%;
    width: 100%;
    min-height: 9rem;
    border: 0;
    border-radius: 0.4rem;
}

/* ── Sibling cancer chips ── */
.ct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.ct-chips a {
    background-color: #fff3f8;
    color: #c7527f;
    border: 1px solid #f0d0dd;
    border-radius: 1rem;
    padding: 0.18rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 140%;
}

.ct-chips a:hover,
.ct-chips a:focus-visible {
    background-color: var(--brandClr, #802a8f);
    color: #fdfdfd;
    border-color: var(--brandClr, #802a8f);
}

/* ── Desktop (system switches to 2.76vw rem) ── */
@media screen and (min-width: 768px) {
    .ct-breadcrumb {
        padding: 0.25rem 1.88rem 0.1rem;
        font-size: 0.416rem;
    }

    .ct-hero {
        padding: 0.5rem 1.88rem 0.6rem;
    }

    .ct-hero h1 {
        font-size: 1.105rem;
    }

    .ct-hero p {
        font-size: 0.49rem;
        max-width: 16rem;
    }

    .ct-cta {
        gap: 0.3rem;
        margin-top: 0.45rem;
    }

    .ct-cta a,
    .ct-cta button {
        height: 1.05rem;
        padding: 0 0.6rem;
        border-radius: 0.9rem;
        font-size: 0.49rem;
    }

    .ct-section {
        margin: 0.9rem auto;
        padding: 0 1.88rem;
    }

    .ct-section h2 {
        font-size: 0.78rem;
        margin-bottom: 0.3rem;
    }

    .ct-section p,
    .ct-section li {
        font-size: 0.49rem;
    }

    .ct-section ul {
        margin-left: 0.55rem;
    }

    .ct-cols {
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }

    .ct-card {
        border-radius: 0.2rem;
        padding: 0.4rem 0.5rem;
    }

    .ct-card h2 {
        font-size: 0.624rem;
    }

    .ct-card ul {
        margin-left: 0.55rem;
    }

    .ct-local {
        flex-wrap: nowrap;
        align-items: center; /* whole text column centred against the map */
        gap: 0.6rem;
    }

    .ct-local-info {
        flex: 1 1 55%;
    }

    .ct-local iframe {
        flex: 1 1 45%;
        min-height: 5.5rem;
        border-radius: 0.2rem;
    }

    .ct-chips {
        gap: 0.2rem;
        margin-top: 0.25rem;
    }

    .ct-chips a {
        border-radius: 0.5rem;
        padding: 0.1rem 0.35rem;
        font-size: 0.416rem;
    }
}

/* ── About panel ── */
.ct-about {
    background: linear-gradient(135deg, #fff3f8 0%, #fffffe 70%);
    border: 1px solid #f0d0dd;
    border-left: 0.18rem solid var(--brandClr, #802a8f);
    border-radius: 0.5rem;
    padding: 0.9rem 1rem;
}

.ct-about h2 {
    margin-bottom: 0.3rem;
}

.ct-about p {
    max-width: 100%;
}

/* ── Diagnosis panel ── */
.ct-diagnosis {
    background-color: #fdfdfd;
    border: 1px solid #f0d0dd;
    border-left: 0.18rem solid #c7527f;
    border-radius: 0.5rem;
    padding: 0.9rem 1rem;
    box-shadow: 0 0.08rem 0.35rem rgba(128, 42, 143, 0.06);
}

/* ── Treatment cards ── */
.ct-treatments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.ct-treatment-card {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: #fffffe;
    border: 1px solid #f0d0dd;
    border-radius: 0.5rem;
    padding: 0.7rem 0.8rem;
}

.ct-treatment-card:hover {
    box-shadow: 0 0.12rem 0.4rem rgba(128, 42, 143, 0.12);
}

.ct-treatment-card > img {
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.ct-treatment-body p {
    margin: 0;
    font-weight: 500;
    color: #444444;
}

.ct-treatment-link {
    display: inline-block;
    margin-top: 0.3rem;
    background-color: #fff3f8;
    color: #c7527f;
    border: 1px solid #f0d0dd;
    border-radius: 1rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
}

.ct-treatment-link:hover,
.ct-treatment-link:focus-visible {
    background-color: var(--brandClr, #802a8f);
    color: #fdfdfd;
    border-color: var(--brandClr, #802a8f);
}

.ct-guide {
    margin-top: 0.6rem;
}

/* ── Desktop ── */
@media screen and (min-width: 768px) {
    .ct-about,
    .ct-diagnosis {
        border-radius: 0.25rem;
        border-left-width: 0.1rem;
        padding: 0.5rem 0.6rem;
    }

    .ct-treatments {
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
        margin-top: 0.3rem;
    }

    .ct-treatment-card {
        border-radius: 0.25rem;
        padding: 0.4rem 0.45rem;
        gap: 0.25rem;
    }

    .ct-treatment-card > img {
        width: 0.45rem;
        height: 0.45rem;
        margin-top: 0.05rem;
    }

    .ct-treatment-link {
        margin-top: 0.18rem;
        border-radius: 0.5rem;
        padding: 0.08rem 0.35rem;
        font-size: 0.416rem;
    }

    .ct-guide {
        margin-top: 0.35rem;
    }
}

/* ── Other cancers we treat ── */
.ct-others {
    background-color: #fff8fb;
    border-top: 1px solid #f0d0dd;
    border-bottom: 1px solid #f0d0dd;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.2rem;
    padding-bottom: 1.4rem;
}

.ct-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.ct-other-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background-color: #fffffe;
    border: 1px solid #f0d0dd;
    border-radius: 0.5rem;
    padding: 0.6rem 0.3rem;
    text-decoration: none;
    text-align: center;
}

.ct-other-card img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.ct-other-card span {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 130%;
    color: #444444;
}

.ct-other-card:hover,
.ct-other-card:focus-visible {
    border-color: var(--brandClr, #802a8f);
    box-shadow: 0 0.12rem 0.4rem rgba(128, 42, 143, 0.14);
    transform: translateY(-0.06rem);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ct-other-card:hover span {
    color: var(--brandClr, #802a8f);
}

.ct-others .ct-chips {
    margin-top: 0.6rem;
}

.ct-others .ct-chips a {
    background-color: #fffffe;
}

.ct-others .ct-chips a:hover,
.ct-others .ct-chips a:focus-visible {
    background-color: var(--brandClr, #802a8f);
}

@media screen and (min-width: 768px) {
    .ct-others {
        margin-top: 1.1rem;
        margin-bottom: 1.1rem;
        padding-top: 0.65rem;
        padding-bottom: 0.75rem;
    }

    .ct-other-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.25rem;
        margin-top: 0.35rem;
    }

    .ct-other-card {
        gap: 0.15rem;
        border-radius: 0.25rem;
        padding: 0.3rem 0.15rem;
    }

    .ct-other-card img {
        width: 1.1rem;
        height: 1.1rem;
    }

    .ct-other-card span {
        font-size: 0.39rem;
    }

    .ct-others .ct-chips {
        margin-top: 0.35rem;
    }
}
