/* 文章 */
.main-artcle {
    padding: clamp(10px, 10vw, 100px) clamp(1px, 8vw, 100px); /* 上下 padding 40-100px，左右 padding 20-100px */
}

.page-article-title1 {
	font-family: "AlibabaPuHuiTi-Bold";
	font-size: 55px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
}

.page-article-title1-hant {
	font-family: "AlibabaSansHK-Bold";
	font-size: 55px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
}

.page-article-title2 {
	font-family: "AlibabaPuHuiTi-Bold";
	font-size: 40px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
}

.page-article-title2-hant {
	font-family: "AlibabaSansHK-Bold";
	font-size: 40px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
}

.page-article-text{
	font-family:"SourceHanSerifSC-Medium";
	font-size: 24px;
	color: #333333;
	text-align: start;
	padding: 20px 115px;
	font-weight: 500;
}

.page-article-text-hant{
	font-family:"SourceHanSerifTW-Medium";
	font-size: 24px;
	color: #333333;
	text-align: start;
	padding: 20px 115px;
}

.page-article-text-en{
	font-family:"CrimsonText-Regular";
	font-size: 24px;
	color: #333333;
	text-align: start;
	padding: 20px 115px;
}

@media (max-width: 768px) {
	.page-article-text,
	.page-article-text-hant,
	.page-article-text-en {
	padding: 20px 20px;	
	font-size: 18px;
	color: #D5D5D5;
	}
	
	.page-article-title1,
	.page-article-title1-hant,
	.page-article-title1-en {
	font-size: 40px;
	color: #D5D5D5;
	}
	
	.page-article-title2,
	.page-article-title2-hant,
	.page-article-title2-en {
	font-size: 30px;
	color: #D5D5D5;
	}
}

/* 藍色banner */
.page-banner-section {
    position: relative;
    height: 40vh;
    overflow: hidden;
}

/* 背景圖片 <img> 樣式 */
.banner-bg-img {
    position: absolute;
    inset: 0;                    /* top: 0; right: 0; bottom: 0; left: 0; */
    width: 70%;
    height: 100%;
    object-fit: cover;           /* 保持原 background-size: cover 效果 */
    z-index: 1;                  /* 放在最底層 */
}

/* 右側顏色格：高 100%，寬 33%，#00337c */
.page-banner-color-block {
    position: absolute;
    right: 0;
    top: 0;
    width: 35%;
    height: 100%;
    background: #00337c;
    z-index: 2;                  /* 在背景圖片上方 */
}

.page-banner-color-block-ae {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #00337c;
    z-index: 2;                  /* 在背景圖片上方 */
}

/* 文字區域（在顏色格表面，不在顏色格內） */
.page-banner-text {
    position: absolute;
    right: 8%; /* 距離 div 最右 8% */
    top: 50%;
    transform: translateY(-50%);
    width: 40%; /* 文字區域寬度，可調整 */
    z-index: 3; /* 在顏色格上方 */
}

/* 標題 */
.page-banner-title {
    font-family: 'AlibabaPuHuiTi-SemiBold', sans-serif;
    font-size: clamp(11px, 1.8vw, 26px);
    margin: 0 0 20px 0;
    text-align: left;
    color: #ffffff;
    text-shadow: 0.1em 0.1em 0.2em black;
}

.page-banner-title-ae {
    font-family: 'AlibabaPuHuiTi-SemiBold', sans-serif;
    font-size: clamp(10px, 1.6vw, 24px);
    margin: 0 0 20px 0;
    text-align: left;
    color: #ffffff;
    text-shadow: 0.1em 0.1em 0.2em black;
}

.page-banner-title-hant {
    font-family: 'AlibabaSansHK-Bold', sans-serif;
    font-size: clamp(11px, 1.8vw, 26px);
    margin: 0 0 20px 0;
    text-align: left;
    color: #ffffff;
    text-shadow: 0.1em 0.1em 0.2em black;
}

.page-banner-title-hant-ae {
    font-family: 'AlibabaSansHK-Bold', sans-serif;
    font-size: clamp(10px, 1.6vw, 24px);
    margin: 0 0 20px 0;
    text-align: left;
    color: #ffffff;
    text-shadow: 0.1em 0.1em 0.2em black;
}


/* 裝飾文字 */
.page-banner-decoration-chinese {
    font-family: 'SF-Collegiate', sans-serif;
    font-size: 100px;
    margin: 0 0 0px 0;
    text-align: right;
    color: rgba(255,255,255,0.5);
}

.page-banner-decoration-LiberalArts {
    font-family: 'SF-Collegiate', sans-serif;
    font-size: 80px;
    margin: 0 0 0px 0;
    text-align: right;
    color: rgba(255,255,255,0.5);
}

.page-banner-decoration-art {
    font-family: 'SF-Collegiate', sans-serif;
    font-size: 60px;
    margin: 0 0 0px 0;
    text-align: right;
    color: rgba(255,255,255,0.5);
}

.page-banner-decoration-sportsvenues {
    font-family: 'SF-Collegiate', sans-serif;
    font-size: 70px;
    margin: 0 0 0px 0;
    text-align: right;
    color: rgba(255,255,255,0.5);
}

.page-banner-decoration-ball  {
    font-family: 'SF-Collegiate', sans-serif;
    font-size: 50px;
    margin: 0 0 0px 0;
    text-align: right;
    color: rgba(255,255,255,0.5);
}


/* 漸變長條：佔整個 .banner-section 的 50%，完全置右 */
.page-banner-gradient-bar-chinese {
    position: absolute;
    right: 0; /* 完全置右 */
    bottom: 45px; /* 距離裝飾文字下方，可調整 */
    width: 50%; /* 佔整個 div 的 50% */
    height: 10px;
    background: linear-gradient(to right, #821004, #C31301, #821004);
    margin-right: 0;
    z-index: 3; /* 確保在顏色格上方 */
}

.page-banner-gradient-bar-art {
    position: absolute;
    right: 0; /* 完全置右 */
    bottom: 45px; /* 距離裝飾文字下方，可調整 */
    width: 50%; /* 佔整個 div 的 50% */
    height: 10px;
    background: linear-gradient(to right, #821004, #C31301, #821004);
    margin-right: 0;
    z-index: 3; /* 確保在顏色格上方 */
}

.page-banner-gradient-bar-sportsvenues {
	position: absolute;
    right: 0; /* 完全置右 */
    bottom: 45px; /* 距離裝飾文字下方，可調整 */
    width: 50%; /* 佔整個 div 的 50% */
    height: 10px;
    background: linear-gradient(to right, #821004, #C31301, #821004);
    margin-right: 0;
    z-index: 3; /* 確保在顏色格上方 */
}

.page-banner-gradient-bar-ball {
	position: absolute;
    right: 0; /* 完全置右 */
    bottom: 45px; /* 距離裝飾文字下方，可調整 */
    width: 50%; /* 佔整個 div 的 50% */
    height: 10px;
    background: linear-gradient(to right, #821004, #C31301, #821004);
    margin-right: 0;
    z-index: 3; /* 確保在顏色格上方 */
}

/* 小屏調整 */
@media (max-width: 768px) {
    .page-banner-section {
        height: 150px;
		display:none;
    }
    .page-banner-gradient-bar-chinese {
        bottom: 80px;
        height: 5px;
    }
	
	    .page-banner-gradient-bar-art {
        bottom: 70px;
        height: 5px;
    }
	
		.page-banner-gradient-bar-sportsvenues {
        bottom: 65px;
        height: 5px;
    }
	
		.page-banner-gradient-bar-ball {
        bottom: 65px;
        height: 5px;
    }
	
    .page-banner-decoration-chinese {
        font-size: 50px;
    }
	
	.page-banner-decoration-LiberalArts {
        font-size: 30px;
    }
	
	.page-banner-decoration-art {
		font-size: 25px;
	}
	
	.page-banner-decoration-sportsvenues {
		font-size: 25px;
	}
	
		.page-banner-decoration-ball {
		font-size: 20px;
	}
}

/* 新增分頁區塊 */
.page-section {
    position: relative;
    min-height: 400px; /* 可調整高度 */
    background-image: url("images/Chinese/videobg.jpg"); /* 替換為你的背景圖片路徑 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
/* 內容容器 */
.page-content {
    display: flex;
    margin: auto 0;
    padding: 0 120px;
    width: 100%;
    box-sizing: border-box;
}
/* 左側文字區域 */
.page-text {
    flex: 6;  /* ← 修改為 7，佔 70% */
    color: #ffffff;
    padding-right: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	padding-top: 20px;
	padding-bottom: 20px;
}
/* 標題 */
.page-title {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: 48px;
    margin: 0;
}

.page-title-en {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: 48px;
    margin: 0;
}
.page-title-science {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: 36px;
    margin: 0;
}
.page-title-hant {
    font-family: 'AlibabaSansHK-Heavy', sans-serif;
    font-size: 48px;
    margin: 0;
}
/* 分隔線 */
.page-divider {
    display: none;
}

/* 內文 */
.page-description {
    font-size: 24px;
    line-height: 1.4;
    font-family: 'AlibabaPuHuiTi-Regular', sans-serif;
}

.page-description-en {
    font-size: 24px;
    line-height: 1.4;
    font-family: 'AlibabaPuHuiTi-Regular', sans-serif;
}


.page-description-hant {
    font-size: 24px;
    line-height: 1.4;
    font-family: 'AlibabaSansHK-Regular', sans-serif;
}
/* 署名文字 */
.page-signature {
    font-size: 40px;
    font-family: 'AlibabaPuHuiTi-Bold', sans-serif;
    margin-top: auto; /* 推到 .page-text 最底部 */
    align-self: flex-start; /* 保持左對齊 */
	margin-bottom: 0;
	line-height: 1.2;
}
.page-signature-hant {
    font-size: 40px;
    font-family: 'AlibabaSansHK-Bold', sans-serif;
    margin-top: auto; /* 推到 .page-text 最底部 */
    align-self: flex-start; /* 保持左對齊 */
	margin-bottom: 0;
	line-height: 1.2;
}

.page-signature-en {
    font-size: 40px;
    font-family: 'AlibabaSansHK-Bold', sans-serif;
    margin-top: auto; /* 推到 .page-text 最底部 */
    align-self: flex-start; /* 保持左對齊 */
	margin-bottom: 0;
	line-height: 0.9;
}

.teachertitle {
    font-size: 30px;
	color: #FFFFFF;
}
.teachertitle-hant {
    font-size: 30px;
	color: #FFFFFF;
}

.teachertitle-en {
    font-size: 24px;
	color: #EBEBEB;
}

.teachertitle-ensm {
	display: none;
}

.teachertitlesm {
	display: none;
}
/* 右側影片區域 */
.page-video {
    flex: 4;  /* ← 修改為 3，佔 30% */
    display: flex;
    justify-content: right;
    align-items: center;
	padding-top: 5px;
}
/* 影片外框 */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
	contain: layout;
}
/* 影片縮圖 */
.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border: 8px solid #ffffff; /* 白色外框 */
    box-sizing: border-box;
}
/* 紅色圓形播放按鈕 */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: red;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-triangle {
    font-size: 40px;
    color: #ffffff;
    margin-left: 5px; /* 讓三角形稍微偏右，視覺居中 */
}
.video-play-button:hover {
    background: #cc0000;
}
/* 影片播放器（點擊縮圖後顯示 MP4） */
.video-player {
    width: 100%;
    height: auto;
    display: none; /* 初始隱藏 */
    border: 8px solid #ffffff; /* 白色外框，與縮圖一致 */
    box-sizing: border-box;
}
/* ==================== 小屏 ≤768px：影片在上，文字在下 ==================== */
@media (max-width: 768px) {
    .page-section {
        height: auto;
        padding: 0;
        background: #1E1E1E;              /* 手機版深灰背景 */
        background-image: none;
		margin: 20px;
    }

    .page-content {
        flex-direction: column;
        padding: 0;
    }

    .page-text {
        width: 100%;
        padding: 0px 35px 40px 35px;
        text-align: center;
        order: 2;
        color: #ffffff;
    }

    .page-title,
    .page-title-hant,
    .page-title-science {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 15px;
		text-align: left;
		color: #ed8700;
    }
	
	.page-title-en {
    font-family: 'CrimsonText-Regular', sans-serif;
    line-height: 1.2;
        margin-bottom: 10px;
		text-align: left;
		color: #ed8700;
}

    .page-divider {
        width: 180px;
        height: 4px;
        margin: 0 auto 20px auto;
        background: #ffffff;
    }

    .page-description,
    .page-description-hant {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 10px;
		text-align: left;
    }
	
	.page-description-en {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
		text-align: left;
    }

    /* 修正：手機版保留 .page-signature-en 的顯示 */
    .page-signature {
        display: block !important;        /* 強制顯示英文署名 */
        font-size: 28px;                  /* 手機版稍小一點 */
        line-height: 1.3;
        margin-top: 20px;
        margin-bottom: 0;
        color: #ed8700;
		text-align: left;
		font-family: "AlibabaPuHuiTi-Heavy";
    }
	
	    .page-signature-hant {
        display: block !important;        /* 強制顯示英文署名 */
        font-size: 28px;                  /* 手機版稍小一點 */
        line-height: 1.3;
        margin-top: 20px;
        margin-bottom: 0;
        color: #ed8700;
		text-align: left;
		font-family: "AlibabaSansHK-Heavy";
    }
	
		.page-signature-en {
        display: block !important;        /* 強制顯示英文署名 */
        font-size: 28px;                  /* 手機版稍小一點 */
        line-height: 1.3;
        margin-top: 20px;
        margin-bottom: 0;
        color: #ed8700;
		text-align: left;
		font-family: "CrimsonText-Regular";
    }
	
	.teachertitle {
		display: none;
	}
	
		.teachertitlesm {
		display: block;
		color: #FFFFFF;
		font-family:  "AlibabaSansHK-Regular";
		font-size: 20px;
		margin-top: 10px;
	}
	
	.teachertitle-en {
		display: none;
	}
	
	.page-signature-en .teachertitle-ensm {
    display: block;          /* 讓 span 獨佔一行，從 | 後面自動換行 */
    margin-top: 8px;         /* 控制與上一行的垂直距離，可調整 */
}

    .teachertitle-ensm {
        font-size: 20px;                  /* 職稱字體調整 */
        color: #EBEBEB;
        line-height: 1.4;
    }

    .page-video {
        width: 100%;
        margin-bottom: 30px;
        order: 1;
		padding-top: 0px;
    }

    .video-wrapper {
        position: relative;
        width: 100%;
        max-width: none;
        min-height: 220px;
        margin: 0 auto;
    }

    .video-thumbnail {
        width: 100%;
        height: auto;
        margin: 0;
        border: 0;
    }

    .video-player {
        width: 100% !important;
        height: auto !important;
        max-height: 80vh;           /* 避免過高 */
        object-fit: contain;
        border: 0;
    }

    .video-play-button {
        width: 70px;
        height: 70px;
    }

    .play-triangle {
        font-size: 36px;
    }
}

@media (min-width: 1500px) {
	.page-description {
		font-size: 28px;
	}
	
	
	.page-video {
		padding-top: 15px;
		flex: 3;  
	}
	
	.page-text {
    flex: 7; 
	}
	
}

/* 6格 */
.gallery-section {
    background: #f2f2f2;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 6vw, 100px); /* 上下左右 padding 隨視窗縮小 */
    box-sizing: border-box;
}

/* 每排 3 張圖片 */
.gallery-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(20px, 5vw, 40px); /* 上下排間距隨視窗縮小 */
}

.gallery-row:last-child {
    margin-bottom: 0;
}

/* 單張圖片項目 */
.gallery-item {
    position: relative;
    width: 32%; /* 3 張並排，留一點間距 */
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px; /* 可選：圓角 */
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05); /* 滑鼠滑過放大 */
}

/* 圖片 */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 11 / 16; /* 11寬 16高 */
    object-fit: cover;
}

/* 漸變遮罩（從下至上灰色，透明度減小） */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* 滑鼠滑過變深 */
}

/* 圖片左下角文字 */
.gallery-caption {
    position: absolute;
    bottom: clamp(1px, 5vw, 30px);
    left: clamp(1px, 5vw, 30px);
    z-index: 2;
    color: #ffffff;
}

/* 中文標題 */
.gallery-title {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: clamp(12px, 3vw, 32px); /* 隨視窗縮小 */
    margin: 0 0 0 0;
    line-height: 1.3;
}

.gallery-title-hant {
    font-family: 'AlibabaSansHK-Heavy', sans-serif;
    font-size: clamp(12px, 3vw, 32px); /* 隨視窗縮小 */
    margin: 0 0 0 0;
    line-height: 1.3;
}

/* 英文標題 */
.gallery-subtitle {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: clamp(12px, 3vw, 32px); /* 隨視窗縮小 */
    margin: 0;
    line-height: 1.3;
}

/* 點擊轉超連結 */
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-subtitle {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.gallery-item:hover .gallery-title-hant,
.gallery-item:hover .gallery-subtitle {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .gallery-section {
        background: #101010;
        padding: 0px 15px;
    }

    /* 移除所有 row 的底部間距，讓上下排完全緊貼 */
    .gallery-row {
        display: block;
        margin-bottom: 0 !important;
    }

    .gallery-row + .gallery-row {
        margin-top: 0 !important;
    }

    .gallery-row:last-child {
        margin-bottom: 0 !important;
    }

    /* 單張項目：全寬、無圓角、無額外間距 */
    .gallery-item {
        width: 100%;
        height: auto;
        margin: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0;
        overflow: hidden;
        transition: none;
    }

    /* 圖片：維持扁平比例，確保無邊距 */
    .gallery-img {
        width: 100%;
        height: auto;
        margin: 0 !important;
        aspect-ratio: 11 / 5.3;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }

    /* 漸變遮罩與文字（手機版調整位置與透明度） */
    .gallery-overlay {
        opacity: 0.6;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 0.8;
    }

    .gallery-caption {
        bottom: 15px;
        left: 20px;
        right: 20px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gallery-title,
    .gallery-title-hant {
        font-size: 24px;
        line-height: 1.2;
        margin: 0 0 5px 0;
    }

    .gallery-subtitle {
        font-size: 16px;
        line-height: 1.3;
        margin: 0;
    }

    /* 移除 hover 效果（手機無 hover） */
    .gallery-item:hover .gallery-title,
    .gallery-item:hover .gallery-subtitle,
    .gallery-item:hover .gallery-title-hant,
    .gallery-item:hover .gallery-subtitle {
        text-shadow: none;
    }
}

/* 左右圖區*/
.page-color-bar-section {
    position: relative;
    background: #f2f2f2;
    padding: 0;
    height: 45vh;
	min-height: 350px;
    overflow: hidden;            /* ← 防止內容超出 */
}

/* 左側顏色條：寬度改為 10px */
.page-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: #00337c;
}

.page-color-bar3{
	position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
	background: #0b5c7c;
}

/* 內容區域：加 max-width + padding 控制範圍 */
.page-color-bar-content {
    display: flex;
    align-items: center;
    margin: 0 auto;              /* 居中 */
    height: 100%;                /* 佔滿容器高度 */
}

/* 文字區域（左） */
.page-color-bar-text {
    flex: 1;
    padding-top: clamp(20px, 5vh, 30px);     /* 上 */
    padding-right: clamp(30px, 8vw, 100px);  /* 右 */
    padding-bottom: clamp(20px, 5vh, 30px);  /* 下 */
    padding-left: clamp(30px, 8vw, 100px);   /* 左 */ /* 上30 右100 下30 左100（與原版一致） */
    box-sizing: border-box;
}

/* 文字標題 - 響應式 font-size 與 margin */
.page-color-bar-title {
    font-family: 'AlibabaPuHuiTi-Heavy', sans-serif;
    font-size: clamp(24px, 2.1vw, 32px); /* 隨視窗縮小，最小 24px，最大 32px */
    color: #55565a;
	margin: 0 0 clamp(20px, 3vh, 30px) 0;
}

.page-color-bar-title-hant {
    font-family: 'AlibabaSansHK-Heavy', sans-serif;
    font-size: clamp(24px, 2.1vw, 32px); /* 隨視窗縮小，最小 24px，最大 32px */
    color: #55565a;
	margin: 0 0 clamp(20px, 3vh, 30px) 0;
}

.page-color-bar-title-en {
    font-family: 'Roboto-black', sans-serif;
    font-size: clamp(24px, 2.1vw, 32px); /* 隨視窗縮小，最小 24px，最大 32px */
    color: #55565a;
	margin: 0 0 clamp(20px, 3vh, 30px) 0;
}

/* 文字內文 */
.page-color-bar-content-text {
    font-family: "Noto Serif SC", serif;
    font-size: clamp(16px, 1.4vw, 28px);
    line-height: 1.4;
	font-weight: 400;
    color: #5e5e5e;
}

.page-color-bar-content-text-hant {
    font-family: "SourceHanSerifTW-Regular", serif;
    font-size: clamp(16px, 1.4vw, 28px);
    line-height: 1.4;
    color: #5e5e5e;
}

.page-color-bar-content-text-en {
    font-family: "CrimsonText-Regular", serif;
    font-size: clamp(16px, 1.4vw, 28px);
    line-height: 1.4;
    color: #5e5e5e;
}

/* 圖片容器：寬 60% */
.page-color-bar-img {
    width: 44%;
    height: 100%;                /* 高佔滿容器 */
    padding: 30px 0;
    overflow: hidden;            /* 防止圖片超出 */
}

/* 右側圖片：高 100%，object-fit 填滿 */
.page-color-bar-right-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
	box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.7); /* 陰影效果：水平 0，垂直 4px，模糊 20px，黑色 30% 透明 */
}



/* 新增反向區塊：底色白色 */
.page-color-bar-section-reverse {
    position: relative;
    background: #ffffff;         /* ← 底色改為白色 */
    padding: 0;
    height: 45vh;
	min-height: 350px;
    overflow: hidden;
}

/* 右側顏色條：寬度 10px（放在最右） */
.page-color-bar-reverse {
    position: absolute;
    right: 0;                    /* ← 放在右邊 */
    top: 0;
    width: 10px;
    height: 100%;
    background: #053e72;
}

.page-color-bar-reverse-4 {
    position: absolute;
    right: 0;                    /* ← 放在右邊 */
    top: 0;
    width: 10px;
    height: 100%;
    background: #19838e;
}

/* 內容區域（反向：圖片左 + 文字右） */
.page-color-bar-content-reverse {
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: 100%;
}

/* 左側圖片容器 */
.page-color-bar-img-reverse {
    width: 44%;
    height: 100%;
    padding: 30px 0;
    overflow: hidden;
}

/* 左側圖片 */
.page-color-bar-left-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7); /* 陰影效果：水平 0，垂直 4px，模糊 20px，黑色 30% 透明 */
}

/* 右側文字區域 */
.page-color-bar-text-reverse {
    flex: 1;
    padding-top: clamp(20px, 5vh, 30px);     /* 上 */
    padding-right: clamp(30px, 8vw, 100px);  /* 右 */
    padding-bottom: clamp(20px, 5vh, 30px);  /* 下 */
    padding-left: clamp(30px, 8vw, 100px);   /* 左 */ /* 上30 右100 下30 左100（與原版一致） */
    box-sizing: border-box;
}

/* 正向新區塊：顏色條左 + 文字中 + 圖片右（class全部不帶reverse） */
.page-color-bar-section2 {
    position: relative;
    background: #f2f2f2;          /* 你原本的底色 */
    padding: 0;
    height: 700px;
    overflow: hidden;
}

/* 左側顏色條 */
.page-color-bar2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: #053e72;
}

/* 內容區域 */
.page-color-bar-content2 {
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: 100%;
}

/* 左側文字區域 */
.page-color-bar-text2 {
    flex: 1;
        padding-top: clamp(20px, 5vh, 30px);     /* 上 */
    padding-right: clamp(30px, 8vw, 100px);  /* 右 */
    padding-bottom: clamp(20px, 5vh, 30px);  /* 下 */
    padding-left: clamp(30px, 8vw, 100px);   /* 左 */ /* 上30 右100 下30 左100（與原版一致） */
    box-sizing: border-box;
}

/* 右側圖片容器 */
.page-color-bar-img2 {
    width: 56%;                  /* 與你反向版一樣的44% */
    height: 100%;
    padding-right: 15%;
    overflow: hidden;
}

/* 右側圖片 */
.page-color-bar-right-img2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7); /* 陰影效果：水平 0，垂直 4px，模糊 20px，黑色 30% 透明 */
}

/* ==================== 小屏 ≤768px：color-bar-section 系列圖片在上，文字在下 ==================== */
@media (max-width: 768px) {
    .page-color-bar-section {
        height: auto;                /* 自動高度 */
        min-height: 350px;
		background: #353535;
    }
	
	    .page-color-bar-section-reverse {
        height: auto;                /* 自動高度 */
        min-height: 350px;
		background: #353535;
		margin-bottom: 50px;
		margin-top: 50px;
    }
	
	.theme-last {
		margin-bottom: 0px !important;
	}

    .page-color-bar-content,
    .page-color-bar-content-reverse,
    .page-color-bar-content2 {
        flex-direction: column;      /* 垂直排列：圖片上，文字下 */
        align-items: stretch;
        height: auto;
        padding: 0px;          /* 手機內距 */
    }
	
	.page-color-bar-img-reverse,
	.page-color-bar-img {
		padding: 0px;
	}

    /* 文字區域（小屏文字在下） */
    .page-color-bar-text,
    .page-color-bar-text-reverse,
    .page-color-bar-text2 {
        width: 100%;
        padding: 40px 40px;
        text-align: left;          /* 文字置中 */
        order: 2;                    /* 文字排到下面 */
    }
	
	.page-color-bar-title-en,
	.page-color-bar-title,
	.page-color-bar-title-hant {
		color: #D5D5D5;
	}
	
	.page-color-bar-content-text-en,
	.page-color-bar-content-text,
	.page-color-bar-content-text-hant {
		color: #D5D5D5;
		font-size: 18px;
	}
	


    /* 圖片容器（小屏圖片在上） */
    .page-color-bar-img,
    .page-color-bar-img-reverse,
    .page-color-bar-img2 {
        width: 100%;
        height: 300px;               /* 手機圖片固定高度 */
        order: 1;                    /* 圖片排到前面（上） */
    }

    /* 顏色條在小屏時隱藏或調整（可選） */
    .page-color-bar,
    .page-color-bar-reverse,
	.page-color-bar-reverse-4,
    .page-color-bar2,
	.page-color-bar3 {
        height: 10px;                /* 小屏時變橫條在頂部 */
        width: 100%;
        top: 0;
        left: 0;
        right: auto;
    }
	
	.page-color-bar-img2 {
    padding-right: 0;
}

}

.page-Learing {
    height: clamp(100px, 25vh, 300px); /* 高度隨視窗縮小 */
    padding-top: clamp(50px, 12vh, 200px); /* padding-top 隨視窗縮小 */
    font-family: "Arial-Black", Cambria;
    font-size: clamp(20px, 4vw, 45px); /* 文字大小隨視窗縮小 */
    color: #ed8700;
    text-align: center;
}

@media (max-width: 768px) {
	.page-Learing {
	height: 150px;
	padding: 0px 35px 0px 35px;
	text-align: center;
	align-content: center
		
	}
}

/* map */
.map-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 500px;               /* 大螢幕最低 500px，內容多時可自動撐開 */
    width: 100%;           /* 上下外距 + 水平居中 */
    padding: clamp(40px, 8vw, 70px);  /* 保留您的大內距 */
    background-color: #f2f2f2;
    border-radius: 8px;
    box-sizing: border-box;
    gap: 30px;                       /* 左右區塊自然間距 */
    overflow: visible;               /* 絕對不能 hidden */
}

.map-text-section {
    flex: 1;                         /* 左側約 40% */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.map-section {
    flex: 2;                         /* 右側約 60% */
    position: relative;
    flex-shrink: 0;                  /* 防止被壓縮 */
    border-radius: 12px;
    overflow: hidden;                /* 只在這裡 hidden，讓 iframe 圓角正常顯示 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 可選：給地圖區加一點陰影 */
}

.map-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #000000;
    border-radius: 10px;
    box-sizing: border-box;
}

/* 文字樣式（保持不變） */
.phone-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: 'AlibabaPuHuiTi-Bold', sans-serif;
}

.phone-number {
    font-size: 24px;
    color: #606060;
    margin-bottom: 20px;
    font-family: 'AlibabaPuHuiTi-Bold', sans-serif;
}

.phone-title-hant {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: 'AlibabaSansHK-Bold', sans-serif;
}

.phone-number-hant {
    font-size: 24px;
    color: #606060;
    margin-bottom: 20px;
    font-family: 'AlibabaSansHK-Bold', sans-serif;
}

/* 手機模式 - 關鍵修正 */
@media (max-width: 768px) {
    .map-wrapper {
        flex-direction: column;
        min-height: auto;            /* 取消最低高度限制 */
        padding: 20px;               /* 手機內距適當減小 */
        gap: 20px;
        margin: 20px auto;
		background: #353535;
		border-radius: 0px;
    }

    .map-text-section {
        padding: 40px 30px;
    }

    .map-section {
        width: 100%;
        height: 300px;               /* 手機上固定給地圖 500px（可改成 450px 或 550px） */
        min-height: 300px;           /* 確保最低有足夠高度 */
    }

    .map-section iframe {
        width: 100%;
        height: 100%;
    }
	
	.phone-title,
	.phone-number {
		color: #E7E7E7;
	}
}

/* 私隱文章 */
.main-artcle-policy {
    padding: clamp(10px, 10vw, 100px) clamp(1px, 16vw, 200px); /* 上下 padding 40-100px，左右 padding 20-100px */
}

.page-article-policy-title1 {
	font-family: "AlibabaPuHuiTi-Bold";
	font-size: 30px;
	color: #333333;
	text-align: center;
	margin: 0;
	line-height: 1.2;
	padding: 0px 115px;
}

.page-article-policy-title1-hant {
	font-family: "AlibabaSansHK-Bold";
	font-size: 30px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
	padding: 0px 115px;
}

.page-article-policy-title1-en {
	font-family: "Roboto-bold";
	font-size: 30px;
	color: #333333;
	text-align: start;
	margin: 0;
	line-height: 1.2;
	padding: 0px 115px;
}

.page-article-policy-text{
	font-family:"SourceHanSerifSC-Medium";
	font-size: 16px;
	color: #333333;
	text-align: start;
	font-weight: 500;
	padding: 20px 115px;
}

.page-article-policy-text-hant{
	font-family:"SourceHanSerifTW-Medium";
	font-size: 16px;
	color: #333333;
	text-align: start;
	padding: 20px 115px;
}

.page-article-policy-text-en{
	font-family:"CrimsonText-Regular";
	font-size: 17px;
	color: #333333;
	text-align: start;
	padding: 20px 115px;
}

@media (max-width: 768px) {
	.page-article-policy-text,
	.page-article-policy-text-hant,
	.page-article-policy-text-en {
	padding: 0px 20px 0px 20px;	
	font-size: 16px;
	color: #FFFFFF;
	}
	
	.page-article-policy-title1,
	.page-article-policy-title1-hant,
	.page-article-policy-title1-en {
	font-size: 18px;
	color: #FFFFFF;
	padding: 40px 20px 0px 40px;
	}
	
	.main-artcle-policy {
		padding: 35px;
		background: #353535;
	}
}

/* 舞會影片 - 兩欄布局部分（3:7 比例） */
.page-video-section {
  padding: 40px 60px;
  margin: 0 auto;
  background-image: url("images/ball/bvideobg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  
}

/* 兩欄容器 */
.page-two-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  height: 100%;
}

.page-column {
  min-width: 280px;
}

/* 左邊文字欄 - 3份 */
.page-text-column {
  flex: 3;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  max-height: 520px;
  overflow: hidden;
}

.page-text-column h2 {
  font-size: 2.4rem;
  margin: 0 0 8px 0;
  color: #FFFFFF;
  line-height: 1.2;
}

.ballvideohanth {
	font-family: "AlibabaPuHuiTi-Regular"
}

.ballvideohanth-hant {
	font-family: "AlibabaSansHK-Regular"
}

.page-text-column .page-english {
  font-size: 1.2rem;
  color: #D7D7D7;
  margin: 0 0 16px 0;
  font-style: italic;
}

.page-text-column p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #E0E0E0;
  margin: 0;
}

.ballvideohantp {
  font-family: "AlibabaPuHuiTi-Regular";
}

.ballvideohantp-hant {
	font-family: "AlibabaSansHK-Regular";
}

.ballvideohantp-en {
	font-family: "CrimsonText-Regular";
}

/* 右邊影片欄 - 7份 */
.page-video-column {
  flex: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
}

/* 新增 wrapper，讓兩個影片左右並排 */
.page-video-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;                     /* 兩個影片左右間距 */
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;               /* 小螢幕會自動換行 */
}

/* 單個影片項目 - 高度嚴格控制 */
.page-video-item {
  position: relative;
  width: 100%;
  max-width: 340px;              /* 每個影片寬度變小，讓兩個並排更舒適 */
  aspect-ratio: 16 / 9;
  max-height: 240px;             /* 高度限制，確保總高不超過 */
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  border-radius: 12px;
  background: #111;
}

.page-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-video-item:hover .page-video-thumb {
  transform: scale(1.04);
}

.page-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.page-video-play-btn:hover {
  background: rgba(220, 38, 38, 0.85);
  transform: translate(-50%, -50%) scale(1.12);
}

.page-play-triangle {
  font-size: 2.4rem;
  color: white;
  margin-left: 4px;
}

#modal-video,
.page-video-modal video {
  display: block !important;
}

/* Modal 部分（不變） */
.page-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.page-video-modal.active {
  display: flex !important;
}

.page-video-modal-content {
  width: 100%;
  max-width: none;
  height: auto;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.page-video-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 48px;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  transition: all 0.2s;
}

.page-video-close:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.1);
}

#modal-video {
  width: 100% !important;
  height: auto !important;
  max-height: 96vh;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  object-fit: contain;
}

/* 響應式調整 */
@media (max-width: 900px) {
  .page-video-section {
    max-height: none;                /* 手機不限高，讓內容自然展開 */
    padding: 40px 15px;
  }

  .page-two-columns {
    flex-direction: column !important;
    gap: 40px;
    align-items: stretch;
  }

  .page-text-column,
  .page-video-column {
    width: 100% !important;
    max-width: none !important;
  }

  .page-text-column {
    text-align: center;
    padding-right: 0;
  }

  /* 影片 wrapper 改回上下排列（但實際只顯示一個） */
  .page-video-wrapper {
    flex-direction: column !important;
    gap: 28px !important;
    align-items: center;
  }

  /* 只顯示第一個影片，隱藏第二個 */
  .page-video-item {
    max-width: 100% !important;
    max-height: 280px;               /* 手機上可稍大一點 */
  }

  /* 隱藏第二個影片（假設 HTML 順序：第一個是 .page-video-item:nth-child(1)） */
  .page-video-item:nth-child(2) {
    display: none !important;
  }

  .page-video-play-btn {
    width: 80px;
    height: 80px;
  }

  .page-play-triangle {
    font-size: 2.6rem;
  }
}
@media (max-width: 768px) {
  .page-text-column {
    order: 2;
  }
	.page-video-section {
	padding: 0px;
	background: #353535;
	}
	
	.page-text-column {
		padding: 35px;
	}
	
	.page-two-columns {
		gap: 0px; 
	}
	
	.page-video-item {
		border-radius: 0px;
	}
	
	.page-text-column h2 {
		margin: 0px;
	}
}