.name h3 a {
  font-size: 16px;
}


.card_news_item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
 

 
.card_news_thumb {
    width: 100%;
    aspect-ratio: 130 / 110;
    overflow: hidden;
}
 
.card_news_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
.card_news_body {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
 
.card_news_title {
    font-size: 15px;
    margin: 0 0 6px;
    line-height: 1.4;
}
 
.card_news_title a {
    color: #222;
    text-decoration: none;
}
 
.card_news_title a:hover {
    color: #d10000;
}
 
.card_news_meta {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px;
}
 
.card_news_desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
 
.text-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.text-3line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 


.grid_product_detail_news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid_item {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.grid_thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.grid_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid_title {
    padding: 10px 12px 0;
}

.grid_title h3 {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

.grid_title a {
    color: #222;
    text-decoration: none;
}

.grid_title a:hover {
    color: #d10000;
}

.grid_meta {
    padding: 6px 12px 0;
    font-size: 12px;
    color: #888;
    margin: 0;
}

.grid_download {
    padding: 8px 12px 12px;
    font-size: 13px;
    text-decoration: none;
}

.grid_paging {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .grid_product_detail_news {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid_product_detail_news {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid_product_detail_news {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1366px) {
  .background_wrapper {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .wrapper {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .header {
    display: none;
  }
  .background_wrapper {
    margin: 15px auto;
  }
  .ul-none {
    display: none;
  }

  .wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .background_wrapper {
    margin: 10px auto;
  }

  .wrapper {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .wap-footer {
    background-color: #0c0;
  }
  .footer {
    background: none;
  }

  .border_footer {
    padding: 40px 15px;
    max-width: 100%;
  }

  .info_footer,
  .map_footer,
  .thongke_footer {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    padding: 10px 0;
    box-sizing: border-box;
  }

  .thongke_footer {
    margin-left: 0;
  }

  .tittle_footer {
    font-size: 16px;
    margin-top: 10px;
  }

  .ten_foot,
  .ten_foot_2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .border_footer {
    padding: 20px 10px;
  }

  .tittle_footer {
    font-size: 14px;
  }

  .ten_foot,
  .ten_foot_2 {
    font-size: 18px;
    padding: 4px 0;
  }
}

@media (max-width: 768px) {
  .box_content {
    width: 100%;
    /* padding: 0 15px; */
    box-sizing: border-box;
  }

  .content_lienhe,
  .content_gui {
    float: none;
    width: 100%;
    border-left: none;
    padding-left: 0;
  }

  .content_gui {
    border-top: 2px solid #d2d2d2;
    padding-top: 15px;
    margin-top: 15px;
  }

  /* Bảng form liên hệ */
  .tablelienhe {
    width: 100%;
  }

  .tablelienhe tr {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .tablelienhe td {
    display: block;
    width: 100% !important;
    padding: 5px 0 !important;
  }

  .tablelienhe input.input,
  .tablelienhe .ta_noidung {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Khối bản đồ chi nhánh */
  .box-map {
    display: block;
  }

  .item-map {
    display: block;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  .maps_ggg iframe {
    width: 100% !important;
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .content_gui {
    padding-top: 10px;
    margin-top: 10px;
  }

  .tablelienhe td {
    font-size: 14px;
  }

  .maps_ggg iframe {
    height: 200px !important;
  }
}

@media (max-width: 992px) {
  .container_left,
  .container_right {
    width: 100%;
    float: none;
  }

  .module_left {
    display: none;
  }

  .container_left {
    margin-bottom: 20px;
  }

  .box_news .image_boder img {
    width: 100px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .box_news {
    width: 90% !important;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .title_right {
    width: 95% !important;
  }

  /* .box_news .image_boder {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  } */

  .box_news .image_boder img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .box_news h2 {
    font-size: 16px;
  }

  .box_news p.small {
    font-size: 12px;
  }

  /* Menu accordion danh mục tin tức */
  #accordion li a {
    padding: 8px 10px;
    display: block;
  }

  #accordion > li > ul {
    padding-left: 10px;
  }

  .title_left,
  .title_right {
    font-size: 15px;
  }

  .title_left h2,
  .title_right h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .box_news .image_boder {
    margin-bottom: 8px;
    height: 150px;
  }

  .box_news .image_boder img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
  }

  .box_news h2 {
    font-size: 15px;
  }

  .box_news p {
    font-size: 13px;
  }

  #accordion li a {
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  .box_news {
    width: 46%;
  }

  .box_news:nth-child(2n) {
    margin-right: 0;
  }
}

/* Desktop */
.box_news {
  width: 45%;
  float: left;
  margin-right: 20px;
  padding-bottom: 10px;
  padding-top: 5px;
  border-bottom: 1px dotted #fff;
}

.image_boder {
  float: left;
  margin: 0px 10px 0px 0px;
  background: #fff;
  padding: 5px;
  border: 1px solid #e4e4e4;
  width: 33%;
  height: 110px;
}

.image_boder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content_qa {
  overflow: hidden; /* để không bị tràn qua ảnh float bên trái */
}

.box_news h2 {
  font-size: 12px;
  margin: 0px;
  text-align: left;
}

.icon_chitiet {
  display: inline-block;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .box_news {
    width: 46%;
  }

  .box_news:nth-child(2n) {
    margin-right: 0;
  }

  .image_boder {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .box_news {
    width: 100%;
    float: none;
    margin-right: 0;
    padding-bottom: 15px;
    padding-top: 10px;
  }

  .image_boder {
    float: left;
    width: 90px;
    height: 90px;
    margin: 0 15px 10px 0;
  }

  .image_boder img {
    width: 100%;
    height: 90px;
  }

  .content_qa {
    overflow: hidden;
  }

  .question-3line,
  .text-2-line {
    font-size: 14px;
  }

  .box_news p.small {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .image_boder {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
  }

  .image_boder img {
    width: 100%;
    height: auto;
  }

  .content_qa {
    overflow: visible;
  }

  .question-3line,
  .text-2-line {
    font-size: 13px;
  }
}
@media (max-width: 992px) {
  .item_product {
    width: calc(100% / 2 - 20px);
  }

  .border_tb_index {
    height: 220px;
  }

  .border_tb {
    width: 100%;
    height: 220px;
  }

  .border_tb_index img,
  .border_tb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .box_product {
    padding: 8px;
  }

  .item_product {
    width: calc(100% / 2 - 16px);
    margin: 8px;
  }

  .border_tb_index {
    height: 180px;
    margin: 4px;
    padding: 4px;
  }

  .border_tb {
    width: 100%;
    height: 200px;
    margin: 5px 0;
  }

  .border_tb_index img,
  .border_tb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .item_product {
    width: calc(100% - 16px);
    margin: 8px;
    float: none;
  }

  .border_tb_index {
    height: 200px;
  }

  .border_tb {
    height: 180px;
    padding-top: 4px;
    padding-left: 4px;
  }

  .border_tb_index img,
  .border_tb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.mobile_header {
  width: 100%;
  background: #1aa63a;
  padding-bottom: 0;
  position: relative;
  padding-bottom: 5px;
}

.header_top {
  display: flex;
  align-items: center;
  padding: 15px;
  position: relative;
}

.menu_toggle_btn {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: absolute;
  top: 20px;
}

.menu_toggle_btn span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

.logo_wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo_wrap img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* border: 3px solid #fff; */
}

.header_info {
  padding: 0 15px 10px;
}

.header_info p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0;
  line-height: 1.4;
}

.header_social {
  display: flex;
  gap: 10px;
  padding: 0 15px 20px;
}

.header_social a {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

.social_fb {
  background: #3b5998;
}
.social_yt {
  background: #cc181e;
}
.social_tw {
  background: #1da1f2;
}
.social_gg {
  background: #dd4b39;
}

.header_tabs {
  display: flex;
}

.tab_item {
  flex: 1;
  padding: 10px 10px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: #7ab4c4;
}

.tab_item i {
  margin-right: 6px;
}

.tab_pink {
  background: #e88ba3 !important;
}

.header_menu_grid {
  display: flex;
  flex-wrap: wrap;
}

.menu_btn {
  width: 50%;
  box-sizing: border-box;
  padding: 10px 10px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  background: #7ab4c4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  display: block;
}

.menu_btn:nth-child(2n) {
  border-right: none;
}

.header_search {
  display: flex;
  align-items: center;
  background: #fff;
  margin: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  gap: 10px;
}

.header_search i {
  color: #999;
}

.header_search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
  color: #333;
}

/* Responsive - chỉ hiện trên mobile */
@media (min-width: 769px) {
  .mobile_header {
    display: none;
  }
}

.question-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
}

.question-content p {
  margin: 0;
}

.answer-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
}

.answer-content p {
  display: inline;
  margin: 0;
}

.answer-content br {
  display: none;
}
