/* 1. Thay đổi Font chữ toàn trang */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #1a73e8; /* Màu xanh hiện đại cho sát hạch */
    --accent-color: #fbbc04; /* Màu vàng biển báo */
    --text-dark: #202124;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Tái cấu trúc tiêu đề chung */
.title-main {
    text-align: center;
    margin-bottom: 50px;
}
.title-main span {
    max-width: 100%;
}
.title-main label:before {
    border-left: 0;
}

.title-main {
  text-align: center; /* Đảm bảo thẻ cha được căn giữa */
}

.title-main label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: inline-block; /* Bắt buộc để căn giữa theo chiều ngang */
  position: relative;
  padding-bottom: 5px; /* Tăng khoảng cách giữa chữ và gạch */
  color: #e4252a; /* Màu chữ đỏ giống trong ảnh */
  background:none;
  margin:0;
}

/* Căn giữa đường gạch đỏ */
.title-main label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* Đẩy lề trái đến giữa thẻ label */
  transform: translateX(-50%); /* Dịch chuyển ngược lại 50% độ dài đường gạch để căn giữa hoàn toàn */
  width: 30px; /* Độ dài đường gạch (tùy chỉnh cho vừa ý bạn) */
  height: 2px; /* Độ dày đường gạch (làm dày hơn cho giống ảnh) */
  background-color: #e4252a; /* Màu gạch đỏ */
}
.title-main-2 label {
    padding: 0;	
    padding-bottom: 5px;
}
.title-main-2 label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e4252a;
    transform: none;
}

img {
	max-width: 100%;
}
.hide {
    display: none!important;
}
.color_white{color:white;}
.base_color {color:#ec1f25;}
.base_color_2 {color:#ef8121;}

.main-img{width: 100%;height: auto;}
.font-bold {
	font-weight: bold;
}
.w100 {
	width: 100% !important;
}
.mg0 {
	margin: 0 !important;
}
.mgl0 {
	margin-left: 0;
}
.mgr0 {
    margin-right: 0;
}
.mgt0 {
    margin-top: 0;
}
.mgb0 {
    margin-bottom: 0;
}
.pd0 {
	padding: 0;
}
.pdl0 {
	padding-left: 0 !important;
}
.pdr0 {
    padding-right: 0 !important;
}
.mt15 {
    margin-top: 15px;
}
.h30 {height:30px;clear: both;}
.h50 {height:50px;clear: both;}
.h100 {height:100px;clear: both;}
.uppercase {
	text-transform: uppercase;
}
.mobile {
	display: none !important;
}
.text-center {
	text-align: center;
}
.cb:after {
	clear: both;
	content: '';
    display: block;
}
.scrollup {
    opacity: 1;
    position: fixed;
    bottom: 35px;
    right: 20px;
    display: none;
    z-index: 999;
}
a.scrollup:hover div {
	background: #386E97 !important;
}
a.scrollup:hover i {
	color: white !important;
}
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

.content-right h3 {
    font-size: 40px;
}
.slide-content {
    display: none;
}
.header {
	display:none;
}
.menu {
    position: relative;
	background: var(--color);
	padding:0;
}
.menu-mega {
    background: none;
}
.menu ul li a h2 {
    font-size: 16px;
    text-transform: initial;
}
.menu ul li:hover > a h2 {
    color: #fffac3;
}
.menu ul ul li:hover > a h2 {
    color: var(--color);
}
.owl-carousel .item:before, .owl-carousel .item:after {
	content:none;
}
.slider-container, .owl-carousel .item {
    /*height: 650px;*/
	height: calc(100vh - 90px);
}
.btn-date {
	width: 196px;
    background: linear-gradient(135deg, #e4252a 0%, #c31829 100%) !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(228, 37, 42, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    justify-content: center;
}
.btn-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 37, 42, 0.5) !important;
    color: #fff !important;
    background: #c31829 !important;
}
.btn-date {
    display: flex !important;
    align-items: center;
    gap: 12px; /* Tạo khoảng cách giữa icon và chữ */
    padding: 10px 5px !important;
}

.btn-date i {
    font-size: 18px !important; /* Giảm size xuống một chút để thanh thoát hơn */
    margin: 0 !important;
    vertical-align: middle;
}

.section-about img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;	
}
.section-video {
    width: 100%;
    border-radius: 8px; /* Độ bo tròn góc */
    overflow: hidden;    /* Bắt buộc có để cắt phần thừa của video tại góc */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Đổ bóng cho sang trọng hơn */
    background-color: #000; /* Nền đen tránh lộ khoảng trắng khi video chưa tải */
    line-height: 0;      /* Khử khoảng hở nhỏ dưới chân video */
	margin-top:0;
	height: 100%;
    width: 100%;
}

.section-video video {
	width: 100%;
    height: 100%;       /* Ép cao 100% theo cột trái */
    object-fit: cover;  /* Quan trọng: Giúp video lấp đầy khoảng trống mà không bị biến dạng */
    border-radius: 8px; /* Bo góc cho giống thiết kế */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Hiệu ứng đổ bóng nếu cần */
}

.area-banner {
    height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

.footer-article .wrap-content {
    padding: 50px 0 0 0;
}
.logo-footer {
    width: 130px;
    margin-bottom: 25px;
}

/* Container bao ngoài sử dụng Grid để chia 3 cột */
.post-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Chia 3 cột bằng nhau */
    gap: 30px; /* Khoảng cách giữa các item */
    padding: 20px 0;
}

/* Style cho từng Item tin tức */
.post-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color);
}

/* Xử lý hình ảnh */
.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: 0.5s;
}

.post-item:hover .post-image img {
    transform: scale(1.1);
}

/* Phần nội dung chữ */
.post-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.post-title a {
    color: var(--color) !important;
    text-decoration: none;
    transition: 0.2s;
    /* Giới hạn tiêu đề trong 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Đường gạch ngang nhỏ trang trí */
.is-divider {
    height: 2px;
    width: 40px;
    background-color: var(--color);
    margin: 10px 0 15px 0;
}

.post-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    /* Giới hạn mô tả trong 3 dòng để các box đều nhau */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Responsive: Trên máy tính bảng chia 2 cột, điện thoại 1 cột */
@media (max-width: 992px) {
    .post-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .post-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.control-carousel {
    top: calc(50% - 70px / 2);
    width: 40px;
    height: 40px;
	line-height: 40px;	
    font-size: 16px;	
}
.prev-slideshow {
    left: 10px;
}
.next-slideshow {
    right: 10px;
}

.footer-news:nth-child(1) {
    width: 40%;
}
.footer-news:nth-child(2) {
    width: 20%;
}
.footer-news:nth-child(3) {
    width: 28%;
}
.contact-footer p {
	color:#fff;
}
.content-about h3 {
    font-size: 32px;
    margin-bottom: 20px;
}
.section-date .slick-vertical .slick-slide {
    width: 100%;
}