/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.text-justify {
  /* text-align: justify;*/
}
.resource-card .box-text {
 padding:10px;
}
.d-flex{
display: flex;
}
.gap-10 {
 gap:10px;
}
.flex-1 {
flex:1;
}
.thumb {
flex-basis: 80px;
}
/* Style cho khung lưới Grid trang Search */
.related-tai-lieu {
 padding-top:60px;
}
.related-tai-lieu h4 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.related-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
   padding-top: 10px;
}

.related-item .title {
    font-size: 14px;
    line-height: 1.4;
}

.related-item img {
    border-radius: 6px;
}


.search-grid .col-inner {
    height: 100%;
    margin-bottom: 20px;
}

.resource-title, .resource-excerpt, .link-more {
  padding: 10px;
}

/* Card chung */
.resource-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all .3s;
    height: 100%;
}

.resource-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-color: #cb2027; /* Màu đỏ thương hiệu của bạn */
}

/* Metadata (Article/Document) */
.resource-meta {
    color: #cb2027;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Tiêu đề */
.resource-title {
    color: #111;
    line-height: 1.3;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Read More */
.link-more {
    color: #cb2027;
}

/* Phân trang */
.page-numbers {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #eee;
    margin: 0 3px;
    color: #333;
}

.page-numbers.current {
    background: #cb2027;
    color: #fff;
    border-color: #cb2027;
}

/* Style cho từng Item Card */
.box-search-card {
    border: 1px solid #ededed;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hiệu ứng Hover: Nổi lên và đổ bóng */
.box-search-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #ccc;
}

/* Đảm bảo ảnh tràn viền, bo góc trên */
.box-search-card .box-image {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
}

/* Làm cho Box Text luôn nằm dưới cùng */
.box-search-card .box-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.box-search-card .box-text-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Giới hạn tiêu đề chỉ hiển thị 2 dòng */
.box-search-card .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1c1c1c; /* Màu chữ tiêu đề */
}

/* Style cho nhãn loại bài viết (category) */
.box-search-card .search-category {
    color: #cb2027; /* Màu đỏ chủ đạo của logo bạn */
}

/* Hiệu ứng cho toàn bộ Card */
.box-search-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !0important;
}

.box-search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

/* Hiệu ứng phóng nhẹ ảnh khi hover */
.box-search-card:hover .box-image img {
    transform: scale(1.05);
}

/* Giới hạn tiêu đề tối đa 2 dòng để các card đều nhau */
.box-search-card .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px; /* Điều chỉnh tùy font size */
}



.wpcf7-spinner {
	display: none;
}

.ff-btn-submit{
  border-radius: 10px;
  border: 1px solid #dd4124;
  color: #dd4124;
}
.ff-btn-submit:hover
{
   background: #dd4124;
    color: #fff;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
box-shadow: unset;
border-radius: 10px;
}

select.ff-el-form-control:not([size]):not([multiple]) {
    padding-top: 5px;
    padding-bottom: 5px;
}
.border-ra img {
 border-radius:10px;
}
.hero-text {
color: #fff;
}
.home-buttom {
    background: transparent;
    color: red;
    border: none;
   font-style: italic;
   width: 100%;
   text-align: right;
}
.home-buttom:hover {
  background: transparent !important;
  color: #253668;
 box-shadow: unset;
}
/* 1. Đảm bảo Slider có chiều cao hiển thị */
.custom-news-slider-wrapper .flickity-viewport {
    height: auto !important;
    min-height: 400px; /* Chỉnh con số này theo ý muốn */
}

/* 2. Ép chiều cao các cột bằng nhau */
.custom-news-slider-wrapper .flickity-slider {
    display: flex !important;
}

.custom-news-slider-wrapper .col {
    height: 100% !important;
    display: flex !important;
}

.custom-news-slider-wrapper .box-item-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
    height: 100%; /* Quan trọng cho Equal Height */
}

/* 3. Fix lỗi ảnh bị ẩn hoặc không hiện */
.custom-news-slider-wrapper .post-image {
    width: 100%;
    height: 200px; /* Ép chiều cao ảnh cố định */
    background: #f5f5f5; /* Hiện nền xám trong lúc load */
}

.custom-news-slider-wrapper .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important; /* Đảm bảo ảnh không bị mờ/ẩn */
    visibility: visible !important;
}

/* 4. Nội dung text bên dưới */
.custom-news-slider-wrapper .post-info-box {
    padding: 20px;
    flex-grow: 1; /* Đẩy nội dung chiếm hết khoảng trống còn lại */
    display: flex;
    flex-direction: column;
}

.custom-news-slider-wrapper .post-date-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.custom-news-slider-wrapper .post-title-custom {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.custom-news-slider-wrapper .post-title-custom a {
    color: #333;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge màu xanh */
.badge-blue {
    background: #0056b3;
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
/*nguyen van teo*/
.wpls-logo-cnt.slick-slide img {
    width: 250px;
    object-fit: contain;
}
.slick-dots {
display: none !important;
}

/*************** ADD CUSTOM CSS HERE.   ***************/
p {
    font-size: 18px; /* Bạn có thể thay đổi số 18 tùy ý */
    line-height: 1.6; /* Giúp khoảng cách giữa các dòng thoáng hơn, dễ đọc hơn */
}
h1,h2,h3,h4,h5,h6 {
color: #DD4124;
}
/*
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  color: #253668;
}
*/

.s-logo-footer img {
	width:200px;
}
.s-title {
  font-size:1.2em;
}
.s-solution{

}

.s-solution-item{
  display: flex;
}
.header-nav > li {
   /* margin: 0 18px;*/
}
.nav-dropdown {
    min-width: 350px;
}
.nav-dropdown li a {
    padding: 10px 20px;
}
.nav-dropdown li a:hover {
    background: #f5f5f5;
}
.nav-dropdown .row {
    column-gap: 60px;
}

.custom-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    font-size: 0.9em;
    color: #666;
}

.custom-breadcrumb li {
    display: inline;
}

.custom-breadcrumb li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-breadcrumb li a:hover {
    color: #007cba; /* Hoặc màu chủ đạo của Sooner */
}

.custom-breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.col-inner ol li.s-bread-item {
margin-left:0px;
margin-bottom:0px;
}
.s-about-hero img {
border-radius: 10px;
}
.bread-col {
padding-top: 5px;
padding-bottom: 5px;
}

.about-section{
  padding:80px 0;
  background:
  linear-gradient(
      rgba(255,255,255,0.95),
      rgba(255,255,255,0.85)
  ),
  url('./assets/img/city-tech-bg.png');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.col-padding-bottom {
padding-bottom: 0px;
}
.s-item{
margin-top:20px;
margin-bottom:20px;
}
.s-su-menh .col-inner {
       padding: 12px !important;
        border-radius: 20px;
        margin-right: auto;
        background: #F0F1F6;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        color: #253761;
}

.divider-title {
  display: flex;       /* Kích hoạt flexbox */
  align-items: center; /* Căn giữa đường kẻ và chữ theo chiều dọc */
  text-align: center;  /* Căn giữa chữ */
  color: #34495e;      /* Màu chữ (điều chỉnh theo hình của bạn) */
  font-family: sans-serif;
  font-weight: bold;
}

.divider-title::before,
.divider-title::after {
  content: "";
  flex: 1;             /* Để đường kẻ chiếm hết khoảng trống còn lại */
  height: 1px;         /* Độ dày của đường kẻ */
  background: #dcdde1; /* Màu của đường kẻ */
}

/* Khoảng cách giữa chữ và đường kẻ */
.divider-title::before {
  margin-right: 15px;
}

.divider-title::after {
  margin-left: 15px;
}
.f-white {
color: #f0f0f0;
}

/* Container Breadcrumb */
.custom-breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    flex-wrap: nowrap; /* Ép nằm trên 1 dòng */
    overflow: hidden;
}

.s-bread-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #666;
}

.s-bread-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.s-bread-item a:hover {
    color: #e65100; /* Màu cam Sooner */
}

.separator {
    margin: 0 8px;
    color: #ccc;
    flex-shrink: 0;
}

/* Trang hiện tại - In đậm hoặc đổi màu */
.current-item {
    font-weight: 500;
    color: #333;
}

/* Tối ưu đặc biệt cho Mobile */
@media (max-width: 480px) {
    .custom-breadcrumb ol {
        font-size: 13px;
    }

    .s-bread-item {
        max-width: 100px; /* Giới hạn độ dài mỗi mục con */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Tự thêm ... nếu chữ dài */
        display: block; /* Cần thiết để ellipsis hoạt động */
    }

    /* Mục hiện tại trên mobile có thể cho dài hơn một chút hoặc giữ nguyên */
    .current-item {
        max-width: 150px; 
    }

    .separator {
        margin: 0 5px;
    }
    
    .s-bread-item.dots {
        max-width: none;
        overflow: visible;
    }
}
.box-blog-post {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.box-blog-post {
  display: flex;
  flex-direction: row;	
  flex: 1;
}
.box-blog-post .box-image {
  flex: 0.3;
}
 
.box-blog-post .box-text {
	display: flex;
    flex: 0.7;
}
.box-blog-post .box-text .blog-post-inner {
    margin-left: 10px;
    text-align: left;
    margin-right: auto;
}
.box-shadow-1, .box-shadow-1-hover:hover, .row-box-shadow-1 .col-inner, .row-box-shadow-1-hover .col-inner:hover {
box-shadow: unset;	
}
.post-date{
display:none;
}
.details-post-title {
padding-top: 60px;
}
.post-header-custom .post-categories a {
    background: #dd4124;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
    color: #fff;
    padding:10px;
}
.post-header-custom .post-categories {
  padding-bottom: 20px;
  line-height: 50px;
}

.related-posts-vertical h4{
font-size:18px;
margin-bottom:15px;
}

.related-post-item{
display:flex;
gap:12px;
margin-bottom:15px;
}

.related-post-item img{
width:90px;
height:70px;
object-fit:cover;
border-radius:4px;
}

.related-post-content h5{
font-size:14px;
margin:0 0 5px;
line-height:1.4;
}

.related-post-content .date{
font-size:12px;
color:#777;
}
.related-posts-card{
margin-top:20px;
}

.related-title{
font-size:18px;
font-weight:600;
margin-bottom:15px;
}

.related-card{
display:block;
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
margin-bottom:20px;
text-decoration:none;
color:#333;
transition:transform .25s ease;
}

.related-card:hover{
transform:translateY(-5px);
}

.related-card-image img{
width:100%;
height:180px;
object-fit:cover;
display:block;
}

.related-card-content{
padding:12px 15px;
}

.related-card-title{
font-size:15px;
line-height:1.4;
margin-bottom:5px;
}

.related-card-date{
font-size:12px;
color:#777;
}
.category-post-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:30px;
}

.category-card{
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:all .25s ease;
}

.category-card:hover{
transform:translateY(-5px);
}

.category-card-image img{
width:100%;
height:220px;
object-fit:cover;
}

.category-card-content{
padding:15px;
}

.category-card-title{
font-size:18px;
line-height:1.4;
margin-bottom:8px;
}

.category-card-meta{
font-size:13px;
color:#777;
}
.custom-page-cate {
padding-top:60px;
padding-bottom:60px;
}

.post-title.is-large {
text-transform: uppercase;
font-size: 1.25em;
} 

/* main menu */
#masthead .nav > li > a{
  font-size:14px;
  font-weight:600;
  padding: 5px 1px;
  letter-spacing: 0.3px;
}

/* hover */
#masthead .nav > li > a:hover {
  color:#e21e2b;
}

/* submenu */
#masthead .nav-dropdown{
  border-radius: 10px;
  border:none;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

#masthead .nav-dropdown li a{
  font-size:16px;
  padding:10px 16px;
}

.nav-dropdown>li.nav-dropdown-col {
    display: table-cell;
    min-width: 200px;
    width: 200px;
}

#masthead .nav-dropdown li a:hover {
  background:#f5f7fa;
}
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after, .nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before {
 opacity:0;
}
.job-title {
font-size:20px;
}
.doi-tac-container{
    padding-top: 60px;
}
.sooner-khach-hang-grid {
    display: grid;
    gap: 20px;
    padding-bottom:60px;
}

.sooner-khach-hang-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.kh-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.kh-card img {
    object-fit: contain;
    margin: auto;
}

.kh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Tablet */
@media (max-width: 1024px) {
    .sooner-khach-hang-grid.columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sooner-khach-hang-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}


.sooner-cat-tree {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
}

.sooner-cat-tree li {
    margin: 6px 0;
    position: relative;
}

.sooner-cat-tree a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
}

.sooner-cat-tree li.active > a {
    background: #e60023;
    color: #fff;
}

.sooner-cat-tree ul {
    padding-left: 15px;
    border-left: 1px solid #eee;
    margin-top: 5px;
}

.sooner-cat-tree ul {
    display: none;
}
.sooner-cat-tree li.open > ul {
    display: block;
}

.ff-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.ff-popup.active {
    opacity: 1;
    visibility: visible;
}

.ff-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 320px;
    transform: translateY(20px);
    transition: 0.3s;
}

.ff-popup.active .ff-popup-content {
    transform: translateY(0);
}

.ff-icon {
    font-size: 40px;
    color: #22c55e;
    margin-bottom: 10px;
}

.ff-close {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #0073aa;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.sooner-cat-tree {
    list-style: none;
    padding-left: 0;
}

.sooner-cat-tree li {
    margin-bottom: 5px;
}

.sooner-cat-tree a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.sooner-cat-tree a:hover {
    background: #f1f1f1;
}

.sooner-cat-tree a.active {
    background: #0073aa;
    color: #fff;
}

.doc-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* ===== TREE WRAPPER ===== */
.sooner-cat-tree {
    list-style: none;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ===== ITEM ===== */
.sooner-cat-tree li {
    position: relative;
    margin: 4px 0;
}

/* ===== LINK ===== */
.sooner-cat-tree a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    border-radius: 6px;
    transition: all 0.25s ease;
}

/* ICON (folder) */
.sooner-cat-tree a::before {
    content: "📁";
    margin-right: 8px;
    font-size: 14px;
}

/* ===== HOVER ===== */
.sooner-cat-tree a:hover {
    background: #f5f7fa;
    color: #0073aa;
    transform: translateX(3px);
}

/* ===== ACTIVE ===== */
.sooner-cat-tree a.active {
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: #fff;
    font-weight: 500;
}

/* ===== CHILD TREE ===== */
.sooner-cat-tree ul {
    list-style: none;
    padding-left: 18px;
    margin-top: 4px;
    border-left: 1px dashed #ddd;
}

/* ICON CHILD */
.sooner-cat-tree ul a::before {
    content: "📄";
}

/* ===== OPEN/CLOSE ===== */
.sooner-cat-tree li > ul {
    display: none;
}

.sooner-cat-tree li.open > ul {
    display: block;
}

/* ===== ARROW ===== */
.sooner-cat-tree li > a::after {
    content: "▸";
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.2s;
}

.sooner-cat-tree li.open > a::after {
    transform: rotate(90deg);
}
.sooner-cat-tree {
    max-height: 500px;
    overflow-y: auto;
}


/* ===== ITEM ===== */
.sooner-doc-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

/* ===== IMAGE ===== */
.doc-thumb img {
    width: 220px;
    height: auto;
    border-radius: 6px;
}

/* ===== CONTENT ===== */
.doc-content {
    flex: 1;
}

.doc-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.doc-title a {
    color: #2c5cc5;
    text-decoration: none;
}

.doc-title a:hover {
    text-decoration: underline;
}

.doc-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ===== BUTTON ===== */
.doc-btn {
    display: inline-block;
    background: #e26a2c;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.doc-btn:hover {
    background: #c95a22;
}

@media (max-width: 849px) {
    .sooner-doc-item {
        flex-direction: column;
    }

    .doc-thumb img {
        width: 100%;
    }
}
.btn-demo {
  margin-left:10px;
}

/* Tùy chỉnh hộp thông báo chung */
div.wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    text-align: center;
    font-weight: bold;
}

/* Khi gửi thành công - Màu xanh y tế */
.wpcf7-mail-sent-ok {
    border: 2px solid #00a651 !important;
    background-color: #e6f6ed !important;
    color: #00a651 !important;
}

/* Khi có lỗi - Màu đỏ thông báo */
.wpcf7-validation-errors, .wpcf7-acceptance-missing {
    border: 2px solid #dd3333 !important;
    background-color: #fcf2f2 !important;
    color: #dd3333 !important;
}

/* Wrapper */
.sooner-khach-hang-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sooner-khach-hang-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .sooner-khach-hang-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .sooner-khach-hang-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Item */
.kh-item {
    display: block;
}

/* Card */
.kh-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Logo */
.kh-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover effect */
.kh-item:hover .kh-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.kh-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.doi-tac-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.doi-tac-filter li a {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.doi-tac-filter li a:hover {
    background: #0073aa;
    color: #fff;
}

.resource-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cat-item {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: 13px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.cat-item:hover,
.cat-item.active {
    background: #0073aa;
    color: #fff;
}

/* WRAPPER */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* BUTTON */
.ajax-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 12px;

    border-radius: 8px;
    border: 1px solid #e5e7eb;

    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
    cursor: pointer;

    transition: all 0.25s ease;
}

/* HOVER */
.ajax-page:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ACTIVE */
.ajax-page.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    font-weight: 600;
}

/* DISABLED (nếu có) */
.ajax-page.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* NEXT / PREV */
.ajax-page.prev,
.ajax-page.next {
    font-weight: 600;
    padding: 0 14px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
 .s-footer-col{
 padding-bottom: 0px;
}
.box-blog-post {
display:block;
}
.category-post-grid {
    display: block;
}




}