.news-storefront { padding-bottom: 40px; }
.news-storefront .title-page, .news-storefront .article-title { font-size: 28px; font-weight: 700; line-height: 1.4; margin-bottom: 24px; }
.news-category-description { margin-bottom: 24px; }
.news-card { height: calc(100% - 24px); margin-bottom: 24px; border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff; }
.news-card .block-thumb { position: relative; }
.news-card .thumb { display: block; overflow: hidden; }
.news-card .thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .2s; }
.news-card .thumb:hover img { transform: scale(1.04); }
.news-card .time-post { position: absolute; left: 12px; bottom: 12px; background: #ffb700; color: #111; padding: 8px 12px; font-size: 20px; font-weight: 700; line-height: 1.2; text-align: center; border-radius: 4px; }
.news-card .time-post span { display: block; font-size: 12px; }
.news-card .block-content { padding: 16px; }
.news-card h3 { font-size: 18px; line-height: 1.5; margin: 0 0 8px; }
.news-card h3 a { color: #111; }
.news-card h3 a:hover, .news-read-more:hover { color: #c78c00; }
.news-card-date { font-size: 13px; color: #666; }
.news-summary { margin: 10px 0; line-height: 1.6; overflow-wrap: anywhere; }
.news-summary p { margin: 0; }
.news-read-more { color: #111; font-weight: 600; }
.news-sidebar .aside-content-menu, .news-sidebar .blog-aside { border: 1px solid #eee; border-radius: 6px; padding: 18px; margin-bottom: 24px; }
.news-sidebar .title-head { font-size: 20px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #ffb700; }
.news-sidebar .nav-link { padding: 8px 0; color: #111; }
.news-category-menu .title-head-col { font-size: 20px; font-weight: 700; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid #ffb700; }
.news-category-menu .nav-category .nav { display: block; }
.news-category-menu .nav-item { position: relative; }
.news-category-menu .menu_down { list-style: none; margin: 0; padding: 0 0 0 16px; }
.news-category-menu .menu_down[hidden] { display: none !important; }
.news-category-menu .menu_down:not([hidden]) { display: block; }
.news-category-menu .open_mnu { position: absolute; top: 3px; right: 0; width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; color: #111; }
.news-category-menu .open_mnu.active span { display: inline-block; transform: rotate(180deg); }
.news-category-menu .active > .nav-link { color: #b07c00; font-weight: 700; }
.news-category-menu .news-category-count { color: #666; white-space: nowrap; }
.news-category-menu .news-category-empty { margin: 0; color: #666; }
.news-sidebar .news-category-children { padding-left: 18px; list-style: none; }
.news-sidebar .news-category-children a { display: block; padding: 6px 0; }
.news-sidebar details > summary { cursor: pointer; }
.news-sidebar details > summary a { display: inline-block; }
.news-sidebar .blogwp { display: flex; gap: 10px; margin-bottom: 16px; }
.news-sidebar .blogwp:last-child { margin-bottom: 0; }
.news-sidebar .image-blog { flex: 0 0 85px; width: 85px; }
.news-sidebar .image-blog img { width: 85px; height: 65px; object-fit: cover; }
.news-sidebar .content_blog { min-width: 0; }
.news-sidebar .content_blog h3 { font-size: 14px; line-height: 1.5; }
.news-article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: #666; margin-bottom: 20px; }
.news-article-image { display: block; max-width: 100%; height: auto; margin: 0 auto 24px; border-radius: 6px; }
.news-storefront .article-content, .news-category-description { line-height: 1.8; overflow-wrap: anywhere; }
.news-storefront .article-content img, .news-storefront .article-content iframe, .news-category-description img { max-width: 100%; }
.news-storefront .article-content img, .news-category-description img { height: auto; }
.news-storefront .article-content table { display: block; max-width: 100%; overflow-x: auto; }
.news-storefront .article-content :is(h2,h3,h4) { scroll-margin-top: 110px; }
.news-toc { border: 1px solid #eee; background: #fafafa; padding: 16px; margin-bottom: 24px; border-radius: 6px; }
.news-toc[hidden] { display: none; }
.news-toc summary { font-weight: 700; cursor: pointer; }
.news-toc ol { margin: 12px 0 0; padding-left: 24px; }
.news-toc a { color: #111; }
.news-toc .news-toc-subheading { margin-left: 16px; }
.news-related { margin-top: 40px; }
.news-storefront .pagenav .pagination { justify-content: center; flex-wrap: wrap; }
@media(max-width:767px) {
 .news-storefront .title-page, .news-storefront .article-title { font-size: 24px; }
 .news-sidebar { margin-top: 24px; }
}

/* Item tin tức theo template: ảnh cùng tỉ lệ 3:2, tiêu đề 2 dòng, mô tả 3 dòng (văn bản thuần) */
.item-blog { margin-bottom: 30px; height: calc(100% - 30px); display: flex; flex-direction: column; }
/* main.css đã tạo khung tỉ lệ ở .block-thumb (padding-bottom:67%); a.thumb phủ kín khung đó */
.item-blog .block-thumb { background: #f5f5f5; }
.item-blog .block-thumb .thumb { position: absolute; inset: 0; display: block; overflow: hidden; }
.item-blog .block-thumb .thumb img { position: absolute; inset: 0; margin: 0; width: 100% !important; height: 100% !important; max-height: none; object-fit: cover; transition: transform .3s ease; }
.item-blog .block-thumb .thumb:hover img { transform: scale(1.05); }
.item-blog .block-thumb .time-post { z-index: 2; }
.item-blog .block-content h3 { font-size: 18px; line-height: 1.4; margin: 15px 0 10px; min-height: calc(2 * 1.4em); }
.item-blog .block-content .justify { margin: 0; font-size: 15px; line-height: 1.6; color: #444; font-family: inherit; }
.line-clamp { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.related-blogs .swiper-slide { height: auto; }
