body {
    font-family: "Roboto", sans-serif !important;
    font-size: 14px !important;
    position: relative;
    min-height: 100vh;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: "Roboto" !important;
}

.yhy-append-wrap {
    position: absolute !important;
    bottom: -30px !important;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 9999;
}

#features-section {
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
    }

    #features-section.hide {
    opacity: 0;
    visibility: hidden;
    }

#nav-small-show {
    display: none;
}

.ellipsis-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal !important;
}

.ellipsis-4-lines {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal !important;
}

.ellipsis-2-lines-youtube {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
}

.ellipsis-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis-3-lines-listing {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.4em * 3);
}

.break-after-120-2lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 250px;
  line-height: 1.4em;
  max-height: calc(1.4em * 2);
  word-break: break-word;
  white-space: normal;
  text-align: left;  
}

.hero-section {
  background: none; /* hoặc background-color: #fff; */
  padding: 0;
}

.hero-slide-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.swiper {
  width: 100%;
}

.whats-carousel img {
  height: 280px;
  object-fit: cover;
  width: 100%;
}

/* Ẩn nút scroll mặc định */
.show-scroll-toggle {
    display: none;
}

.logo-large {
    display: block;
}
.logo-small {
    display: none;
}

@media (min-width: 1200px) and (max-width: 1420px) {
    .logo-large {
        display: none !important;
    }
    .logo-small {
        display: block !important;
    }
}

/* Chính sách hỗ trợ */
.hero-section-support {
    background: linear-gradient(rgb(29 92 189 / 85%), rgb(29 79 155 / 85%)), url(https://dost.hochiminhcity.gov.vn/static/demo/web_new/img/banner_kinguyenmoi_no_text.jpg) center center / cover no-repeat;
}

.footer-img {
    width: 100%;
    background-image: url('../img/footer_background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-top: 1px solid #cecaca;
}

.title-footer {
    color: #212529 !important;
    font-size: 23px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 130% !important;
    letter-spacing: 0.036px !important;
}

.content-footer {
    color: #212529 !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 130% !important;
    letter-spacing: 0.035px !important;
}

@media (max-width: 1000px) or (max-width: 1200px) {
    .hide-footer-under-1000 {
        display: none !important;
    }

    .hide-content {
        display: none !important;
    }

    .whats-carousel .owl-nav {
        display: none !important;
    }
}

.custom-box-position {
  width: 270px;
  height: 100px;
  margin-left: -15px;
  margin-top: -25px;
}

/* Tablet (dưới 992px) */
@media (max-width: 991.98px) {
  .custom-box-position {
    width: 800px;
    height: 90px;
    margin-left: -10px;
    margin-top: -20px;
  }
  
  .border-footer-under-1000 {
        border-top: 1px solid #e1dfdf;
    }
}

/* Mobile (dưới 576px) */
@media (max-width: 575.98px) {
  .custom-box-position {
    width: 290px;
    height: 80px;
    margin-left: -5px;
    margin-top: -15px;
  }

  .border-footer-under-1000 {
        border-top: 1px solid #e1dfdf;
    }
}

.content-tintuc img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.content-tintuc p {
  text-align: justify;
}

/* show or hide content */
.nav-show-small-scroll {
    background: #fff;
}

.hidden {
    display: none !important;
}
.visible {
    display: block !important;
}

.btn-search-mobile {
    width: 30px; 
    height: 30px; 
    margin-right: 2px; 
    border-color: rgba(0, 0, 0, .1); 
    background-color: rgba(0, 0, 0, 0);
}

/* canh deu text */
.text-justify {
    text-align: justify;
}

/* breadcrumb */
.breadcrumb {
    display: block;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.breadcrumb span {
    display: inline;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
    white-space: normal;
}


