/*
Theme Name: 草浪 By 均造源源
Theme URI: https://gg100gg.com
Author: Your Name
Author URI: https://gg100gg.com
Description: A brief description of your theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme-textdomain
*/

@font-face {
  font-family: 'Hkan';
  src: url('/wp-content/themes/gwcef/fonts/DFMing-W14-WIN-BF-01.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
 .gene0120-nav-item .sub-menu {
       list-style: none;
    padding: 1vw 0 0 0vw;
        position: relative;
    left: 4vw;
 }

/* 僅在桌面版 (≥768px) 才套用 hover 效果 */
@media (min-width: 768px) {
  /* 隱藏子選單 */
  .gene0120-nav-item .sub-menu {
    display: none;
    position: absolute; 
       top: 100%;
       left: 0;
       background: #4444443b;
              padding: 0 1vw;
        list-style: none;
    
  }
  
  .gene0120-nav-item .sub-menu a{
     
      white-space: nowrap;
  }
  /* 滑鼠 hover 到父選單時，顯示子選單 */
  .gene0120-nav-item:hover .sub-menu {
    display: block;
  }
}



/* 掛接 .title 使用字體 */
.Title {
    font-family: "source-han-serif-tw-subset", sans-serif;
font-weight: 900;
font-style: normal;
}
.Title p{
    font-family: "source-han-serif-tw-subset", sans-serif;
font-weight: 900;
font-style: normal;
}

.TitleEn{
    font-family: "mundial-narrow-variable", sans-serif;
font-variation-settings: "wght" 100;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
        overflow-x: hidden;
}

header, footer {
    background-color: #333;
    color: #fff;
    padding: 1em;
}

a{    text-decoration: none;}

.gene-breadcrumbs {
    color: #5a3e1b;
    letter-spacing: 2px;
    display: flex
;
    align-items: center;
    margin: 2vw 4vw;
    font-size: 1vw;
    gap: 0.5vw;
}

.gene-breadcrumbs a {
    text-decoration: none;
    color: #5a3e1b;
    transition: color 0.3s ease;
}

.gene-breadcrumbs a:hover {
    color: #5a3e1b;
}

.gene-breadcrumbs span {
    color: #5a3e1b;
}

@media (max-width: 768px) {
    
    .gene-breadcrumbs {
    color: #5a3e1b;
    letter-spacing: 2px;
    display: flex
;
    align-items: center;
    margin: 2vw 10vw;
    font-size: 3vw;
    gap: 2vw;
}

.gene-breadcrumbs a {
    text-decoration: none;
    color: #5a3e1b;
    transition: color 0.3s ease;
}

.gene-breadcrumbs a:hover {
    color: #5a3e1b;
}

.gene-breadcrumbs span {
    color: #5a3e1b;
}
    
}

/*選單*/
.main-navigation {
    margin-top: 1em;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    margin-right: 1em;
}

.gene0120-header {
  width: 100vw;
    padding: clamp(1vw, 1.2vw, 2vw) 0;
    background-color: #2b25225e;
    position: fixed;
    z-index: 9999;
}

.gene0120-nav {
    width: 90vw;
    margin: 0 auto;
}

.gene0120-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    list-style: none;
    padding: 0;
    margin: 0;
    letter-spacing: 2px;
}

.gene0120-nav-item {
    position: relative;
    border-radius: 3vw;
}

.gene0120-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.875rem, 1vw, 1.2rem);
    padding: 0.5vw 1vw;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

.gene0120-nav-icon {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
}

.gene0120-nav-link:hover,
.gene0120-nav-link.active {
    color: #4CAF50;
}

.gene0120-donate {
    background-color: #8B0000;
    border-radius: 4px;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
}

.gene0120-donate:hover {
    background-color: #A52A2A;
    color: #ffffff !important;
}

.sliderGrass{display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    top: -0.4vw;
    z-index: -1;
}
.sliderGrass img{}
.sliderGrass01{width: auto;
    height: 3vw;}
.sliderGrass02{width: auto;
    height: 10%;}



/* 手機版選單與漢堡按鈕 */
@media (max-width: 768px) {
    
    /* 選單滑出效果 */
    .gene0120-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        background-color: rgba(43, 37, 34, 0.9);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 4em; /* 為 header 騰出空間 */
        z-index: 9998;
        margin: 0;
    }
    /* 當選單開啟時加上 active 類別，使選單滑入 */
    .gene0120-nav.active {
        transform: translateX(0);
    }
    /* 將選單列表改為直式排列 */
    .gene0120-nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding-left: 1em;
    }
    /* 手機版漢堡按鈕 */
    .mobile-nav-toggle {
        position: fixed;
        top: 3vw;
        right: 1vw;
        z-index: 10000;
        background: none;
        border: none;
        cursor: pointer;
    }
    /* 漢堡按鈕內的兩條線 */
    .navBtnLine {
        width: 6vw;
        height: 2px;
        background: white;
        margin: 10px;
        transition: transform 0.3s ease;
    }
    /* 當按鈕啟用時，第一條線順時針旋轉45°，第二條線逆時針旋轉45° */
    .mobile-nav-toggle.active .navBtnLine:first-child {
        transform: rotate(45deg);
    }
    .mobile-nav-toggle.active .navBtnLine:last-child {
        transform: rotate(-45deg);
    }
    
    .mobile-nav-toggle.active .navBtnLine
    {margin: -1px;
                top: 4vw;
        position: relative;
        right: 1vw;
    }
    .gene0120-header {
   
    background-color: #ffffff00;
   
}


.sliderGrass01 {
    width: 136px;
    height: 10%;
}

.sliderGrass02 {
    width: 122px;
    height: 10%;
}


.sliderGrass{display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    top: -4px;
    z-index: -1;
}


}

/*選單end*/

@media (min-width: 768px) {
    
    .GMO{display:none;}
    
}
.sliderGrass01 {
    width: 40vw;
    height: 10%;
    position: relative;
}

.gene0120-hero {
    position: relative;
    width: 100vw;
    height: 42vw;
    overflow: hidden;
}

.gene0120-hero-svg {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gene0120-hero-text {
   position: absolute;
    top: 19%;
    left: 5vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: clamp(1rem, 1vw, 1.5vw);
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    letter-spacing: 0.2vw;
}


.gene0120-control {
    position: absolute;
    top: 50%;
    right: 2vw;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    z-index: 10;
}

.gene0120-arrow-up,
.gene0120-arrow-down {
    cursor: pointer;
    font-size: clamp(1rem, 1vw, 2rem);
    color: white;
    
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.gene0120-arrow-up:hover,
.gene0120-arrow-down:hover {
    color: white;
    opacity:0.5;
}

/* 指示器（方形按鈕） */
.gene0120-slider-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6vw;
}

.gene0120-indicator {
        width: 0.5vw;
    height: 1vw;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 1vw;
}

.gene0120-indicator.active {
    background: white;
}


.gene0120-hero-svgs {
    position: relative;
    width: 100%;
    height: auto;
}

.gene0120-hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 1s ease;
    filter: brightness(0.7);
}


.sliderLOGO{
       position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sliderLOGO img{
   width:7.3vw;
}


@media (max-width: 768px) {
    
.gene0120-hero-svgsM{
    filter: brightness(0.7);
}    


.sliderGrass01 {
    width: 71vw;
    height: 40%;
    left: -45vw;
    position: relative;
}
    
    
/* 手機版控制按鈕區 */
.gene0120-control-mobile {
   position: absolute;
        top: 50%;
        right: 2vw;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3vw;
        z-index: 10;
        justify-content: center;
}

.gene0120-arrow-up-mobile,
.gene0120-arrow-down-mobile {
    cursor: pointer;
    font-size: clamp(1rem, 8vw, 100vw);
    color: white;
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.gene0120-arrow-up-mobile:hover,
.gene0120-arrow-down-mobile:hover {
    color: white;
    opacity: 0.5;
}

/* 手機版指示器（方形按鈕） */
.gene0120-slider-indicators-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
    position: relative;
        top: 3px;
}

.gene0120-indicator-mobile {
    width: 1.5vw;
    height: 5vw;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 1vw;
}

.gene0120-indicator-mobile.active {
    background: white;
}



.gene0120-hero-svgs {
    position: relative;
    width: 100%;
    height: auto;
}

.gene0120-hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 1s ease;
}


.sliderLOGO{
       position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sliderLOGO img{
   width:21vw;
}
    
    .gene0120-hero {
    position: relative;
    width: 100vw;
    height: 119vw;
    overflow: hidden;
}
    .gene0120-nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .gene0120-nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
    
    .gene0120-nav-link {
        justify-content: center;
    }
    
    

    .gene0120-hero-text {
        font-size: clamp(0.875rem, 3vw, 1.2rem);
    }
    
    
.GPC{display:none;}    
}


/*首頁About區塊*/
.ins3-container {
    width: 50vw;
    max-width: 900px;
    margin: 5vh auto;
    text-align: center;
    font-size: clamp(12px, 1vw, 20px);
    color: #5c4033;
    position: relative;
    letter-spacing: 2px;
    line-height: 2;
}

.ins3-titleEn {
   font-size: clamp(1vw, 1vw, 20px);
    font-weight: 100;
    margin-bottom: 1vw;
}

.ins3-title {
        font-size: clamp(15px, 1.5vw, 30px);
    font-weight: bold;
    margin-bottom: 2vw;
}

.ins3-text {
    margin-bottom: 2vh;
    line-height: 1.8;
}

.ins3-image {
    width: 7vw;
    height: 7vw;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: absolute;
}

.ins3-img1 {
    top: 19vh;
    left: -16vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img2 {
    bottom: 15vh;
    left: -7vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img3 {
   top: 30vh;
    right: -10vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img4 {
    bottom: 10vh;
    right: -2vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-logo {
    width: 12vw;
    height: auto;
    margin: 10vh auto 0;
}


.ins3-logo img{
    width: 85%;
}
.ins3-image {
  transition: transform 0.8s ease-in-out;
}

.ins3-img1 {
  transition-delay: 0s;
}

.ins3-img2 {
  transition-delay: 0.2s;
}

.ins3-img3 {
  transition-delay: 0.1s;
}

.ins3-img4 {
  transition-delay: 0.3s;
}


@media (max-width: 768px) {
    .ins3-container {
    width: 80vw;
    max-width: 900px;
    margin: 5vh auto;
    text-align: center;
    font-size: clamp(12px, 3.5vw, 20px);
    color: #5c4033;
    position: relative;
    letter-spacing: 2px;
    line-height: 2;
}

.ins3-titleEn {
   font-size: clamp(1vw, 5vw, 20px);
    font-weight: 100;
    margin-bottom: 1vw;
}

.ins3-title {
    font-size: clamp(15px, 5vw, 50px);
    font-weight: bold;
    margin-bottom: 2vw;
}

.ins3-text {
    margin-bottom: 2vh;
    line-height: 1.8;
}

.ins3-image {
    width: 20vw;
    height: 20vw;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: absolute;
}

.ins3-img1 {
    top: -3vh;
    left: -1vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img2 {
    bottom: 9vh;
    left: 16vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img3 {
   top: -9vh;
    right: 2vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-img4 {
    bottom: 18vh;
    right: 1vw;
    background-image: url(""); /* 由 WordPress 自訂 */
}

.ins3-logo {
    width: 35vw;
    height: auto;
    margin: 10vh auto 0;
}


.ins3-logo img{
    width: 100%;
}
.ins3-image {
  transition: transform 0.8s ease-in-out;
}

.ins3-img1 {
  transition-delay: 0s;
}

.ins3-img2 {
  transition-delay: 0.2s;
}

.ins3-img3 {
  transition-delay: 0.1s;
}

.ins3-img4 {
  transition-delay: 0.3s;
}
    

}
/*首頁About區塊end*/


/*首頁News區塊*/
.ins4-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2vw;
}

.ins4-header h2 {
   font-size: clamp(1vw, 1vw, 1.5vw);
    white-space: nowrap;
    margin-right: 1vw;
    color: #5a3e1b;
    font-weight: 100;
}

.ins4-header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #5A3E1B;
}

.ins4 {
    width: 90vw;
    margin: 5vh auto;
    text-align: center;
        position: relative;
}

.ins4-news {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
}

.ins4-news-item {
    position: relative;
    width: 30vw;
    height: 20vw;
    border-radius: 1vw;
    overflow: hidden;
     transition: filter 0.3s ease-in-out;
}

.ins4-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     transition: filter 0.3s ease-in-out;
}

.ins4-news-date {
   position: absolute;
    top: 1vw;
    right: 1vw;
    color: white;
    font-size: clamp(1vw, 1.2vw, 1.5vw);
    padding: 0.5vw;
    border-radius: 0.5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}


.ins4-news-title {
   position: absolute;
    bottom: 1vw;
    right: 1px;
    color: white;
    font-size: clamp(1vw, 1.2vw, 1.5vw);
    padding: 0.5vw 1vw;
    border-radius: 0.5vw;
}

.ins4-more {
   display: inline-block;
    margin-top: 3vw;
    padding: 1vw 2vw;
    background-color: #5A3E1B;
    color: white;
    font-size: clamp(1vw, 1.2vw, 1.5vw);
    border-radius: 3.5vw;
    text-decoration: none;
    letter-spacing: 2px;
}

.ins4-more:hover {
    background-color: #5a3e1b00;
    border:solid 1px #5A3E1B;
    color: #5A3E1B;
    transition: 0.3s ease-in-out;
}

/* 當滑鼠懸停時，降低亮度 */
.ins4-news-item:hover img {
    filter: brightness(0.6);
}

/* 文章簡介文字 */
.ins4-news-excerpt {
    position: absolute;
    bottom: 8vw;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: clamp(1vw, 1.2vw, 1.5vw);
    padding: 1vw;
    border-radius: 0.5vw;
    width: 90%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* 滑鼠懸停時顯示文章簡介 */
.ins4-news-item:hover .ins4-news-excerpt {
    opacity: 1;
}
@media (max-width: 768px) {
    
 .ins4-header {
        display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2vw;
    gap: 3vw;
}

.ins4-header h2 {
   font-size: clamp(1vw, 3vw, 3.5vw);
    white-space: nowrap;
    margin-right: 1vw;
    color: #5a3e1b;
    font-weight: 100;
}

.ins4-header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #5A3E1B;
}

.ins4 {
    width: 90vw;
    margin: 5vh auto;
    text-align: center;
}

.ins4-news {
   display: flex;
        justify-content: space-between;
        gap: 10vw;
        flex-direction: column;
        align-items: center;
}

.ins4-news-item {
  position: relative;
        width: 80vw;
        height: 50vw;
        border-radius: 6vw;
        overflow: hidden;
        transition: filter 0.3s ease-in-out;
}

.ins4-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     transition: filter 0.3s ease-in-out;
}

.ins4-news-date {
          position: absolute;
        top: 3vw;
        right: 3vw;
        color: white;
        font-size: clamp(1vw, 4.2vw, 11.5vw);
        padding: 0.5vw;
        border-radius: 0.5vw;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        line-height: 1.2;
}


.ins4-news-title {
   position: absolute;
        bottom: 5vw;
        right: 1px;
        color: white;
        font-size: clamp(1vw, 4vw, 10.5vw);
        padding: 0.5vw 2vw;
        border-radius: 0.5vw;
}

.ins4-more {
   display: inline-block;
        margin-top: 7vw;
        padding: 2vw 4vw;
        background-color: #5A3E1B;
        color: white;
        font-size: clamp(1vw, 4vw, 5.5vw);
        border-radius: 5.5vw;
        text-decoration: none;
        letter-spacing: 2px;
}

.ins4-more:hover {
    background-color: #5a3e1b00;
    border:solid 1px #5A3E1B;
    color: #5A3E1B;
    transition: 0.3s ease-in-out;
}

/* 當滑鼠懸停時，降低亮度 */
.ins4-news-item:hover img {
    filter: brightness(0.6);
}

/* 文章簡介文字 */
.ins4-news-excerpt {
   position: absolute;
        bottom: 22vw;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: clamp(1vw, 4vw, 10.5vw);
        padding: 1vw;
        border-radius: 0.5vw;
        width: 90%;
        text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* 滑鼠懸停時顯示文章簡介 */
.ins4-news-item:hover .ins4-news-excerpt {
    opacity: 1;
}


/* 預設 hover 狀態 (JS 觸發用) */
.ins4-hover img {
    filter: brightness(0.6);
}

.ins4-hover .ins4-news-excerpt {
    opacity: 1;
}

    
}


/*首頁News區塊end*/



/*首頁CEO的話*/



.ins5-container {
     background-color: #E0D9D0;
   padding: 9vw 4vw;
    border-radius: 0 8vw 0 8vw;
    width: 85vw;
    margin: 13vw auto;
    position: relative;
    box-sizing: border-box;
}

.ins5-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3vw;
    overflow: visible;
}

.ins5-person {
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

.ins5-person img {
    height: 16vw;
    object-fit: cover;
}

.ins5-name {
   margin-top: 1vw;
    font-size: clamp(1px, 0.9vw, 1.5rem);
    font-weight: bold;
    color: #5a3e1b;
    letter-spacing: 2px;
}

.ins5-name1 {    right: -2vw;
    position: relative;}
.ins5-name2 {    left: -5.5vw;
    position: relative;}

.ins5-text {
   width: 50%;
    font-size: clamp(12px, 1vw, 20px);
    line-height: 1.8;
    text-align: left;
    color: #5a3e1b;
    letter-spacing: 2px;
}

.ins5-text1{
     left: -8vw;
    position: relative;
}

.ins5-text2{
     right: -5vw;
    position: relative;
}

.ins5-divider {
    width: 66%;
    margin: 2vw auto;
    border: 0;
    height: 1px;
    background-color: #5a3e1b5e;
}
.ins5-person1{
    right:12vw;
}
.ins5-person2{
        left: 11vw;
    transform: translateY(1vw);
}

.S5imgdiv{position: relative;}
.S5img{position: absolute;
    width: 83%;
    top: -5vw;
    left: 7vw;
    z-index: 1;}
    
    
@media (max-width: 768px) {
    .S5img{position: absolute;
        width: 91%;
        top: -8vw;
        left: -4vw;
        z-index: 1;}
    .ins5-container {
            background-color: #E0D9D0;
        padding: 9vw 4vw;
        border-radius: 0 20vw 0 20vw;
        width: 100vw;
        margin: 20vw auto;
        position: relative;
        box-sizing: border-box;
        overflow-x: hidden;
}

.ins5-content {
   display: block;
        align-items: center;
        text-align: center;
        overflow: visible;
    }


.ins5-person {
   overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
}

.ins5-person img {
    width: 37vw;
    height: 37vw;
    object-fit: cover;
}

.ins5-name {
   margin-top: 1vw;
        font-size: clamp(12px, 2.9vw, 1.5rem);
        font-weight: bold;
        color: #5a3e1b;
        letter-spacing: 2px;
}

.ins5-name1 {    left: 0vw;
    position: relative;}
.ins5-name2 {    right: -3vw;
    position: relative;}

.ins5-text {
           width: 74%;
        font-size: clamp(14px, 1vw, 20px);
        line-height: 1.8;
        text-align: left;
        color: #5a3e1b;
        letter-spacing: 2px;
}

.ins5-text1{
           left: 6vw;
        position: relative;
}

.ins5-text2{
    right: -7vw;
        position: relative;
        width: 85%;
}

.ins5-divider {
    width: 66%;
    margin: 6vw auto;
    border: 0;
    height: 1px;
    background-color: #5a3e1b5e;
}
.ins5-person1{
         right: -10px;
        top: 0px;
        float: right;
}
.ins5-person2{
 left: 5vw;
        bottom: 0px;
        float: left;
}
    
    
}
/*首頁CEO的話END*/




/*活動剪影區塊*/


.gene0212-section-title {
   display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    margin-bottom: 3vw;
    box-sizing: border-box;
    padding: 0 4vw;
}

.gene0212-line {
    flex-grow: 1;
    height: 1px;
    background-color: #543D24;
    opacity: 0.5;
}

.gene0212-title {
    text-align: center;
    color: #543D24;
}

.gene0212-subtitle {
   font-size: clamp(1vw, 1vw, 1.2rem);
    font-weight: 100;
    display: block;
    letter-spacing: 0.1vw;
}

.gene0212-title h2 {
      font-size: clamp(1rem, 1.5vw, 2.5rem);
    font-weight: 500;
    margin-top: 0.5vw;
    letter-spacing: 0.3vw;
}


.gene0212-slider-container {
    position: relative;
    width: 100vw;
    overflow: hidden; /* 隱藏超出範圍的部分 */
}

.gene0212-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    width: 100vw;
}

.gene0212-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gene0212-slide {
    flex: 0 0 25%; /* 左右兩則較小 */
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6; /* 預設透明度 */
    transform: scale(0.8); /* 預設縮小 */
    margin: 0 1vw; /* 設定間距 */
}

/* 當前的 Slide 放大且全透明 */
.gene0212-slide.active {
    flex: 0 0 50%; /* 中間圖片較大 */
    opacity: 1;
    transform: scale(1);
}

/* 左側與右側的 Slide */
.gene0212-slide.left, .gene0212-slide.right {
    opacity: 0.8;
    transform: scale(0.9);
        display: flex;
}

.gene0212-slide a img {
        width: 100%;
    border-radius: 1vw;
    display: block;
    object-fit: cover;
    height: 100%;
}

.gene0212-slide-caption {
   position: absolute;
    bottom: 2vw;
    left: 0%;
    background: #ffffffab;
    color: #666;
    padding: 1.2vw 1.5vw;
    border-radius: 0 0.5vw 0.5vw 0;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
        text-align: left;
}
.S5CGroup{
        display: flex;
    justify-content: center;
}

/* 左右按鈕 */
.gene0212-prev, .gene0212-next {
   color: #808080a6;
    border: none;
    cursor: pointer;
    font-size: 1.5vw;
    padding: 1vw;
    z-index: 10;
    background: none;
}

.gene0212-prev { }
.gene0212-next { }

.gene0212-prev:hover, .gene0212-next:hover {
    color: gray;
}

/* 點點指示器 */
.gene0212-dots {
    text-align: center;
    margin: 3vw;
}

.gene0212-dot {
        width: 1vw;
    height: 0.5vw;
    background: gray;
    display: inline-block;
    margin: 0.5vw;
    border-radius: 1vw;
    cursor: pointer;
}

.gene0212-dot.active {
    background: #c3c4c7;
}

.gene0212-slide.left .gene0212-slide-caption, .gene0212-slide.right .gene0212-slide-caption{
    
    position: absolute;
    bottom: 2vw;
    left: 0%;
    background: #ffffffab;
    color: #666;
    padding: 1.2vw 1.5vw;
    border-radius: 0 0.5vw 0.5vw 0;
    font-size: clamp(0.1rem, 0.8vw, 1.5rem);
    text-align: left;
    
}

@media (max-width: 768px) {
    
    
    .gene0212-section-title {
   display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    margin-bottom: 3vw;
    box-sizing: border-box;
    padding: 0 4vw;
}

.gene0212-line {
    flex-grow: 1;
    height: 1px;
    background-color: #543D24;
    opacity: 0.5;
}

.gene0212-title {
    text-align: center;
    color: #543D24;
}

.gene0212-subtitle {
   font-size: clamp(1vw, 3vw, 10vw);
    font-weight: 100;
    display: block;
    letter-spacing: 0.1vw;
}

.gene0212-title h2 {
      font-size: clamp(15px, 5vw, 50px);
    font-weight: 500;
    margin-top: 0.5vw;
    letter-spacing: 0.3vw;
}


.gene0212-slider-container {
    position: relative;
    width: 100vw;
    overflow: hidden; /* 隱藏超出範圍的部分 */
}

.gene0212-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    width: 100vw;
}

.gene0212-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gene0212-slide {
    flex: 0 0 10%; /* 左右兩則較小 */
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6; /* 預設透明度 */
    transform: scale(0.8); /* 預設縮小 */
    margin: 0 1vw; /* 設定間距 */
}

/* 當前的 Slide 放大且全透明 */
.gene0212-slide.active {
    flex: 0 0 80%; /* 中間圖片較大 */
    opacity: 1;
    transform: scale(1);
}

/* 左側與右側的 Slide */
.gene0212-slide.left, .gene0212-slide.right {
    opacity: 0.8;
    transform: scale(0.9);
        display: flex;
}

.gene0212-slide a img {
        width: 100%;
    border-radius: 1vw;
    display: block;
    object-fit: cover;
    height: 100%;
}

.gene0212-slide-caption {
          position: absolute;
        bottom: 2vw;
        left: 0%;
        background: #ffffffab;
        color: #666;
        padding: 1.2vw 1.5vw;
        border-radius: 0 3.5vw 3.5vw 0;
        font-size: clamp(1rem, 3vw, 10rem);
        text-align: left;
        width: 80%;
}

/* 左右按鈕 */
.gene0212-prev, .gene0212-next {
   position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        cursor: pointer;
        font-size: 6vw;
        padding: 1vw;
        border-radius: 2vw;
        z-index: 10;
}

.gene0212-prev { left: 1vw; }
.gene0212-next { right: 1vw; }

.gene0212-prev:hover, .gene0212-next:hover {
            background: rgba(0, 0, 0, 0.5);
        color: white;
}

/* 點點指示器 */
.gene0212-dots {
  text-align: center;
        margin: 5vw;
}

.gene0212-dot {
           width: 5vw;
        height: 3vw;
        background: gray;
        display: inline-block;
        margin: 0 1.5vw;
        border-radius: 3vw;
        cursor: pointer;
}

.gene0212-dot.active {
    background: #8080809c;
}

.gene0212-slide.left .gene0212-slide-caption, .gene0212-slide.right .gene0212-slide-caption{
    
    position: absolute;
    bottom: 2vw;
    left: 0%;
    background: #ffffffab;
    color: #666;
    padding: 1.2vw 1.5vw;
    border-radius: 0 0.5vw 0.5vw 0;
    font-size: clamp(0.1rem, 0.8vw, 1.5rem);
    text-align: left;
    
}
    
}
/*活動剪影區塊end*/


/*頁尾*/

.gene0212-footer {
    background: none;
    color: white;
    padding: 0;
    height: 33vw;
    position: relative;
    overflow: hidden;
    width:110vw;
}

.gene0212-footer-container {
   display: flex;
    justify-content: space-between;
   align-items: flex-end;
    flex-wrap: nowrap;
    flex-direction: row;
        height: 100%;
}

.gene0212-footer-info {
  width: 40%;
    background: #543D24;
    box-sizing: border-box;
    padding: 5vw 6vw;
    height: 90%;
    border-radius: 0 6vw 0 0;
    z-index: 2;
}

.gene0212-footer-info h3 {
   font-size: clamp(0.2rem, 1.2vw, 2rem);
    margin: 0;
    letter-spacing: 2px;
}

.gene0212-footer-info .CorpName p {
  font-size: clamp(1px, 0.8vw, 1.2rem);
    letter-spacing: 2px;
    margin: 0;
}

.gene0212-footer-info .Corpinfo p {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
   letter-spacing:2px;
}
.gene0212-footer-info .Corpinfo {margin: 2vw 0 0 0;
}
.gene0212-footer-info a {
    color: #ffffff;
    text-decoration: none;
}

.gene0212-footer-logo {
   width: 3.5vw;
    position: relative;
    left: 1.2vw;
    bottom: 1.8vw;
}

.gene0212-footer-menus {
        display: flex;
    height: 100%;
    flex-wrap: nowrap;
    background: #E0D9D0;
    color: #543d24;
    letter-spacing: 1px;
    width: 60%;
    padding: 10vw 14vw 6vw;
    box-sizing: border-box;
    border-radius: 9vw 0 0 0;
    right: 1vw;
    position: relative;
    z-index: 1;
}

.gene0212-footer-menu-group {
        min-width: 8vw;
}

.gene0212-footer-menu-title {
    font-size: clamp(1px, 0.9vw, 2rem);
    font-weight: bold;
    margin-bottom: 1vw;
}

.gene0212-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gene0212-footer-nav li {
    margin-bottom: 0.5vw;
}

.gene0212-footer-nav a {
    color: #543d24;
    text-decoration: none;
    font-size: clamp(1px, 0.9vw, 2rem);
    transition: color 0.3s;
}

.gene0212-footer-nav a:hover {
    color: #543d24c2;
}

.gene0212-footer-bottom {
    text-align: center;
    margin-top: 2vw;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
}

.ficon{    width: 16px;}
.flogo-div{position: absolute;
    box-sizing: border-box;
    background: white;
    width: 11vw;
    height: 11vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14vw;
    left: -4vw;
    bottom: -5vw;
}
.footerDes{
    position: absolute;
    writing-mode: vertical-rl;
    letter-spacing: 6px;
    top: 6vw;
    height: 63%;
    left: 6%;
}
.CorpinfoC{
        display: flex;
    flex-direction: row;
    gap: 1vw;
    align-items: center;
}

.fcopyright{position: absolute;
    z-index: 99;
    color: #543d24;
    bottom: 2vh;
    font-size: 1vw;
    right: 14vw;}
.fDimg{position: relative;
    top: 7vw;
    width: 100vw;
    
    
}
@media (max-width: 768px) {
    
    .gene0212-footer {
           background: none;
        color: white;
        padding: 0;
        position: relative;
        overflow: hidden;
        width: 100vw;
        height: 82vh;
}

.gene0212-footer-container {
   justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
        flex-direction: column;
}

.gene0212-footer-info {
  width: 71%;
        background: #543D24;
        box-sizing: border-box;
        padding: 10vw 6vw 6vw 7vw;
        border-radius: 0 14vw 0 0;
        z-index: 2;
        height: 35%;
}

.gene0212-footer-info h3 {
       font-size: clamp(0.2rem, 3.5vw, 200px);
    margin: 0;
    letter-spacing: 1px;
}

.gene0212-footer-info .CorpName p {
  font-size: clamp(1px, 3vw, 1.2rem);
    letter-spacing: 2px;
    margin: 0;
}

.gene0212-footer-info .Corpinfo p {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
   letter-spacing:2px;
}
.gene0212-footer-info .Corpinfo {margin: 2vw 0 0 0;
}
.gene0212-footer-info a {
    color: #ffffff;
    text-decoration: none;
}

.gene0212-footer-logo {
   width: 10.5vw;
        position: relative;
        left: 3.2vw;
        bottom: 3.8vw;
}

.gene0212-footer-menus {
   display: flex;
        height: 70%;
        flex-wrap: wrap;
        background: #E0D9D0;
        color: #543d24;
        letter-spacing: 1px;
        width: 100%;
        padding: 10vw 8vw 6vw 14vw;
        box-sizing: border-box;
        border-radius: 0 14vw 0 0;
        right: 1vw;
        position: relative;
        z-index: 1;
        justify-content: center;
        align-content: flex-start;
        row-gap: 4vw;
        left: 0vw;
}

.gene0212-footer-menu-group {
        min-width: 24vw;
}

.gene0212-footer-menu-title {
    font-size: clamp(1px, 4vw, 200rem);
        font-weight: bold;
        margin-bottom: 1vw;
        letter-spacing: 2px;
}

.gene0212-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gene0212-footer-nav li {
    margin-bottom: 1.5vw;
}

.gene0212-footer-nav a {
               color: #543d24;
        text-decoration: none;
        font-size: clamp(1px, 3.2vw, 2rem);
        transition: color 0.3s;
        letter-spacing: 2px;
}

.gene0212-footer-nav a:hover {
    color: #543d24c2;
}

.gene0212-footer-bottom {
    text-align: center;
    margin-top: 2vw;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
}

.ficon{    width: 16px;}
.flogo-div{position: absolute;
        box-sizing: border-box;
        background: white;
        width: 30vw;
        height: 30vw;
        display: flex;        
        justify-content: center;
        align-items: center;
        border-radius: 43vw;
        left: -10vw;
        bottom: -11vw;
}
.footerDes{
      position: absolute;
        writing-mode: vertical-rl;
        letter-spacing: 5px;
        top: -25vh;
        height: 43%;
        left: 78vw;
        font-size: 3vw;
}
.CorpinfoC{
        display: flex;
    flex-direction: row;
    gap: 1vw;
    align-items: center;
}
    .fcopyright{position: absolute;
        z-index: 99;
        color: #543d24;
        bottom: 2vh;
        font-size: 2.5vw;
        right: 14vw;}

    .fDimg{        width: 100vw;
        top: 33vh;
        position: relative;
        margin-top: -21vh;}
}
/*頁尾end*/

/*最新消息*/
.news-hero-svg-mobile{filter: brightness(0.7);}

.news-hero {
    position: relative;
    width: 100vw;
    height: 42vw;
    overflow: hidden;
}

.news-hero-svg {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.news-hero-text {
    position: absolute;
    top: 19%;
    left: 5vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: clamp(1rem, 1vw, 1.5vw);
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    letter-spacing: 0.2vw;
}

.page-herotext {color: white;
    z-index: 99;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    top: 13vw;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 10vw;
}
.page-herotext .herotext-R {display: flex;
    align-items: flex-end;
    flex-direction: row;}
.page-herotext .herotext-R .Title {writing-mode: vertical-lr;    font-size: 2vw;
    letter-spacing: 4px;}
.page-herotext .herotext-R .TitleEn {    top: 1.2vw;
    position: relative;
    left: -1vw;
    letter-spacing: 1px;}
.page-herotext .herotext-L {    writing-mode: vertical-rl;
    height: 32%;
    letter-spacing: 2px;}


@media (max-width: 768px) {
    .news-hero {
        position: relative;
        width: 100vw;
        height: 119vw;
        overflow: hidden;
    }

.news-hero-text {
    position: absolute;
    top: 19%;
    left: 5vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: clamp(1rem, 1vw, 1.5vw);
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    letter-spacing: 0.2vw;
}

.page-herotext {color: white;
        z-index: 99;
        position: absolute;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        top: 13vw;
        align-items: flex-start;
        box-sizing: border-box;
        padding: 23vw 2vw 0;
}
.page-herotext .herotext-R {display: flex;
    align-items: flex-end;
    flex-direction: row;}
.page-herotext .herotext-R .Title {writing-mode: vertical-lr;    font-size: 6vw;
    letter-spacing: 4px;}
.page-herotext .herotext-R .TitleEn {        top: -0.8vw;
        position: relative;
        left: -3vw;}
.page-herotext .herotext-L {    writing-mode: vertical-rl;
    height: 32%;
    letter-spacing: 2px;}

    .page-herotext .herotext-R .TitleEn  p { margin: 0;}


}




.NewsMain {
    width: 90vw;
        margin: 7vw auto;
}

.gene0213-news-categories {
    display: flex;
    justify-content: center;
    gap: 1vw;
    margin-bottom: 2vw;
}

.category-btn {
    background-color: #ddd;
    border: none;
    padding: 1vw 2vw;
    border-radius: 5vw;
    cursor: pointer;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
}

.category-btn.active {
    background-color: #543D24;
    color: white;
}

.gene0213-news-list {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.gene0213-news-item {
       display: flex;
    align-items: center;
    border-radius: 1vw;
    padding: 2vw;
    height: auto;
    position: relative;
    gap: 3vw;
}

.gene0213-news-image {
    position: relative;
    width: 25vw;
    height: auto;
    flex-shrink: 0;
}

.gene0213-news-image img {
    width: 100%;
    height: auto;
    border-radius: 1vw;
}

.gene0213-news-date {
    position: absolute;
    top: 1vw;
    right: 1vw;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5vw 1vw;
    border-radius: 0.5vw;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4vw;
}

.gene0213-news-content {
     flex-grow: 1;
    display: flex
;
    flex-direction: column;
    letter-spacing: 2px;
    position: relative;
    top: -2vw;
    box-sizing: border-box;
    padding: 0vw 8vw 0 2vw;
}

.gene0213-news-title {
       font-size: 1.5vw;
    color: #543D24;
        margin: 0;
}

.gene0213-news-excerpt {
       font-size: 1.2vw;
    margin-bottom: 1vw;
    color: #543D24;
    font-weight: 400;
    height: 9vw;
}

.gene0213-news-readmore {
  display: inline-block;
    padding: 0.5vw 0.3vw;
    background: #543D24;
    color: white;
    border-radius: 0.5vw;
    text-decoration: none;
    font-size: 1vw;
    width: 10%;
    text-align: center;
    right: 8vw;
    position: absolute;
    bottom: -2vw;
}

.gene0213-pagination {
       display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-size: 1vw;
}

.gene0213-pagination a {
   margin: 0 0.5vw;
    text-decoration: none;
    background: none;
    color: #543d24;
    width: 2vw;
    height: 2vw;
    text-align: center;
    padding: 0.4vw 0 0 0;
    box-sizing: border-box;
    border-radius: 1vw;
    border: 1px solid #543d24;
}

.gene0213-pagination .current {
       background: #543D24;
    color: white;
    width: 2vw;
    height: 2vw;
    text-align: center;
    padding: 0.4vw 0 0 0;
    box-sizing: border-box;
    border-radius: 1vw;
}

.gene0213-news-categories-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    margin-bottom: 2vw;
    position: relative;
}

.gene0213-news-categories {
   display: flex;
    overflow: hidden;
    width: 40vw;
    white-space: nowrap;
    transition: transform 0.3s ease-in-out;
    justify-content: flex-start;
}

.gene0213-news-btn {
       flex: 0 0 6vw;
    height: 6vw;
    line-height: 5.9vw;
    border-radius: 50%;
    text-align: center;
    font-size: 1vw;
    cursor: pointer;
    border: 1px solid #543D24;
    background: #fff;
    color: #8c7352;
    margin: 0 1vw;
    transition: 0.5s;
}

.gene0213-news-btn.active {
    background: #543D24;
    color: white;
}

.gene0213-news-arrow {
    display: block;
    background: none;
    border: none;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    cursor: pointer;
    color: #543D24;
    top: -0.5vw;
    position: relative;
}

.gene0213-news-arrow img{
    width:13%;
}

.NewsLine{    width: 100%;
    height: 1px;
    background: #543D24;
    position: relative;
    top: 3.5vw;
}
.NewsLineLong{
    width: 100%;
    height: 1px;
    background: #543D24;
    position: relative;
    margin: 4.5vw auto;
}

.gene0213-pagination a.next{
    border:none;
}
.gene0213-pagination a.next img{
    width: 10px;
}    

.gene0213-pagination a.prev{
    border:none;
}

.gene0213-pagination a.prev img{
    width: 10px;
}    

@media (max-width: 768px) {
    .gene0213-news-categories {
        width: 80vw;
    }
    .gene0213-news-btn {
       flex: 0 0 13vw;
        height: 13vw;
        line-height: 13vw;
    border-radius: 50%;
    text-align: center;
    font-size: 2.2vw;
    cursor: pointer;
    border: 1px solid #543D24;
    background: #fff;
    color: #8c7352;
    margin: 0 1vw;
        
    }
    
    .gene0213-news-item {
    display: flex
;
    align-items: center;
    border-radius: 1vw;
    padding: 2vw;
    height: auto;
    position: relative;
    gap: 3vw;
    flex-direction: column;
}
    
    .gene0213-news-image {
    position: relative;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}
    .gene0213-news-image img {
    width: 100%;
    height: auto;
    border-radius: 5vw;
}

.gene0213-news-title {
    font-size: 4vw;
    color: #543D24;
    margin: 0;
}
    
    .gene0213-news-excerpt {
    font-size: 3.2vw;
    margin-bottom: 1vw;
    color: #543D24;
    font-weight: 400;
    height: 46vw;
}
    .gene0213-news-readmore {
    display: inline-block;
    padding: 2vw 0.8vw;
    background: #543D24;
    color: white;
    border-radius: 1.5vw;
    text-decoration: none;
    font-size: 3vw;
    width: 18%;
    text-align: center;
    right: 4vw;
    position: absolute;
    bottom: 0vw;
}
    
  .gene0213-news-content {
    flex-grow: 1;
    display: flex
;
    flex-direction: column;
    letter-spacing: 2px;
    position: relative;
    top: 0vw;
    box-sizing: border-box;
    padding: 0vw 3vw;
}  
    
    .gene0213-news-date {
    position: absolute;
    top: 3vw;
    right: 3vw;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3vw;
    border-radius: 2.5vw;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    display: flex
;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4vw;
}
    
    .gene0213-news-list {
    display: flex
;
    flex-direction: column;
    gap: 14vw;
}
    
    
    .NewsLineLong {
    width: 49%;
    height: 1px;
    background: #543D24;
    position: relative;
    margin: 11.5vw auto;
}
    
    
    
    .NewsMain {
    width: 90vw;
    margin: 19vw auto;
}


.gene0213-pagination {
    display: flex
;
    justify-content: center;
    margin-top: 15vw;
    font-size: 4vw;
    gap: 3vw;
}
    
 .gene0213-pagination .current {
    background: #543D24;
    color: white;
    width: 8vw;
    height: 8vw;
    text-align: center;
    padding: 1.8vw 0 0 0;
    box-sizing: border-box;
    border-radius: 11vw;
}   
    
    
    
.gene0213-pagination a {
    margin: 0 0.5vw;
    text-decoration: none;
    background: none;
    color: #543d24;
    width: 8vw;
    height: 8vw;
    text-align: center;
    padding: 1.8vw 0 0 0;
    box-sizing: border-box;
    border-radius: 6vw;
    border: 1px solid #543d24;
}
    
    .NewsLine {
    width: 100%;
    height: 1px;
    background: #543D24;
    position: relative;
    top: 3.5vw;
}
    
    
}
/*最新消息END*/
/*最新消息兩區塊*/
.NewsTwoS {
       display: flex;
    flex-direction: column;
    gap: 4vw;
    width: 100vw;
    padding: 5vw;
    box-sizing: border-box;
    align-items: center;
    margin: 12vw 0;
        overflow-x: hidden;
}





.TwoS1 {
    position: relative;
    width: 57%;
    height: 23vw;
    left: -10vw;
}

.TwoS2 {
    position: relative;
    width: 57%;
    height: 23vw;
    right: -10vw;
}

.TwoS1 a, .TwoS2 a {
    text-decoration: none;
}



.TwoS1-1{
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 10vw 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.TwoS2-1 {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10vw 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.TwoS1-1-1, .TwoS2-1-1 {
    font-size: clamp(2vw, 3vw, 4vw);
    color: white;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.TwoS1-1-2, .TwoS2-1-2 {
   margin-top: 1vw;
    padding: 0.5vw 1vw;
    background: #E0D9D0;
    color: white;
    border-radius: 2vw;
    cursor: pointer;
    font-size: 0.8vw;
}

.TwoS1-2 {
        position: absolute;
    width: 79%;
    height: 43%;
    background: #e0d7cb;
    z-index: -1;
    bottom: 67%;
    left: -5%;
}


.TwoS2-2 {
       position: absolute;
    width: 79%;
    height: 43%;
    background: #e0d7cb;
    z-index: -1;
    bottom: -9%;
    right: -5%;
}

@media (max-width: 768px) {
    .NewsTwoS {
        flex-direction: column;
        width: 100vw;
        padding: 8vw;
        gap: 10vw;
        margin: 15vw 0;
    }

    .TwoS1, .TwoS2 {
        width: 90vw;
        height: 50vw;
    }
    
    .TwoS1-1-1, .TwoS2-1-1 {
    font-size: 4vh;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


.TwoS1-1-2, .TwoS2-1-2 {
    margin-top: 1vw;
    padding: 1.5vw 2vw;
    background: #E0D9D0;
    color: white;
    border-radius: 4vw;
    cursor: pointer;
    font-size: 3vw;
}
}

/*最新消息兩區塊end*/

/*參與草浪*//*參與草浪*//*參與草浪*//*參與草浪*//*參與草浪*/
.joinslogan{
    letter-spacing: 2px;
    margin: 5vw 0;
    color: #543d24;
    font-size: 1.2vw;
    font-weight: 100;
}
.jointitle{
         letter-spacing: 2px;
    color: #543d24;
    font-size: 1.5vw;
    position: absolute;
    right: 0;
    top: 5vw;
    font-weight: 100;
}




.join-volunteer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 桌機版 4 則 */
    gap: 2vw;
    width: 90vw;
    margin: 5vw auto;
}

.join-volunteer-card {
    background: #ffffff; /* 預設白色背景 */
    border-radius: 1.5vw;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
    text-align: center;
    position: relative;
}

.join-volunteer-card:hover {
    background-color: #F8F6F4; /* 膚色 */
}

/* 文章圖片 */
.join-volunteer-image img {
    width: 100%;
    height: 21vw;
    object-fit: cover;
    border-radius: 1.5vw 1.5vw 0 0;
    z-index: 2;
    position: relative;
}

/* 內容區 */
.join-volunteer-content {
      padding: 1vw 1.5vw 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 12vw;
}

/* 文章標題 */
.join-volunteer-title {
        font-size: clamp(1px, 1.1vw, 20px);
    color: #5a3e1b;
    margin-bottom: 0.5vw;
    text-align: left;
}

/* 文章摘要 */
.join-volunteer-excerpt {
   font-size: clamp(1px, 0.9vw, 1.5rem);
    color: #7a7a7a;
    margin-bottom: 1vw;
}

/* 按鈕 */
.join-volunteer-button {
   display: inline-block;
    padding: 0.9vw 2vw;
    background-color: #5a3e1b;
    color: white;
    font-size: 0.9vw;
    border-radius: 3vw;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.join-volunteer-card:hover .join-volunteer-button {
    background-color: white; /* 背景變白 */
    color: #5a3e1b; /* 文字變深色 */
}



/* 右上角箭頭 */
.join-arrow {
    position: absolute;
    bottom: -2vw;
    right: 0;
    font-size: 1.5vw;
    color: #5a3e1b;
    transition: color 0.3sease-in-out;
    z-index: 1;
}

.join-volunteer-card:hover .join-arrow {
    color: white; /* Hover 時變白 */
}

.join-volunteer-image{
        position: relative;
}

.join-arrow img{
    width: 2vw;
    border-radius: 0;
    height: auto;
}

.proposaltitle {
   letter-spacing: 2px;
    color: #543d24;
    font-size: 1.5vw;
    position: relative;
    right: 0;
    font-weight: 100;
        top: 1vw;
    text-align: right;
}

.eventtitle {
   letter-spacing: 2px;
    color: #543d24;
    font-size: 1.5vw;
    position: relative;
    right: 0;
    font-weight: 100;
        top: 1vw;
    text-align: right;
}


/* 平板裝置 */
@media (max-width: 1024px) {
    .join-volunteer-container {
        grid-template-columns: repeat(3, 1fr); /* 平板 3 則 */
    }
}

/* 手機版 */
@media (max-width: 768px) {
    .join-volunteer-container {
        grid-template-columns: repeat(2, 1fr); /* 手機版 2 則 */
        gap: 4vw;
    }



.JNewsLineLong{
width: 90vw;
    margin: 5vh auto;
    text-align: center;
    position: relative;
    height:1px;
    background-color: #5A3E1B;
}


.join-volunteer-card {
    background: #ffffff; /* 預設白色背景 */
    border-radius: 1.5vw;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
    text-align: center;
    position: relative;
}

.join-volunteer-card:hover {
    background-color: #F8F6F4; /* 膚色 */
}

/* 文章圖片 */
.join-volunteer-image img {
    width: 100%;
    height: 20vh;
    object-fit: cover;
    border-radius: 1.5vw 1.5vw 0 0;
    z-index: 2;
    position: relative;
}

/* 內容區 */
.join-volunteer-content {
      padding: 1vw 1.5vw 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 17vh;
            letter-spacing: 1px;
}

/* 文章標題 */
.join-volunteer-title {
    font-size: 4vw;
        color: #5a3e1b;
        text-align: left;
        margin: 1vw;
}

/* 文章摘要 */
.join-volunteer-excerpt {
  font-size: 2vw;
        color: #7a7a7a;
        margin: 1vw;
}

/* 按鈕 */
.join-volunteer-button {
   display: inline-block;
        padding: 0.9vw 2vw;
        background-color: #5a3e1b;
        color: white;
        font-size: 3vw;
        border-radius: 3vw;
        border: none;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
            letter-spacing: 1px;
}

.join-volunteer-card:hover .join-volunteer-button {
    background-color: white; /* 背景變白 */
    color: #5a3e1b; /* 文字變深色 */
}



/* 右上角箭頭 */
.join-arrow {
    position: absolute;
    bottom: -4vw;
    right: 0;
    font-size: 1.5vw;
    color: #5a3e1b;
    transition: color 0.3sease-in-out;
    z-index: 1;
}

.join-volunteer-card:hover .join-arrow {
    color: white; /* Hover 時變白 */
}

.join-volunteer-image{
        position: relative;
}

.join-arrow img{
    width: 5vw;
    border-radius: 0;
    height: auto;
}
.joinslogan {
            letter-spacing: 2px;
        margin: 20vw 11vw;
        color: #543d24;
        font-size: 4vw;
        font-weight: 100;
}
.jointitle {
    letter-spacing: 2px;
        color: #543d24;
        font-size: 4vw;
        position: relative;
        right: 0;
        top: 1vw;
        font-weight: 100;
        text-align: right;
}


.eventtitle{
    letter-spacing: 2px;
        color: #543d24;
        font-size: 4vw;
        position: relative;
        right: 0;
        top: 5vw;
        font-weight: 100;
        text-align: right;
    
}

.proposaltitle {
    letter-spacing: 2px;
    color: #543d24;
    font-size: 4vw;
    position: absolute;
    right: 0;
    top: 67vw;
    font-weight: 100;
}




}





/*參與草浪*//*參與草浪*//*參與草浪*//*參與草浪*//*參與草浪*//*參與草浪end*/


/*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*/
.proGroup {    display: flex;
    flex-direction: column;
    gap: 1vw;}

.proGroup .proButtomA {color: white;}

.proGroup .proButtomA .proButtom {
    
        background: #543d24;
    width: 10vw;
    padding: 1vw 0;
    border-radius: 0.8vw;
    letter-spacing: 2px;
    font-size: 1.3vw;
    margin: 0 auto;
    
}

.proGroup .proDes {    color: #543d24;}

.proGroup .proDes a {}


@media (max-width: 768px) {
    
.proGroup {    display: flex;
    flex-direction: column;
    gap: 4vw;
    margin: 10vw 0;
}

.proGroup .proButtomA {color: white;}

.proGroup .proButtomA .proButtom {
    
        background: #543d24;
    width: 31vw;
    padding: 3vw 0;
    border-radius: 2vw;
    letter-spacing: 2px;
    font-size: 4vw;
    margin: 0 auto;
    
}

.proGroup .proDes {    color: #543d24;}

.proGroup .proDes a {}
    
    
    
}
/*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*//*提案*/



.ep-photo-grid{display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100vw;
}
.ep-photo-item{    position: relative;
    width: 26vw;
    height: 26vw;
    overflow: hidden;}
.ep-photo-item img{height:100%;}
.EventPhoto{    margin: 10vw 0;}

.gene0217-section-title {
    font-size: clamp(1.5vw, 2vw, 3vw);
    color: #333;
    margin-bottom: 1vw;
}




@media (max-width: 768px) {
.gene0213-news-categories-container {
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    margin: 9vw;
    position: relative;
}





}





.N-PageTitle p{
    margin:0;
}


.N-PageTitle{
       display: flex
;
    padding: 0 5vw;
    gap: 1vw;
    align-items: flex-end;
}
.N-PageTitle .Title{
    font-size: 2vw;
    color: #543d24;
    letter-spacing:2px;
}

.N-PageTitle .TitleEn{
    font-size: 1.5vw;
    color: #543d24;
    letter-spacing: 2px;
}
.N-LineLong{width: 90vw;
    margin: 5vh auto;
    text-align: center;
    position: relative;
    height:1px;
    background-color: #5A3E1B;}
    
.NpageMain{padding: 0 5vw;
    letter-spacing: 2px;
    line-height: 2;
    color: #543d24;}
.NpageMain p{}
@media (max-width: 768px) {
    .N-PageTitle p{
    margin:0;
}


    .N-PageTitle {
        display: flex;
        padding: 0 5vw;
        gap: 4vw;
        align-items: flex-end;
        margin-top: 10vw;
    }
.N-PageTitle .Title{
    font-size: 6vw;
    color: #543d24;
    letter-spacing:2px;
}

.N-PageTitle .TitleEn{
    font-size: 4vw;
    color: #543d24;
    letter-spacing: 2px;
}
.N-LineLong{width: 90vw;
    margin: 3vh auto;
    text-align: center;
    position: relative;
    height:1px;
    background-color: #5A3E1B;}
    
.NpageMain{padding: 0 5vw;
    letter-spacing: 2px;
    line-height: 2;
    color: #543d24;}
.NpageMain p{}
}




@media (max-width: 768px) {}



/* 基礎樣式 */
.gene0217-videos-wrapper {
  position: relative;
    margin: 0 auto;
    padding: 5vw;
}

.gene0217-section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.gene0217-videos-container {
  position: relative;
  overflow: hidden;
}

.gene0217-videos-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.gene0217-video-item {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  position: relative;
  transition: transform 0.3s ease;
}

.gene0217-video-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gene0217-video-title {
      font-size: 1vw;
    margin: 10px 0;
    line-height: 1.4;
    color: #543d24;
}

.highBtnG {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 1.5vw;
    position: absolute;
    top: -3%;
    height: 100%;
    box-sizing: border-box;
}

.gene0217-prev,
.gene0217-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.gene0217-prev img,
.gene0217-next img {
  width: 40px;
  height: 40px;
}



.gene0217-shorts-wrapper{
        position: relative;
    margin: 0 auto;
    padding: 5vw;
}
.gene0217-shorts-item{}
.gene0217-shorts-container {overflow: hidden;}

.gene0217-shorts-slider {position: relative;
    display: flex
;    gap: 1vw;
    flex-direction: row;
    flex-wrap: nowrap;}

.gene0217-shorts-itemF {width: 18vw;
    height: 32vw;
    overflow: hidden;}

.gene0217-shorts-itemF a {}

.gene0217-shorts-itemF a img {      height: 107%;
    transform: translateX(-21vw);}

.gene0217-shorts-title {    font-size: 1vw;
    margin: 10px 0;
    line-height: 1.4;
    color: #543d24;}

.highSBtnG{display: flex;
    justify-content: space-between;
    position: relative;
    top: -21vw;
    
}


/* 手機版樣式 */
@media (max-width: 768px) {
 .gene0217-video-item {
    flex: 1 0 calc(94.333% - 20px);
    margin: 0 10px;
    position: relative;
    transition: transform 0.3s ease;
}


.gene0217-video-title {
    font-size: 3vw;
    margin: 10px 0;
    line-height: 1.4;
    color: #543d24;
}

.gene0217-shorts-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 8vw;
}
.gene0217-shorts-itemF {
    width: 54vw;
    height: 96vw;
    overflow: hidden;
    border-radius: 2vw;
}

.gene0217-shorts-itemF a img {
    height: 107%;
    transform: translateX(-64vw);
}
.gene0217-shorts-title {    font-size: 3vw;
    margin: 10px 0;
    line-height: 1.4;
    color: #543d24;}
.highSBtnG {
    display: flex
;
    justify-content: space-between;
    position: relative;
    top: -59vw;
}
.gene0217-shorts-slider {
    position: relative;
    display: flex
;
    gap: 8vw;
    flex-direction: row;
    flex-wrap: nowrap;
}

}

/* 主容器 */
.single-main-container {
       width: 100vw;
    margin: 0 auto;
    padding: 0px 0vw;
    box-sizing: border-box;
}

.single-content-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    flex-direction: row;
    justify-content: center;
}

/* 主內容區 */
.single-main-content {
   background: #fff;
    border-radius: 12px;
    padding: 0px 9vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 70%;
}

.single-header {
   margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    background: white;
}

.single-title {
    font-size: 2.5vw;
    line-height: 1.3;
    margin: 20px 0;
    color: #543d24;
    font-weight: 300;
    letter-spacing: 2px;
}

.post-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.featured-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    letter-spacing: 2px;
}

/* 側邊欄 */
.single-sidebar {
   background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    width: 30%;
}

/* 相關文章 */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.post-footer{
    background: white;
}

.related-title, h4{
        color: #543d24;
    letter-spacing: 2px;
    font-size: 1vw;
    font-weight: 400;
}

.single-main-container img{
   max-width: 100%;
    height: auto;
}

.pagenav{display:none;}

.category-list{}
.category-list li{    color: #543d2457;}
.category-list li a{color: #543d24;}

/* 文章頁響應式設計 */
@media (max-width: 768px) {
    /* 主容器 */
.single-main-container {
       width: 100vw;
    margin: 0 auto;
    padding: 0px 0vw;
    box-sizing: border-box;
}

.single-content-wrapper {
    display: flex
;
    gap: 40px;
    width: 100%;
   flex-direction: column;
    justify-content: center;
}

/* 主內容區 */
.single-main-content {
   background: #fff;
    border-radius: 12px;
    padding: 0px 9vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 100%;
}

.single-header {
   margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    background: white;
}

.single-title {
    font-size: 2.5vw;
    line-height: 1.3;
    margin: 20px 0;
    color: #543d24;
    font-weight: 300;
    letter-spacing: 2px;
}

.post-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.featured-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    letter-spacing: 2px;
}

/* 側邊欄 */
.single-sidebar {
   background: #e7e5e5;
        padding: 25px;
        border-radius: 0px;
        width: 100%;
        line-height: 2;
}

/* 相關文章 */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-grid {
    display: flex;
        gap: 20px;
        margin-top: 20px;
        flex-direction: column;
}

.related-item {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
        box-sizing: border-box;
}

.related-item:hover {
    transform: translateY(-5px);
}

.post-footer{
    background: white;
}

.related-title{
        color: #543d24;
    letter-spacing: 2px;
    font-size: 3vw;
    font-weight: 900;
}

h4{
        color: #543d24;
    letter-spacing: 2px;
    font-size: 3vw;
    font-weight: 400;
}

.single-main-container img{
  width: 100%;
        height: auto;
}

.pagenav{display:none;}

.category-list{}
.category-list li{    color: #543d2457;}
.category-list li a{color: #543d24;}
}

.sideLogo {
    position: fixed;
    width:  clamp(30px, 2.5vw, 40px);
    left: 0;
    top: 50%;
    background: #e0d9d069;
    padding: 2vw 1.5vw;
    border-radius: 0 2vw 2vw 0;
}



.sideLogo img{
    width:95%;
}
.sideIconG{
         position: fixed;
    width: 54px;
    right: 0;
    top: 67%;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.sideLogoS{ background: #543d24;
    padding: 2vw 3vw 2vw 1vw;
    border-radius: 1.5vw 0 0 1.5vw;
    writing-mode: vertical-lr;
    box-sizing: border-box;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 10px;
}

a.icon img{
    width: 71%;
    left: 19%;
    position: relative;
}

@media (max-width: 768px) {

.sideLogo {
   position: fixed;
    width: clamp(30px, 2.5vw, 40px);
    left: 0;
    top: 50%;
    background: #e0d9d069;
    padding: 4vw 2.5vw;
    border-radius: 0 4vw 4vw 0;

}
    .sideIconG {
    position: fixed;
    width: 33px;
    right: 0;
    top: 70%;
    display: flex
;
    flex-direction: column;
    gap: 5px;
}
 .sideLogoS {
    background: #543d24;
    padding: 3vw 0vw 3vw 1.5vw;
    border-radius: 3vw 0 0 3vw;
    writing-mode: vertical-lr;
    box-sizing: border-box;
    color: white;
    margin-bottom: 10px;
    width: 100%;
    font-size: 3vw;
    letter-spacing: 2px;
}   
    
}

.G0325-archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.G0325-archive-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.G0325-archive-post:hover {
    transform: translateY(-5px);
}

.G0325-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.G0325-entry-header{
    padding: 15px 20px;
    background-color: #543d24;
}

.G0325-entry-summary {
    padding: 15px 20px;
    color: #543d24;
    letter-spacing: 2px;
}

.G0325-entry-title a{
    color: white;
}
.G0325-entry-title {
    font-size: 1.3em;
    margin-bottom: 8px;
}

.G0325-entry-meta {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 15px;
}

/* 分頁導航優化 */
.G0325-archive-navigation a {
    padding: 8px 16px;
    transition: all 0.3s;
}

.G0325-archive-navigation a:hover {
    background-color: #005a87;
    border-color: #005a87;
}

.G0325-archive-header{
            background-color: white;
    margin-bottom: 4vw;
}
.G0325-archive-title{
    
        font-size: 1.5vw;
    text-align: center;
    color: #543d24;
    font-weight: 300;
    letter-spacing: 2px;
    
    
}
/* 手機版佈局調整 */
@media (max-width: 767px) {
    
    .G0325-archive-title{
    
        font-size: 6vw;
    text-align: center;
    color: #543d24;
    font-weight: 300;
    letter-spacing: 2px;
    
    
}
    
    
    .G0325-archive-posts {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .G0325-post-thumbnail img {
        height: 150px;
    }

    .G0325-entry-header, .G0325-entry-summary {
        padding: 10px 15px;
    }

    .G0325-entry-title {
        font-size: 1.1em;
    }
}