body {
    overflow-x: hidden;
}
.g_categories hr{
    width: 32px;
    height: 3px;
    background-color: #dcb42a;
    display: inline-block;
    margin: 10px 0;
    border: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.g_categories a:hover{
    text-decoration: none;
    color: #dcb42a;
}
.g_categories .selected{
    color: #dcb42a;
}

.g_categories:hover hr{
    width: 100%;
    transition: all .6s ease;
}

.item_categories{
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #cccccc;
}

.item_categories:hover{
    background: #cccccc;
}

.img_news{
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.publish_date{
    margin: 5px 0;
}


.filter-container {
    width: 300px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.filter-container h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.filter-list input[type="checkbox"] {
    margin-right: 10px;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    font-size: 16px;
}

.nested {
    list-style: none;
    padding: 0;
    margin-left: 20px;
    display: none;
}

.nested li {
    margin-bottom: 5px;
}

label input{
    margin-top: 0 !important;
}
#tin-cap-nhat-homepage .thong-bao-moi {
    background: url(../images/pattern-3.png) 0 0 repeat-y;
    padding: 15px 30px 0;
    margin-bottom: 20px;
}

.slick-slider {
    width: 100%;
    margin: 0 auto;
}
.hinh-anhx .slick-slide{
    padding-top: 12px;
}
.hinh-anhx .slick-track{
    margin-left: 6px;
}
.slick-slide img {
    width: 100%;
}

.slick-dots{
    bottom: 8px !important;
}
.slick-dots li button:before{
    font-size: 16px !important;
}
.row.client-thongbao h3 {
    color: #071f3b;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}
.title-tb {
    position: relative;
}

.title-tb hr {
    width: 32px;
    height: 3px;
    background-color: #dcb42a;
    display: block;
    margin: 10px auto;
    border: none;
    border-radius: 10px;
    transition: width 0.6s ease;
}
.title-tb:hover hr {
    width: 100%;
}

.limited-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.4em * 3);
}
#container-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}
#main-project h3{
    color: #d40b0b;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-top: 40px;
}
#main-new h3{
    color: #d40b0b;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-top: 40px;
}

#container-project-category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

#chuong-trinh-dao-tao-cdqn{
    padding: 40px 0;
    background:  #ff9800;
}

@media only screen and (max-width: 768px) {
    #container-new {
        grid-template-columns: 1fr;
    }
    #container-project-category {
        grid-template-columns: 1fr;
    }
}

.section {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.section-header {
    background: linear-gradient(to bottom, #ff9800, #ffffff);
    padding: 6px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #d40b0b;
    padding: 0 10px;
}

.section-content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.sub-section-container {
    display: flex;
    overflow-x: hidden;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    gap: 10px;
}

.sub-section-container:hover {
    overflow-x: auto;
}

.sub-section {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: calc(100% / 3 - 10px);
    max-width: calc(100% / 3 - 10px);
    word-wrap: break-word;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.sub-section:last-child {
    margin-right: 0;
}
.sub-section:last-child {
    border-right: none;
}

.sub-section img {
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
    transition: transform 0.3s ease;
}
.sub-section:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);

    text-decoration: none;
}
.sub-section:hover img {
    transform: scale(1.1);
}


.sub-section-container::-webkit-scrollbar {
    height: 8px;
}

.sub-section-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.sub-section .text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 3);
    color: #232323;
    font-weight: 600;
    font-size: 13px;
    height: 80px;
    padding: 0 6px;
}
.sub-section .text:hover {
    color: #008eec;
    transition: all .3s ease;
}
.main-filter {
    margin-bottom: 40px;
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    margin: o auto;
}

#loading img {
    width: 100px;
    height: auto;
}
.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .section-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
  }
  .section-title img {
    margin: 18px 0;
    max-width: 100%;
    height: auto;
  }
  .equal-height {
    height: 300px;
    object-fit: cover;
    width: 100%;
  }

  h3 {
    font-size: 16px;
    font-weight: bold;
  }
  h4 {
    font-size: 14px;
    font-weight: bold;
  }
  p, ul {
    text-align: justify;
  }
