.elementor-3706 .elementor-element.elementor-element-c5f45df{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-cb58b56{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-3706 .elementor-element.elementor-element-0262083{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:space-evenly;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-0262083:not(.elementor-motion-effects-element-type-background), .elementor-3706 .elementor-element.elementor-element-0262083 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F8F8F8;}.elementor-3706 .elementor-element.elementor-element-e71b7a3{padding:0px 0px 0px 0px;}.elementor-3706 .elementor-element.elementor-element-6d45268{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--gap:30px 30px;--row-gap:30px;--column-gap:30px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-6d45268:not(.elementor-motion-effects-element-type-background), .elementor-3706 .elementor-element.elementor-element-6d45268 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-2c156cc );}.elementor-3706 .elementor-element.elementor-element-e238038{margin:0% 0% calc(var(--kit-widget-spacing, 0px) + 0%) 0%;text-align:center;}.elementor-3706 .elementor-element.elementor-element-e238038 .elementor-heading-title{font-family:"Noto Sans TC", Sans-serif;font-size:35px;font-weight:700;line-height:1.2em;}.elementor-3706 .elementor-element.elementor-element-cb690cc{text-align:center;font-family:var( --e-global-typography-c0a5c81-font-family ), Sans-serif;font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );}.elementor-3706 .elementor-element.elementor-element-2522a21{width:var( --container-widget-width, 80% );max-width:80%;margin:0% 0% calc(var(--kit-widget-spacing, 0px) + 0%) 0%;--container-widget-width:80%;--container-widget-flex-grow:0;}.elementor-3706 .elementor-element.elementor-element-2522a21.elementor-element{--align-self:center;}.elementor-3706 .elementor-element.elementor-element-b6f746b{margin:20px 20px calc(var(--kit-widget-spacing, 0px) + 20px) 20px;padding:0px 0px 0px 0px;text-align:center;}.elementor-3706 .elementor-element.elementor-element-b6f746b .elementor-heading-title{font-family:var( --e-global-typography-c0a5c81-font-family ), Sans-serif;font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );color:var( --e-global-color-e285576 );}.elementor-3706 .elementor-element.elementor-element-3c9f806{padding:30px 20px 30px 20px;}.elementor-3706 .elementor-element.elementor-element-c0dccb4{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-3706 .elementor-element.elementor-element-6d45268{--padding-top:40px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-cb690cc{font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );}.elementor-3706 .elementor-element.elementor-element-b6f746b .elementor-heading-title{font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );}}@media(max-width:767px){.elementor-3706 .elementor-element.elementor-element-c5f45df{--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-c004cbd{width:var( --container-widget-width, 842.234px );max-width:842.234px;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;--container-widget-width:842.234px;--container-widget-flex-grow:0;}.elementor-3706 .elementor-element.elementor-element-3b7630c{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-3706 .elementor-element.elementor-element-1ffa672{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-3706 .elementor-element.elementor-element-0262083{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3706 .elementor-element.elementor-element-6d45268{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:60px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3706 .elementor-element.elementor-element-e238038 .elementor-heading-title{font-size:26px;}.elementor-3706 .elementor-element.elementor-element-cb690cc{font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );}.elementor-3706 .elementor-element.elementor-element-2522a21{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-3706 .elementor-element.elementor-element-b6f746b .elementor-heading-title{font-size:var( --e-global-typography-c0a5c81-font-size );line-height:var( --e-global-typography-c0a5c81-line-height );}.elementor-3706 .elementor-element.elementor-element-3c9f806{padding:20px 0px 20px 0px;}}/* Start custom CSS *//* ========================================================================= */
/* GLOBAL RESET & FIXES (NUCLEAR OVERRIDE)
/* ========================================================================= */
html, body, #Wrapper {
overflow: visible !important;
scroll-behavior: auto !important;
margin: 0;
padding: 0;
}

#wpadminbar {
position: fixed !important;
}

/* ========================================================================= */
/* HEADER & NAVIGATION
/* ========================================================================= */
#mfn-header-template {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 100;
transform: translateZ(0); /* GPU hint */
}

@media (min-width: 768px) {
#mfn-header-template {
position: absolute;
}
}

/* ========================================================================= */
/* HERO SECTION - NEW STRUCTURE (Vertical Stack)
/* ========================================================================= */

/* 1. 窗口 (The Viewport) */
#hero-pin-container {
height: 100vh !important;
width: 100%;
position: relative;
overflow: hidden !important;
padding: 0 !important;
margin: 0 !important;
}

/* 2. 電影菲林 (The Movable Wrapper) */
.hero-wrapper {
position: relative;
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
/* PERFORMANCE OPTIMIZATION: Promote to its own GPU layer */
will-change: transform;
}

/* 3. 每一格菲林 (The Slides) */
/* OPTIMIZATION: Replaced long body.elementor-page-3706s with a single, efficient class */
.hero-slide {
height: 100vh !important;
width: 100% !important;
flex-shrink: 0;
position: relative !important;
top: auto !important;
left: auto !important;
overflow: hidden !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
margin: 0 !important;
}

/* Touch/Swipe optimization for mobile */
#hero-pin-container,
#hero-pin-container * {
touch-action: manipulation;
}

/* ========================================================================= */
/* MAIN CONTENT WRAPPER
/* ========================================================================= */
#main-content-wrapper.elementor-element[data-settings*="background_background"] {
background-color: transparent !important;
background-image: none !important;
}

/* ========================================================================= */
/* OPTIMIZED BUTTON STYLES
/* ========================================================================= */
/* Base class for all buttons */
.btn {
background-color: #1A4734;
color: #f8f8f8;
border: 1px solid rgba(0,0,0,0.2);
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
transform: translateZ(0);
transition: all 0.3s ease;
text-decoration: none !important;
font-weight: bold;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 0.5rem !important;
text-align: center !important;
padding: 0.75rem 2.5rem;
border-radius: 0.5rem;
}

.btn:hover {
transform: scale(1.05) translateY(-1px);
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* --- Button Modifiers --- */
.btn--green {
background-color: #128C7E;
border: none;
}
.btn--green:hover {
background-color: #0F786C;
}

.btn--main {
background-color: #E91E63;
}
.btn--main:hover {
background-color: #C2185B;
}

.btn--secondary {
background-color: #E6F4F2;
border: 2px solid #128C7E;
color: #128C7E !important;
}
.btn--secondary:hover {
background-color: transparent;
}

/* --- Specific Device Overrides (kept for compatibility) --- */
.cta-device-specific,
.cta-device-specific .button_label,
.cta-device-specific .material-symbols-outlined {
color: white !important;
}

.cta-device-specific .button_icon,
.cta-device-specific .button_label {
display: inline-block;
vertical-align: middle;
}

/* ========================================================================= */
/* HERO SLIDES - CONTENT & VIDEO LAYERING FIX
/* ========================================================================= */
.slide-content-wrapper {
position: relative !important;
z-index: 10 !important;
width: 90%;
max-width: 1200px;
text-align: center;
color: white;
}

.hero-slide video {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
z-index: 1 !important;
}

.video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
z-index: 2;
/* PERFORMANCE OPTIMIZATION: Isolate overlay rendering */
contain: layout paint;
}

/* ========================================================================= */
/* HERO WRAPPER - ELEMENTOR PADDING OVERRIDE
/* ========================================================================= */
.elementor-element.hero-wrapper {
padding: 0 !important;
}

/* ========================================================================= */
/* HERO SLIDE 1 - RESPONSIVE TITLE (LAST RESORT FLEXBOX FIX)
/* ========================================================================= */
#hero-content {
display: flex !important;
justify-content: center !important;
align-items: center !important;
width: 100% !important;
padding-left: 20px !important;
padding-right: 20px !important;
box-sizing: border-box !important;
}

/* PERFORMANCE OPTIMIZATION: Add will-change for the typing animation */
#hero-content h1 {
display: inline-block !important;
box-sizing: border-box !important;
width: auto !important;
max-width: 100% !important;
will-change: transform, contents; /* Hint for potential size changes */

font-size: clamp(2.5rem, 4.5vw, 3.75rem) !important;
line-height: 1.1 !important;
text-align: center !important;
overflow-wrap: break-word !important;
word-break: break-word !important;
overflow: hidden !important;
margin: 0 auto !important;
}

/* ========================================================================= */
/* MOBILE STYLES (OPTIMIZED)
/* ========================================================================= */
@media (max-width: 767px) {

/* --- Mobile Centering for ALL Hero Slides --- */
/* OPTIMIZATION: Replaced long body.elementor-page-3706s with a single, efficient class */
.hero-slide {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}

.hero-slide .slide-content-wrapper {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
text-align: center !important;
width: 100% !important;
padding-left: 20px !important;
padding-right: 20px !important;
box-sizing: border-box;
}

.hero-slide .grid,
.hero-slide .flex {
justify-content: center !important;
align-items: center !important;
}

.hero-slide .flex.flex-col {
align-items: center !important;
justify-content: center !important;
}

}
/* ========================================================================= */
/* FIX FOR THE SLIDER CTA BUTTON WRAPPER
/* ========================================================================= */
.cta-button-wrapper {
display: flex;
justify-content: center;
width: 100%;
}
/* ========================================================================= */
/* FIX FOR GREEN BUTTON TEXT COLOR
/* ========================================================================= */
a.btn.btn--green,
a.btn.btn--green span {
color: #ffffff !important;
}
/* ========================================================================= */
/* TEMPORARY BRIDGE FOR OLD BUTTON CLASSES (Quick Fix)
/* ========================================================================= */
/* ... (other bridge styles) ... */

.secondary-btn {
background-color: #E6F4F2;
border: 2px solid #128C7E;
color: #128C7E !important;
}
.secondary-btn:hover {
background-color: transparent;
}

/* 
  FIX: Forces the icon and text inside buttons with the 'text-white' class to be white.
  This overrides any other global styles that might be targeting the <span> elements.
*/
a.text-white .material-symbols-outlined,
a.text-white span {
  color: #ffffff !important;
}
.icon-circle {
    background-color: transparent !important;
    background: none !important;
}

.icon-circle:hover {
    background-color: transparent !important;
    background: none !important;
}/* End custom CSS */