.sc_testimonials_item_author_title:before {
    content: '-';
    margin-right: 0.4rem;
}
.related_item_style_2.post_format_audio .post_featured{
    display: none !important;
}
.video_frame iframe {
    margin: auto;
}
.video_play  .video_mask {
    background: rgba(0, 0, 0,1) !important;
    opacity: 1 !important;
}
.sc_layouts_column_icons_position_left + .sc_layouts_column_icons_position_left.sc_shift_y_small {
    z-index: 1;
}
.widget_search form {
    margin-top: 2.5rem;
}
.widget_search .widget_title + form {
    margin-top:0;
}
.sc_donations_title + .sc_donations_columns_wrap {
    margin-top:2em;
}

/* 近期活動分類標籤樣式 */
.sc_blogger_item_categories {
    text-align: center;
}

.sc_blogger_item_category {
    display: inline-block;
    padding: 0.77em;
    margin-top: 15px;
    margin-bottom: -20px;
    width: 90%;
    background-color: #FFF8D4;
    color: #333;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

@media (max-width: 1441px) {

}

@media (max-width: 1279px) {

}

@media (max-width: 1023px) {

}

@media (max-width: 767px) {

}

@media (max-width: 479px) {

}


/* 近期活動精選圖比例：維持 279.4 / 431.8（11X17 ledger），避免拉扯 */
.home .sc_blogger .sc_blogger_item_featured {
    aspect-ratio: 279.4 / 431.8;
	height: auto;
}

.home .sc_blogger .sc_blogger_item_featured img,
.home .sc_blogger .sc_blogger_item_featured .post_thumb {
    height: 100%;
}

.home .sc_blogger .sc_blogger_item_featured .post_thumb {
    background-size: cover;
    background-position: center;
}


/* 首頁最新報導：服務卡片版型改為圖片左、文字右，一列一篇 */
.home .sc_services.sc_services_default .sc_services_columns_wrap>[class*="column-"] {
    width: 100%;
}

.home .sc_services.sc_services_default .sc_services_item {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.home .sc_services.sc_services_default .sc_services_item_thumb {
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
}

.home .sc_services.sc_services_default .sc_services_item_thumb img,
.home .sc_services.sc_services_default .sc_services_item_thumb .post_thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home .sc_services.sc_services_default .sc_services_item_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

@media (max-width: 1023px) {
    .home .sc_services.sc_services_default .sc_services_item {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .home .sc_services.sc_services_default .sc_services_item {
        flex-direction: column;
    }

    .home .sc_services.sc_services_default .sc_services_item_thumb {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

/* =====================================================
   新聞報導分類頁面：圖片左、文字右，一列一篇布局
   ===================================================== */

/* 分類頁面和存檔頁面的文章列表布局 */
.category .post_layout_excerpt,
.archive .post_layout_excerpt,
.blog_archive .post_layout_excerpt {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

/* 精選圖片區域：左側40% */
.category .post_layout_excerpt .post_featured,
.archive .post_layout_excerpt .post_featured,
.blog_archive .post_layout_excerpt .post_featured {
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
    margin-bottom: 0;
}

/* 圖片填滿容器 */
.category .post_layout_excerpt .post_featured img,
.archive .post_layout_excerpt .post_featured img,
.blog_archive .post_layout_excerpt .post_featured img,
.category .post_layout_excerpt .post_featured .post_thumb,
.archive .post_layout_excerpt .post_featured .post_thumb,
.blog_archive .post_layout_excerpt .post_featured .post_thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 文字內容區域：右側60%，垂直置中 */
.category .post_layout_excerpt .post-body,
.archive .post_layout_excerpt .post-body,
.blog_archive .post_layout_excerpt .post-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* 調整標題和內容樣式 */
.category .post_layout_excerpt .post_header,
.archive .post_layout_excerpt .post_header,
.blog_archive .post_layout_excerpt .post_header {
    margin-bottom: 1rem;
}

.category .post_layout_excerpt .post_content,
.archive .post_layout_excerpt .post_content,
.blog_archive .post_layout_excerpt .post_content {
    margin-top: 0;
}

/* 文字報導的文章隱藏精選圖片 */
body.category-single-print-news .post_item_single > .post_featured {
    display: none !important;
}