/* --- 基礎容器：確保高度夠大 --- */
.BannerVideo1 {
    width: 100%;
    height: 90vh; /* 桌機高度 */
    position: relative;
    overflow: hidden;
    background-color: #ffffff; /* 核心修正：將底色改為白色 */
}

/* 修正影片容器：強制滿版，不留白、不變窄 */
.BannerVideo1 .example-marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.BannerVideo1 iframe {
    width: 100%;
    height: 100%;
    /* 讓 iframe 像背景圖一樣覆蓋整個區域 */
    object-fit: cover; 
    pointer-events: none;
}

/* --- 文字底盒 --- */
.BannerVideo1 .banner_title_box {
    position: absolute;
    z-index: 888;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding-bottom: 40px;
}

/* --- 文字與黃線對齊：鎖定頂部起點 --- */
.BannerVideo1 .banner_title {
	height: 120px; /* 黃線固定長度 */
    position: relative;
    margin-left: 12%;
    padding-left: 25px;
    border-left: none !important;
    
    padding-top: 15px; /* 這裡決定黃線與文字的頂部起點 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.BannerVideo1 .banner_title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px; /* 與 padding-top 一致，確保永遠對齊第一行 */
    width: 6px;
    height: 120px; /* 黃線固定長度 */
    background-color: var(--color-secondary, #f1c40f);
}

/* --- 響應式：手機版 (< 480px) --- */
@media (max-width: 480px) {
    .BannerVideo1 {
        /* 修正：手機版給予固定高度(例如螢幕的60%)，防止影片變窄變扁 */
        height: 60vh; 
        min-height: 350px; 
		background-color: #ffffff; /* 核心修正：將這裡的 #000 改為 #ffffff */
    }

    .BannerVideo1 .banner_title {
        height: 50px; /* 手機版黃線長度 */
		margin-left: 5% !important;
        padding-left: 15px;
        padding-top: 2px;
        font-size: 1.3rem !important;
    }

    .BannerVideo1 .banner_title::before {
        top: 10px;   /* 手機版同步起點 */
        height: 50px; /* 手機版黃線長度 */
        width: 4px;
    }
    
    .BannerVideo1 .banner_title_box .fs-1 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
}