/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.news-category {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-header h2 {
    font-size: 22px;
    font-weight: bold;
}

.view-all {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.news-list .post-featured {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
}

.news-list .post-featured img {
    width: 100%;
    height: auto;
}

.news-list .side-posts .post-small {
    display: flex;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
}

.post-small .thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
}

.post-small .post-info h4 {
    font-size: 14px;
    margin: 0 0 5px;
}

.post-small .post-meta {
    font-size: 12px;
    color: #999;
}
strong.uppercase.header-menu {
    background: #0F62AC;
    padding: 10px;
    color: #fff;
    border-radius: 20px;
}
/*Trang-chu*/
.see-more-button a.button.primary::after {
    content: "\f061"; 
    font-family: "Font Awesome 5 Free"; 
    display: inline-block;
    margin-left: 5px;
}
/*tin-tuc*/
/* Khung bài viết*/
.post-big {
    position: relative;
    border: 1px solid #eee;
    margin-bottom: 15px;
    overflow: hidden;
}

.post-big .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-big .post-content {
    padding: 10px 0;
}

.post-big .post-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.post-big .post-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.post-big .link-view-detail {
    font-size: 13px;
    color: #0F62AC;
    text-transform: uppercase;
    font-weight: bold;
}

/* Bài viết nhỏ*/

.post-item2:last-child {
    border-bottom: none;
}

.post-item2 .post-content h4 {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
}

.home-title3 h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 1px solid #cbcbcb;
    display: inline-block;
    padding-bottom: 5px;
	color: #1163AD;
    text-transform: uppercase;
}
.post-item2 {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.post-item2 .post-thumbnail {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 10px;
}

.post-item2 a {
    display: flex;
    align-items: center; 
    text-decoration: none; 
}

.post-item2 .post-thumbnail {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 10px;
}

.post-item2 .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item2 .post-content {
    flex: 1;
}

.post-item2 .post-content h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}
.post-content .post-date {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-content .post-date i {
    font-size: 12px;
    color: #aaa;
}
/**widget**/
.widget-post-list {
    width: 100%;
}

.widget-post-list .widget-post-item {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f2f2f2;
    align-items: center;
}

.view_item .inner-icon {
    width: 27px;
}

.view_item .widget-post-content {
    width: calc(100% - 27px) !important;
    float: left;
    padding-left: 10px;
}

.view_item .inner-icon span {
       font-size: 18px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    background: #cccccc;
    display: block;
    float: left;
    text-align: center;
    line-height: 35px;
    border-radius: 100%;
    color: #fff;
    margin-right: 10px;
}

.widget-post-list .widget-post-item:first-child .inner-icon span {
    background: #0F62AC; 
    color: #fff;
}


.widget-post-list .widget-post-item:nth-child(2) .inner-icon span {
    background: #2196F3; 
    color: #fff;
}

.widget-post-list .widget-post-item:nth-child(3) .inner-icon span {
    background: #55aeff; 
    color: #fff;
}

.view_item {
    border: 0px !important;
}

.widget-title.view_title {
    background: transparent;
    padding: 0px !important;
    text-transform: unset !important;
}


.widget-title.view_title h3 {
    text-transform: unset !important;
    text-align: left;
        font-weight: 700;
    border-bottom: solid 1px #d7d7d7;
    padding-bottom: 3px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.widget-post-list .widget-post-item:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
}

.widget-post-list .widget-post-item a {
    display: flex;
}

.widget-post-list .widget-post-item .widget-post-thumbnail {
    width: 120px;
    float: left;
    height: 80px;
    border: 1px solid #f2f2f2;
}

.widget-post-list .widget-post-item .widget-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-list .widget-post-item .widget-post-content {
    width: calc(100% - 120px);
    float: left;
    padding-left: 10px;
}

.widget-post-list .widget-post-item .widget-post-content h3 {
    display: inline-block;
    color: #000;
    font-size: 15px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
    line-height: 24px;
}

.view_item h3 {
    font-weight: normal !important;
}

.widget-post-list .widget-post-item .widget-post-content h3:hover {
    color: var(--primary-color3);
}

.widget-post-list .widget-post-item .widget-post-content .post-meta {
    color: gray;
    font-size: 13px
}

.widget-post-list .widget-post-item .widget-post-content .product-price ins,
.widget-post-list .widget-post-item .widget-post-content .product-price ins span,
.widget-post-list .widget-post-item .widget-post-content .product-price b {
    color: #ff3333;
    font-size: 14px;
}

.widget-post-list .widget-post-item .widget-post-content .product-price del {
    color: gray;
    font-size: 13px;
    margin-left: 5px;
}

.widget-title {
    margin: 0 0 15px 0;
    width: 100%;
    display: block;
    background: #f2f2f2;
    text-transform: uppercase !important;
}

.widget-title h3, .widget-title span {
    color: #333;
    margin: 0px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

.widget-post-vertical a {
    display: block !important;
    flex-flow: wrap;
}

.widget-post-vertical .widget-post-thumbnail {
    width: 100% !important;
    height: 180px !important;
}

.widget-post-vertical .widget-post-content {
    width: 100% !important;
    padding: 10px 0 0 0 !important;
    border: 0px;
}

.is-divider.small {
    display: none;
}

.widget_categories ul, .widget_product_categories ul {
    margin-top: -5px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAEklEQVQImWNgYGCQYiAAhoYCAEfjALcmCP1hAAAAAElFTkSuQmCC)
}

.widget_categories ul li, .widget_product_categories ul li {
    width: 100%
}

.widget_categories ul li a, .widget_product_categories ul li a {
    width: 100%;
    display: block;
    color: #333;
    padding: 10px 15px !important;
    background: #e4e4e499;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s
}

.widget_categories ul li a:before, .widget_product_categories ul li a:before {
    content: "\f45c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 6px;
    vertical-align: middle;
    margin-right: 10px;
    color: var(--primary-color)
}

.widget_categories ul li:hover a, .widget_product_categories ul li:hover a {
    background: var(--primary-color) !important;
    color: #fff
}
/**post item**/
.post-item {
    width: 100%;
    transition: 0.3s ease-in-out;
}

.post-item .post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.post-item:hover .post-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}

.post-item .post-content {
    width: 100%;
    padding: 15px 0 0 0;
}

.post-item .post-meta i {
    color: var(--primary-color3);
    margin-right: 2px;
}

.post-item .post-meta {
    display: flex;
    justify-content: space-evenly;
    font-size: 13px;
    color: #000;
/*     border-bottom: 1px solid #ccc; */
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
}

.post-item .post-content h4 a {
    font-size: 15px;
    line-height: 18px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
    height: 40px;
}

.post-item .post-content h4 {
    margin: 0 0 10px 0 !important;
}

.post-item .post-content h4 a:hover {
    color: var(--primary-color3)
}

.post-item .post-content {
    position: relative;
}

.post-item .post-content .post-desc {
    color: #616161;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-item .post-content .post-btn a {
    color: #000 !important;
    background: transparent !important;
    font-weight: 700 !important;
    font-size: 13px;
    text-transform: uppercase;
}

.post-item .post-content .post-btn a:hover {
    background: var(--primary-color3) !important;
    color: #fff !important;
}

.post-item .post-content .post-btn {
    position: unset !important;
    margin: 0px !important;
    float: none !important;
    text-align: center;
    border-top: 1px solid #eaeaea;
    padding-top: 13px !important;
}

.post-item .post-content .post-btn a:after {
    content: "";
    background: url(../images/icon-cate-h.jpg);
    width: 10px;
    height: 11px;
    background-size: 100% !important;
    display: inline-block;
    margin-left: 5px;
}

/**post big**/
.post-big {
    width: 100%;
    transition: 0.3s ease-in-out;
}

/* .post-big .post-thumbnail {
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
} */

.post-big .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.post-big:hover .post-thumbnail img {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
}

.post-big .post-content {
    width: 100%;
    padding: 15px 0 0 0;
}

.post-big .post-meta span:first-child {
    border-right: 1px solid #ffffff80;
    padding-right: 6px;
}

.post-big .post-meta span:last-child {
    padding-left: 6px;
}

.post-big .post-content h4 a {
    font-size: 25px;
    line-height: 35px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
        color: #3A4A9F;
}

.post-big .post-content h4 {
    margin: 0 0 8px 0 !important;
}

.post-big .post-content h4 a:hover {
    color: var(--primary-color3);
}

.post-big .post-content .post-desc {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

.post-big .post-content .post-meta {
    color: #767676;
    font-size: 15px;
}
.post-big {
    position: relative;
    overflow: hidden;
}

.post-big .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-big .post-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
}

.post-big .post-title a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.post-big .post-meta {
    font-size: 14px;
    opacity: 0.9;
}

/**post list**/

.post-list {
    width: 50%;             
    float: left;            
    padding: 10px;          
    box-sizing: border-box;  
    border-top: none;        
}


.post-list .post-content {
    width: 100%;
    padding: 0;
}

.post-list .post-content h4 a {
    font-size: 16px;
    line-height: 22px;
}
.post-list .post-meta {
    font-size: 13px;
    color: #999;
    margin: 4px 0;
}

.post-list .post-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin-top: 5px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}
/*danh-muc-con*/
.news-subcats-tabs {
    display: flex;

    gap: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}
.news-subcats-tabs .news-tab {
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    padding: 8px 15px;
    text-decoration: none;
}
.news-subcats-tabs .news-tab.active {
    color: #000;
    border-bottom: 2px solid #0F62AC; 
}
.news-subcats-tabs .news-tab:hover {
    color:#0F62AC;
}
.col.medium-12.noPadding {
    display: none;
}
.newss .post-item .post-meta {
    display: flex
;
    justify-content: left;
    font-size: 13px;
    color: #fff;
   
    padding: 0;
    margin: 0;
}
.newss .box-blog-post .is-divider {
    margin-top: .5em;
    margin-bottom: .5em;
    height: 2px;
    display: none;
}
/*danh muc sp*/
.category-banner {
    margin-bottom: 50px; 
    text-align: center;
}

.category-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.nav-tabs-scroll {
    display: flex;
    border: 1px solid #ddd;
    border-bottom: none;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.nav-tabs-scroll li {
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
}
.nav-tabs-scroll li:last-child {
    border-right: none;
}
.nav-tabs-scroll li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.nav-tabs-scroll li a:hover,
.nav-tabs-scroll li.active a {
    font-weight: 700;
    border-bottom: 2px solid #28a745;
    color: #000;
}
.woocommerce-tabs.wc-tabs-wrapper.container.custom-tabs-wrapper h2, h3.product-section-title.container-width.product-section-title-related.pt-half.pb-half.uppercase  {
    color: #0F62AC;
    text-transform: uppercase;
}
.nav-tabs-scroll li a:hover, .nav-tabs-scroll li.active a
 {
    font-weight: 700;
    border-bottom: 2px solid #0F62AC;
    color: #0F62AC;
}
h3.product-section-title.container-width.product-section-title-related.pt-half.pb-half.uppercase {
    margin-left: 0;
}
ul.tabs.wc-tabs.product-tabs.nav-tabs-scroll {
   
    font-size: 18px;
  
    background: linear-gradient(rgb(249 249 249), rgb(236 236 236));
}

.nav-tabs-scroll li
 {
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
    margin-bottom: 0;
}
.variations {
    position: relative;
    display: none;
}

.service-box {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 10px;
}

.service-box h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.service-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-box li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.service-box li i.icon {
  font-size: 22px;
  color: #4CAF50; 
  margin-right: 10px;
  width: 24px;
  text-align: center;
}
.devvn_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding-bottom: 30px;
}
/*chi tiet sp*/
.product-small.box {
    border: 1px solid #d9d9d96e;
    padding: 15px;
    box-shadow: 0 0 5px 1px #80808063;
}
.product-footer .woocommerce-tabs {
    padding: 0;
    border-top: none;
}
span.amount {
    white-space: nowrap;
    color: #E51111;
    font-weight: bold;
}
/*tab*/
/* Sticky Tabs */
.nav-tabs-scroll {
    position: sticky;
    top: 70px; 
    background: #fff;
    z-index: 999;
    display: flex;
    gap: 20px;

}
.nav-tabs-scroll li {
    list-style: none;
}
.nav-tabs-scroll a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 8px 15px;
    display: inline-block;
}
.nav-tabs-scroll a.active {
    color: #d00; 
    border-bottom: 2px solid #d00;
}
/*Trang-chu*/
.about-us-home .title {
    width: 100%;
    float: left;
    margin-top: 52px;
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: solid 2px #1163AD;
}
.about-us-home .title .title-1 {
    width: 100%;
    float: left;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    text-transform: uppercase;
}
.about-us-home .title .title-2 {
    width: 100%;
    float: left;
    font-size: 30px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 5px;
}
.pro-home-hot .header-title {
    position: relative;
    display: inline-block;       
    font-size: 24px;             
    font-weight: bold;
    text-transform: uppercase;   
    margin: 0 auto 20px;         
    text-align: center;
}

.pro-home-hot .header-title::after {
    content: "";
    position: absolute;
    left: 50%;                   
    bottom: -5px;               
    transform: translateX(-50%); 
    width: 60px;                 
    height: 2px;                 
    background-color: #1163AD;   
    border-radius: 2px;
}
.new-tin .post-item .post-meta {
    display: flex
;
    justify-content: left;
    font-size: 13px;
    color: #000;
    
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
}
.new-tin .is-divider {
    display: none;
}
/*san-pham*/
.price {
    font-weight: 700;
    color: #ed3237;
    display: inline-block;
    font-size: 22px;
    width: 100%;
    float: left;
    height: 25px;
    line-height: 25px;
    margin-bottom: 10px;
}
.xem-chi-tiet-btn {
        display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    color: #999999;
    padding: 0px 30px;
    line-height: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 19px;
    border: solid 1px #999999;
	background: #fff;
}
.xem-chi-tiet-btn::after {
    content: "\f061"; 
    font-family: "Font Awesome 5 Free"; 
    display: inline-block;
    margin-left: 5px;
}
.box-text.box-text-products.text-center.grid-style-2 {
    min-height: 210px;
}
/* Cố định  */
.custom-view-details {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}
/*end*/
.box-text.box-text-products .title-wrapper
 {
    min-height: 40px;
}
.custom-product-meta {
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
	    margin-bottom: 20px;
}

.custom-product-meta .star-rating {
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

.custom-product-meta .review-count {
    color: #555;
    font-size: 13px;
}
.product-short-description ul li {
    width: 100%;
    float: left;
    font-size: 14px;
    color: #222222;
    list-style: none;
    font-weight: 300;
}
.product-short-description ul li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    display: inline-block;
    margin-right: 8px;
    color: #0F62AC; 
}
button.button.buy_now_button {
    width: 35%;
}
th:first-child, td:first-child
 {
    padding-left: 10px;
}
table {
  border-collapse: collapse;
  border: 1px solid #000;
	
}
table td, table th {
    border: 1px solid #cecece;
    padding: 10px;
}
div#product-sidebar {
    margin: 0;
    padding: 0;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
    display: none;
}

.page-title-inner {
    position: relative;
    padding-top: 0 !important;
    min-height: 60px;
}
.new-tin span.link-view-detail {
    display: none;
}
/*menu*/
ul.sub-menu.nav-dropdown.nav-dropdown-default.nav-dropdown>li>a:hover,.ux-menu-link--active .ux-menu-link__link, .ux-menu-link:hover .ux-menu-link__link
 {
    color: #0F62AC;
}
.nav-dropdown>li>a,.nav-dropdown {
    color: #000000;  
}

/*tin-tuc-lien-quan*/
/* Khối tổng */
.related-news-wrapper{
  margin-top:50px;
  padding:40px 0;
  border-top:1px solid #eee;
}
.related-news-title{
  margin:0 0 20px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
}

/* Lưới 4 cột desktop, co giãn responsive */
.related-news-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

/* Thẻ bài */
.related-news-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.related-news-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  border-color:#e5e7eb;
}

/* Ảnh */
.card-thumb{
  display:block;
  position:relative;
  overflow:hidden;
  aspect-ratio: 4 / 3;        
  background:#f6f7f9;
}
.card-thumb .thumb-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}
.related-news-card:hover .thumb-img{
  transform: scale(1.05);
}

/* Placeholder  */
.card-thumb.no-thumb .thumb-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  color:#888;
  background: repeating-linear-gradient(
    -45deg,
    #f3f4f6, #f3f4f6 10px,
    #eef0f3 10px, #eef0f3 20px
  );
}

/* Nội dung */
.card-body{
  padding:12px 14px 16px;
}
.card-title{
  font-size: clamp(15px, 1.8vw, 16px);
  line-height:1.4;
  margin:6px 0 8px;
  font-weight: 700;
}
.card-title a{
  color:inherit;
  text-decoration:none;
}
.card-title a:hover{
  text-decoration:underline;
}
.card-excerpt{
  font-size:14px;
  line-height:1.6;
  color:#555;
  margin:0;
}

/* Item rỗng */
.related-news-card.is-empty .card-title,
.related-news-card.is-empty .card-excerpt{
  color:#777;
}

/* Responsive */
@media (max-width: 1200px){
  .related-news-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 1024px){
  .related-news-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 768px){
  .related-news-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px){
  .related-news-grid{ grid-template-columns: 1fr; }
  .card-body{ padding:12px; }
}

