
        html, body {
            overflow-x: hidden;
        }

/* --- 導覽列 --- */
        .ESG_meau {
            background-color: #ffffff;
            position: relative;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #f0f0f0;
            width: 100%;
        }

        .ESG_meau2 {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .ESG_dropdown {
            position: relative;
            flex: 1;
            text-align: center;
            cursor: pointer;
            padding: 0.5rem 0.5rem;
            font-weight: 600;
            color: var(--text-gray);
            transition: all 0.3s;
            font-size: 0.95rem;
        }

        .ESG_dropdown:hover {
            color: var(--primary-color);
            background-color: #f8faf9;
        }

        .ESG_dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            min-width: 200px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-radius: 0 0 8px 8px;
            overflow: hidden;
            border: 1px solid #eee;
        }

        @media (min-width: 1025px) {
            .ESG_dropdown:hover .ESG_dropdown-content {
                display: block;
            }
        }

        .ESG_dropdown-content a {
            display: block;
            padding: 12px 20px;
            text-decoration: none;
            color: #555;
            font-size: 0.9rem;
            text-align: left;
            border-bottom: 1px solid #f9f9f9;
        }

/* --- 手機選單優化（防止浮動與重疊） --- */
        @media (max-width: 1024px) {
            .ESG_meau { 
                       position: static; !important; 
                       top: auto !important; 
                       z-index: 1; 
                       background-color: #ffffff !important; /* 確保是不透明的白色 */ 
                       margin-top: 10px; /* 給上方 Logo 一點呼吸空間 */ 
                      } 
            .ESG_meau2 { display: block; }
            .ESG_dropdown {
                text-align: left;
                padding: 1rem 1.5rem;
                border-bottom: 1px solid #f3f4f6;
                display: flex;
                flex-direction: column;
                position: relative;
            }
            .ESG_dropdown::after {
                content: '▼';
                position: absolute;
                right: 1.5rem;
                top: 1.2rem;
                font-size: 0.7rem;
            }
            .ESG_dropdown.active .ESG_dropdown-content { 
                display: block; 
                position: relative; 
                left: 0; 
                transform: none; 
                box-shadow: none; 
                width: 100%; 
                border: none;
            }
        }

/* --- 輪播圖區塊優化 --- */
        #ESG_slideshow {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto 2.5rem;
            aspect-ratio: 21 / 9;
            overflow: hidden;
            border-radius: 12px;
            background-color: #f3f4f6;
        }

        .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: 0.8s; }
        .slide-img.active { opacity: 1; }

        .slide-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.4); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; }
        .slide-prev { left: 20px; }
        .slide-next { right: 20px; }

        .slide-dots { position: absolute; bottom: 15px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 10; }
        .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
        .dot.active { background: var(--primary-color); width: 25px; border-radius: 10px; }

        @media (max-width: 768px) { 
            #ESG_slideshow { aspect-ratio: 16 / 9; margin-bottom: 1.5rem; } 
            .slide-nav { display: none; } 
            .slide-dots { bottom: 10px; }
        }

        /* --- ESG 三大支柱 --- */
        .esg-circle-container {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .esg-circle-item {
            text-align: center;
            flex: 1;
            max-width: 320px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .esg-main-icon {
            width: 48px;
            max-width: 48px;
            height: auto;
            margin-bottom: 20px;
            z-index: 5;
        }

        .esg-label-tag {
            display: inline-flex;
            align-items: center;
            background-color: #eff7ec;
            color: #004D40;
            padding: 4px 16px;
            border-radius: 4px;
            font-weight: bold;
            font-size: 0.95rem;
            margin: -10px 0 15px 0;
            border: 1px solid #e0e7de;
            z-index: 10;
        }
        .esg-card {
            background-color: #f9fbf9;
            border-radius: 12px;
            border: 1px solid #eef2ee;
            padding: 1.5rem;
            width: 100%;
            box-sizing: border-box;
        }
 /* ---------動態數字跑馬燈整體區塊排版--------- */
        .key-figures-section {
            display: flex;
            justify-content: space-around;
            align-items: flex-start; /* 圖片在上方對齊 */
            gap: 20px; /* 增加區塊間距 */
            padding: 40px 20px;
            background-color: #f8f9fa; /* 淺灰色背景 */
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            text-align: center;
        }

        /* 每個數字區塊 */
        .key-figure {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 23%; /* 每個區塊佔比 */
            max-width: 250px;
        }

        /* 圖片樣式 */
        .key-figure img {
            width: 80px;
            height: 80px;
            object-fit: contain; /* 確保圖片不變形 */
            margin-bottom: 20px;
        }

        /* 文字區塊 */
        .figure-text {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .figure-text p {
            font-size: 16px;
            color: #555;
            margin: 0 0 10px 0; /* 調整間距 */
            line-height: 1.5;
        }

        /* 數字樣式 */
        .counter {
            font-size: 36px;
            font-weight: 700;
            color: #007bff; /* 藍色 */
            letter-spacing: -1px;
        }

        .unit {
            font-size: 18px;
            font-weight: 500;
            color: #007bff;
        }

/*永續行動*/
       .ESG_action-links-ESG_container {
           display: flex;
           flex-direction: column;
           gap: 0.75rem;
           width: 100%;
           margin-top: 1rem;
           margin-bottom: 2rem;
       }
        .ESG_action-link-item {
            display: block;
            padding: 0.85rem 1.5rem;
            background-color: #E8F5E9;
            color: #1B5E20;
            text-decoration: none;
            border-radius: 0.5rem;
            border: 1px solid #A5D6A7;
            border-left: 4px solid #4CAF50; /* 左框粗線 */
            text-align: left;
            font-weight: 600;            
            width: 100%; /* 寬度 100% */
            background-color: transparent; /* 移除底色 */
            box-shadow: none; /* 移除陰影 */
        }

        .ESG_action-link-item:hover {
            background-color: #C8E6C9;
        }

        .ESG_action-link-item .link-text {
            font-size: 1.1em;
        }

        .ESG_action-link-item .popup-hint {
            display: block;
            font-size: 0.85em;
            color: #388E3C;
            margin-top: 0.25rem;
            opacity: 0.8;
        }
/*永續報告書*/
.report-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
            height: auto;
            align-items: stretch;
        }

        .report-grid a {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #2c3e50;
            background-color: white;
            border-radius: 0.5rem;
            padding: 1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
            border: 1px solid #e0e0e0;
            width: 225px; /* 縮小為原本的 75% */
            margin: 0.5rem;
            height: 337.5px; /* 縮小為原本的 75% */
        }

        .report-grid a:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .report-grid img {
            width: 100%;
            height: 280px; /* Increased height by 5px */
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            object-fit: cover;
        }

        .report-grid p {
            margin-top: 0.5rem;
            text-align: center;
            font-weight: 600;
        }


/*手機畫面*/
        @media (max-width: 768px) {
            .esg-circle-container { flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 2rem; }
            .esg-circle-item { width: 100%; margin-bottom: 0; }
        }

        /* --- 其他元件 --- */
        .section-header { width: 100%; display: flex; align-items: center; margin: 3rem 0 1.5rem; }
        .section-header::before, .section-header::after { content: ""; flex: 1; height: 1px; background-color: #4CAF50; }
        .section-header span { padding: 0 1.5rem; color: var(--primary-color); font-size: 1.2rem; font-weight: bold; }

        .action-list-item { display: block; padding: 1rem; background: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 0.75rem; text-decoration: none; color: #444; }
        .hidden { display: none !important; }

        /* Loader Animation */
        .loader-container { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0; }
        .loader { border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-color); border-radius: 50%; width: 40px; height: 40px; animation: spin 2s linear infinite; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
/* --- 第三層選單增強樣式 --- */

/* 第一層容器需允許溢出以顯示第三層 */
.ESG_dropdown-content {
    overflow: visible !important; 
}

/* 年度節點 (第二層) 樣式 */
.year-node {
    position: relative;
    display: block;
    padding: 3px 20px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
}

.year-node:hover {
    background-color: #f0f7f0;
    color: #008551;
}

/* 部門選單 (第三層) 容器 */
.dept-sub-menu {
    display: none;
    position: absolute;
    left: 100%; /* 電腦版從右側彈出 */
    top: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid #eee;
    z-index: 1001;
}

/* 懸停第二層時顯示第三層 */
.year-node:hover .dept-sub-menu {
    display: block;
}

.dept-sub-menu a {
    display: block;
    padding: 3px 15px;
    text-decoration: none;
    color: #666 !important;
    font-size: 0.85rem;
    border-bottom: 1px solid #f9f9f9;
    text-align: left;
}

.dept-sub-menu a:hover {
    background-color: #e8f5e9 !important;
    color: #008551 !important;
}

/* 手機版適配 (1024px以下) */
@media (max-width: 1024px) {
    .dept-sub-menu {
        position: static; /* 改為垂直排列 */
        box-shadow: none;
        border: none;
        background-color: #fcfdfc;
        padding-left: 15px;
    }
    .year-node:hover .dept-sub-menu {
        display: block;
    }
}

