.col_main_lg{float:left;width:800px}
.col_sub_lg{float:right;width:380px}
.breadcrumbs {margin-left: 10px;}
.breadcrumbs li a{padding:15px 0}
.pagination{text-align: center}

/* category tree */
.article_category {background:#f6f6f6;width: 100%;display: block;}
.article_category .breadcrumbs{width: auto;display: inline-block;float: left;}
.article_category>ul{display: inline-block;margin-left: 30px;}
.article_category>ul>li {display: inline-block;position: relative;}
.article_category ul li a{display: block;height: 48px;line-height:48px;box-sizing: border-box;padding: 0 10px;color: #444;width: 100%}
.article_category>ul>li>a{text-transform: uppercase;}
.article_category ul>li:hover>a, .article_category ul>li>a.active{border-bottom: 3px solid #ff5722;color: #ff5722}
.article_category ul li .sub_cat{position: absolute;display: none;width: 220px;left: 0;top: 40px;z-index: 89}
.article_category ul li .sub_cat ul{width: 100%;display: block;}
.article_category ul li:hover .sub_cat{display: block;background: #fff;border: 1px solid #ddd}
.article_category ul>li.hasub>a span:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

/* ======================================================
   OVERWRITE KHI THẺ CHA CÓ ID .vertical-layout
   ====================================================== */

/* 1. Thẻ cha xếp các bài viết theo cột dọc */
.vertical-layout.article-card-container {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Khoảng cách giữa các bài viết */
  margin: 0 auto;
}

/* 2. Chuyển thẻ bài viết thành hàng ngang */
.vertical-layout .article-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* 3. Khung ảnh bên trái với góc bo tròn lớn */
.vertical-layout .article-card-image-wrapper {
  width: 280px; /* Tùy chỉnh độ rộng ảnh theo nhu cầu */
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 12px; /* Bo tròn 4 góc ảnh */
  overflow: hidden;
}

#top-view.vertical-layout .article-card-image-wrapper {
  width: 120px; /* Tùy chỉnh độ rộng ảnh theo nhu cầu */
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 12px; /* Bo tròn 4 góc ảnh */
  overflow: hidden;
}


/* 4. Khung nội dung chữ bên phải */
.vertical-layout .article-card-content {
  padding: 4px 0 4px 20px; /* Khoảng cách từ ảnh sang khối chữ */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vertical-layout .article-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.vertical-layout .article-card-description {
  font-size: 13.5px;
  color: #444444;
  line-height: 1.45;
  margin-bottom: 12px;
}

.vertical-layout .article-card-date {
  font-size: 11.5px;
  color: #888888;
  margin-top: auto; /* Đẩy ngày tháng dính sát xuống đáy dòng */
}
.vertical-layout .article-card-title{
    display: flex;
    gap: 16px;
}
.vertical-layout .article-card-title .hot{
    color: #a87500;
    background: #fbd020;
    width: 40px;
    padding: 6px 0;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}
.vertical-layout .article-card-title a{
    flex: 1;
}
.vertical-layout .timepost {
    display: flex;
    gap: 16px;
}

/* ======================================================
   OVERWRITE KHI THẺ CHA CÓ ID #hero-layout
   ====================================================== */

/* 1. Thiết lập CSS Grid cho Container */
#hero-layout.article-card-container {
  display: grid;
  grid-template-columns: 800px 1fr; /* Cột trái rộng gấp ~1.8 lần cột phải */
  grid-template-rows: 1fr 1fr;     /* 2 hàng bằng nhau cho 2 bài bên phải */
  gap: 16px;
  max-width: 1200px;
   margin: 10px 0 40px 0;
}

/* 2. Style Overlay chung cho tất cả 3 thẻ bài viết */
#hero-layout .article-card {
  width: 100%;
  position: relative;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
  background-color: #000000;
}


/* Khung chứa nội dung nổi lên trên ảnh */
#hero-layout .article-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
}

/* Badge góc trên bên trái */
#hero-layout .article-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(121, 101, 67, 0.9); /* Màu nâu đặc trưng */
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* Font chữ có chân (Serif) sang trọng theo đúng UI mẫu */
#hero-layout .article-card-title {
  margin-top: auto; /* Mẹo Flexbox: Đẩy toàn bộ tiêu đề + mô tả + ngày xuống đáy */
}
#hero-layout .article-card-title a{
    color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.3;
}

#hero-layout .article-card-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 0;
}

#hero-layout .article-card-date {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  margin-top: 10px;
}


/* ------------------------------------------------------
   3. TÙY CHỈNH NỔI BẬT CHO THẺ ĐẦU TIÊN (:first-child)
   ------------------------------------------------------ */
#hero-layout .article-card:first-child {
  grid-row: span 2; /* Phình to chiếm trọn 2 hàng bên trái */
  min-height: 440px;
}

#hero-layout .article-card .article-card-image-wrapper img{
    max-height: 440px;
}

#hero-layout .article-card:first-child .article-card-title a{
  font-size: 24px;
}

/* Các thẻ nhỏ bên phải */
#hero-layout .article-card:not(:first-child) .article-card-title a{
  font-size: 16px;
}



.titlehome {
    color: #333;
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    overflow: hidden;
    padding: 10px 0 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}



/* Quảng cáo */
.ads-top-r0{margin-top: 15px}