    /* =========================================
       1. 全域變數與基礎設定
       ========================================= */
    :root {
        --brand-red: #ea2635;      /* 品牌紅 */
        --text-dark: #333333;      /* 深色文字 */
        --text-gray: #666666;      /* 灰色說明文字 */
        --font-main: "微軟正黑體", "Noto Sans TC", sans-serif;
    }

  
    a { text-decoration: none; }

    /* 圖片自適應 */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
/* 1. Hero Section (主視覺) */
.hero-section {
    background: url('../images/case-title-photo.png');
    background-size: cover;
    background-position: center;
    /* 改用 min-height 以適應不同內容長度 */
    min-height: 300px; 
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    padding: 40px 0;
}
/* 增加黑色遮罩讓文字更清楚 (可選) */
.hero-section::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.hero-text {
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero-text p {
    color: #e72d2d; /* 原本是紅字，但在深色圖上建議白色，或維持 var(--brand-red) 並加文字陰影 */
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
    /* =========================================
       2. 共用組件 (標題、按鈕)
       ========================================= */
    
    /* 左側紅線標題 */
    .section-header {
        border-left: 6px solid var(--brand-red);
        padding-left: 15px;
        margin-bottom: 1rem; margin-top: 50px;
		
    }
    .section-header h2 {
        color: var(--brand-red);
        font-weight: 700;
        margin-bottom: 0.2rem;
        text-transform: capitalize;
        font-size: 2rem;
    }
    .section-header span {
        font-size: 1.2rem;
        font-weight: 700;
        color: #000;
        text-transform: uppercase;
    }


   

    /* =========================================
       4. 各區塊專用樣式
       ========================================= */

    /* --- Hero Section --- */
    .service-intro {
        position: relative;
    }
    .main-heading {
        line-height: 1.5;
        font-size: 2rem;
        color: #000;
    }
 .service-text{line-height: 1.6;}
    .service-text p {
        line-height: 1.8;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        color: var(--text-gray);
        text-align: justify;
    }

 /* --- 動態資訊 (News) --- */
.news-section { margin-bottom: 50px; 
        position: relative;
}
.news-header h2 { color: white; font-family: 'Oswald', sans-serif; }
.news-header span { display: block; color: white; font-size: 1.5rem; }

.news-card {
    padding: 10px;
    border: 1px solid #c1c1c1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    background: #fff;
}
.news-card:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); transform: translateY(-5px); }
.news-img { height: auto; object-fit: cover; width: 100%; }
.news-body { padding: 20px; }
.news-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; font-family: "微軟正黑體", sans-serif; line-height: 24px; }
.news-desc { font-size: 0.95rem; color: #666; margin-bottom: 20px; min-height: 60px; font-family: "微軟正黑體", sans-serif; line-height: 20px; }


    /* =========================================
       5. RWD 響應式設定 (手機版優化)
       ========================================= */
    @media (max-width: 767.98px) {
        
        /* 標題文字縮小 */
        .section-header h2 { font-size: 1.8rem; }
        .main-heading { font-size: 1.6rem; }
        .item-title { font-size: 1.4rem; }
        
        /* 1. 全域左右留白設定 (關鍵修正) */
        .container {
            padding-left: 30px !important;
            padding-right: 30px !important;
        }

        /* 2. Hero 區塊 */
        .service-intro {
            padding-top: 20px;
            padding-bottom: 40px;
        }
 
    }
