/** 首頁-文章 **************************************************/
.article_row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: unset;
    gap:24px;
    position:relative;
}
.article_row .page_tag_area_3{
	margin: 0 0 16px;
}
@media(max-width:767px){
	.article_row .page_tag_area_3{
		margin: 0 0 6px;
	}
}

.article_row h4.article_title,
#div_page_list_pages.new > div:nth-child(1) h4.article_title{
	height:auto !important;
	max-height:62px;
}
.page_tag_area_3{
    display: flex;
    justify-content:space-between;
    align-items:center;
    gap: 10px;
    margin: 15px 0px 5px;
    min-height:20px;
}
@media(max-width:767px){
	.page_tag_area_3{
		margin: 11px 0px 6px;
	}
}
#div_page_list_pages.new > div:nth-child(1) .page_tag_area_3,
#div_page_list_pages.new > div:nth-child(5) .page_tag_area_3,
#div_page_list_pages.new > div:nth-child(9) .page_tag_area_3,
#div_page_list_pages.new > div:nth-child(13) .page_tag_area_3{
	margin: 0 0 16px;
}
@media(max-width:767px){
	#div_page_list_pages.new > div:nth-child(1) .page_tag_area_3{
	margin: 0 0 6px;
}
	#div_page_list_pages.new > div:nth-child(5) .page_tag_area_3,
	#div_page_list_pages.new > div:nth-child(9) .page_tag_area_3,
	#div_page_list_pages.new > div:nth-child(13) .page_tag_area_3{
		margin: 11px 0 6px;
	}
}

.page_tag{
    border-radius: 20px;
    color: #fff;
    padding: 2px 16px 0px 16px;
    font-weight: 500;
    letter-spacing: 1.2px;
    font-size: 17px;
    line-height:1.4;
    height: fit-content;
}
@media(max-width:1199px){
    .page_tag{
        font-size:16px;
    }
}
@media(max-width:991px){
    .page_tag{
        font-size:14px;
    }
}
@media(max-width:767px){
    .page_tag{
        padding: 2px 11px 0px 11px;
    }
}
@media(max-width:392px){
    .page_tag{
        padding: 2px 8px 0px 8px;
    }
}
@media(max-width:767px){
    .page_tag{
        font-size:12px;
    }
}
.page_date{
	font-size:18px;
	display:flex!important;
	align-items:center;
	gap:2px;
    color:#8E8E8E;
}
@media(max-width:991px){
	.page_date{
		font-size:16px;
	}
}
@media(max-width:767px){
	.page_date{
		font-size:14px;
	}
}
@media(max-width:575px){
	.page_date{
		font-size:12px;
	}
}
@media(max-width:392px){
	.page_date{
		font-size:10px;
	}
}
.page_date i{
	font-size:24px;
}
@media(max-width:767px){
	.page_date i{
		font-size:16px;
	}
}
h4.article_title,
h6.article_title{
	font-size:19px;
	font-weight:600;
    height: 56px;
    text-align: left;
    line-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    margin-bottom:8px;
}
@media(max-width:1199px){
	h4.article_title,
	h6.article_title{
		font-size:17px;
		line-height: 25px;
		height: 50px;
	}
}
@media(max-width:991px){
	h4.article_title,
	h6.article_title{
		font-size:16px;
		line-height: 23px;
		height: 47px;
	}
}
@media(max-width:767px){
	h4.article_title,
	h6.article_title{
		font-size:14px;
		height: 42px;
	}
}
@media(max-width:575px){
	h4.article_title,
	h6.article_title{
		font-size:12px;
		line-height:17px;
	    height: 34px;
	}
}


.article_sdesc{
    color: #3B3B3B;
    font-size:18px;
    line-height: 1.5;
    letter-spacing: 1.1px;
    font-weight: 350;
    display:block;
    line-height: 1.5;
    overflow: hidden;
    text-align: justify;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
@media(max-width:991px){
    .article_sdesc{
    	font-size:14px;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        margin-bottom:0;
    }
}
.article_area_3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.article_content .card-i i{
    width: 48px;
    height:48px;
    border:1px solid #ff3c74;
    background:#ffffff;
    color:#ff3c74;
}
@media(max-width:1199px){
    .article_content .card-i i{
        width: 32px;
        height:32px;
    }
}
@media(max-width:991px){
    .article_content .card-i i{
        width: 22px;
        height: 22px;
    }
}
.article_content div{
	width:100%;
}
.bdr-14{
    border-radius:14px;
}
.bdr-24{
    border-radius:24px;
}
/* JW 2026/02/06 播放浮水印要「只蓋封面圖」，不能整張卡變可點擊區
 * 做法：把封面圖那個 <a> 當作定位基準，讓 cover_icon_play 100% 覆蓋封面圖容器
 */
.article_card > a:first-child{
    position: relative !important;
    display: block;
}
.article_row a[id *='index_article_'],
.article_card a[id *='index_article_']{
	display: flex;
    align-items: center;
    justify-content: center;
}
.cover_icon_play{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 767px) {
    .article_row{
        grid-template-columns: 1fr;
        gap:11px;
    }
    .article_area_3{
        display: grid;
	    grid-template-columns: repeat(2, minmax(180px, 1fr));
	    gap: 8px;
    }
    .article_area_3 .article_card:last-child {
        display: none;
    }
    h4.article_title_large{
        height: 35px;
        -webkit-line-clamp: 1;
    }
    .article_sdesc{
        display:none;
    }
}
.article_area_3 .article_content{
	display:grid;
	grid-template-columns:1fr auto;
	gap:16px;
	align-items:flex-end;
}
#div_page_list_pages .article_content{
    display:grid;
    grid-template-columns:1fr auto;
    gap:16px;
    align-items:flex-end;
}
@media(max-width:575px){
    .article_area_3 .article_content{
        gap:4px;
    }
    #div_page_list_pages .article_content{
        gap:4px;
    }
}
.plp_article_title{
    font-size:22px;
    font-weight:bolder;
    padding:20px;
}
.a_plp_article_title{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: max-content;
}
.a_plp_article_title i{
    font-size: 30px;
}
/** 短影音 **************************************************/
#div_page_list_pages.yt_reels{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
#div_page_list_pages.yt_reels .yt-shorts-wrapper{
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
}
#div_page_list_pages.yt_reels .yt-shorts-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    border-radius:10px;
}
@media(max-width:1288px){
    #div_page_list_pages.yt_reels{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media(max-width:767px){
    #div_page_list_pages.yt_reels{
        grid-template-columns: 1fr 1fr;
    }
}