:root {
    --red-color: #ed1c24;
    --green-color: #119c4a;
    --text-color: #212121;
    --gold-primary: #d4af37;
}

/* =========================================
   搜尋框 (Search Box) 顏色修改
   ========================================= */

.dx-texteditor-container {
    border-radius: 0;
    background-color: white;
}

.dx-button,
.dx-state-hover {
    border-radius: 0;
    border-color: var(--green-color) !important;
}

.dx-button-mode-contained.dx-button-default {
    background-color: var(--green-color);
}

.dx-texteditor.dx-editor-outlined {
    border-radius: 0;
}

.dx-state-hover,
.dx-state-active {
    color: var(--green-color) !important;
    background-color: transparent !important;
}

.dx-state-active .dx-icon,
.dx-state-hover .dx-icon {
    color: var(--green-color) !important;
}

/* 移除所有文字被選取時的背景色與顏色變化 */
::selection {
    background-color: var(--red-color);
    /* 背景設為透明 */
    color: inherit;
    /* 文字顏色維持原本的設定 */
}

/* 針對舊版 Firefox 的相容性寫法 */
::-moz-selection {
    background-color: transparent;
    color: inherit;
}

.form-control {
    border-radius: 0;
}

html,
body {
    font-size: 18px;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", "Noto Sans TC", "Noto Sans SC", sans-serif;
}

main {
    overflow-y: hidden;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    transition: all .3s ease-in-out;
}

li {
    transition: all .3s ease-in-out;
}

ul:hover,
li:hover {
    transition: all .3s ease-in-out;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

figure {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
strong,
span {
    text-box: trim-both cap alphabetic;
}

p {
    font-family: "Red Hat Display", sans-serif;
    line-height: 1.5;
    color: var(--text-color);
}

.swiper-3d .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0);
}

.w-banner-scroll-icon {
    bottom: 30px;
    width: 100%;
    position: absolute;
    justify-content: center;
    display: flex;
    animation: bounceUpDown 2s ease-in-out infinite;
}

@keyframes bounceUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
        /* 向下移動 12px，可依版面比例調整 */
    }

    100% {
        transform: translateY(0);
    }
}

.w-banner-scroll-icon img {
    width: 100%;
    max-width: 24px;
}

.w-banner {
    width: 100%;
    min-height: 100svh;
}

.w-home-banner {
    background-image: url(../img/HomeBanner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.w-aboutus-banner {
    height: 100svh;
    background-image: url(../img/aboutus.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.w-op-banner {
    height: 100svh;
    background-image: url(../img/Banner_OP_v1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.w-ir-banner {
    height: 100svh;
    background-image: url(../img/Banner_IR_v1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.w-sustain-banner {
    height: 100svh;
    background-image: url(../img/89d48afcbfde577e99107fe47beb224a.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.w-media-banner {
    height: 100svh;
    background-image: url(../img/c3291064a518001e69b85f45b7d78b06.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
}

.w-career-banner {
    height: 100svh;
    background-image: url(../img/0cc2ed3256b01666449d16421f82b4a9.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.w-inner-banner {
    width: 100%;
    height: 100%;
    padding: 0 160px;
    box-sizing: border-box;
    align-items: center;
    display: flex;
}

.w-inner-banner h2 {
    margin: 0;
    font-size: 90px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
}

.w-inner-banner h3 {
    margin: 0;
    font-size: 48px;
    color: white;
    text-transform: uppercase;
}

.w-banner-content {
    width: 100%;
    min-height: 100svh;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.w-banner-inner-left,
.w-banner-inner-right {
    margin-top: 50px;
    padding: 0 40px;
    column-gap: 55px;
    align-items: center;
    display: flex;
}

.w-banner-inner-left h3,
.w-banner-inner-right h3 {
    margin: 0;
    padding: 0;
    font-size: 60px;
    line-height: 1;
    font-weight: 900;
    color: white;
}

.w-banner-inner-right h3 {
    text-align: right;
}

.w-banner-inner-right .w-banner-modal h6 {
    margin-bottom: 20px;
}

.w-banner-inner-right .w-banner-modal {
    padding: 30px 150px 30px 30px;
}

.w-banner-btn {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    z-index: 2;
    border: 2px solid white;
    transition: transform 0.3s ease;
    transition: all .3s ease-in-out;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    position: relative;
}

.w-banner-btn img {
    max-width: 25px;
}

.w-banner-btn:hover {
    transform: translateY(-10px);
}

.w-banner-inner-left .w-banner-modal {
    padding: 0 75px 0 175px;
    top: 28%;
    left: 0;
    width: 100%;
    max-width: 45%;
    height: 480px;
    background-color: #151515;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    position: absolute;
    justify-content: center;
    flex-direction: column;
}

.w-banner-inner-right .w-banner-modal {
    top: 28%;
    right: 0;
    width: 100%;
    max-width: 45%;
    height: 450px;
    background-color: #151515;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    position: absolute;
    justify-content: center;
    flex-direction: column;
}

.w-banner-modal h6 {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: white;
}

.w-banner-cname {
    margin-top: 40px;
    column-gap: 10px;
    flex-direction: row;
    display: flex;
    color: white;
}

.w-banner-cname h5 {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
}

.w-banner-cname h5:last-child {
    font-weight: 500;
}

.w-banner-stock-detail {
    margin-top: 10px;
    column-gap: 15px;
    line-height: 1;
    color: white;
    align-items: flex-end;
    flex-direction: row;
    display: flex;
}

.w-banner-price {
    font-size: 32px;
    font-weight: 500;
}

.w-banner-price2 {
    font-size: 22px;
    font-weight: 500;
}

.w-banner-stock-detail2 {
    margin-top: 40px;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-banner-price3 {
    color: white;
}

.w-banner-price3-line {
    width: 1px;
    height: 100%;
    border-right: 1px solid white;
    color: white;
}

.w-banner-price3-value {
    margin-bottom: 5px;
    font-size: 22px;
}

.w-banner-price3-label {
    font-size: 22px;
    font-weight: 600;
}

.w-banner-modal {
    display: none;
}

.w-banner-modal.is-active {
    display: flex;
    z-index: 1;
}

.w-banner-stock-bottom {
    margin-top: 40px;
    column-gap: 40px;
    justify-content: space-between;
    display: flex;
}

.w-banner-stock-btn {
    width: 100%;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    background-color: var(--red-color);
    color: white;
}

.w-banner-stock-btn:hover {
    background-color: var(--green-color);
}

.w-btn {
    min-width: 140px;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    background-color: var(--red-color);
    color: white;
}

.w-btn:hover {
    background-color: var(--green-color);
}

/* =========================================
   容器與影片填滿設定
   ========================================= */
.w-banner-modal {
    /* 這裡假設您的 Modal 有一個給定的高度或比例 */
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 或設定具體 height: 480px; */
    overflow: hidden;
}

.ir-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 覆寫 Plyr 的預設高度，讓它完全跟隨父層 (.ir-video-wrapper) */
.ir-video-wrapper .plyr {
    width: 100%;
    height: 100%;
}

/* 讓實際的影片畫面強制填滿並裁切多餘黑邊 */
.ir-video-wrapper .plyr__video-wrapper,
.ir-video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* =========================================
   自訂播放按鈕設定
   ========================================= */
/* 隱藏 Plyr 預設位在畫面正中央的大型播放按鈕 */
.plyr__control--overlaid {
    display: none !important;
}

/* 設定您專屬的圖片播放按鈕 */
.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* 確保按鈕疊在影片上方 */

    /* 替換為您的圖片設定 */
    width: 100px;
    height: 100px;
    background-image: url('../img/icon_play.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.custom-play-btn:hover {
    opacity: 0.8;
}

/* 基礎排版設定 */
.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #003366;
    /* 沉穩的企業藍 */
    line-height: 1.3;
    margin: 0;

    /* 初始隱藏，避免 JS 載入前的畫面閃爍 (FOUC) */
    /* visibility: hidden; */
}

/* 針對 SplitType 自動生成的層級進行設定 */
.hero-title .line {
    /* 讓字元從裁切線下方浮現的關鍵 */
    overflow: hidden;
    padding-bottom: 5px;
    /* 避免稍微突出的字母如 g, y 被截斷 */
}

.hero-title .char {
    /* 初始狀態：往下位移並設定透明度 0 */
    transform: translateY(100%);
    opacity: 0;
}

.w-home-aboutus {
    width: 100%;
    min-height: 100svh;
    background-image: url(../img/home_aboutus_bg.png);
    background-size: cover;
    background-position: center 85%;
    background-repeat: no-repeat;
    display: flex;
}

.w-home-aboutus-content {
    padding: 160px 160px;
    column-gap: 85px;
    grid-template-columns: auto 1.15fr 1fr;
    display: grid;
}

.w-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--green-color);
    text-transform: uppercase;
}

.w-title.green {
    color: white;
}

.w-aboutus-intro {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
}

.w-aboutus-intro p {
    margin: 0 0 120px;
    padding: 0;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
}

.w-aboutus-intro p strong {
    font-weight: 900;
    color: var(--green-color);
}

.w-aboutus-desc {
    row-gap: 15px;
    flex-direction: column;
    display: flex;
}

.w-home-products {
    width: 100%;
    background-color: #e6eee9;
}

.w-home-products {
    overflow: hidden;
}

.w-home-products-item:first-child {
    padding: 90px 160px;
}

.w-home-products-item:first-child .w-title {
    text-align: center;
}

.w-home-products-item:last-child {
    background-color: #eaf1ed;
}

.w-home-products-card {
    margin: 120px 0 0;
}

.w-home-products-card .slider-wrapper {
    width: 100%;
    position: relative;
}

.w-home-products-card .swiper {
    width: 100%;
    overflow: visible !important;
    perspective: 1200px;
    /* 增加 3D 視角深度 */
}

.card-item {
    padding: 40px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    column-gap: 75px;
    grid-template-columns: 1.25fr 1fr;
    display: grid;
}

.card-left {
    display: flex;
    flex-direction: column;
}

.card-number {
    color: var(--green-color);
    font-size: 60px;
    font-weight: 400;
}

.card-title {
    color: var(--green-color);
    font-size: 96px;
    font-weight: 900;
    margin: 5px 0 50px 0;
    letter-spacing: -2px;
}

.card-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    flex-grow: 1;
    flex-direction: column;
    display: flex;
}

.btn-more {
    background: #f12b2c;
    color: #fff;
    text-decoration: none;
    padding: 10px 35px;
    border-radius: 30px;
    width: fit-content;
    font-size: 14px;
}

.btn-more:hover {
    background: var(--green-color);
}

.card-right {
    flex: 1;
    display: flex;
}

.card-right img {
    width: 100%;
    height: 640px;
    object-fit: cover;
}

/* 關鍵：調整 Swiper 的層級，確保後面的卡片不會遮擋前面的 */
.w-home-products-card .swiper-slide {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    /* 確保滑動時背面不會亂閃 */
    backface-visibility: hidden;
}

.w-home-products-operations {
    position: relative;
}

.w-home-products-operations .w-title {
    padding: 0 160px;
    position: absolute;
    top: 11.5%;
    z-index: 1;
}

.w-home-products-operations .w-btn {
    top: -90px;
    margin: 0 auto;
    width: 100%;
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 基礎容器設定 */
.operations-container {
    position: relative;
    width: 100%;
    /* 假設您的地圖背景原圖是 1920x1080，請替換成實際尺寸比例 */
    aspect-ratio: 1920 / 1080;

    /* 如果背景圖移來這裡，請改用 contain 或 100% 100% */
    background-image: url(../img/圖片_20260720120733_338_5.png);
    /* 建議切出獨立的地圖去背圖 */
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* 據點群組，改為 Absolute 定位在背景圖上 */
.location-item {
    width: 31.25%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.location-item:first-child {
    width: 39.5%;
}

/* 文字資訊區塊 */
.info-box {
    position: relative;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.6s ease;
}

.region {
    color: var(--green-color);
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 900;
    margin: 0;
    padding-bottom: 20px;
}

.details {
    padding-top: 5px;
    /* 騰出空間給上方的紅線 */
}

.percentage {
    line-height: 1;
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: bold;
    margin: 0;
    margin-bottom: 8.5px;
    color: #000;
}

.company {
    font-size: clamp(10px, 1vw, 14px);
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    margin: 5px 0 0 0;
}

/* ======== 關鍵修改：絕對定位延伸線 ======== */
/* ======== 關鍵修改：絕對定位延伸線 ======== */
.map-line {
    position: absolute;
    left: 0;
    top: clamp(16px, 1.8vw, 30px);
    height: 1px;
    background-color: #e2a0a0;
    width: 0;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

/* ======== 關鍵修改：圓點對齊線條 ======== */
.dot-wrapper {
    position: absolute;
    top: clamp(16px, 1.8vw, 32px);
    transform: translateY(-50%);
    width: clamp(20px, 2vw, 32px);
    height: clamp(20px, 2vw, 32px);
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
    z-index: 2;
}

/* 圓心點與呼吸波紋 (與原版相同) */
.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: white;
    border: 24px solid var(--red-color);
    border-radius: 50%;
    z-index: 2;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--red-color);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-animation 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

/* ======== 座標、線條長度與圓點落點設定 ======== */
/* 大地圖上的位置 */
.loc-tibet {
    top: 35%;
    left: 12%;
}

.loc-jiangxi {
    top: 40%;
    left: 37.5%;
}

.loc-solomon {
    top: 57%;
    left: 58%;
}

.location-item:first-child {
    width: 58.5%;
}

.location-item:nth-child(2) {
    width: 38.5%;
}

/* 懸停強化視覺 */
.location-item:hover .map-line {
    background-color: var(--red-color);
    height: 2px;
}

/* 各據點展開後的線長度 */
/* ======== 4. 關鍵修改：將長度 px 轉換為 % ======== */
/* 基於 location-item 的寬度進行百分比計算 */
.location-item.show.loc-tibet .map-line {
    width: 100%;
}

.location-item.show.loc-tibet .dot-wrapper {
    left: 100%;
}

/* Jiangxi：原 260px / 600px = 約 43.3% */
.location-item.show.loc-jiangxi .map-line {
    width: 100%;
}

.location-item.show.loc-jiangxi .dot-wrapper {
    left: 100%;
}

/* Solomon：原 280px / 600px = 約 46.6% */
.location-item.show.loc-solomon .map-line {
    width: 100%;
}

.location-item.show.loc-solomon .dot-wrapper {
    left: 100%;
}

/* jQuery 觸發後的進場狀態 */
.location-item.show {
    opacity: 1;
}

.location-item.show .info-box {
    opacity: 1;
    transform: translateX(0);
}

.location-item.show .dot-wrapper {
    opacity: 1;
}

/* 針對每個據點，單獨設定展開後的「線長度」與「圓點位置」 */
.location-item.show.loc-tibet .map-line {
    width: 100%;
}

.location-item.show.loc-tibet .dot-wrapper {
    right: 0;
}

/* 懸停未選中據點的淡化效果 */
.operations-container.is-hovered .location-item:not(:hover) {
    opacity: 0.3;
}

.w-home-ir {
    width: 100%;
    min-height: 95svh;
    background-image: url(../img/home_ir_bg2.png);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    display: flex;
}

.w-home-ir .w-btn {
    border: 1px solid transparent;
}

.w-home-ir .w-btn:hover {
    border: 1px solid white;
}

.w-home-ir-content {
    margin: 0 auto;
    width: 100%;
    max-width: 62.5%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
}

.w-home-ir-top {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background-color: var(--green-color);
    flex-direction: column;
    display: flex;
}

.w-home-ir-bottom {
    width: 100%;
    background-color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.w-home-ir-title {
    padding: 25px 50px;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    display: flex;
}

.w-home-ir-desc {
    width: 100%;
    height: 100%;
    column-gap: 2.5px;
    flex-direction: row;
    display: flex;
}

.w-home-ir-item {
    width: 100%;
    padding: 50px 50px 30px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 0px;
    color: white;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
    cursor: pointer;
}

.w-home-ir-item:first-child {
    border-left: 0px;
}

.w-home-ir-item .w-home-ir-date-bottom img {
    transition: transform 0.3s ease;
}

.w-home-ir-item:hover .w-home-ir-date-bottom img {
    transform: translateY(-10px);
}

.w-home-ir-date {
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-home-ir-day {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
}

.w-home-ir-date-bottom {
    row-gap: 15px;
    text-align: right;
    align-items: flex-end;
    flex-direction: column;
    display: flex;
}

.w-home-ir-date-bottom img {
    width: 100%;
    max-width: 15px;
    object-fit: contain;
}

.w-home-ir-desc2 {
    height: 100%;
    padding: 0 50px 25px;
    column-gap: 60px;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.w-home-report-item {
    align-items: center;
    display: flex;
}

.w-home-report-item>img {
    width: 100%;
    max-width: 220px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.w-home-report-details {
    width: 100%;
    padding: 25px 20px 30px 30px;
    column-gap: 15px;
    background-color: #edf5f0;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-home-report-details img {
    width: 100%;
    max-width: 30px;
}

.w-home-report-year {
    font-size: 52px;
    font-weight: 800;
    color: var(--green-color);
}

.w-home-report-label {
    font-size: 26px;
    line-height: 1;
    color: var(--green-color);
    text-transform: uppercase;
}

.w-home-sustain {
    width: 100%;
    min-height: 95svh;
    background-color: #e6eee9;
    flex-direction: column;
    display: flex;
    position: relative;
}

.w-home-sustain-icon {
    width: 100%;
    top: 60px;
    z-index: 0;
    justify-content: center;
    display: flex;
    position: absolute;
}

.w-home-sustain-icon img {
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
}

.w-home-sustain-earth {
    width: 100%;
    bottom: 0;
    z-index: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    justify-content: center;
    display: flex;
    position: absolute;
    overflow: hidden;
}

.w-home-sustain-earth.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.w-home-sustain-earth img {
    margin: 0 auto;
    width: 100%;
    max-width: 580px;
}

.w-home-sustain-content {
    margin: 0 auto;
    padding: 60px 0;
    width: 100%;
    max-width: 80%;
    flex: 1;
    column-gap: 180px;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
}

.w-home-sustain-center {
    padding-top: 160px;
    row-gap: 60px;
    z-index: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: flex;
    position: relative;
}

.w-home-sustain-left,
.w-home-sustain-right {
    z-index: 1;
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.w-home-sustain-right p,
.w-home-sustain-left p {
    margin-bottom: 0;
    line-height: 1.75;
    text-align: justify;
}

.w-home-sustain-title {
    font-size: 100%;
    font-weight: 800;
    color: var(--green-color);
}

.w-home-sustain-right {
    z-index: 1;
}

/* 預設狀態：將偏移量設為 252，讓綠色線條完全隱藏 */
.ring-path {
    stroke-dasharray: 252;
    stroke-dashoffset: 252;
}

/* 當 jQuery 加上 is-animated class 時才執行迴圈動畫 */
.half-ring-svg.is-animated .ring-path {
    animation: drawRing 2s ease-in-out forwards;
    /* 播放一次後保持填滿 */
}

@keyframes drawRing {
    to {
        /* 偏移量歸零，線條完全填滿上半圓 */
        stroke-dashoffset: 0;
    }
}

.w-home-media-content {
    padding: 120px 160px;
}

.w-home-media-top {
    margin: 60px 0 120px;
    column-gap: 60px;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.w-home-media-top-item {
    flex-grow: 1;
    display: grid;
    background-color: transparent;
}

.w-home-media-top-item:hover figure {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.w-home-media-top figure {
    margin-bottom: 0;
    width: 100%;
    border-radius: 60px;
    display: flex;
}

.w-home-media-top figure img {
    width: 100%;
    height: 500px;
    border-radius: 60px;
    object-fit: cover;
}

.w-home-media-details {
    margin-top: 20px;
    column-gap: 75px;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
    display: flex;
}

.w-home-media-day {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: var(--green-color);
}

.w-home-media-monthyear {
    font-size: 16px;
    font-weight: 500;
    flex-direction: row;
    display: flex;
}

.w-home-media-title {
    font-size: 24px;
    font-weight: 800;
}

.w-home-media-desc p {
    margin-bottom: 0;
    /* 必須設定為 box */
    display: -webkit-box;
    /* 限制顯示的行數 */
    -webkit-line-clamp: 2;
    /* 設定排列方向 */
    -webkit-box-orient: vertical;
    /* 隱藏超出部分 */
    overflow: hidden;
}

.w-home-media-other-list {
    flex-direction: column;
    display: flex;
}

.w-home-media-other-list li {
    padding: 25px 0;
    column-gap: 90px;
    border-bottom: 1.5px solid rgb(192, 192, 192);
    justify-content: space-between;
    align-items: center;
    grid-template-columns: auto 2fr auto;
    display: grid;
}

.w-home-media-other-list li a {
    column-gap: 20px;
    font-weight: 500;
    color: var(--green-color);
    align-items: flex-start;
    flex-direction: row;
    display: flex;
}

.w-home-media-other-list li a:hover {
    text-decoration: underline;
}

.w-home-media-other-list li a img {
    width: 100%;
    max-width: 12px;
    transition: transform 0.3s ease;
}

.w-home-media-other-list li a:hover img {
    transform: translateY(-5px);
}

.w-home-media-other-date {
    min-width: 120px;
}

.w-home-media-other-date,
.w-home-media-other-title {
    font-weight: 400;
}

.w-home-career {
    width: 100%;
    background-image: url('../img/home_career_bg.png');
    background-position: center;
    background-size: cover;
}

.w-home-career-content {
    padding: 80px 160px;
    flex-direction: column;
    display: flex;
}

.w-home-career-intro {
    margin: 30px 0 40px;
}

.w-home-career-intro p {
    width: 100%;
    max-width: 420px;
    font-weight: 500;
    line-height: 1.2;
}

.w-home-career-more {
    margin-top: 20px;
    column-gap: 20px;
    flex-direction: row;
    display: flex;
}

.w-home-career-more .w-btn {
    padding: 10px 20px;
}

.w-footer {
    padding: 60px 160px;
    background-color: #2a2a2a;
    flex-direction: column;
    display: flex;
}

.w-footer-top {
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-footer-top img {
    width: 100%;
    max-width: 100px;
}

.w-footer-tright {
    column-gap: 80px;
    align-items: center;
    flex-direction: row;
    display: flex;
}

.w-footer-tright a {
    font-weight: 600;
    color: white !important;
}

.w-footer-center {
    margin: 20px 0 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-footer-center h6 {
    margin: 0;
    margin-bottom: 10px;
    font-weight: 900;
    font-size: 16px;
    color: white;
}

.w-footer-center div {
    margin-top: 10px;
    font-weight: 400;
    color: white;
}

.w-footer-center a {
    color: white;
}

.w-footer-center a:hover {
    text-decoration: underline;
}

.w-footer-c1-qrcodes {
    column-gap: 15px;
    flex-direction: row;
    display: flex;
}

.w-footer-c1-qrcodes > div {
    row-gap: 10px;
    flex-direction: column;
    display: flex;
}

.w-footer-c1 img {
    width: 100%;
    max-width: 100px;
    aspect-ratio: 1/1;
}

.w-footer-bottom p {
    margin: 0;
    font-weight: 400;
    color: white;
    text-align: center;
}


/* Inner Page */

.w-inner-content {
    flex-direction: column;
    display: flex;
    position: relative;
    /* background-image: url(../img/home_aboutus_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

.w-inner-content .w-title {
    font-weight: 900;
    margin-bottom: 60px;
    font-size: 28px;
    color: var(--green-color);
    text-align: center;
}

.w-sub-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
}

.w-inner-c-plr0 {
    padding: 90px 0;
}

.w-inner-c-ptblr0 {
    padding: 0;
}

.w-inner-c-p160 {
    padding: 90px 160px;
    overflow: hidden;
}

.w-aboutus {
    row-gap: 40px;
    flex-direction: column;
    display: flex;
}

.w-aboutus h1 {
    margin: 0 auto;
    max-width: 1200px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--green-color);
    text-align: center;
}

.w-aboutus p {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

.w-aboutus .ir-video-wrapper {
    margin: 40px auto;
    width: 100%;
    max-width: 1200px;
}

.w-aboutus figure {
    margin: 0;
    background-color: white;
    background-image: url(../img/home_aboutus_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.w-aboutus figure img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: left center;
    display: block;
    /* 關鍵：消除底部基線間隙 */
    /* 提升效能，避免滾動動畫時出現殘影 */
    will-change: transform, opacity;
}

.w-about-item-master {
    margin: 0 auto;
    row-gap: 60px;
    width: 100%;
    max-width: 1200px;
    flex-direction: column;
    display: flex;
}

.w-aboutus-item {
    width: 100%;
    column-gap: 60px;
    background-color: white;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    display: grid;
}

.w-aboutus-item:nth-child(2) {
    margin: 0 0 0 auto;
    grid-template-columns: 1.5fr 1fr;
}

.w-aboutus-pintro {
    row-gap: 40px;
    flex-direction: column;
    display: flex;
}

.w-aboutus-pintro p {
    margin: 0;
    font-size: 18px;
    text-align: justify;
}

.w-opv {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    column-gap: 60px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}

.w-opv-item {
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: white;
    transition: all .3s ease-in-out;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.w-opv-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.w-opv-item::before  {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #119c4a, #119c4a);
    /* 品牌金色漸層 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.w-opv-item:hover::before {
    transform: scaleX(1);
}

.w-opv-item img {
    width: 100%;
    max-width: 64px;
}

.w-opv-item h6 {
    margin: 30px 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.w-opv-item p {
    text-align: center;
}

.w-cgd {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    align-items: center;
    flex-direction: column;
    display: flex;
}

#CgdListDiv {
    min-height: 200px;
    row-gap: 20px;
    width: 100%;
    flex-direction: column;
    display: flex;
    position: relative;
}

#CgdListDiv li {
    padding-bottom: 20px;
    border-bottom: 1px solid lightgrey;
    column-gap: 40px;
    align-items: center;
    grid-template-columns: .15fr 1fr auto;
    display: grid;
}

#CgdListDiv img {
    width: 100%;
    max-width: 24px;
}

/* 遮罩層預設隱藏 */
.loading-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* 一個簡單的 CSS 動畫圓圈 */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.w-prospectus {
    justify-content: center;
    align-items: center;
    display: flex;
}

.w-prospectus a {
    text-align: center;
}

.w-prospectus img {
    width: 100%;
    max-width: 320px;
    border: 1px solid transparent;
}

.w-prospectus a:hover img {
    border: 1px solid var(--green-color);
}

.document-list {
    list-style: none;
    padding: 0;
}

.loading-state,
.empty-state,
.error-state {
    text-align: center;
    padding: 30px;
    color: #595959;
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.error-state {
    color: #d93025;
    background-color: #fce8e6;
}

/* =========================================
   自訂 Pagination.js 樣式 (現代簡約風)
========================================= */

/* 1. 容器置中與間距 */
#pagination-container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    /* 如果你想靠右，改成 flex-end */
}

/* 移除預設的浮動 */
.paginationjs .paginationjs-pages {
    float: none !important;
}

/* 2. 列表佈局：使用 Flexbox 並加入間距 */
.paginationjs .paginationjs-pages ul {
    column-gap: 10px;
    flex-direction: row;
    display: flex;
    /* 按鈕之間的間隔 */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 移除預設的 li 邊框 */
.paginationjs .paginationjs-pages li {
    line-height: 1;
    border: none !important;
}

/* 3. 分頁按鈕基礎設計 */
.paginationjs .paginationjs-pages li>a {
    height: 100%;
    padding: 5px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 微圓角設計 */
    background-color: #ffffff;
    color: #595959;
    /* 預設文字顏色 */
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease-in-out;
    font-family: "Montserrat", "Noto Sans TC", "Noto Sans SC", sans-serif;
    /* Hover 的漸變動畫效果 */
}

/* 4. Hover 效果 (滑鼠移上去時) */
.paginationjs .paginationjs-pages li:not(.active):not(.disabled):hover>a {
    background-color: var(--green-color);
    /* 淺藍色背景 */
    color: white;
    /* 你的品牌主色 (這裡示範企業藍) */
    border-color: var(--green-color);
}

/* 5. Active 狀態 (當前頁面) */
.paginationjs .paginationjs-pages li.active>a {
    height: auto!important;
    line-height: 1.3;
    background-color: var(--red-color);
    /* 你的品牌主色 */
    color: #ffffff;
    border-color: var(--red-color);
    cursor: default;
    /* 加上一點陰影增加層次 */
}

.paginationjs .paginationjs-pages li>a {
    height: auto!important;
}

/* 6. Disabled 狀態 (例如第一頁的「上一頁」) */
.paginationjs .paginationjs-pages li.disabled>a {
    color: #bfbfbf;
    background-color: transparent;
    border-color: transparent;
    cursor: not-allowed;
    opacity: 0.8;
}

.paginationjs .paginationjs-pages li:first-child, .paginationjs .paginationjs-pages li:first-child>a,
.paginationjs .paginationjs-pages li:last-child>a {
    border-radius: 50px;
    background-color: transparent;
    border-color: transparent;
}

.w-cgo {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    flex-direction: column;
    display: flex;
}

.w-cgo p {
    margin: 0;
}

.w-cgo-content {
    row-gap: 60px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bdp,
.w-cgo-rmic,
.w-cgo-gs,
.w-cgo-bc {
    margin: 0 auto;
    width: 100%;
    row-gap: 20px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bc ul {
    margin-left: 20px;
    list-style-type: disc;
    row-gap: 10px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bc ul strong {
    font-weight: 600;
}

.w-cgo-bc-3-grid {
    margin-bottom: 10px;
    column-gap: 40px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}

.w-cgo-bc-3-grid p {
    line-height: 1.25;
    font-size: 16px;
}

.w-cgo-bc-3-grid strong {
    margin-top: 25px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.w-cgo-bc-3-grid p:last-child {
    margin-top: 15px;
    margin-bottom: 0;
}

.w-cgo-bc-3-item {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bc-3-label {
    padding: 15px;
    color: white;
    background-color: var(--green-color);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.w-cgo-bc-3-desc {
    padding: 20px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bc-bottom {
    row-gap: 25px;
    flex-direction: column;
    display: flex;
}

.w-cgo-bc-bottom strong {
    font-weight: 500;
}

.w-products {
    margin: 0 auto;
    display: flex;
    max-width: 1200px;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.split-layout-container {
    display: flex;
    max-width: 1300px;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 0;
    overflow: hidden;
    /* 確保圓角內元素不溢出 */
}

/* 左側：圖片預留區 */
#PGoldDiv .visual-section {
    background-position: center;
    background-image: url(../img/22bbfe8fe8f50bc9ad0ce70cafc51b6v2.jpg);
}

#PCopperDiv .visual-section {
    background-position: center top;
    background-image: url(../img/_Y8A0492a.jpg);
}

#PZincDiv .visual-section {
    background-position: center 40%;
    background-image: url(../img/_Y8A0503a.jpg);
}

#POtherDiv .visual-section {
    background-position: center;
    background-image: url(../img/_Y8A0476a.jpg);
}

.visual-section {
    flex: 0 0 45%;
    /* 佔據 45% 寬度 */
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

/* 提示這是一張圖片的佔位符號 (未來填入真實圖片後可移除) */
.image-placeholder-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 圖片上的玻璃透視資訊卡 (Glassmorphism) */
.visual-overlay-card {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    column-gap: 25px;
    align-items: center;
    flex-direction: row;
    display: flex;
}

.visual-overlay-card h3 {
    margin-bottom: 0;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text-color);
    text-transform: uppercase;
}

.data-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 30px 0;
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 15px;
    display: inline-block;
}

/* 右側：數據與文字區塊 */
.data-section {
    flex: 0 0 55%;
    /* 佔據 55% 寬度 */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 2x2 數據網格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

#PCopperDiv .stats-grid .stat-item:nth-child(3) {
    grid-column: span 2 / span 2;
}

.stat-item {
    background-color: #fffcf4;
    padding: 25px;
    border: 1px solid #fff1c1;
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.15);
    border-color: #ffda60;
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 500;
    height: 40px;
    /* 統一高度確保對齊 */
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-value .unit {
    font-size: 16px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* 原始文字保留區 (簡約化設計) */
.compliance-footer {
    background-color: #f9fafb;
    padding: 20px 10px;
    font-size: 14px;
    color: var(--text-color);
    border: 1px dashed #d1d5db;
}

.compliance-footer ul {
    row-gap: 10px;
    margin-left: 30px;
    list-style-type: disc;
    flex-direction: column;
    display: flex;
}

.compliance-footer li {
    line-height: 1.25;
}

.w-product-category {
    row-gap: 20px;
    flex-direction: column;
    display: flex;
}

.w-product-type {
    width: 100%;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.w-product-type h6 {
    width: 100%;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.w-product-type p {
    width: 100%;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
}

#SGE1Div {
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
}

.w-sustain {
    row-gap: 60px;
    column-gap: 60px;
    display: grid;
}

.w-sustain-main--1 {
    flex-direction: column;
    display: flex;
}

.w-sustain-main--1 .w-sub-title {
    margin: 0 auto;
    max-width: 1200px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--green-color);
    text-align: center;
}

.w-sustain-main--1 p {
    margin: 0 auto;
    max-width: 1140px;
    text-align: center;
}

.w-sustain-main--1 .w-sustain-left {
    row-gap: 20px;
    flex-direction: column;
    display: flex;
}

.w-sustain-main--1 .w-sustain-right figure {
    margin: 0 auto;
    height: 460px;
    max-width: 700px;
}

.w-sustain-main--1 .w-sustain-right img {
    height: 460px;
    margin: 0 auto;
    object-fit: cover;
}

.w-sustain-desc {
    width: 100%;
}

.w-sustain-main--2 {
    margin: 0 auto;
    width: 100%;
    column-gap: 60px;
    flex-direction: row;
    display: flex;
}

.w-sustain-main--2:nth-child(odd) {
    background-color: #e6eee9;
}

.w-sustain-main--2 > div {
    margin: 0 auto;
    padding: 160px;
    width: 100%;
    max-width: 1720px;
    column-gap: 60px;
    align-items: flex-start;
    flex-direction: row;
    display: flex;
}

.w-sustain-main--2 figure {
    width: 100%;
    max-width: 460px;
    max-height: 460px;
    display: flex;
}

.w-sustain-main--2 figure img {
    width: 100%;
    max-width: 530px;
    object-fit: cover;
}

.w-sustain-main--2:nth-child(2n) {
    flex-direction: row-reverse;
}

.w-sustain-inner-sub-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.w-sustain-value {
    flex-direction: column;
    display: flex;
}

.w-sustain-value p {
    margin: 20px 0 0;
    padding-right: 40px;
}

.w-sustain-vitem img{
    display: none;
}

.w-sustain-vitem {
    padding: 15px 0;
}

.w-sustain-vitem.active img {
    transform: rotate(135deg);
}

.w-sustain-label {
    padding: 10px 0 0;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-sustain-vitem h6 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
}

.w-sustain-label img {
    width: 100%;
    max-width: 16px;
    transform: rotate(45deg);
    transition: 0.3s ease-in-out;
    object-fit: contain;
    object-position: center;
}

.w-inner-content-sustain .w-title {
    text-align: center;
}

.w-faqs {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    column-gap: 60px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    display: grid;
}

.w-faq-card {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    row-gap: 40px;
    background-color: white;
    flex-direction: column;
    display: flex;
}

.w-faq-item {
    row-gap: 10px;
    column-gap: 10px;
    align-items: flex-start;
    flex-direction: row;
    display: flex;
}

.w-faq-item > div {
    min-width: 180px;
    column-gap: 10px;
    align-items: center;
    flex-direction: row;
    display: flex;
}

.w-faq-item h6 {
    margin-bottom: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.w-faq-item p {
    margin-bottom: 0;
    line-height: 1.35;
}

.w-faq-item i {
    font-size: 18px;
}

.w-news {
    margin: 0 auto;
    width: 100%;
    row-gap: 40px;
    flex-direction: column;
    display: flex;
}

.w-news-grid {
    row-gap: 60px;
    column-gap: 60px;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
}

.w-news-item {
    border: 1px solid #eaeaea;
    grid-template-columns: 1.25fr 1fr;
    display: grid;
}

.w-news-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.w-news-item:hover i {
    transform: translateX(10px);
    transition: all .3s ease-in-out;
}

.w-news-item figure {
    margin: 0;
    height: 360px;
}

.w-news-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.w-news-desc {
    padding: 30px;
    row-gap: 10px;
    flex-direction: column;
    display: flex;
}

.w-news-desc h6 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.w-news-desc h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

.w-news-desc p {
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* 限制顯示的行數 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.w-news-desc i {
    font-size: 18px;
    color: var(--green-color);
    transition: all .3s ease-in-out;
}

.w-news-link {
    margin-top: auto;
    /* 將鏈結推到底部 */
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green-color);
}

.w-news-link span {
    margin-right: 5px;
    text-transform: uppercase;
}

.w-news-tools {
    width: 100%;
    column-gap: 40px;
    flex-direction: row;
    display: none;
}

#Sustain_RD_Div .w-title {
    text-align: center;
}

.w-sustain-rd {
    row-gap: 120px;
    flex-direction: column;
    display: flex;
}

.w-srd-intro {
    row-gap: 40px;
    flex-direction: column;
    display: flex;
}

.w-srd-intro h1 {
    margin: 0 auto;
    max-width: 1200px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--green-color);
    text-align: center;
}

.w-srd-intro p {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

.w-srd-esg-target {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    column-gap: 60px;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: center;
    display: grid;
}

.w-srdet-left figure {
    margin: 0;
    display: flex;
}

.w-srdet-left img {
    width: 100%;
    height: 350px;
    max-width: 530px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.w-srdet-right {
    background-color: white;
    position: relative;
}

.w-srdet-right h6 {
    text-box: initial;
    margin: 0 0 30px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.5;
    color: var(--green-color);
    text-transform: uppercase;
}

.w-srdet-right h6::after {
    top: 15px;
    margin-left: 20px;
    width: 100%;
    height: 3px;
    content: " ";
    background-color: var(--green-color);
    align-items: center;
    position: absolute;
}

.w-srdet-right p {
    margin: 0;
}

.w-srd-esg-highlights h5 {
    margin: 0 0 60px;
    font-size: 24px;
    color: var(--green-color);
    text-transform: uppercase;
    text-align: center;
}

.w-srdeh-content {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

.w-srdeh-item {
    padding: 30px 0;
    grid-template-columns: 1fr 3fr;
    align-items: flex-start;
    display: grid;
}

.w-srdeh-item>h6 {
    margin: 0;
    font-size: 18px;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    color: rgb(65, 65, 65);
    border: 1px solid rgb(65, 65, 65);
    text-transform: uppercase;
    background-color: white;
    display: flex;
}

.w-srdeh-value ul {
    margin-left: 20px;
    column-gap: 60px;
    flex-direction: column;
    display: flex;
}

.w-srdeh-value ul li {
    padding: 20px 30px;
    border-bottom: 1px solid lightgrey;
    cursor: pointer;
}

.w-srdeh-value li > div {
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
}

.w-srdeh-value li img {
    width: 100%;
    max-width: 16px;
    transform: rotate(45deg);
    transition: all .3s ease-in-out;
}

.w-srdeh-value li h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.w-srdeh-value li.active img {
    transform: rotate(135deg);
    transition: all .3s ease-in-out;
}

.w-srdeh-value li.active p {
    margin-bottom: 0;
    display: flex;
}

/* 預設隱藏 */
.w-srdeh-value ul li p {
    margin-top: 20px;
    display: none;
}

/* 加上 active 後顯示 */
.w-srdeh-value ul li.active p {
    display: block; /* 或者 opacity: 1, visibility: visible 等 */
}

.w-srd-esg-report {
    padding: 60px 20px;
}

.w-srd-esg-report h5 {
    margin: 0 0 60px;
    font-size: 24px;
    color: var(--green-color);
    text-transform: uppercase;
    text-align: center;
}

#ESGReportDiv #FinancialReportDiv {
    margin: 0 auto;
}

#ESGReportDiv #ReportDiv1 {
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
}

#ESGReportDiv #ReportDiv1 #ReportLink1 {
    row-gap: 20px;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.w-cjy {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    align-items: flex-start;
    flex-direction: column;
    display: flex;
}

.w-cjy-row {
    margin-bottom: 60px;
    column-gap: 75px;
    grid-template-columns: 1.5fr 1fr;
    align-items: flex-start;
    display: grid;
}

.w-cjy-grid {
    width: 100%;
    margin: 0 0 60px;
    row-gap: 40px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}

.w-cjy-item {
    row-gap: 20px;
    align-items: flex-start;
    flex-direction: column-reverse;
    display: flex;
}

.w-cjy-label {
    border-radius: 50px;
    padding: 7.5px 25px;
    font-size: 12px;
    font-weight: 600;
    color: rgb(65, 65, 65);
    border: 1px solid rgb(65, 65, 65);
    text-transform: uppercase;
    background-color: white
}

.w-cjy-value {
    height: 100%;
    row-gap: 5px;
    font-weight: 600;
    flex-direction: column;
    display: flex;
}

.w-cjy-value p {
    margin: 0 0 15px;
    width: 100%;
    font-size: 16px;
    max-width: 300px;
    line-height: 1.35;
}

.w-cjy-count {
    margin-bottom: 10px;
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
}

.w-cjy-count span {
    font-weight: 600;
    font-size: 28px;
    color: var(--red-color);
}

.w-cjy-details {
    row-gap: 40px;
    margin-top: 40px;
    flex-direction: column;
    display: flex;
}

.w-cjy-details p {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 1.2;
}

.w-cjy-details p span {
    font-weight: 600;
    font-size: 22px;
    color: var(--text-color);
    font-family: "Montserrat", "Noto Sans TC", "Noto Sans SC", sans-serif;
}

.w-cjy-ditem {
    row-gap: 20px;
    align-items: flex-start;
    flex-direction: column-reverse;
    display: flex;
}

.w-cjy-dvalue span {
    font-size: 28px;
}

.w-cjy-right figure {
    margin: 0;
    height: 100%;
    display: flex;
}

.w-cjy-right img {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    object-fit: cover;
}

.w-cjy-mr-label {
    width: 75%;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

.w-cjy-mr-label::after {
    top: 14px;
    margin-left: 35px;
    width: 100%;
    height: 3px;
    content: " ";
    background-color: var(--green-color);
    align-items: center;
    position: absolute;
}

.w-cjy-table {
    width: 100%;
}

.w-g-video {
    column-gap: 60px;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    display: grid;
}

.w-g-video-list {
    row-gap: 30px;
    flex-direction: column;
    display: flex;
}

.w-g-video-list img {
    width: 100%;
    max-width: 520px;
}

.w-g-video-link figure {
    position: relative;
}

.w-g-video-left {
    padding-right: 60px;
    width: 100%;
    border-right: 1px solid var(--green-color);
    display: flex;
    position: relative;
}

.w-g-video-left video {
    width: 100%;
}

.w-g-video-left .plyr {
    width: 100%;
    height: 500px;
}

#CJYDiv2 {
    background-color: #e6eee9;
}

#CJYDiv2 .w-cjy-details {
    margin-bottom: 50px;
}

#CJYDiv2 .w-cjy-grid:last-child {
    margin: 0;
}

#SR2Div {
    background-color: #e6eee9;
}

#SR3Div {
    background-image: url(../img/home_aboutus_bg.png);
    background-size: cover;
    background-position: center 85%;
    background-repeat: no-repeat;
}

.w-solomon-highlight-content {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    column-gap: 120px;
    grid-template-columns: 1fr 2fr;
    display: grid;
}

.w-solomon-highlight {
    width: 100%;
}

.w-solomon-highlight .w-sub-title {
    margin-bottom: 40px;
}

.w-solomon-highlight .w-cjy-details {
    margin-top: 0;
}

.w-solomon-highlight .w-cjy {
    overflow: hidden;
}

.w-sustain-main--no-title p {
    margin-top: 0;
}

.w-sustain-main--3 {
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    color: white;
}

.w-sustain-main--3 h6 {
    margin-bottom: 25px;
    font-size: 18px;
    text-align: center;
}

.w-sustain-main--3 p {
    text-align: center;
    color: white;
}

#SustainDetails2Div .w-sustain-main--2:nth-child(2n) > div {
    flex-direction: row-reverse;

}

#RPLASTDIV {
    background-image: url(../img/6d084c39b9ecc691056c6a79d67b8783.jpg);
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
}

.w-home-media-month {
    min-width: 30px;
}