/*
 * Version: 2026-08-06 CHAPTER INTRO V6 ALL CARD LINKS
 * 調整：降低「基本免費／VIP 進階」標籤亮度與飽和度。
 */

/* =========================================================
   XIAOHUYE HOMEPAGE SERVICES
   六大 MLB 分析服務總覽
   Version: 2026-08-05 HOME SERVICES V2 FREE FIRST
========================================================= */

.service-overview,
.service-overview * {
    box-sizing: border-box;
}

.service-overview {
    position: relative;

    padding:
        88px
        0
        96px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f4f6f8 0%,
            #ffffff 48%,
            #f4f6f8 100%
        );
}

.service-overview__grid {
    position: absolute;
    inset: 0;
    z-index: 0;

    opacity: 0.42;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(16, 32, 51, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(16, 32, 51, 0.035) 1px,
            transparent 1px
        );

    background-size:
        48px
        48px;

    -webkit-mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 18%,
            #000 82%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 18%,
            #000 82%,
            transparent 100%
        );
}

.service-overview__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1240px;

    margin:
        0
        auto;

    padding:
        0
        24px;
}


/* =========================================================
   區塊標題
========================================================= */

.service-overview__header {
    max-width: 800px;

    margin:
        0
        auto;

    text-align: center;
}

.service-overview__eyebrow {
    display: inline-flex;

    min-height: 30px;

    padding:
        6px
        12px;

    align-items: center;
    gap: 8px;

    border: 1px solid rgba(245, 154, 35, 0.28);
    border-radius: 999px;

    color: #a95e08;
    background: rgba(255, 195, 90, 0.12);

    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.16em;
}

.service-overview__eyebrow-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: #f59a23;

    box-shadow:
        0 0 0 4px rgba(245, 154, 35, 0.12);
}

.service-overview__title {
    margin:
        18px
        0
        0;

    color: #07111d;

    font-size: 46px;
    font-weight: 1000;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.service-overview__title span {
    color: transparent;

    background:
        linear-gradient(
            135deg,
            #f59a23 0%,
            #d9780a 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.service-overview__subtitle {
    max-width: 720px;

    margin:
        17px
        auto
        0;

    color: #66788a;

    font-size: 16px;
    line-height: 1.8;
}

.service-overview__summary {
    display: flex;

    margin-top: 24px;

    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.service-overview__summary > span {
    display: inline-flex;

    min-height: 34px;

    padding:
        7px
        12px;

    align-items: center;
    gap: 7px;

    border: 1px solid #dde4eb;
    border-radius: 999px;

    color: #536377;
    background: rgba(255, 255, 255, 0.88);

    box-shadow:
        0 5px 14px rgba(15, 27, 45, 0.035);

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.service-overview__summary svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: #d9780a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   分類標題
========================================================= */

.service-overview__section-heading {
    display: flex;

    margin-top: 62px;

    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.service-overview__section-heading--daily {
    margin-top: 58px;
}

.service-overview__section-kicker {
    display: block;

    color: #d9780a;

    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.18em;
}

.service-overview__section-heading h3 {
    margin:
        7px
        0
        0;

    color: #102033;

    font-size: 26px;
    font-weight: 1000;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.service-overview__section-heading p {
    max-width: 510px;

    margin: 0;

    color: #718094;

    font-size: 13px;
    line-height: 1.65;
    text-align: right;
}


/* =========================================================
   兩大核心服務
========================================================= */

.service-featured-grid {
    display: grid;

    margin-top: 19px;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.service-featured-card {
    position: relative;

    display: flex;

    min-width: 0;
    min-height: 390px;

    padding:
        27px
        28px
        24px;

    overflow: hidden;

    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;

    color: #ffffff;
    background: #102033;

    box-shadow:
        0 24px 54px rgba(7, 17, 29, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.service-featured-card:hover {
    border-color: rgba(255, 195, 90, 0.40);

    box-shadow:
        0 29px 66px rgba(7, 17, 29, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);

    transform: translateY(-5px);
}

.service-featured-card--market {
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(62, 153, 214, 0.24) 0%,
            rgba(62, 153, 214, 0) 37%
        ),
        linear-gradient(
            140deg,
            #07111d 0%,
            #102b49 56%,
            #17476d 100%
        );
}

.service-featured-card--pitcher {
    background:
        radial-gradient(
            circle at 86% 18%,
            rgba(43, 184, 164, 0.22) 0%,
            rgba(43, 184, 164, 0) 37%
        ),
        linear-gradient(
            140deg,
            #07111d 0%,
            #11333d 56%,
            #18594f 100%
        );
}

.service-featured-card__glow {
    position: absolute;
    right: -62px;
    bottom: -94px;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 68%
        );

    pointer-events: none;
}

.service-featured-card__number {
    position: absolute;
    top: 20px;
    right: 25px;

    color: rgba(255, 255, 255, 0.055);

    font-size: 96px;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -0.08em;

    pointer-events: none;
}

.service-featured-card__top {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-featured-card__tag {
    display: inline-flex;

    min-height: 26px;

    padding:
        5px
        10px;

    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.06);

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
}

.service-featured-card__icon {
    position: relative;
    z-index: 2;

    display: flex;

    width: 54px;
    height: 54px;

    margin-top: 31px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 195, 90, 0.34);
    border-radius: 16px;

    color: #ffc35a;
    background: rgba(255, 195, 90, 0.09);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 25px rgba(0, 0, 0, 0.14);
}

.service-featured-card--market
.service-featured-card__icon {
    border-color: rgba(124, 212, 255, 0.34);

    color: #7cd4ff;
    background: rgba(124, 212, 255, 0.09);
}

.service-featured-card--pitcher
.service-featured-card__icon {
    border-color: rgba(110, 231, 183, 0.32);

    color: #82efc2;
    background: rgba(110, 231, 183, 0.09);
}

.service-featured-card__icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-featured-card__body {
    position: relative;
    z-index: 2;

    margin-top: 20px;
}

.service-featured-card__en {
    color: rgba(255, 255, 255, 0.42);

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.15em;
}

.service-featured-card h4 {
    margin:
        8px
        0
        0;

    color: #ffffff;

    font-size: 29px;
    font-weight: 1000;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.service-featured-card__body > p {
    max-width: 480px;

    margin:
        12px
        0
        0;

    color: rgba(224, 235, 244, 0.70);

    font-size: 13px;
    line-height: 1.75;
}

.service-featured-card__features {
    display: flex;

    margin-top: 17px;

    flex-wrap: wrap;
    gap: 7px;
}

.service-featured-card__features span {
    display: inline-flex;

    min-height: 27px;

    padding:
        5px
        9px;

    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 7px;

    color: rgba(236, 243, 248, 0.72);
    background: rgba(255, 255, 255, 0.045);

    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.service-featured-card__action {
    position: relative;
    z-index: 3;

    display: flex;

    min-height: 48px;

    margin-top: auto;
    padding:
        10px
        15px;

    align-items: center;
    justify-content: space-between;
    gap: 16px;

    border: 1px solid rgba(255, 195, 90, 0.30);
    border-radius: 12px;

    color: #ffc35a;
    background: rgba(255, 195, 90, 0.075);

    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.service-featured-card--market
.service-featured-card__action {
    border-color: rgba(124, 212, 255, 0.28);

    color: #7cd4ff;
    background: rgba(124, 212, 255, 0.07);
}

.service-featured-card--pitcher
.service-featured-card__action {
    border-color: rgba(110, 231, 183, 0.28);

    color: #82efc2;
    background: rgba(110, 231, 183, 0.07);
}

.service-featured-card__action:hover {
    border-color: #ffc35a;

    color: #07111d;
    background: #ffc35a;
}

.service-featured-card--market
.service-featured-card__action:hover {
    border-color: #7cd4ff;

    color: #07111d;
    background: #7cd4ff;
}

.service-featured-card--pitcher
.service-featured-card__action:hover {
    border-color: #82efc2;

    color: #07111d;
    background: #82efc2;
}


/* =========================================================
   權限標籤
========================================================= */

.service-access {
    display: inline-flex;

    min-height: 25px;

    padding:
        5px
        9px;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.service-access--free {
    border: 1px solid #bee7d4;

    color: #047857;
    background: #edf9f3;
}

.service-featured-card
.service-access--free {
    border-color: rgba(110, 231, 183, 0.26);

    color: #82efc2;
    background: rgba(110, 231, 183, 0.09);
}

.service-access--premium {
    border: 1px solid rgba(184, 145, 76, 0.24);

    color: #a9792f;
    background: rgba(184, 145, 76, 0.055);
}

.service-access--preview {
    border: 1px solid #f2d39a;

    color: #9d5705;
    background: #fff4dc;
}

.service-access--model {
    border: 1px solid #d9cef4;

    color: #6f4bad;
    background: #f3effc;
}


/* =========================================================
   四項每日服務
========================================================= */

.service-card-grid {
    display: grid;

    margin-top: 19px;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.service-card {
    position: relative;

    display: flex;

    min-width: 0;
    min-height: 348px;

    padding:
        20px
        19px
        18px;

    overflow: hidden;

    flex-direction: column;

    border: 1px solid #dde4eb;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 15px 38px rgba(15, 27, 45, 0.07);

    transition:
        transform 0.20s ease,
        border-color 0.20s ease,
        box-shadow 0.20s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: #f59a23;
}

.service-card--one-run::before {
    background: #8263bd;
}

.service-card--compare::before {
    background: #3b8ed0;
}

.service-card--odds::before {
    background: #d9780a;
}

.service-card:hover {
    border-color: #cfd8e2;

    box-shadow:
        0 22px 48px rgba(15, 27, 45, 0.12);

    transform: translateY(-4px);
}

.service-card__top {
    display: flex;

    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-card__icon {
    display: flex;

    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    align-items: center;
    justify-content: center;

    border: 1px solid #f0d6aa;
    border-radius: 13px;

    color: #d9780a;
    background: #fff7e8;
}

.service-card--one-run
.service-card__icon {
    border-color: #ddd3ef;

    color: #6f4bad;
    background: #f4f0fb;
}

.service-card--compare
.service-card__icon {
    border-color: #cce0f0;

    color: #2e79b5;
    background: #eef7fd;
}

.service-card--odds
.service-card__icon {
    border-color: #f0d6aa;

    color: #d9780a;
    background: #fff7e8;
}

.service-card__icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card__index {
    margin-top: 23px;

    color: #a0aaba;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.15em;
}

.service-card h4 {
    margin:
        8px
        0
        0;

    color: #102033;

    font-size: 20px;
    font-weight: 1000;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.service-card > p {
    margin:
        11px
        0
        0;

    color: #69798c;

    font-size: 12px;
    line-height: 1.72;
}

.service-card__meta {
    display: flex;

    margin-top: 15px;

    flex-wrap: wrap;
    gap: 6px;
}

.service-card__meta span {
    display: inline-flex;

    min-height: 24px;

    padding:
        5px
        7px;

    align-items: center;

    border: 1px solid #e4e9ef;
    border-radius: 6px;

    color: #718094;
    background: #f8fafc;

    font-size: 8px;
    font-weight: 800;
    line-height: 1;
}

.service-card__action {
    display: flex;

    min-height: 41px;

    margin-top: auto;
    padding:
        9px
        11px;

    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-top: 1px solid #e5eaf0;

    color: #102033;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;

    transition:
        color 0.18s ease,
        border-color 0.18s ease;
}

.service-card__action:hover {
    border-color: #f59a23;

    color: #d9780a;
}


/* =========================================================
   底部引導
========================================================= */

.service-overview__footer {
    display: flex;

    min-height: 108px;

    margin-top: 34px;
    padding:
        22px
        24px;

    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border: 1px solid #dce3ea;
    border-radius: 18px;

    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #f8fafc 58%,
            #fff7e8 100%
        );

    box-shadow:
        0 14px 34px rgba(15, 27, 45, 0.06);
}

.service-overview__footer-copy {
    min-width: 0;
}

.service-overview__footer-copy > span {
    display: block;

    color: #d9780a;

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
}

.service-overview__footer-copy > strong {
    display: block;

    margin-top: 8px;

    color: #102033;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.service-overview__footer-actions {
    display: flex;

    flex: 0 0 auto;
    gap: 9px;
}

.service-overview__footer-button {
    display: inline-flex;

    min-height: 42px;

    padding:
        10px
        14px;

    align-items: center;
    justify-content: center;

    border: 1px solid #d8e0e8;
    border-radius: 10px;

    color: #102033;
    background: #ffffff;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;

    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background-color 0.18s ease;
}

.service-overview__footer-button:hover {
    border-color: #f59a23;

    color: #d9780a;
}

.service-overview__footer-button--primary {
    border-color: #f59a23;

    color: #07111d;
    background: #ffc35a;
}

.service-overview__footer-button--primary:hover {
    border-color: #d9780a;

    color: #ffffff;
    background: #d9780a;
}


/* =========================================================
   平板
========================================================= */

@media (max-width: 1099px) {

    .service-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

    .service-card {
        min-height: 320px;
    }

}


/* =========================================================
   小型平板與手機
========================================================= */

@media (max-width: 767px) {

    .service-overview {
        padding:
            67px
            0
            72px;
    }

    .service-overview__container {
        padding:
            0
            14px;
    }

    .service-overview__title {
        font-size: 35px;
    }

    .service-overview__subtitle {
        font-size: 14px;
        line-height: 1.7;
    }

    .service-overview__summary {
        gap: 7px;
    }

    .service-overview__summary > span {
        min-height: 31px;

        padding:
            6px
            9px;

        font-size: 9px;
    }

    .service-overview__section-heading {
        display: block;

        margin-top: 46px;
    }

    .service-overview__section-heading--daily {
        margin-top: 44px;
    }

    .service-overview__section-heading h3 {
        font-size: 22px;
    }

    .service-overview__section-heading p {
        margin-top: 8px;

        font-size: 12px;
        text-align: left;
    }

    .service-featured-grid {
        grid-template-columns: 1fr;
    }

    .service-featured-card {
        min-height: 372px;

        padding:
            23px
            21px
            20px;

        border-radius: 20px;
    }

    .service-featured-card__number {
        right: 20px;

        font-size: 78px;
    }

    .service-featured-card__icon {
        margin-top: 27px;
    }

    .service-featured-card h4 {
        font-size: 26px;
    }

    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 306px;

        padding:
            19px
            17px
            17px;
    }

    .service-overview__footer {
        display: block;

        margin-top: 27px;
        padding:
            19px
            17px;
    }

    .service-overview__footer-actions {
        display: grid;

        margin-top: 16px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   小手機
========================================================= */

@media (max-width: 420px) {

    .service-overview__title {
        font-size: 31px;
    }

    .service-overview__summary {
        display: grid;

        grid-template-columns: 1fr;
    }

    .service-overview__summary > span {
        justify-content: center;
    }

    .service-featured-card {
        min-height: 390px;
    }

    .service-featured-card__top {
        align-items: flex-start;
    }

    .service-access {
        max-width: 122px;

        white-space: normal;
        text-align: center;
    }

    .service-overview__footer-actions {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   減少動畫偏好
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-featured-card,
    .service-card {
        transition: none;
    }

    .service-featured-card:hover,
    .service-card:hover {
        transform: none;
    }

}


/* =========================================================
   MOBILE V4：對應 WHY ANALYSIS V3 的緊湊版節奏
   只作用於 767px 以下，PC／平板完全不動
========================================================= */

@media (max-width: 767px) {

    /*
     * 整區高度明顯收斂，
     * 對應 usage-guide 的 44 / 50px 節奏。
     */
    .service-overview {
        padding:
            44px
            0
            50px;
    }

    .service-overview__container {
        padding:
            0
            13px;
    }

    /*
     * 標題區收斂。
     */
    .service-overview__eyebrow {
        min-height: 26px;

        padding:
            5px
            9px;

        gap: 7px;

        font-size: 8px;
        letter-spacing: 0.14em;
    }

    .service-overview__eyebrow-dot {
        width: 5px;
        height: 5px;

        flex-basis: 5px;
    }

    .service-overview__title {
        margin-top: 14px;

        font-size: 28px;
        line-height: 1.14;
        letter-spacing: -0.025em;
    }

    .service-overview__subtitle {
        margin-top: 11px;

        font-size: 12px;
        line-height: 1.62;
    }

    /*
     * 三個摘要改成同一排緊湊標籤，
     * 對應 usage-guide 的手機資訊密度。
     */
    .service-overview__summary {
        display: grid;

        margin-top: 17px;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 6px;
    }

    .service-overview__summary > span {
        min-width: 0;
        min-height: 29px;

        padding:
            5px
            6px;

        justify-content: center;
        gap: 4px;

        font-size: 8px;
        white-space: nowrap;
    }

    .service-overview__summary svg {
        width: 12px;
        height: 12px;

        flex: 0 0 auto;
    }

    /*
     * 分類標題收斂。
     */
    .service-overview__section-heading {
        margin-top: 34px;
    }

    .service-overview__section-heading--daily {
        margin-top: 38px;
    }

    .service-overview__section-kicker {
        font-size: 8px;
        letter-spacing: 0.15em;
    }

    .service-overview__section-heading h3 {
        margin-top: 6px;

        font-size: 20px;
        line-height: 1.22;
    }

    .service-overview__section-heading p {
        margin-top: 7px;

        font-size: 11px;
        line-height: 1.55;
    }

    /*
     * 兩張免費服務卡片改成更緊湊的手機卡片。
     */
    .service-featured-grid {
        margin-top: 14px;

        gap: 12px;
    }

    .service-featured-card {
        min-height: 0;

        padding:
            16px
            14px
            14px;

        border-radius: 16px;
    }

    .service-featured-card__number {
        top: 14px;
        right: 15px;

        font-size: 58px;
    }

    .service-featured-card__tag,
    .service-access {
        min-height: 22px;

        padding:
            4px
            7px;

        font-size: 7px;
    }

    .service-featured-card__icon {
        width: 40px;
        height: 40px;

        margin-top: 16px;

        border-radius: 12px;
    }

    .service-featured-card__icon svg {
        width: 21px;
        height: 21px;
    }

    .service-featured-card__body {
        margin-top: 13px;
    }

    .service-featured-card__en {
        font-size: 7px;
    }

    .service-featured-card h4 {
        margin-top: 6px;

        font-size: 21px;
        line-height: 1.18;
    }

    .service-featured-card__body > p {
        margin-top: 8px;

        font-size: 10.5px;
        line-height: 1.58;
    }

    .service-featured-card__features {
        margin-top: 11px;

        gap: 5px;
    }

    .service-featured-card__features span {
        min-height: 23px;

        padding:
            4px
            7px;

        font-size: 7px;
    }

    .service-featured-card__action {
        min-height: 38px;

        margin-top: 14px;
        padding:
            8px
            10px;

        border-radius: 9px;

        font-size: 9px;
    }

    /*
     * 其他四項服務改成更扁的資訊卡。
     */
    .service-card-grid {
        margin-top: 14px;

        gap: 10px;
    }

    .service-card {
        min-height: 0;

        padding:
            14px
            13px
            12px;

        border-radius: 14px;
    }

    .service-card::before {
        height: 3px;
    }

    .service-card__icon {
        width: 37px;
        height: 37px;

        flex-basis: 37px;

        border-radius: 11px;
    }

    .service-card__icon svg {
        width: 19px;
        height: 19px;
    }

    .service-card__index {
        margin-top: 15px;

        font-size: 7px;
    }

    .service-card h4 {
        margin-top: 6px;

        font-size: 18px;
        line-height: 1.2;
    }

    .service-card > p {
        margin-top: 8px;

        font-size: 10.5px;
        line-height: 1.58;
    }

    .service-card__meta {
        margin-top: 10px;

        gap: 5px;
    }

    .service-card__meta span {
        min-height: 22px;

        padding:
            4px
            6px;

        font-size: 7px;
    }

    .service-card__action {
        min-height: 36px;

        margin-top: 12px;
        padding:
            7px
            9px;

        font-size: 9px;
    }

    /*
     * 底部引導同步收斂。
     */
    .service-overview__footer {
        min-height: 0;

        margin-top: 20px;
        padding:
            14px
            13px;

        border-radius: 14px;
    }

    .service-overview__footer-copy > span {
        font-size: 7px;
    }

    .service-overview__footer-copy > strong {
        margin-top: 6px;

        font-size: 12px;
        line-height: 1.45;
    }

    .service-overview__footer-actions {
        margin-top: 12px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 7px;
    }

    .service-overview__footer-button {
        min-height: 37px;

        padding:
            8px
            9px;

        border-radius: 8px;

        font-size: 9px;
    }

}


/* =========================================================
   MOBILE V4：小手機
========================================================= */

@media (max-width: 420px) {

    .service-overview__title {
        font-size: 27px;
    }

    .service-overview__summary {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .service-overview__summary > span {
        padding:
            5px
            4px;

        font-size: 7.2px;
    }

    .service-overview__footer-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   2026-08-06：免費服務卡片整張可點擊
========================================================= */

a.service-featured-card {
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

a.service-featured-card:visited {
    color: #ffffff;
}

a.service-featured-card:focus-visible {
    outline: 3px solid rgba(255, 195, 90, 0.72);
    outline-offset: 4px;
}

/*
 * action 現在是卡片內的視覺區塊，
 * 點擊行為由整張卡片負責。
 */
.service-featured-card__action {
    pointer-events: none;
}


/* =========================================================
   PC：放大免費公開標籤
   只調整兩張免費服務卡片，移動端維持原尺寸
========================================================= */

@media (min-width: 768px) {

    .service-featured-card
    .service-access--free {
        min-height: 30px;

        padding:
            7px
            12px;

        font-size: 11px;
        letter-spacing: 0.03em;
    }

}


/* =========================================================
   2026-08-06：下方四張服務卡片整張可點擊
========================================================= */

a.service-card {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

a.service-card:visited {
    color: inherit;
}

a.service-card:focus-visible {
    outline: 3px solid rgba(245, 154, 35, 0.55);
    outline-offset: 4px;
}

/*
 * 底部 action 僅保留視覺，
 * 真正連結由整張卡片負責。
 */
.service-card__action {
    pointer-events: none;
}
