/* ==========================================================================
   1. 預設樣式（手機端 / 小螢幕）：一律改為上下排版
   ========================================================================== */

/* 外層容器 */
.custom-table {
    width: 100%;
    /* max-width: 900px;
  margin: 0 auto; */
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem);
    /* 18px */
    line-height: 1.6;
    box-sizing: border-box;

    margin-bottom: clamp(1.25rem, -0.083rem + 2.15vw, 2.5rem);
}

/* 每一列：手機端使用 block，讓標題和內容呈現上下堆疊 */
.table-row {
    display: block;
    border-bottom: 1px solid #d1d5db;
}

.table-row:last-child {
    border-bottom: none;
}

/* 左側（標題）：手機端為 100% 滿版 */
.table-label {
    width: 100%;
    background-color: #f3f4f6;
    color: #374151;
    font-weight: bold;
    padding: 12px 16px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e7eb;
    /* 小螢幕時，標題下方加一條淡淡的分隔線 */
}

/* 右側（內容）：手機端為 100% 滿版 */
.table-content {
    width: 100%;
    color: #1f2937;
    padding: 12px 16px;
    box-sizing: border-box;
}

/* 行程說明的換行處理 */
.preserve-line {
    white-space: pre-line;
}


/* ==========================================================================
   2. 媒體查詢（電腦端 / 大螢幕 768px 以上）：恢復成左右排版
   ========================================================================== */
@media (min-width: 768px) {

    .table-row {
        display: flex;
        /* 開啟 Flexbox 讓欄位左右排列 */
    }

    .table-label {
        width: 25%;
        /* 恢復左側佔 25% */
        padding: 16px;
        border-bottom: none;
        /* 拔除手機端的下底線 */
        border-right: 1px solid #d1d5db;
        /* 恢復左右排版的右邊線 */
        display: flex;
        align-items: center;
        /* 內容多時，標題保持垂直置中 */
        flex-shrink: 0;
        /* 防止標題被壓縮變形 */
    }

    .table-content {
        width: 75%;
        /* 恢復右側佔 75% */
        padding: 16px;
    }
}















/*/////////////////////////////////////////////////////////*/
/*-------首頁_活動剪影區塊--------*/
/*/////////////////////////////////////////////////////////*/


/*首頁_活動剪影*/
.event_albumBg {
    background-color: #fff;
    /*position: relative;
	 background-position: center;
	background-repeat: no-repeat;
	background-size: cover; */
    padding: 50px 0;
    position: relative;
    /* z-event: 5; */
    /* display: flex;
	justify-content: flex-end; */
}

/* 首頁_產品裝飾底 */
/* .event_product_background{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 25%;
		height: 90%;
		background-color: #faf7f3;
		z-event: 0;
	} */


/*----- 首頁標題1 -----*/
.event_albumBg .event_title {
    text-align: center;
}



.event_albumBg .swiper-wrapper {
    transition-timing-function: linear;
    /*之前是ease-out*/
}


.event_albumBg .swiper {
    width: 100%;
    height: 100%;
}

.event_albumBg .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background: #fff0;
}

.event_albumBg .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.event_albumBg .wrap {
    /* position: relative;
		z-event: 5;
		margin: 0; */
}




/* 首頁_活動剪影_左右按鍵 */

.swiper-button-next, .swiper-button-prev {
    width: clamp(0.938rem, 0.604rem + 0.54vw, 1.25rem);
    padding: 0 .625rem;
}

.swiper-navigation-icon {
    display: block;
}
.swiper-navigation-icon path {
    fill: #fff;
}


/* .event_album_arrow{
		position: absolute;
		top: 45px;
		right: 100px;
		width: 70px;
	}
		.event_albumBg .swiper-button-prev ,
		.event_albumBg .swiper-button-next{
			left: unset;
			right: unset;
			top: unset;
			bottom: 0;
			transform: unset;
			width: 30px;
			height: 30px;
			background-size: 30px;
		}
		.event_albumBg .swiper-button-prev{
			left: 0;
		}
		.event_albumBg .swiper-button-next{
			right: 0;
		} */




.event_album_area {
    position: relative;
}

/* 活動剪影列表 */
.event_product_list {
    width: 100%;
    /* box-shadow: 1px 1px 15px #00000038;	 */
    box-sizing: border-box;
    padding: 2px;
}

.event_album_list {
    width: 95%;
}

/* 首頁活動剪影照片 */
.event_albumImg {
    position: relative;
}

.event_albumImg a {
    box-sizing: border-box;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    display: block;
    /* background-color: #000; */
}

.event_albumImg img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    /* border-radius: 50%; */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.3s ease-out;
}





/* 裝飾線 */
.event_album_line {
    display: none;
}

.event_album_line:before {
    position: absolute;
    content: "";
    background-color: #fff;
    /* width: calc(100% - (10px * 2)); */
    width: 0;
    height: 1px;
    top: 10px;
    left: 10px;
    z-event: 1;
    transition: 0.3s ease all;
}

.event_album_line:after {
    position: absolute;
    content: "";
    background-color: #fff;
    width: 1px;
    /* height: calc(100% - (10px * 2)); */
    height: 0;
    top: 10px;
    left: 10px;
    z-event: 1;
    transition: 0.3s ease all;
}

/* 裝飾線2 */
.event_album_line2 {
    display: none;
}

.event_album_line2:before {
    position: absolute;
    content: "";
    background-color: #fff;
    /* width: calc(100% - (10px * 2)); */
    width: 0;
    height: 1px;
    bottom: 10px;
    right: 10px;
    z-event: 1;
    transition: 0.3s ease all;
}

.event_album_line2:after {
    position: absolute;
    content: "";
    background-color: #fff;
    width: 1px;
    /* height: calc(100% - (10px * 2)); */
    height: 0;
    bottom: 10px;
    right: 10px;
    z-event: 1;
    transition: 0.3s ease all;
}

/* hover */
.event_albumImg a:before {
    position: absolute;
    content: "點擊放大";
    font-family: var(--foreign_font);
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%) scale(0);
    color: #fff;
    text-shadow: rgb(0 0 0) 0px 0px 10px;
    font-size: 20px;
    line-height: 1;
    z-event: 1;
    /* transition: 0.9s ease all; */
    opacity: 0;
}

.event_albumImg a:hover:before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0.9s ease all;
}

.event_albumImg:hover img {
    /* opacity: 0.5; */
    filter: grayscale(0.7);
    /*灰階*/
    transition: 0.3s ease all;
}

.event_albumImg:hover .event_product_line:before,
.event_albumImg:hover .event_product_line2:before {
    width: calc(100% - (10px * 2));
}

.event_albumImg:hover .event_product_line:after,
.event_albumImg:hover .event_product_line2:after {
    height: calc(100% - (10px * 2));
}




/* 首頁活動剪影_資訊 */
.event_album_botom {
    line-height: 1.2;
    color: #838383;
    text-align: left;

    padding: 15px 5px;
}

.event_album_botom h3.title {
    padding: 0;
    margin: 0;
    display: block;
    list-style-type: none;
    font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem);
    line-height: inherit;
    font-weight: normal;
    /* color: var(--primary_color); */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* .event_album_botom h3.title a{	
						display: block;
						text-decoration: none;
						color: inherit;	
						
						overflow: hidden;
						text-overflow: ellipsis;
						display: -webkit-box;
						-webkit-line-clamp: 1;
						-webkit-box-orient: vertical;
					}

				.event_album_botom .brief{
					margin-top: 10px;
					font-size: 15px;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;			
				} */






.pswp__custom-caption {
    font-size: 12px;
    color: #fff;
    /* width: calc(100% - 32px); */
    /* max-width: 400px; 
		padding: 2px 8px;
		border-radius: 4px;*/
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);

    background: rgba(0 0 0 / 35%);
    padding: 0;
    line-height: 1.3;
    text-align: center;
    max-width: calc(100% - 20px);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pswp__custom-caption a {
    color: #fff;
    text-decoration: none;
}

.hidden-caption-content {
    display: none;
}




@media (max-width: 990px) {

    /*首頁_活動剪影*/
    .event_albumBg {
        padding: 30px 0;
    }

}

/* 影音區塊-------------------------- */
.vedio_area {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 2.5rem 0;
}

.vedio_area iframe {
    width: 100%;
    height: 100%;
    border: 0;
}