@charset "utf-8";

.inside-main-box {
    max-width: none;
}

/* 必要的CSS類別 - CMS友善版本 */
.bg-green-500 {
    background-color: #10b981 !important;
}

.bg-blue-500 {
    background-color: #3b82f6 !important;
}

.bg-gray-300 {
    background-color: #d1d5db !important;
}

.text-green-600 {
    color: #059669 !important;
}

.text-blue-600 {
    color: #2563eb !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

.text-gray-800 {
    color: #1f2937 !important;
}

.text-gray-600 {
    color: #4b5563 !important;
}

.text-white {
    color: #ffffff !important;
}

.w-16 {
    width: 4rem !important;
}

.h-16 {
    height: 4rem !important;
}

.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

.flex {
    display: flex !important;
}

.items-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.items-start {
    align-items: flex-start !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.text-2xl {
    font-size: 1.5rem !important;
}

.text-xl {
    font-size: 1.25rem !important;
}

.text-lg {
    font-size: 1.125rem !important;
}

.text-sm {
    font-size: 0.875rem !important;
}

.text-xs {
    font-size: 0.75rem !important;
}

.text-3xl {
    font-size: 1.875rem !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-12 {
    margin-bottom: 3rem !important;
}

.mb-20 {
    margin-bottom: 5rem !important;
}

.text-center {
    text-align: center !important;
}

.relative {
    position: relative !important;
}

.absolute {
    position: absolute !important;
}

.z-10 {
    z-index: 10 !important;
}

.z-0 {
    z-index: 0 !important;
}

.top-20 {
    top: 5rem !important;
}

.left-8 {
    left: 2rem !important;
}

.right-8 {
    right: 2rem !important;
}

.h-2 {
    height: 0.5rem !important;
}

.h-1 {
    height: 0.25rem !important;
}

.px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.w-1/5 {
    width: 20% !important;
}

.max-w-6xl {
    max-width: 72rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.transition-all {
    transition-property: all !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.duration-2000 {
    transition-duration: 2000ms !important;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important;
}

.from-green-500 {
    --tw-gradient-from: #10b981 !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0)) !important;
}

.via-blue-500 {
    --tw-gradient-stops: var(--tw-gradient-from), #3b82f6, var(--tw-gradient-to, rgba(59, 130, 246, 0)) !important;
}

.to-gray-400 {
    --tw-gradient-to: #9ca3af !important;
}

*,
::before,
::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(229, 231, 235);
}

::before,
::after {
    --tw-content: "";
}

html,
:host {
    line-height: 1.5;
    text-size-adjust: 100%;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: rgb(156, 163, 175);
}

button,
[role="button"] {
    cursor: pointer;
}

disabled {
    cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none;
}

/* Custom styles for the website */

/* Global font size adjustment to 150% */
html {
    font-size: 150%;
    overflow-x: hidden;
    max-width: 100vw;
}

/* 進度條樣式 */
#fundraising-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

#fundraising-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 進度條背景 */
.w-full.bg-gray-300 {
    background-color: #e5e7eb !important;
    border: 1px solid #d1d5db;
}

/* Timeline樣式 */
#timeline-progress {
    background: linear-gradient(90deg, #10b981, #3b82f6, #6b7280) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Timeline節點動畫 */
.timeline-node {
    transition: all 0.3s ease;
}

.timeline-node:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Timeline響應式設計 */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-line {
        display: none;
    }

    .col-box {
        width: auto;
        /* margin: 0 5%; */
    }
}

/* Timeline進度線條 */
#timeline-progress {
    background: linear-gradient(90deg, #10b981, #3b82f6, #6b7280) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Carousel transitions */
.absolute.inset-0.transition-opacity {
    transition: opacity 0.5s ease-in-out;
}

/* Interactive slider styles */
.slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    display: none !important;
    /* 隱藏滑桿控制元件 */
}

/* 顯示滑桿下方的標籤 */
.slider+div {
    display: flex !important;
}

/* 確保互動式願景展示沒有淡入淡出效果 */
.absolute.inset-0.overflow-hidden {
    transition: none !important;
    opacity: 1 !important;
}

.absolute.inset-0.overflow-hidden img {
    transition: none !important;
    opacity: 1 !important;
}

.slider::-webkit-slider-track {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #f59e0b;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-track {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    border: none;
}

.slider::-moz-range-thumb {
    background: #f59e0b;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Progress bar animations */
.progress-bar {
    transition: width 3s ease-out;
}

/* Number counting animation */
.counting-number {
    transition: all 0.1s ease;
}

/* Enhanced carousel dots */
.carousel-dot {
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

/* Vision comparison slider handle */
.vision-slider-handle {
    transition: left 0.1s ease;
}

/* Smooth transitions for all interactive elements */
button,
a,
.transition-all {
    transition: all 0.3s ease;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .slider {
        height: 12px;
    }

    .slider::-webkit-slider-thumb {
        height: 24px;
        width: 24px;
    }

    .slider::-moz-range-thumb {
        height: 24px;
        width: 24px;
    }

    /* 手機版標題文字大小縮減一半 */
    .text-3xl {
        font-size: 1.5rem !important;
        /* 原本 1.875rem 縮減一半 */
    }

    .text-2xl {
        font-size: 1.25rem !important;
        /* 原本 1.5rem 縮減一半 */
    }

    .text-xl {
        font-size: 1rem !important;
        /* 原本 1.25rem 縮減一半 */
    }

    /* 手機版特定區域改為單欄 - 只針對需要單欄的區域 */
    /* 頁尾區域強制單欄 */
    footer .grid {
        grid-template-columns: 1fr !important;
    }

    /* 其他需要單欄的特定區域 */
    #footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* 手機版互動式願景展示維持4:3寬高比 */
    #vision-display-section .max-w-4xl>div {
        aspect-ratio: 4/3 !important;
        height: auto !important;
    }

    /* 手機版專案進度timeline兩欄佈局 */
    .timeline-container {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        gap: 0 !important;
        align-items: start !important;
    }

    .timeline-item {
        display: contents !important;
    }

    .timeline-circle {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }

    .timeline-content {
        text-align: left !important;
        margin-bottom: 2rem !important;
        padding-left: 10px !important;
    }

    /* 移除舊的 timeline-line 規則，使用偽元素 */

    /* 使用偽元素創建更好的連線 */
    .timeline-circle::after {
        content: '' !important;
        position: absolute !important;
        left: 50% !important;
        top: 100% !important;
        width: 4px !important;
        height: 4rem !important;
        background: linear-gradient(to bottom, #10b981, #3b82f6, #6b7280) !important;
        transform: translateX(-50%) !important;
        z-index: 1 !important;
        border-radius: 2px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    /* 最後一個節點不顯示偽元素連線 */
    .timeline-item:last-child .timeline-circle::after {
        display: none !important;
    }

    /* 顯示互動式願景展示的標籤文字 */
    #vision-display-section .slider+div {
        display: flex !important;
    }

    /* 手機版頁尾快速連結水平排列 */
    footer ul.space-y-2 {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    footer ul.space-y-2 li {
        margin-bottom: 0 !important;
    }

    /* 減少手機版區塊間距 */
    .mb-20 {
        margin-bottom: 3rem !important;
        /* 原本 5rem 減少到 3rem */
    }

    .py-20 {
        padding-top: 3rem !important;
        /* 原本 5rem 減少到 3rem */
        padding-bottom: 3rem !important;
    }

    .py-16 {
        padding-top: 2rem !important;
        /* 原本 4rem 減少到 2rem */
        padding-bottom: 2rem !important;
    }

    .mb-12 {
        margin-bottom: 2rem !important;
        /* 原本 3rem 減少到 2rem */
    }
}

.min-h-screen {
    min-height: 100vh;
}

.relative {
    position: relative;
}

.h-screen {
    height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0px;
}

.left-0 {
    left: 0px;
}

.right-0 {
    right: 0px;
}

.z-50 {
    z-index: 50;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.bg-white/90 {
    background-color: rgb(255 255 255 / 0.9);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.sm:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lg:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.h-16 {
    height: 4rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-bold {
    font-weight: 700;
}

.text-amber-800 {
    color: rgb(146 64 14);
}

.hidden {
    display: none;
}

.md:flex {
    display: flex;
}

.space-x-8> :not([hidden])~ :not([hidden]) {
    margin-left: 2rem;
}

.text-gray-700 {
    color: rgb(55 65 81);
}

.hover:text-amber-600:hover {
    color: rgb(217 119 6);
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.cursor-pointer {
    cursor: pointer;
}

.md:hidden {
    display: none;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.justify-center {
    justify-content: center;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.h-full {
    height: 100%;
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.bg-black/30 {
    background-color: rgb(0 0 0 / 0.3);
}

.inset-0 {
    inset: 0px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: rgb(255 255 255);
}

.max-w-4xl {
    max-width: 56rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.md:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.leading-tight {
    line-height: 1.25;
}

.md:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.opacity-90 {
    opacity: 0.9;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.md:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.opacity-80 {
    opacity: 0.8;
}

.flex-col {
    flex-direction: column;
}

.sm:flex-row {
    flex-direction: row;
}

.gap-4 {
    gap: 1rem;
}

.bg-amber-600 {
    background-color: rgb(217 119 6);
}

.hover:bg-amber-700:hover {
    background-color: rgb(180 83 9);
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.font-semibold {
    font-weight: 600;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover:scale-105:hover {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(1.05) scaleY(1.05);
}

.whitespace-nowrap {
    white-space: nowrap;
}

.border-2 {
    border-width: 2px;
}

.border-white {
    border-color: rgb(255 255 255);
}

.hover:bg-white:hover {
    background-color: rgb(255 255 255);
}

.hover:text-amber-600:hover {
    color: rgb(217 119 6);
}

.bottom-8 {
    bottom: 2rem;
}

.left-1/2 {
    left: 50%;
}

.-translate-x-1/2 {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) translateX(-50%);
}

.space-x-3> :not([hidden])~ :not([hidden]) {
    margin-left: 0.75rem;
}

.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.bg-white/50 {
    background-color: rgb(255 255 255 / 0.5);
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-amber-50 {
    --tw-gradient-from: #fffbeb;
    --tw-gradient-to: rgb(255 251 235 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-white {
    --tw-gradient-to: #ffffff;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.md:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-gray-800 {
    color: rgb(31 41 55);
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-gray-600 {
    color: rgb(75 85 99);
}

.max-w-3xl {
    max-width: 48rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.grid {
    display: grid;
}

.md:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lg:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.p-6 {
    padding: 1.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hover:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.bg-amber-100 {
    background-color: rgb(254 243 199);
}

.rounded-full {
    border-radius: 9999px;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-amber-600 {
    color: rgb(217 119 6);
}

.text-gray-700 {
    color: rgb(55 65 81);
}

.font-medium {
    font-weight: 500;
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-to: rgb(249 250 251 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.p-8 {
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.hover:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.bg-red-100 {
    background-color: rgb(254 226 226);
}

.text-red-600 {
    color: rgb(220 38 38);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-orange-100 {
    background-color: rgb(255 237 213);
}

.text-orange-600 {
    color: rgb(234 88 12);
}

.bg-green-100 {
    background-color: rgb(220 252 231);
}

.text-green-600 {
    color: rgb(22 163 74);
}

.bg-amber-50 {
    background-color: rgb(255 251 235);
}

.overflow-hidden {
    overflow: hidden;
}

.hover:-translate-y-1:hover {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) translateY(-0.25rem);
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.object-cover {
    object-fit: cover;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.bg-amber-100 {
    background-color: rgb(254 243 199);
}

.text-amber-800 {
    color: rgb(146 64 14);
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.rounded-full {
    border-radius: 9999px;
}

.text-amber-600 {
    color: rgb(217 119 6);
}

.font-semibold {
    font-weight: 600;
}

.leading-relaxed {
    line-height: 1.625;
}

.bg-gray-800 {
    background-color: rgb(31 41 55);
}

.text-white {
    color: rgb(255 255 255);
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.lg:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lg:col-span-2 {
    grid-column: span 2 / span 2;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-gray-300 {
    color: rgb(209 213 219);
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.space-y-3> :not([hidden])~ :not([hidden]) {
    margin-top: 0.75rem;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 0.75rem;
}

.text-amber-400 {
    color: rgb(251 191 36);
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-semibold {
    font-weight: 600;
}

.mb-4 {
    margin-bottom: 1rem;
}

.space-y-2> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

.hover:text-amber-400:hover {
    color: rgb(251 191 36);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.space-y-3> :not([hidden])~ :not([hidden]) {
    margin-top: 0.75rem;
}

.bg-gray-700 {
    background-color: rgb(55 65 81);
}

.border {
    border-width: 1px;
}

.border-gray-600 {
    border-color: rgb(75 85 99);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.text-white {
    color: rgb(255 255 255);
}

.placeholder-gray-400::placeholder {
    color: rgb(156 163 175);
}

.focus:ring-2:focus {
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
}

.focus:ring-amber-500:focus {
    --tw-ring-color: rgb(245 158 11);
}

.focus:border-amber-500:focus {
    border-color: rgb(245 158 11);
}

.w-full {
    width: 100%;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.hover:bg-amber-700:hover {
    background-color: rgb(180 83 9);
}

.disabled:opacity-50:disabled {
    opacity: 0.5;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-700 {
    border-color: rgb(55 65 81);
}

.pt-8 {
    padding-top: 2rem;
}

.text-center {
    text-align: center;
}

.flex-col {
    flex-direction: column;
}

.md:flex-row {
    flex-direction: row;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.text-gray-400 {
    color: rgb(156 163 175);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.hover:text-amber-400:hover {
    color: rgb(251 191 36);
}

/* Responsive design */
@media (min-width: 640px) {
    .sm:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md:flex {
        display: flex;
    }

    .md:hidden {
        display: none;
    }

    .md:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .md:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .md:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .md:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .lg:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* Animation keyframes */
@keyframes glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-glow {
    animation: 2s ease-in-out 0s infinite normal none running glow;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b45309;
}

/* 電子報表單響應式佈局 - 強制覆蓋 CMS 樣式 */
@media (min-width: 768px) {
    form.flex.flex-col.md\\:flex-row {
        flex-direction: row !important;
    }

    form.flex.flex-col.md\\:flex-row input {
        flex: 1 1 auto !important;
        margin-bottom: 0 !important;
        margin-right: 0.75rem !important;
    }

    form.flex.flex-col.md\\:flex-row button {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }
}

/* 建設里程碑響應式調整 - 覆蓋現有的 timeline 樣式 */
@media (max-width: 768px) {

    /* 恢復正常的 flex 佈局 */
    .timeline-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: stretch !important;
    }

    .timeline-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        position: relative !important;
    }

    /* 縮小圖示大小至50% */
    .timeline-icon {
        width: 2rem !important;
        /* 原本 w-16 (4rem) 改為 2rem */
        height: 2rem !important;
        /* 原本 h-16 (4rem) 改為 2rem */
        min-width: 2rem !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* 調整圖示內文字大小 */
    .timeline-icon i {
        font-size: 0.875rem !important;
        /* 原本 text-xl 改為 text-sm */
    }

    /* 調整內容區域 */
    .timeline-content {
        flex: 1 !important;
        padding: 1rem !important;
        /* 原本 p-6 (1.5rem) 改為 1rem */
        position: relative !important;
    }

    /* 調整連接線位置 - 根據縮小的圖示調整 */
    .timeline-line {
        left: 1rem !important;
        /* 原本 left-8 (2rem) 改為 1rem */
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 2px !important;
        background-color: #d1d5db !important;
        z-index: 1 !important;
    }

    /* 調整標題大小 */
    .timeline-content h4 {
        font-size: 1.125rem !important;
        /* 原本 text-xl 改為 text-lg */
    }

    /* 調整描述文字大小 */
    .timeline-content p {
        font-size: 0.875rem !important;
        /* 原本預設大小改為 text-sm */
    }
}

/* 確保圖示在所有螢幕尺寸下都能正確顯示 */
.timeline-icon {
    position: relative;
    z-index: 10;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* 確保連接線在所有螢幕尺寸下都能正確顯示 */
.timeline-line {
    position: absolute;
    left: 2rem;
    /* 桌面版位置 */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d1d5db;
    z-index: 1;
}

/* 確保時間軸項目正常顯示 */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.timeline-content {
    flex: 1;
    position: relative;
    z-index: 20;
    text-align: left;
    /* 電腦版文字靠左對齊 */
}

/* 行動區塊選中按鈕的內凹效果 */
.tab-button.active {
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    background: linear-gradient(to bottom, #d97706, #f59e0b) !important;
}

.tab-button:not(.active) {
    box-shadow: none;
}

/* 動態箭頭效果 */
.arrow-sequence {
    animation: arrowSequence 2s infinite;
}

.arrow-1 {
    animation: arrowAppear 0.5s ease-in-out infinite;
    animation-delay: 0s;
}

.arrow-2 {
    animation: arrowAppear 0.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

.arrow-3 {
    animation: arrowAppear 0.5s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes arrowAppear {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-10px);
    }

    50% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes arrowSequence {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

/* 手機版輪播樣式 */
.mobile-carousel {
    position: relative;
    overflow: hidden;
}

.mobile-carousel .carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.mobile-carousel .carousel-item {
    flex: 0 0 100%;
    width: 100%;
}

/* 輪播按鈕樣式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev {
    left: 8px;
}

.carousel-btn.next {
    right: 8px;
}

/* 導覽點樣式 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #d1d5db;
}

.carousel-dot.active {
    background-color: #d97706;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: #f59e0b;
    transform: scale(1.1);
}

/* 確保桌面版維持原有顯示 - 強制覆蓋後台樣式 */
@media (min-width: 768px) {
    .mobile-carousel {
        display: none !important;
    }

    .desktop-scroll {
        display: block !important;
    }

    /* 強制顯示桌面版圖庫 */
    .hidden.md\\:block {
        display: block !important;
    }

    /* 強制隱藏手機版輪播 */
    .md\\:hidden {
        display: none !important;
    }

    /* 確保桌面版水平捲軸正常顯示 */
    .overflow-x-auto.hidden.md\\:block {
        display: block !important;
        overflow-x: auto !important;
    }

    /* 確保桌面版動態箭頭顯示 */
    .relative.mb-8.hidden.md\\:block {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .mobile-carousel {
        display: block !important;
    }

    .desktop-scroll {
        display: none !important;
    }

    /* 強制隱藏桌面版圖庫 */
    .hidden.md\\:block {
        display: none !important;
    }

    /* 強制顯示手機版輪播 */
    .md\\:hidden {
        display: block !important;
    }

    /* 確保手機版輪播正常顯示 */
    .overflow-x-auto.hidden.md\\:block {
        display: none !important;
    }

    /* 確保手機版隱藏動態箭頭 */
    .relative.mb-8.hidden.md\\:block {
        display: none !important;
    }
}

/* 額外的強制樣式 - 防止後台系統覆蓋 */
.desktop-gallery {
    display: none;
}

.mobile-gallery {
    display: none;
}

@media (min-width: 768px) {
    .desktop-gallery {
        display: block !important;
    }

    .mobile-gallery {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .desktop-gallery {
        display: none !important;
    }

    .mobile-gallery {
        display: block !important;
    }
}

/* 後台系統兼容性修復 - 最強制樣式 */
@media screen and (min-width: 768px) {

    /* 強制顯示桌面版圖庫 */
    .overflow-x-auto.hidden.md\\:block.desktop-gallery {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* 強制隱藏手機版輪播 */
    .md\\:hidden.mobile-gallery {
        display: none !important;
    }

    /* 強制顯示動態箭頭 */
    .relative.mb-8.hidden.md\\:block {
        display: block !important;
    }
}

@media screen and (max-width: 767px) {

    /* 強制隱藏桌面版圖庫 */
    .overflow-x-auto.hidden.md\\:block.desktop-gallery {
        display: none !important;
    }

    /* 強制顯示手機版輪播 */
    .md\\:hidden.mobile-gallery {
        display: block !important;
    }

    /* 強制隱藏動態箭頭 */
    .relative.mb-8.hidden.md\\:block {
        display: none !important;
    }
}

/* 防止後台系統的CSS重置 */
.inside-main-box .desktop-gallery,
.inside-main-box .mobile-gallery {
    box-sizing: border-box;
}

.inside-main-box .desktop-gallery *,
.inside-main-box .mobile-gallery * {
    box-sizing: border-box;
}

/* FAQ區塊手機版優化 */
@media (max-width: 767px) {

    /* FAQ標題區域間距調整 */
    #faq .text-center.mb-8 {
        margin-bottom: 1.5rem !important;
    }

    /* FAQ標題大小調整 */
    #faq h2 {
        font-size: 1.875rem !important;
        /* text-3xl */
        line-height: 2.25rem !important;
        margin-bottom: 1rem !important;
    }

    /* FAQ引言文字調整 */
    #faq .text-lg {
        font-size: 1rem !important;
        /* text-base */
        line-height: 1.5rem !important;
    }

    /* FAQ項目間距調整 */
    #faq .space-y-4 {
        gap: 1rem !important;
    }

    /* FAQ問題按鈕內邊距調整 */
    #faq .faq-question {
        padding: 1rem !important;
        /* p-4 */
    }

    /* FAQ答案區域內邊距調整 */
    #faq .faq-answer {
        padding: 1rem !important;
        /* p-4 */
        padding-top: 0.5rem !important;
        /* pt-2 */
    }

    /* FAQ問題文字大小調整 */
    #faq .faq-question span {
        font-size: 1rem !important;
        /* text-base */
        line-height: 1.5rem !important;
    }

    /* FAQ圖示大小調整 */
    #faq .faq-icon {
        font-size: 1.25rem !important;
        /* text-xl */
    }
}

/* ============================================
   從 index-cms.html 搬移過來的樣式
   ============================================ */

/* CMS 後台隱藏第三欄 */
/* .inside-main-box .col-box .col-3 {
    display: none;
} */

/* 影響力數值動畫效果 */
.counter {
    transition: all 0.3s ease-out;
}

.counter.animate {
    animation: counterBounce 0.6s ease-out;
}

@keyframes counterBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 防止橫向捲軸出現 */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* 確保所有容器不會超出視窗寬度 */
.container,
.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 水平捲軸容器的響應式處理 */
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 行動支持區塊 */
.action-support-note {
    background: linear-gradient(120deg, rgba(254, 215, 170, 0.45), rgba(253, 230, 138, 0.35));
}

/* 脈衝按鈕效果 */
.pulse-button {
    position: relative;
    overflow: hidden;
}

.pulse-button::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    60% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* 影片固定 4:3 */
.video-wrapper-4-3 {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
}

.video-wrapper-4-3::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.video-wrapper-4-3 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 影片固定 16:9 */
.video-wrapper-16-9 {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    margin: 0 auto;
}

.video-wrapper-16-9::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-wrapper-16-9 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 行動支持區塊影片：16:9，高度約40vh */
.video-wrapper-16-9-action {
    position: relative;
    width: 100%;
    max-width: calc(40vh * 16 / 9); /* 根據16:9比例和40vh高度計算最大寬度 */
    max-height: 40vh;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    margin: 0 auto;
}

.video-wrapper-16-9-action::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-wrapper-16-9-action iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .video-wrapper-16-9-action {
        max-width: 100%;
        max-height: none;
    }
}

/* 地圖固定 16:9，高度為視窗60% */
.map-wrapper-16-9 {
    position: relative;
    height: 60vh;
    width: calc(60vh * 16 / 9); /* 根據16:9比例計算寬度 */
    max-width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #f3f4f6;
    margin: 0 auto;
}

.map-wrapper-16-9 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Banner 文字陰影效果 */
.hero-text-shadow {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -2px -2px 4px rgba(0, 0, 0, 0.8),
        2px -2px 4px rgba(0, 0, 0, 0.8),
        -2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.9);
}

/* 團隊輪播樣式 */
#team-carousel-desktop {
    display: flex;
    gap: 20px;
    align-items: center;
    width: fit-content;
}

.team-item-desktop {
    transition: transform 0.5s ease-in-out;
    flex-shrink: 0;
    width: 30vh;
}

/* 圖片容器：高度40vh，寬度根據3:4比例計算（30vh） */
.team-item-desktop .aspect-square {
    height: 40vh;
    width: 30vh; /* 40vh * 3/4 = 30vh */
    aspect-ratio: 3/4;
    flex-shrink: 0;
}

/* 所有圖片預設亮度-50% */
.team-item-desktop img {
    filter: brightness(0.5);
    transition: filter 0.5s ease-in-out;
}

/* 中間圖片亮度+50%（恢復正常亮度） */
.team-item-desktop.center-item img {
    filter: brightness(1);
}

/* 確保水平捲軸內容在手機版不會造成整體橫向捲軸 */
@media (max-width: 768px) {
    .overflow-x-auto {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .video-wrapper-4-3 {
        max-width: 100%;
        border-radius: 18px;
    }

    .video-wrapper-16-9 {
        max-width: 100%;
        border-radius: 18px;
    }

    .map-wrapper-16-9 {
        max-width: 100%;
        width: 100%;
        height: 60vh;
        border-radius: 18px;
    }

    .overflow-x-auto::-webkit-scrollbar {
        height: 4px;
    }

    .overflow-x-auto::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .overflow-x-auto::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }
}

/* ============================================
   從 index-cms.html 搬移過來的 CMS 專用樣式
   ============================================ */

/* 確保Footer文字可見 */
footer.bg-gray-800,
footer.bg-gray-800 * {
    color: #ffffff !important;
}

footer.bg-gray-800 .text-gray-300 {
    color: #d1d5db !important;
}

footer.bg-gray-800 .text-gray-400 {
    color: #9ca3af !important;
}

footer.bg-gray-800 .text-amber-400 {
    color: #fbbf24 !important;
}

/* 確保FAQ區塊可見 */
#faq {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#faq * {
    color: inherit !important;
}

.faq-item {
    display: block !important;
    visibility: visible !important;
}

.faq-question,
.faq-answer {
    color: inherit !important;
}

/* 確保Footer背景色正確 */
footer.bg-gray-800 {
    background-color: #1f2937 !important;
}

/* 確保Footer響應式顯示正常 */
.footer-desktop {
    display: none !important;
}

.footer-mobile {
    display: block !important;
}

@media (min-width: 768px) {
    .footer-desktop {
        display: flex !important;
    }
    
    .footer-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .footer-desktop {
        display: none !important;
    }
    
    .footer-mobile {
        display: block !important;
    }
}

/* 確保建造里程碑響應式顯示正常 */
.milestone-desktop {
    display: none !important;
}

.milestone-mobile-header,
.milestone-mobile-text {
    display: block !important;
}

@media (min-width: 768px) {
    .milestone-desktop {
        display: grid !important;
    }
    
    /* 桌面版時隱藏手機版內容 */
    .milestone-mobile-header,
    .milestone-mobile-text {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .milestone-desktop {
        display: none !important;
    }
    
    .milestone-mobile-header,
    .milestone-mobile-text {
        display: block !important;
    }
}
