.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8 h1{color:#191919;font-size:36px;font-weight:500;line-height:1.35em;letter-spacing:0.02em;}.elementor-kit-8 h2{color:#191919;font-size:24px;}.elementor-kit-8 h3{color:#191919;font-size:20px;}.elementor-kit-8 h4{color:#191919;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-8 h1{font-size:24px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}.elementor .e-div-block-base{min-width:30px;padding:10px;display:block;}.elementor .e-flexbox-base{padding:10px;display:flex;flex-direction:row;}.elementor .e-heading-base{margin:0px;}.elementor .e-heading-link-base{all:unset;cursor:pointer;}.elementor .e-image-link-base{width:fit-content;display:inherit;}.elementor .e-image-base{display:block;}.elementor .e-paragraph-base{margin:0px;}.elementor .e-paragraph-link-base{all:unset;cursor:pointer;}.elementor .e-svg-base{width:65px;height:65px;display:inline-block;}.elementor .e-button-base{text-align:center;padding-block-start:12px;padding-block-end:12px;padding-inline-start:24px;padding-inline-end:24px;border-radius:2px;border-width:0px;background-color:#375EFB;display:inline-block;}.elementor .e-youtube-base{overflow:hidden;aspect-ratio:16/9;}
/* Start custom CSS *//* --- Header 整合特效 CSS (全站通用最終版 v5 - 內建圖示變色法) --- */

/* 1. Header 黏貼容器的基礎設定 */
#main_sticky_header {
  transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
  will-change: transform, background-color;
  background-color: rgba(255, 255, 255, 0.4);  
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* 2. 滑動隱藏功能 */
#main_sticky_header.header-hidden {
  transform: translateY(-100%);
}

/* 3. 當滾動到深色區塊時，改變 Header 背景色 */
#main_sticky_header.header-light-theme {
  background-color: rgba(25, 25, 25, 0.7) !important;  
}


/* --- 選單文字變色 --- */
#main_sticky_header .elementor-nav-menu a.elementor-item {
  color: #191919 !important;
  transition: color 0.4s ease-in-out !important;
}
#main_sticky_header.header-light-theme .elementor-nav-menu a.elementor-item {
  color: #FAFAFA !important;
}


/* --- Logo 切換 --- */
#main_sticky_header #logo-for-light-bg { display: block; }
#main_sticky_header #logo-for-dark-bg { display: none; }
#main_sticky_header.header-light-theme #logo-for-light-bg { display: none; }
#main_sticky_header.header-light-theme #logo-for-dark-bg { display: block; }


/* --- 【最新】針對選單內建的 SVG 漢堡圖示進行變色 --- */
/* .elementor-menu-toggle 是 Elementor 用來包裹漢堡圖示的標準 class */
#main_sticky_header .elementor-menu-toggle svg {
  /* 預設狀態 (淺色背景上的深色圖示) */
  fill: #191919 !important; 
  transition: fill 0.4s ease-in-out !important;
  width: 30px; /* 您可以在此調整圖示大小 */
  height: auto;
}

/* 當 Header 進入深色模式時，改變 SVG 的填充顏色 */
#main_sticky_header.header-light-theme .elementor-menu-toggle svg {
  /* 切換為淺色圖示 */
  fill: #FAFAFA !important; 
}


/* --- 手機版展開選單 (Dropdown Menu) --- */
/* 預設狀態 (淺色背景) */
#main_sticky_header .elementor-nav-menu--dropdown {
  background-color: #FFFFFF !important; 
  transition: background-color 0.4s ease-in-out !important;
}
/* 深色區塊狀態 (深色背景) */
#main_sticky_header.header-light-theme .elementor-nav-menu--dropdown {
  background-color: #191919 !important; /* 背景切換為深色 */
}


/* --- 手機選單啟動項目(Active/Hover)在深色模式下的樣式 --- */
#main_sticky_header.header-light-theme .elementor-nav-menu--dropdown a.elementor-item:hover,
#main_sticky_header.header-light-theme .elementor-nav-menu--dropdown a.elementor-item.active,
#main_sticky_header.header-light-theme .elementor-nav-menu--dropdown li.current-menu-item > a.elementor-item {
  color: #E8B932 !important; /* 文字變為金色 */
  background-color: transparent !important;
}/* End custom CSS */