
    /* =========================
       交通資訊模組
       ========================= */

    .traffic-module {
    --traffic-gold: #FF6100;
    --traffic-text: #444;
    --traffic-light: #f5f3ed;
    --traffic-border: #e5dfd2;

    max-width: 1180px;
    margin: 0 auto;
    color: var(--traffic-text);
    font-size: 16px;
    line-height: 1.9;
}

    /* 分頁按鈕 */
    .traffic-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 20px 0 55px;
    }

    .traffic-tab {
        position: relative;
        min-width: 155px;
        padding: 12px 28px 16px;
        border: 0;
        background: transparent;
        color: #8b8b8b;
        font-size: 20px;
        font-weight: 600;
        cursor: pointer;
        outline: none;
    }

    .traffic-tab + .traffic-tab::before {
        content: "";
        position: absolute;
        top: 18px;
        left: 0;
        width: 1px;
        height: 14px;
        background: #ddd4c4;
    }

    .traffic-tab::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 3px;
        background: var(--traffic-gold);
        transform: translateX(-50%);
        transition: width 0.25s ease;
    }

    .traffic-tab:hover,
    .traffic-tab.active {
        color: #333;
    }

    .traffic-tab.active::after {
        width: 84px;
    }

    /* 分頁內容 */
    .traffic-panel {
        display: none;
    }

    .traffic-panel.active {
        display: block;
        animation: trafficFadeIn 0.25s ease;
    }

    @keyframes trafficFadeIn {
        from {
            opacity: 0;
            transform: translateY(5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .traffic-intro {
        margin-bottom: 48px;
        font-size: 17px;
        line-height: 2;
    }

    /* 交通與住宿 */
    .traffic-main-grid {
        display: grid;
        grid-template-columns: minmax(300px, 37%) 1fr;
        gap: 32px;
        align-items: start;
    }

    .traffic-map {
        position: sticky;
        top: 20px;
    }

    .traffic-map iframe {
        display: block;
        width: 100%;
        height: 650px;
        border: 0;
        background: #eee;
    }

    .transport-item {
        display: grid;
        grid-template-columns: 115px 1fr;
        gap: 28px;
        padding: 0 0 28px;
        margin-bottom: 28px;
        border-bottom: 1px solid var(--traffic-border);
    }

    .transport-item:last-child {
        border-bottom: 0;
    }

    .transport-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 105px;
        height: 105px;
        border-radius: 50%;
        background: #fff;
        color: var(--traffic-gold);
        font-size: 45px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }

    .transport-tag {
        display: inline-block;
        margin-bottom: 14px;
        padding: 4px 16px;
        background: var(--traffic-light);
        color: #665f52;
        font-size: 20px;
        font-weight: 600;
    }

    .route-block {
        margin-bottom: 24px;
    }

    .route-block:last-child {
        margin-bottom: 0;
    }

    .route-block h4 {
        margin: 0 0 5px;
        color: #333;
        font-size: 18px;
        font-weight: 700;
    }

    .route-block p {
        margin: 0;
    }

    .line-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 25px;
        height: 25px;
        margin: 0 4px;
        padding: 0 5px;
        border-radius: 6px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        vertical-align: middle;
    }

    .line-red {
        background: #e4002b;
    }

    .line-blue {
        background: #0072bc;
    }

    .hotel-address {
        color: #666;
        text-decoration: none;
    }

    .hotel-address:hover {
        color: #bd9410;
        text-decoration: underline;
    }

    /* 停車資訊 */
    .parking-layout {
        display: grid;
        grid-template-columns: 1fr minmax(320px, 400px);
        gap: 65px;
        align-items: center;
        padding: 20px 0px 50px;
    }

    .parking-title {
        display: inline-block;
        margin-bottom: 14px;
        padding: 4px 16px;
        background: var(--traffic-light);
        font-size: 20px;
        font-weight: 700;
    }

    .parking-layout p {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .parking-alert {
        color: #ef1e2f;
        font-weight: 600;
    }

    .parking-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .parking-caption {
        margin-top: 5px;
        text-align: right;
        font-size: 14px;
    }

    /* 周邊景點 */
    .scenic-list {
        padding-bottom: 30px;
    }

    .scenic-item {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        margin-bottom: 85px;
    }

    .scenic-item.reverse .scenic-photo {
        order: 2;
    }

    .scenic-item.reverse .scenic-content {
        order: 1;
    }

    .scenic-photo img {
        display: block;
        width: 100%;
        height: 390px;
        object-fit: cover;
    }

    .scenic-content {
        min-height: 310px;
        padding: 55px 55px;
        background: rgba(248, 247, 244, 0.93);
    }

    .scenic-content h3 {
        margin: 0 0 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd6c9;
        color: #363636;
        font-size: 29px;
        letter-spacing: 4px;
    }

    .scenic-content p {
        margin: 0;
        color: #686868;
        font-size: 17px;
        line-height: 2.1;
    }

    /* 手機版 */
    @media (max-width: 991px) {
        .traffic-main-grid,
        .parking-layout {
            grid-template-columns: 1fr;
        }

        .traffic-map {
            position: static;
        }

        .traffic-map iframe {
            height: 420px;
        }

        .parking-image {
            max-width: 500px;
            margin: 0 auto;
        }

        .scenic-item,
        .scenic-item.reverse {
            grid-template-columns: 1fr;
            margin-bottom: 45px;
        }

        .scenic-item.reverse .scenic-photo,
        .scenic-item.reverse .scenic-content {
            order: initial;
        }

        .scenic-photo img {
            height: auto;
            max-height: 430px;
        }
    }

    @media (max-width: 576px) {
        .traffic-module {
            font-size: 15px;
        }

        .traffic-tabs {
            margin-bottom: 35px;
        }

        .traffic-tab {
            min-width: auto;
            padding: 10px 17px 14px;
            font-size: 17px;
        }

        .transport-item {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .transport-icon {
            width: 78px;
            height: 78px;
            font-size: 34px;
        }

        .scenic-content {
            min-height: 0;
            padding: 30px 25px;
        }

        .scenic-content h3 {
            font-size: 23px;
            letter-spacing: 2px;
        }
    }

/* 移除按鈕點擊、聚焦及選中時的外框 */
.traffic-tabs .traffic-tab,
.traffic-tabs .traffic-tab:hover,
.traffic-tabs .traffic-tab:focus,
.traffic-tabs .traffic-tab:focus-visible,
.traffic-tabs .traffic-tab:active,
.traffic-tabs .traffic-tab.active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

/* 未選中的文字 */
.traffic-tabs .traffic-tab {
    color: #8b8b8b;
}

/* 滑鼠移入及選中的文字顏色 */
.traffic-tabs .traffic-tab:hover,
.traffic-tabs .traffic-tab.active {
    color: var(--traffic-gold);
}

/* 底部橘色線條 */
.traffic-tabs .traffic-tab::after {
    background-color: var(--traffic-gold);
}

/* 只有選中的分頁顯示線條 */
.traffic-tabs .traffic-tab.active::after {
    width: 84px;
}