      /* =========================================================
           About Us Page Styles (關於我們頁面樣式)
           Namespace: .yl-about- (避免與首頁衝突)
           ========================================================= */

        /* 基礎設定 */
        body {
            background-color: #fff; /* 預設背景 */
            margin: 0;
            padding: 0;
        }

        .yl-about-wrapper {
            padding: 200px 50px 100px;
            background-color: #fff;
            color: #333;
            font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
        }



/* =========================================================
   Page Banner Styles (內頁橫幅樣式)
   ========================================================= */
.yl-page-banner {
    position: relative;
    width: 100%;
    height: 400px; /* 電腦版高度 */
    background-image: url('../img/contact-keyimg.png'); /* 請替換為您的背景圖 img/banner-bg.jpg */
    background-size: cover;
    background-position: center;
    
    /* 關鍵：頂部橘色邊框 */
  
    
    /* 避開導覽列高度 (依據之前的設定) */
   
}

/* 黑色半透明遮罩 (可選，讓文字在淺色背景上更清楚) */
.yl-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* 10% 黑色遮罩，比較自然 */
}

/* 內容容器 */
.yl-page-banner .container {
    position: relative; /* 確保內容在遮罩之上 */
    z-index: 2;
}

/* ABOUT US 大標題 */
.yl-banner-title {
    font-family: 'Noto Sans TC', sans-serif; /* 設計稿看起來像黑體，若要宋體可改 Noto Serif TC */
    font-weight: 700;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

/* 標語外層 (用來控制靠右) */
.yl-banner-tagline-wrapper {
    display: inline-block;
}

/* 橘色底標語 */
.yl-banner-tagline {
    background-color: #ff6c39;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 5px 25px; /* 上下左右留白 */
    letter-spacing: 3px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================================================
   Banner RWD 響應式設定
   ========================================================= */
@media (max-width: 991px) {
    .yl-page-banner {
        height: 300px;
        margin-top: 70px; /* 手機版導覽列高度 */
    }
    
    .yl-banner-title {
        font-size: 3rem;
    }
    
    .yl-banner-tagline {
        font-size: 1.2rem;
        padding: 5px 15px;
    }
}

@media (max-width: 576px) {
    .yl-page-banner {
        height: 250px;
    }

    .yl-banner-title {
        font-size: 2.2rem;
    }

    .yl-banner-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* =========================================================
   Contact Us Page Styles (聯絡我們內頁樣式)
   Namespace: .yl-contact-
   Description: 針對設計稿還原，包含字體層級與地圖配置
   ========================================================= */

/* --- 1. 容器與基礎設定 --- */
.yl-contact-wrapper {
    padding: 80px 0 100px;
    background-color: #ffffff;
    font-family: 'Noto Sans TC', sans-serif;
}

/* --- 2. 頁面標題區 (共用風格) --- */
.yl-contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.yl-contact-title {
    font-family: 'Noto Serif TC', serif; /* 標題宋體 */
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.yl-contact-title-bar {
    width: 60px;
    height: 6px;
    background-color: #ff6c39; /* 橘色裝飾線 */
    margin: 0 auto;
}

/* --- 3. 聯絡資訊文字區 --- */
.yl-contact-info-block {
    max-width: 800px;
    margin: 0 auto 60px; /* 置中並與地圖保持距離 */
    text-align: left;    /* 內容靠左 */
}

/* 公司名稱 */
.yl-contact-company {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* 橘色標語 */
.yl-contact-slogan {
    font-size: 1.25rem;
    color: #ff6c39; /* 設計稿橘色 */
    font-weight: 500;
    margin-bottom: 40px;
}

/* 資訊列表 */
.yl-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yl-contact-list li {
    font-size: 1.15rem;
    line-height: 2; /* 增加行距提升易讀性 */
    color: #444;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap; /* 手機版過長時自動換行 */
}

.yl-contact-list .label {
    min-width: 60px; /* 標籤固定寬度，讓後面文字對齊 */
    font-weight: 500;
}

.yl-contact-list .link {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.yl-contact-list .link:hover {
    color: #ff6c39;
    text-decoration: underline;
}

/* --- 4. Google 地圖區塊 --- */
.yl-contact-map-container {
    width: 100%;
    max-width: 100%; /* 滿版或依容器 */
    background-color: #eee; /* 載入前的底色 */
    border-radius: 10px;
    overflow: hidden;
}

.yl-contact-map-frame iframe {
    display: block;
    width: 100%;
    /* 高度設定在 HTML 中為 450px，可在此覆寫 */
    filter: grayscale(20%); /* 稍微降低飽和度，讓地圖比較柔和(可選) */
    transition: filter 0.3s ease;
}

.yl-contact-map-frame iframe:hover {
    filter: grayscale(0%);
}

/* =========================================================
   5. RWD 媒體查詢
   ========================================================= */

/* --- Tablet & Mobile (平板與手機: < 992px) --- */
@media (max-width: 991px) {
    .yl-contact-header {
        margin-bottom: 40px;
    }

    .yl-contact-info-block {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .yl-contact-company {
        font-size: 2rem;
    }

    .yl-contact-slogan {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* --- Mobile Only (手機: < 576px) --- */
@media (max-width: 576px) {
    .yl-contact-wrapper {
        padding: 50px 0;
    }

    .yl-contact-title {
        font-size: 1.8rem;
    }

    .yl-contact-company {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .yl-contact-list li {
        font-size: 1rem;
        flex-direction: column; /* 手機上標籤與內容垂直排列，避免擠壓 */
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .yl-contact-list .label {
        font-weight: 700;
        margin-bottom: 2px;
    }

    .yl-contact-map-frame iframe {
        height: 300px; /* 手機版地圖高度縮小 */
    }
}