/* 錨點導航 Tab-start */
.breast-disease-nav-section {
    --bd-nav-top: 60px;
    padding: 14px 0;
}

.breast-disease-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.breast-disease-nav-label {
    text-align: center;
}

.breast-disease-tab {
    padding: 9px 16px;
    font-size: 13px;
}

/* 錨點導航 Tab-end */

/* 內容區塊-start */
.breast-disease-section {
    padding: 44px 0;
    scroll-margin-top: calc(var(--bd-nav-top, 60px) + 72px);
}

.breast-disease-block-title {
    font-size: 28px;
}

.breast-disease-lead {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.breast-disease-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.breast-disease-treatment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.breast-disease-treatment-card {
    .breast-disease-treatment-card-body {
        padding: 22px 22px 26px;
    }
}

.breast-disease-highlights {
    .breast-disease-highlight-item {
        min-height: 0;
        padding: 28px 22px 26px;
    }

    .breast-disease-highlight-num {
        top: 14px;
        right: 18px;
        font-size: 24px;
    }

    .breast-disease-highlight-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;

        svg {
            width: 28px;
            height: 28px;
        }
    }

    .breast-disease-highlight-text {
        max-width: none;
        font-size: 17px;
    }
}

.breast-disease-cyst-layout {
    grid-template-columns: 1fr;
    gap: 24px;
}

.breast-disease-cyst-plan,
.breast-disease-cyst-outcomes {
    padding: 28px 22px;
}

.breast-disease-cyst-plan .breast-disease-cyst-plan-title {
    font-size: 21px;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.breast-disease-cyst-outcomes .breast-disease-cyst-outcomes-title {
    font-size: 21px;
    margin-bottom: 14px;
}

.breast-disease-cyst-plan {
    & .breast-disease-cyst-plan-text {
        p {
            font-size: 15px;
            line-height: 1.7;
        }
    }
}

.breast-disease-sub-title {
    font-size: 19px;
}

.breast-disease-media-cards {
    gap: 20px;
}

.breast-disease-media-card {
    grid-template-columns: 1fr;
    min-height: 0;

    &.breast-disease-media-card--reverse {

        .breast-disease-media-card-img,
        .breast-disease-media-card-body {
            order: unset;
        }
    }

    .breast-disease-media-card-img {
        min-height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--tcm-border);

        img {
            min-height: 188px;
        }
    }

    &.breast-disease-media-card--reverse .breast-disease-media-card-img {
        border-left: none;
    }

    .breast-disease-media-card-body {
        padding: 24px 22px 28px;
    }
}

.breast-disease-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
}

.faq-content {
    grid-template-columns: 1fr;
    gap: 28px;
}

.faq-img {
    position: static;
    min-height: 240px;

    img {
        min-height: 240px;
    }
}

.faq-question {
    padding: 16px 16px 16px 56px;

    &::before {
        left: 12px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    h3 {
        font-size: 16px;
    }
}

.faq-item.active .faq-answer-inner {
    padding: 14px 16px 16px 40px;

    p {
        font-size: 15px;
    }
}

.mastitis-cards-block {
    margin-top: 36px;
    padding-top: 28px;
    flex-direction: column;
    width: 100%;
}

.mastitis-faq-swiper {
    width: 100%;
    padding-bottom: 40px;
    overflow: hidden;
}

.mastitis-faq-swiper .swiper-slide {
    height: auto;
}

.mastitis-faq-swiper .mastitis-faq-card {
    height: 100%;
}

.mastitis-faq-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--tcm-border);
    opacity: 1;
}

.mastitis-faq-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.mastitis-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.mastitis-faq-card {
    padding: 22px 20px 26px;
}

.mastitis-faq-card-title {
    font-size: 18px;
}

.intro-mission-highlights {
    padding: 28px 20px;

    .breast-disease-deco--ring {
        width: 200px;
        height: 200px;
        top: -72px;
        right: -24px;
    }

    .breast-disease-deco--leaf {
        width: 160px;
        height: 160px;
        bottom: -36px;
        left: -28px;
    }
}

.breast-disease-overlay-banner {
    min-height: 400px;

    .breast-disease-overlay-banner-mask {
        background: linear-gradient(180deg,
                rgba(44, 36, 22, 0.35) 0%,
                rgba(44, 36, 22, 0.78) 100%);
    }

    .breast-disease-overlay-banner-content {
        max-width: none;
        padding: 32px 24px 36px;

        &::before,
        &::after {
            width: 28px;
            height: 28px;
        }

        &::before {
            top: 16px;
            left: 16px;
        }

        &::after {
            right: 16px;
            bottom: 16px;
        }

        .breast-disease-overlay-banner-lead {
            font-size: 18px;
        }

        p {
            font-size: 15px;
        }
    }
}

/* 內容區塊-end */

@media (min-width: 768px) {
    .breast-disease-treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .breast-disease-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .intro-mission-highlights--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 920px) {

    /* 概述 -start */
    .breast-disease-highlights {
        gap: 6px;

        .breast-disease-highlight-item {
            padding: 12px;

            .overview-icon {
                width: 40px;
                height: 40px;
                margin-bottom: 6px;
            }

            .breast-disease-highlight-text {
                font-size: 13px;
            }

            &::after {
                right: 6px;
                bottom: 6px;
                width: 24px;
                height: 24px;
            }
        }
    }

    /* 概述 -end */

    /* 良性乳腺增生 -start */
    #hyperplasia {
        .cards-wrapper {
            grid-template-columns: 1fr;
        }
    }

    /* 良性乳腺增生 -end */

    /* 良性乳房腫囊 -start */
    .intro-mission-visual {
        width: 100%;

        .intro-mission-frame {
            width: 100%;
            height: auto;
        }
    }

    /* 良性乳房腫囊 -end */

     /* 治療效果-start */
     .intro-mission-highlights {
        .intro-mission-highlight,
        .intro-mission-highlight-body {
            display: flex;
            align-items: center;
            gap: 10px;

            .intro-mission-highlight-num {
                margin-top: 0px;
                font-size: 22px;
                line-height: 22px;
            }

            .intro-mission-highlight-body {
                h3 {
                    font-size: 18px;
                    line-height: 18px;
                }
            }
        }
    }
    /* 治療效果-end */

    /* 注意乳癌風險 - start */
    .breast-disease-overlay-banner {
        .breast-disease-overlay-banner-content {
            padding: 26px 22px;
        }
    }
    /* 注意乳癌風險 - end */

    /* 中醫治療乳腺炎方案 -start */
    .breast-disease-treatment-card {
        & .breast-disease-treatment-card-body {
            &::before {
                content: '';
                position: absolute;
                left: -14px;
                top: -14px;
                width: calc(100% + 24px);
                height: calc(100% + 24px);
                border: 3px solid rgba(255, 255, 255, 0.82);
            }

            .breast-disease-card-title {
                font-size: 18px;
                line-height: 28px;
                margin-bottom: 6px;
            }

            p {
                font-size: 13px;
                line-height: 1.3;
            }
        }
    }

    .intro-mission-highlights {
        grid-template-columns: 1fr;
        gap: 6px;

        .intro-mission-highlight {
            padding: 12px;
        }
    }

    /* 中醫治療乳腺炎方案 -end */
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 26px;
    }

    .breast-disease-block-title {
        font-size: 26px;
    }

    .breast-disease-section {
        padding: 30px 0;
    }

    .breast-disease-section.breast-disease-overview {
        padding-top: 30px;
    }

    .intro-mission-title, 
    .intro-philosophy-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .intro-mission-content>p:first-of-type {
        font-size: 16px;
    }

    .intro-mission-content>p:last-of-type {
        font-size: 15px;
        line-height: 1.7;
    }

    .breast-disease-highlights {

        .breast-disease-highlight-num {
            top: 8px;
            right: 8px;
        }
    }

    .mastitis-cards-block {
        margin-top: 0px;
        padding-top: 0px;
    }

    .mastitis-faq-card-title {
        font-size: 20px;
    }

    .breast-disease-treatment-grid {
        margin-bottom: 30px;
    }

    .breast-disease-block-head {
        margin-bottom: 18px;
    }

    .breast-disease-treatment-card {
        .breast-disease-treatment-card-body {
            width: 64%;
        }
    }

    .mastitis-faq-card {
        gap: 10px;
    }

    .mastitis-faq-card-body {
        p {
            line-height: 1.6;
            margin-bottom: 8px;
        }
    }

    #hyperplasia {
        .cards-wrapper {
            gap: 0;
        }
    }

    .intro-mission-visual {
        .intro-mission-frame {
            height: 180px;
            padding: 10px;
        }
    }

    .intro-mission-top {
        gap: 20px;
        margin-bottom: 0;
    }

    .intro-banner-box {
        min-width: 280px;
    }

    .intro-cta-section {
        padding: 50px 0;
    }
}