.w-life h1 {
    margin: 0 auto;
    max-width: 1200px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--green-color);
    text-align: center;
}

#CoreValueDiv {
    background-color: #e6eee9;
}

.w-core-value .w-sub-title {
    /* text-align: center; */
    color: var(--green-color);
}

/* 基礎容器設置 */
.wanguo-values-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
    font-family: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    color: #333;
}

.wanguo-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 網格佈局：PC端三列並排，平板兩列，手機一列 */
.wanguo-cards-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* 卡片本體設計 */
.wanguo-card {
    background: #ffffff;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 懸停動效：卡片微抬與陰影加深 */
.wanguo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* 頂部圖標裝飾 */
.wanguo-card::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;
}

.wanguo-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    font-size: 36px;
    color: #119c4a;
    /* 金色系，符合礦業/黃金主題 */
    margin-bottom: 24px;
    text-align: center;
}

/* 標題與引言排版 */
.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-color);
}

.card-quote {
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.card-quote p {
    margin: 0;
    font-size: 16px;
}

/* 內文排版 */
.card-content {
    flex-grow: 1;
}

.card-content p {
    font-size: 16px;
    text-align: justify;
}

/* jQuery 滾動進場初始狀態 */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JS 添加的啟動 class */
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.w-story .w-sub-title {
    color: var(--green-color);
    text-align: center;
}

/* 輪播容器，右側預留 padding 或不設限制，讓半截卡片自然溢出 */
.list-story-swiper {
    width: 100%;
    margin: 0 auto;
    padding: 60px 60px 0;
    /* 上下留陰影空間 */
}

/* 確保每個 slide 高度自動延展一致 */
.list-story-swiper .swiper-slide {
    height: auto;
}

/* 橫向卡片主體 */
.list-card {
    display: flex;
    flex-direction: row;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* 左側圖片區塊 (佔比 40%) */
.list-card-image {
    flex: 0 0 60%;
    height: 360px;
    position: relative;
    overflow: hidden;
}

.list-card-image h6 {
    bottom: 0;
    margin: 0;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    background-color: rgba(0,0,0,0.45);
    color: white;
    position: absolute;
}

.list-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.list-card:hover .list-card-image img {
    transform: scale(1.05);
}

/* 右側文字區塊 (佔比 60%) */
.list-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 內容垂直置中 */
    padding: 24px 30px;
}

.list-card-date {
    font-weight: 500;
    margin-bottom: 8px;
    /* 數字日期使用等寬字體更專業 */
}

.list-card-title {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

/* 鏈結與箭頭 */
.list-card-link {
    margin-top: auto;
    /* 將鏈結推到底部 */
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green-color);
}

.list-card-link span {
    text-transform: uppercase;
}

.list-card-link i {
    margin-left: 5px;
    transition: all .3s ease-in-out;
}

.list-card:hover .list-card-link i  {
    transform: translateX(6px);
    transition: all .3s ease-in-out;
}

/* RWD: 手機版改為上圖下文，避免空間過度擠壓 */
@media (max-width: 640px) {
    .list-card {
        flex-direction: column;
    }

    .list-card-image {
        flex: none;
        height: 320px;
        /* 手機版固定圖片高度 */
    }

    .list-card-content {
        padding: 20px;
    }
}

#StoryDiv {
    padding: 90px 0;
}