/*
Theme Name: VINADEV
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media screen and (max-width:767px){
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Nạp font chữ từ Google */
@import url('https://fonts.googleapis.com/css2?family=Monda:wght@400;700&display=swap');


/* Định dạng mặc định chung */
*{
    font-family: 'Monda', 'Arial', sans-serif!important;
}
b, strong{
    font-weight: bold;
}
th{
    font-size: 16px;
    word-spacing: 2px;
}
td{
    color: #0a283b;
    font-size: 15px;
    word-spacing: 2px;
}

/* Thanh điều hướng */
.header-main{
    background: #0B1F3A;
}
.header-main .nav-top-link{
    color: #fff;
    padding: 0 8px;
    text-align: center;
}
.header-main .nav-top-link:hover, .header-main li.active .nav-top-link{
    color: #F5B301;
}
.header-main .header-nav{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    flex-wrap: nowrap;
}
.mobile-nav .icon-menu{
    color: #fff;
}
.mobile-sidebar li.menu-item a{
    color: #0a283b;
}
.logo-center .logo{
    margin: 0 auto;
}
.logo-center .flex-left{
    width: calc(50% - 100px);
}

/* Nền trang */
#main, #wrapper{
    background: #F5F8FC;
}

/* Banner */
.banner{
    min-height: 336px;
}
.banner .text-box{
    max-width: 100%!important;
    width: 866px!important;
    padding: 0 15px;
}
.content-area .banner, .content-area .banner h1, .content-area .banner h2, .content-area .banner h3, .content-area .banner h4, .content-area .banner h5, .content-area .banner h6{
    color: #fff;
}

/* Khu vực nội dung */
.content-area ol ol, .content-area ol ul, .content-area ul ol, .content-area ul ul{
    margin: 0.5em 0 1.5em 1.5em;
}
.content-area, .content-area h1, .content-area h2, .content-area h3, .content-area h4, .content-area h5, .content-area h6{
    color: #333;
}
.content-area a{
    color: #ffa400;
}
.content-area a:hover{
    color: #0a283b;
}
.entry-content, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6{
    color: #333;
}
.entry-content a{
    color: #ffa400;
}
.entry-content a:hover{
    color: #0a283b;
}

/* Khu vực gắn đơn vị đối tác */
.blockmorecontent{
    box-sizing: border-box;
    transition: opacity 0.3s, box-shadow 0.5s, transform 0.3s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s;
    margin: 15px 0 25px 0;
}
.blockmorecontent .listitem{
    box-sizing: border-box;
    background: #eef7ff;
    padding: 0;
    border-radius: 5px;
    display: flex;
    width: 100%;
    clear: both;
    border: 1px solid #d7edff;
    align-items: flex-start;
}
.blockmorecontent .item{
    padding: 10px;
}
.blockmorecontent img{
    max-width: 160px;
    display: block;
    margin: 0 auto;
}
.blockmorecontent ul{
    padding-top: 10px;
}
@media screen and (max-width:767px){
    .blockmorecontent .listitem{
        flex-wrap: wrap;
    }
    .blockmorecontent .item{
        width: 100%;
    }
}


/* Khu vực đánh mục lục */
span.ez-toc-section, span.ez-toc-section-end{
    margin: 0!important;
}

/* Trang chủ */
body.home h4 a{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #dd0b0b;
}
body.home .col-inner h3{
    color: #0070ff;
}

/* Trang danh mục */
body.archive.category .page-title{
    font-size: 36px;
    font-weight: bold;
    color: #00609d;
}
body.archive.category .taxonomy-description{
    text-align: left;
}
body.archive.category .taxonomy-description ul{
    padding-left: 16px;
}
body.archive.category .taxonomy-description a{
    color: #ffa400;
}
body.archive.category .large-10.col{
    max-width: 100%;
    flex-basis: 100%;
}
body.archive.category .large-10.col .col-inner{
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}
body.archive.category .large-10.col .col-inner .box-text{
    padding-left: 8px;
    padding-right: 8px;
}

/* Thiết lập chiều cao tối đa và hiệu ứng mờ */
.taxonomy-description {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.taxonomy-description.is-shortened{
    max-height: 86px;
}
.taxonomy-description.is-shortened::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
        to bottom,
        rgba(245, 248, 252, 0),
        rgba(245, 248, 252, 1)
    );

    pointer-events: none;
}
.taxonomy-description.is-expanded {
    max-height: none;
}
.taxonomy-description.is-expanded::after {
    display: none;
}
.read-more-taxonomy {
    display: block;
    padding: 8px 0;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    text-transform: none;
    color: #ffa400;
}

/* Trang bài viết */
.entry-content.single-page h2{
    color: #0070ff;
}




/* KHU VỰC ĐẶC BIỆT */
/* ===== HERO SCOPE ===== */
.hero-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #EAF2FF, #FFFFFF);
}

/* Container */
.hero-hero__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Text block */
.hero-hero__text {
  max-width: 560px;
}

/* Status badge */
.hero-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #E6F9F0;
  color: #0F9D58;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-hero__status-dot {
  width: 8px;
  height: 8px;
  background-color: #0F9D58;
  border-radius: 50%;
  display: inline-block;
  margin: 0;
}

/* Title */
.hero-hero__title {
  font-size: 2.8rem;
  color: #0B1F3A;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.25;
}

/* Description */
.hero-hero__desc {
  font-size: 1.15rem;
  color: #3A4A6B;
  margin: 0 0 24px;
}

/* CTA */
.hero-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-hero__btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.hero-hero__btn--primary {
  background-color: #F59E0B;
  color: #FFFFFF!important;
}

.hero-hero__btn--secondary {
  background-color: #0B1F3A;
  color: #FFFFFF;
}

/* Image */
.hero-hero__image img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero-hero__cta {
    justify-content: center;
  }

  .hero-hero__image img {
    max-width: 100%;
  }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {

  .hero-hero {
    padding: 48px 0;
  }

  .hero-hero__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-hero__text {
    max-width: 100%;
    order: 1;
  }

  .hero-hero__image {
    width: 100%;
    order: 2;
  }

  .hero-hero__title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-hero__desc {
    font-size: 1rem;
  }

  .hero-hero__cta {
    width: 100%;
    gap: 12px;
  }

  .hero-hero__btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }

  .hero-hero__image img {
    max-width: 100%;
    border-radius: 10px;
  }
}

.detoi-services {
  background: linear-gradient(315deg, #EAF2FF, #FFFFFF);
  padding: 64px 0;
}

.detoi-services__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.detoi-services__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
}

.detoi-services__desc {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}
.detoi-services__desc a{
	color: #f59e0b;
	font-weight: 700;
}

.detoi-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.detoi-services__item {
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.detoi-services__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

/* ICON */
.detoi-services__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ff8c1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detoi-services__icon img {
  width: 44px;
  height: auto;
}

/* TITLE */
.detoi-services__item-title {
  text-align: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.detoi-services__item-title a {
  text-decoration: none;
  color: #0b2c4d;
}

.detoi-services__item-title a:hover {
  color: #ff6a00;
}

/* LIST */
.detoi-services__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detoi-services__list li {
  padding: 7px 0;
  border-bottom: 1px dashed #e5e5e5;
}

.detoi-services__list li:last-child {
  border-bottom: none;
}

.detoi-services__list li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.detoi-services__list li a:hover {
  color: #ff6a00;
}