.elementor-274228 .elementor-element.elementor-element-5048578{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}@media(min-width:768px){.elementor-274228 .elementor-element.elementor-element-5048578{--content-width:900px;}}/* Start custom CSS for text-editor, class: .elementor-element-56f9177 *//* 變數設定：方便統一修改顏色 */
:root {
    --primary-color: #000000; /* 黑色主調 */
    --accent-color: #d4af37;  /* 金色點綴 */
    --text-color: #333333;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --padding-section: 60px 20px;
}

/* 基礎設定 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: 0.3s; }

/* 容器設定：限制最大寬度，保持閱讀舒適 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 標題樣式 */
h1, h2, h3 { color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; }
h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* 按鈕樣式 (CTA) */
.btn-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    border: 2px solid var(--primary-color);
}
.btn-cta:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

/* --- 佈局組件 (RWD核心) --- */

/* Hero Banner */
header { width: 100%; position: relative; }
.hero-img { width: 100%; object-fit: cover; }

/* 雙欄佈局 (左文右圖 / 左圖右文) */
.feature-section { padding: var(--padding-section); }
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}
.row.reverse { flex-direction: row-reverse; } /* 圖片在右邊時使用 */
.col-text { flex: 1; }
.col-img { flex: 1; }

.col-text h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent-color); }
.col-text p { font-size: 1.1rem; margin-bottom: 20px; text-align: justify; }

/* 網格佈局 (用於對比圖/模式/參數) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}
.grid-item { background: var(--bg-light); padding: 20px; border-radius: 8px; }

/* 頁尾 */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}
footer h2 { color: var(--white); border-color: var(--accent-color); }

/* --- 手機版適配 (Mobile Responsive) --- */
@media (max-width: 768px) {
    h2 { font-size: 1.6rem; }
    
    /* 強制將橫向排列變為垂直堆疊 */
    .row, .row.reverse {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 調整順序：手機上圖片永遠在上方，文字在下方 (Optional) */
    .row .col-img { order: -1; } 
    
    /* 網格變單欄 */
    .grid-3 { grid-template-columns: 1fr; }
    
    .btn-cta { width: 100%; text-align: center; }
}/* End custom CSS */