.ct-section {
width:100%;
background-size:cover;
background-repeat:repeat;
}
.ct-section>.ct-section-inner-wrap {
display:flex;
flex-direction:column;
align-items:flex-start;
}
.ct-div-block {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.ct-new-columns {
display:flex;
width:100%;
flex-direction:row;
align-items:stretch;
justify-content:center;
flex-wrap:wrap;
}
.ct-link-text {
display:inline-block;
}
.ct-link {
display:flex;
flex-wrap:wrap;
text-align:center;
text-decoration:none;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-link-button {
display:inline-block;
text-align:center;
text-decoration:none;
}
.ct-link-button {
background-color: #1e73be;
border: 1px solid #1e73be;
color: #ffffff;
padding: 10px 16px;
}
.ct-image {
max-width:100%;
}
.ct-fancy-icon>svg {
width:55px;height:55px;}
.ct-inner-content {
width:100%;
}
.ct-slide {
display:flex;
flex-wrap:wrap;
text-align:center;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-nestable-shortcode {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-comments {
width:100%;
text-align:left;
}
.oxy-comment-form {
width:100%;
}
.oxy-login-form {
width:100%;
}
.oxy-search-form {
width:100%;
}
.oxy-tabs-contents {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab-content {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-testimonial {
width:100%;
}
.oxy-icon-box {
width:100%;
}
.oxy-pricing-box {
width:100%;
}
.oxy-posts-grid {
width:100%;
}
.oxy-gallery {
width:100%;
}
.ct-slider {
width:100%;
}
.oxy-tabs {
display:flex;
flex-wrap:nowrap;
flex-direction:row;
align-items:stretch;
}
.ct-modal {
flex-direction:column;
align-items:flex-start;
}
.ct-span {
display:inline-block;
text-decoration:inherit;
}
.ct-widget {
width:100%;
}
.oxy-dynamic-list {
width:100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
			.ct-div-block,
			.oxy-post-content,
			.ct-text-block,
			.ct-headline,
			.oxy-rich-text,
			.ct-link-text { max-width: 100%; }
			img { flex-shrink: 0; }
			body * { min-height: 1px; }
		}            .oxy-testimonial {
                flex-direction: row;
                align-items: center;
            }
                        .oxy-testimonial .oxy-testimonial-photo-wrap {
                order: 1;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo {
                width: 125px;                height: 125px;                margin-right: 20px;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo-wrap, 
            .oxy-testimonial .oxy-testimonial-author-wrap, 
            .oxy-testimonial .oxy-testimonial-content-wrap {
                align-items: flex-start;                text-align: left;            }
            
                                                            .oxy-testimonial .oxy-testimonial-text {
                margin-bottom:8px;font-size: 21px;
line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
                                    .oxy-testimonial .oxy-testimonial-author {
                font-size: 18px;
-webkit-font-smoothing: subpixel-antialiased;
            }
                            

                                                .oxy-testimonial .oxy-testimonial-author-info {
                font-size: 12px;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
             
            
                        .oxy-icon-box {
                text-align: left;                flex-direction: column;            }
            
                        .oxy-icon-box .oxy-icon-box-icon {
                margin-bottom: 12px;
                align-self: flex-start;            }
            
                                                                        .oxy-icon-box .oxy-icon-box-heading {
                font-size: 21px;
margin-bottom: 12px;            }
            
                                                                                    .oxy-icon-box .oxy-icon-box-text {
                font-size: 16px;
margin-bottom: 12px;align-self: flex-start;            }
            
                        .oxy-icon-box .oxy-icon-box-link {
                margin-top: 20px;                            }
            
            
            /* GLOBALS */

                                                            .oxy-pricing-box .oxy-pricing-box-section {
                padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
text-align: center;            }
                        
                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                justify-content: center;            }
            
            /* IMAGE */
                                                                                    .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-graphic {
                justify-content: center;            }
            
            /* TITLE */
                                                            
                                    .oxy-pricing-box .oxy-pricing-box-title-title {
                font-size: 48px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-title-subtitle {
                font-size: 24px;
            }
            

            /* PRICE */
                                                .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                                                flex-direction: row;                                            }
            
                                    .oxy-pricing-box .oxy-pricing-box-currency {
                font-size: 28px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-main {
                font-size: 80px;
line-height: 0.7;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-decimal {
                font-size: 13px;
            }
                        
                                    .oxy-pricing-box .oxy-pricing-box-term {
                font-size: 16px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-sale-price {
                font-size: 12px;
color: rgba(0,0,0,0.5);
                margin-bottom: 20px;            }
            
            /* CONTENT */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-content {
                font-size: 16px;
color: rgba(0,0,0,0.5);
            }
            
            /* CTA */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-cta {
                justify-content: center;            }
            
        
                                .oxy-progress-bar .oxy-progress-bar-background {
            background-color: #000000;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);            animation: none 0s paused;        }
                
                .oxy-progress-bar .oxy-progress-bar-progress-wrap {
            width: 85%;        }
        
                                                        .oxy-progress-bar .oxy-progress-bar-progress {
            background-color: #66aaff;padding: 40px;animation: none 0s paused, none 0s paused;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);        
        }
                
                        .oxy-progress-bar .oxy-progress-bar-overlay-text {
            font-size: 30px;
font-weight: 900;
-webkit-font-smoothing: subpixel-antialiased;
        }
        
                        .oxy-progress-bar .oxy-progress-bar-overlay-percent {
            font-size: 12px;
        }
        
        .ct-slider .unslider-nav ol li {border-color: #ffffff; }.ct-slider .unslider-nav ol li.unslider-active {background-color: #ffffff; }.ct-slider .ct-slide {
				padding: 0px;			}
		
                        .oxy-superbox .oxy-superbox-secondary, 
            .oxy-superbox .oxy-superbox-primary {
                transition-duration: 0.5s;            }
            
            
            
            
            
        
        
        
        
            .oxy-shape-divider {
                width: 0px;
                height: 0px;
                
            }
            
            .oxy_shape_divider svg {
                width: 100%;
            }
            .oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .sub-menu{
box-shadow:px px px px ;}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a div{
margin-left:0px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
width:30px;
height:30px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon{
padding-top:15px;
padding-right:15px;
padding-bottom:15px;
padding-left:15px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon, .oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon{
top:20px;
left:20px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
width:24px;
height:24px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon, .oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container{
background-color:#ffffff;
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-open-container{
background-image:url();
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item-has-children > a svg, .oxy-pro-menu .oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item-has-children > a svg{
font-size:24px;
}

.oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-open-container .menu-item-has-children ul, .oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-off-canvas-container .menu-item-has-children ul{
background-color:rgba(0,0,0,0.2);
border-top-style:solid;
}

.oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .oxy-pro-menu-list{
                    flex-direction: row;
               }
.oxy-pro-menu .oxy-pro-menu-container .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .menu-item, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .menu-item{
                    align-items: flex-start;
                }

            .oxy-pro-menu .oxy-pro-menu-off-canvas-container{
                    top: 0;
                    bottom: 0;
                    right: auto;
                    left: 0;
               }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item a, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }

            .oxy-site-navigation {
--oxynav-brand-color:#4831B0;
--oxynav-neutral-color:#FFFFFF;
--oxynav-activehover-color:#EFEDF4;
--oxynav-background-color:#4831B0;
--oxynav-border-radius:0px;
--oxynav-other-spacing:8px;
--oxynav-transition-duration:0.3s;
--oxynav-transition-timing-function:cubic-bezier(.84,.05,.31,.93);
}

.oxy-site-navigation .oxy-site-navigation__mobile-close-wrapper{
text-align:left;
}

.oxy-site-navigation > ul{ left: 0; }
.oxy-site-navigation {
                        --oxynav-animation-name: none; 
                    }

                .oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1){ 
                    background-color: var(--oxynav-brand-color);
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                    border: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2){ 
                    background: transparent;
                    border: 1px solid currentColor;
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2):not(:hover) > img{
                    filter: invert(0) !important;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover{
                    background-color: var(--oxynav-activehover-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a{
                    color: var(--oxynav-neutral-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a::after{
                    color: var(--oxynav-neutral-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > button, .oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }

                .ct-section-inner-wrap, .oxy-header-container{
  max-width: 1120px;
}
body {font-family: 'Open Sans';}body {line-height: 1.6;font-size: 16px;font-weight: 400;color: #404040;}.oxy-nav-menu-hamburger-line {background-color: #404040;}h1, h2, h3, h4, h5, h6 {font-family: 'Source Sans 3';font-size: 36px;font-weight: 700;}h2, h3, h4, h5, h6{font-size: 30px;}h3, h4, h5, h6{font-size: 24px;}h4, h5, h6{font-size: 20px;}h5, h6{font-size: 18px;}h6{font-size: 16px;}a {color: #0074db;text-decoration: none;}a:hover {text-decoration: none;}.ct-link-text {text-decoration: ;}.ct-link {text-decoration: ;}.ct-link-button {border-radius: 3px;}.ct-section-inner-wrap {
padding-top: 75px;
padding-right: 20px;
padding-bottom: 75px;
padding-left: 20px;
}.ct-new-columns > .ct-div-block {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}.oxy-header-container {
padding-right: 20px;
padding-left: 20px;
}@media (max-width: 992px) {
				.ct-columns-inner-wrap {
					display: block !important;
				}
				.ct-columns-inner-wrap:after {
					display: table;
					clear: both;
					content: "";
				}
				.ct-column {
					width: 100% !important;
					margin: 0 !important;
				}
				.ct-columns-inner-wrap {
					margin: 0 !important;
				}
			}
.nav_item {
 gap:10px;
}
.nav_item:not(.ct-section):not(.oxy-easy-posts),
.nav_item.oxy-easy-posts .oxy-posts,
.nav_item.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
align-items:flex-end;
justify-content:flex-start;
gap:10px;
}
.nav_label_m {
 font-family:'Noto Sans TC';
 color:#ffffff;
 font-size:18px;
 font-weight:400;
}
.oxy-close-modal {
}
.title_h1_eng {
 font-family:'Poppins';
 color:#b07c4b;
 font-size:4rem;
 font-weight:500;
 line-height:1;
 text-align:left;
}
@media (max-width: 767px) {
.title_h1_eng {
 font-size:3rem;
}
}

@media (max-width: 479px) {
.title_h1_eng {
 font-size:2rem;
}
}

.title_h2 {
 font-family:'Noto Sans TC';
 font-weight:400;
 font-size:2rem;
 color:#1a243f;
 letter-spacing:3px;
 line-height:1;
 text-align:left;
}
.home_post_repeater {
}
.btn-box:hover{
}
.btn-box {
 padding-top:5px;
 padding-bottom:5px;
 padding-left:40px;
}
.btn-box:not(.ct-section):not(.oxy-easy-posts),
.btn-box.oxy-easy-posts .oxy-posts,
.btn-box.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
align-items:center;
justify-content:center;
}
.btn-text {
 font-family:'Mulish';
 font-weight:300;
 font-size:1rem;
 color:#b07c4b;
}
.home_post_list {
 padding-top:5px;
 padding-bottom:5px;
 border-bottom-style:solid;
 border-bottom-width:1px;
 border-bottom-color:#dedede;
}
.home_post_list:not(.ct-section):not(.oxy-easy-posts),
.home_post_list.oxy-easy-posts .oxy-posts,
.home_post_list.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
align-items:center;
justify-content:space-between;
}
@media (max-width: 991px) {
.home_post_list {
}
}

.text {
 font-family:'Noto Sans TC';
 color:#4c4c4c;
 font-size:1rem;
 font-weight:300;
 line-height:2;
 letter-spacing:1px;
 text-align:justify;
}
.nav-bar {
}
.nav-label:active{
 padding-bottom:0px;
 border-bottom-width:3px;
 border-bottom-style:solid;
}
.nav-label:hover{
 border-bottom-style:solid;
 border-bottom-color:#b07c4b;
 border-bottom-width:3px;
 padding-bottom:0px;
 text-shadow:1px 1px 3px #b07c4b;
}
.nav-label {
 font-family:'Noto Sans TC';
 color:#ffffff;
 font-size:1rem;
 font-weight:400;
 height:100%;
 letter-spacing:1px;
 line-height:1;
 padding-bottom:3px;
 padding-top:3px;
}
.nav-label:not(.ct-section):not(.oxy-easy-posts),
.nav-label.oxy-easy-posts .oxy-posts,
.nav-label.ct-section .ct-section-inner-wrap{
display:flex;
align-items:center;
justify-content:center;
}
.nav-line {
 font-family:'Noto Sans TC';
 color:#15a6e4;
 font-size:1rem;
 font-weight:300;
}
.oxy-burger-trigger {
}
.nav_item_en {
 font-family:'Mulish';
 font-size:2rem;
 font-weight:300;
 color:#ffffff;
 line-height:1;
}
@media (max-width: 479px) {
.nav_item_en {
 font-size:1.4rem;
}
}

.nav_item_cn {
 font-family:'Noto Sans TC';
 color:#ffc9c9;
 font-size:1rem;
 font-weight:300;
 line-height:1.5;
 letter-spacing:2px;
 text-align:center;
 padding-left:2px;
}
@media (max-width: 479px) {
.nav_item_cn {
 font-size:13px;
}
}

.title_h1 {
 font-family:'Noto Serif TC';
 color:#ffffff;
 font-weight:500;
 font-size:3.5rem;
 text-align:left;
 line-height:1.5;
}
@media (max-width: 767px) {
.title_h1 {
 font-size:2.5rem;
}
}

.title_h5 {
 font-family:'Noto Serif TC';
 color:#ffffff;
 font-size:1.5rem;
 font-weight:400;
 text-align:left;
 line-height:1.5;
}
@media (max-width: 767px) {
.title_h5 {
 font-size:1rem;
}
}

.link-with-line {
}
.title_h3 {
 font-family:'Noto Sans TC';
 font-weight:400;
 font-size:1.5rem;
 color:#1a243f;
 letter-spacing:3px;
 line-height:1.5;
 text-align:left;
}
.button_more {
}
.title_h4 {
 font-family:'Noto Sans TC';
 color:#1a243f;
 font-size:1.2rem;
 font-weight:400;
 text-align:left;
 line-height:1.5;
 letter-spacing:1px;
}
@media (max-width: 767px) {
.title_h4 {
 font-size:1.2rem;
}
}

.text-link {
 font-family:'Noto Sans TC';
 color:#4c4c4c;
 font-size:1rem;
 font-weight:300;
 line-height:1;
 text-align:left;
 width:95%;
 letter-spacing:1px;
}
@media (max-width: 479px) {
.text-link {
 width:90%;
}
}

.header-scrolled {
 background-color:rgba(0,0,0,0);
}
.oxy-stock-content-styles {
}
a:focus {
    outline: none;
}

.hamburger {
    outline: none;
}

/* --- Header Scroll Effect --- */

/* 1. 設定 Header 的預設樣式和過渡效果 */
#main-header {
    /* 預設背景色，請改成你原本的顏色，透明是 transparent */
  background-color: rgba(0,0,0,0); 
  /* 這行是關鍵！讓背景色改變時有 0.3 秒的平滑過渡動畫 */
  transition: background-color 0.3s ease-in-out; 
}

/* 2. 設定 Header 在滾動後要變成的樣式 */
#main-header.header-scrolled {
  /* 這是滾動後要變成的新背景色 */
  background-color: rgba(0,0,0,0.5);
  /* 增加遮罩的模糊效果 */
  backdrop-filter: blur(10px);
  /* 為了兼容Webkit瀏覽器 */
  -webkit-backdrop-filter: blur(10px);  
  /* (可選) 加上一點陰影，讓 Header 更突出 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* --- Link with Animated Line --- */

/* 選取我們設定的 class */
.btn-box {
  /* 確保 display 是 inline-flex 或 flex，讓線條和文字對齊 */
  display: inline-flex;
  align-items: center;
  text-decoration: none; /* 移除預設的底線 */
}

/* 使用 ::before 偽元素來創建線條 */
.btn-box::before {
  content: ''; /* 偽元素必須要有 content 屬性 */
  display: block;
  position: absolute; /* 相對於 Link Wrapper 的 relative 定位 */
  left: 0; /* 定位在最左邊 */
  
  /* 線條的樣式 */
  width: 30px; /* 線條的長度 */
  height: 1px; /* 線條的粗細 */
  background-color: #B07C4B; /* 線條的顏色 */

  /* 動畫的關鍵 */
  transform: scaleX(1); /* 初始狀態是完全顯示 (縮放比例為 1) */
  transform-origin: right; /* 設定縮放的基準點在左邊 */
  transition: transform 0.3s ease-in-out; /* 設定動畫效果 */
}

/* 滑鼠滑過時的狀態 */
.btn-box:hover::before {
  transform: scaleX(0); /* 將線條的水平縮放設為 0，使其消失 */
}

.btn-text {
  /* 加上這一行，讓顏色變化有 0.3 秒的動畫 */
  transition: color 0.3s ease-in-out; 
}

/* 當滑鼠滑過 .btn-box 時，改變 .btn-text 的顏色 */
.btn-box:hover .btn-text {
  color: #1A243F; /* 在這裡換成你想要的顏色，例如跟線條同色 */
}

/* * 這個 CSS 規則會隱藏 Oxygen Repeater 預設的分頁。
 * !important 用於確保能覆蓋 Oxygen 的預設樣式。
 */
.oxy-repeater-pages-wrap {
    display: none !important;
}

/*
 * 客製化分頁 (Pagination) 的 CSS 樣式
 * 根據您提供的截圖設計
 * * 使用方法：
 * 1. 將此 CSS 程式碼加入 Oxygen 的樣式表 (Manage > Stylesheets) 或
 * 2. 加入到您放置 astra_pagination() PHP 函式的那個 Code Block 的 "CSS" 分頁中。
 */

/* 整個分頁的容器 */
.navigation.pagination {
    font-family: sans-serif; /* 使用一個通用的無襯線字體，您可以替換為您網站的主字體 */
}

/* 包含所有連結的內部容器 */
.navigation.pagination .nav-links {
    display: flex;             /* 使用 Flexbox 佈局 */
    justify-content: center;   /* 水平置中所有項目 */
    align-items: center;       /* 垂直置中所有項目 */
    gap: 10px;                 /* 設定項目之間的間隔 */
}

/* 所有分頁按鈕的通用樣式 (包括數字、上一頁/下一頁) */
.navigation.pagination .page-numbers {
    display: inline-flex;       /* 使用 Flexbox 來幫助內容置中 */
    align-items: center;        /* 垂直置中按鈕內的文字或圖示 */
    justify-content: center;    /* 水平置中按鈕內的文字或圖示 */
    border: 1px solid #a88761;  /* 設定邊框顏色為棕金色 */
    color: #3d3d3d;             /* 設定數字的預設顏色為深灰色 */
    background-color: transparent; /* 透明背景 */
    text-decoration: none;      /* 移除底線 */
    width: 40px;                /* 設定固定寬度，使其為方形 */
    height: 40px;               /* 設定固定高度，使其為方形 */
    font-size: 16px;            /* 調整字體大小 */
    font-weight: 400;           /* 設定字體粗細 */
    padding: 0;                 /* 移除內邊距，因為我們用 flex 置中了 */
    margin: 0;                  /* 移除預設的外邊距 */
    border-radius: 2px;         /* 設定微小的圓角，看起來更柔和 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 加入平滑的過渡動畫 */
}

/* 「上一頁」和「下一頁」按鈕中的箭頭顏色 */
.navigation.pagination a.prev,
.navigation.pagination a.next {
    color: #a88761; /* 將箭頭顏色設定為棕金色 */

}

/* 滑鼠懸停在任何可點擊的分頁按鈕上的效果 */
.navigation.pagination a.page-numbers:hover {
    background-color: #f5f1ec; /* 滑鼠懸停時的淡米色背景 */
    color: #a88761;            /* 滑鼠懸停時的文字/圖示顏色 */
}

/* 當前頁碼 (Active Page) 的特殊樣式 */
.navigation.pagination .page-numbers.current {
    background-color: #a88761;  /* 背景顏色設定為棕金色 */
    color: #ffffff;             /* 文字顏色設定為白色 */
    border-color: #a88761;      /* 邊框顏色與背景色一致 */
    font-weight: bold;          /* 字體加粗 */
    cursor: default;            /* 滑鼠指標變為預設，表示不可點擊 */
}

/* 省略符號 (...) 的樣式 */
.navigation.pagination .page-numbers.dots {
    border: none;               /* 移除邊框 */
    background-color: transparent; /* 透明背景 */
    color: #a88761;             /* 設定顏色 */
    cursor: default;            /* 滑鼠指標變為預設 */
}

/* === (新增) 響應式設計：在小螢幕上調整樣式 === */
@media (max-width: 768px) {
    .navigation.pagination .nav-links {
        /* 調整項目之間的間距 */
        gap: 5px; 
    }

    .navigation.pagination .page-numbers {
        /* 在小螢幕上稍微縮小按鈕尺寸 */
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/*
 * major 分類篩選按鈕的樣式 (根據最新截圖更新)
 */
.major-category-filters {
    display: flex;
    flex-wrap: wrap; /* 在小螢幕上允許按鈕換行 */
    justify-content: center; /* 水平置中 */
    gap: 15px; /* 按鈕之間的間隔 */
}

/* 按鈕的通用樣式 (預設狀態) */
.cat-filter-button {
    display: inline-block;
    padding: 10px 24px; /* 調整內邊距，讓按鈕更寬 */
    border: 1px solid #a88761; /* 設定邊框顏色為棕金色 */
    border-radius: 2px; /* 微圓角矩形 */
    color: #3d3d3d; /* 深灰色文字 */
    background-color: #ffffff; /* 白色背景 */
    text-decoration: none;
    font-family: 'Noto Sans TC';
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 滑鼠懸停效果 */
.cat-filter-button:hover {
    background-color: #f7f3ed; /* 一個非常淡的米色，作為懸停效果 */
    border-color: #a88761;
    color: #3d3d3d;
}

/* 當前選中分類的「啟用中」樣式 */
.cat-filter-button.active {
    background-color: #a88761; /* 背景設定為棕金色 */
    color: #ffffff;            /* 文字設定為白色 */
    border-color: #a88761;      /* 邊框顏色與背景色一致 */
    font-weight: bold;
}

/* --- 手機版分類按鈕網格佈局 (每列兩個) --- */
@media (max-width: 767px) {

  /* 1. 將按鈕的容器改為 Grid 佈局 */
  .major-category-filters {
    display: grid;
    /* 建立一個兩欄的網格，1fr 1fr 代表將可用空間平均分成兩等份給這兩欄 */
    grid-template-columns: 1fr 1fr;
    /* 您原有的 gap: 15px; 會繼續作用，定義網格間距 */
  }

  /* 2. 讓按鈕的寬度 100% 填滿網格欄位 */
  .cat-filter-button {
    width: 100%; /* 這很重要，讓按鈕撐滿它所在的欄位 */
  }
  
}