@charset "UTF-8";
/**
 * _base.scss
 * 
 * 1/ biến màu săc
 * 2/ biến kích thước font chữ
 * 3/ Cấu hình border
 * 4/ Mixin
 * 5/ Responsive
*/
@media (min-width: 768px) {
  .nav-dropdown-has-border header#header .nav-dropdown ul.sub-menu {
    border-style: solid;
    border-width: 2px;
  }
  header#header .nav-dropdown {
    display: block;
    padding: 20px 0;
  }
  header#header .nav-dropdown ul.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 250px;
    padding: 0;
    display: none !important;
  }
  header#header .nav-dropdown ul.sub-menu a {
    white-space: normal;
    margin: 0;
    padding: 10px 15px;
    border: 0;
    font-weight: 400;
  }
  header#header .nav-dropdown li {
    border-right: 0;
    white-space: normal;
    width: 100%;
    display: block;
    position: relative;
  }
  header#header .nav-dropdown li:hover > ul.sub-menu {
    display: block !important;
  }
  header#header .nav-dropdown li.menu-item-has-children > a {
    font-weight: 400;
    text-transform: none;
  }
}
.entry-content ul li ul {
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.blog-wrapper.blog-archive {
  padding-top: 0;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  box-shadow: none !important;
}

.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input {
  margin-bottom: 0;
}
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
  font-size: 0;
  height: unset;
  min-height: unset;
  padding: 0 10px;
}
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button::before {
  content: "\eb1c";
  font-family: "matbaows-icons";
  font-size: 1rem;
  color: inherit;
}

.widget_price_filter .price_slider_wrapper .ui-slider.price_slider .ui-slider-handle {
  background-color: var(--fs-color-primary);
}
.widget_price_filter .price_slider_wrapper .ui-slider.price_slider .ui-slider-range {
  background-color: var(--fs-color-secondary);
}
.widget_price_filter .price_slider_wrapper .price_slider_amount .button {
  background-color: var(--fs-color-primary);
}

.wpcf7-form .wpcf7-form-control-wrap input {
  margin-bottom: 0;
}
.wpcf7-form .wpcf7-form-control-wrap textarea {
  margin-bottom: 0;
}
.wpcf7-form .form-dk {
  display: flex;
  width: 100%;
}
.wpcf7-form .form-dk .wpcf7-spinner {
  display: none;
}
.wpcf7-form .form-dk .wpcf7-submit {
  margin-right: 0;
}

.box-contact p i {
  color: var(--fs-color-primary);
  width: 23px;
  text-align: center;
}

.bg-half-left .section-bg :is(img,picture) {
  left: calc((100% - 1060px) / 2 + 15px) !important;
  width: 500px !important;
}
@media (max-width: 1090px) {
  .bg-half-left .section-bg :is(img,picture) {
    left: 15px !important;
    width: calc(50% - 30px) !important;
  }
}
@media (max-width: 849px) {
  .bg-half-left .section-bg :is(img,picture) {
    left: 0 !important;
    width: 100% !important;
  }
}


#related_posts {
  border-top: 4px double #e8e8e8;
  padding-top: 10px;
}
#related_posts .col {
  float: left;
  margin-left: 0;
  list-style: none;
}
#related_posts li:nth-child(1) {
  padding-left: 0 !important;
}
#related_posts li:nth-child(2) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#related_posts li:nth-child(3) {
  padding-right: 0 !important;
}
#related_posts .relatedthumb img {
  height: 100%;
}

.mbws-related-posts-title {
  margin-top: 30px;
}

.relatedcontent h3 {
  font-size: 1rem;
  margin-top: 7px;
}

.header .stuck > div:not(.hide-for-sticky) {
  background-color: var(--color-sticky-header-bgr);
}
.header .stuck > div:not(.hide-for-sticky) .nav li.menu-item a {
  color: var(--color-sticky-header-nav);
}
.header .stuck > div:not(.hide-for-sticky) .nav li.menu-item a:hover {
  color: var(--color-sticky-header-nav-hover);
}

/* Đồng bộ font chữ không chân (sans-serif) */
body, h1, h2, h3, h4, h5, h6, input, button, select, textarea, .alt-font, [class*="font-"] {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Trang liên hệ: Căn chỉnh chiều cao ảnh và bản đồ bằng nhau */
.contact-image img, .contact-image {
    height: 450px !important;
    width: 100% !important;
    object-fit: cover !important;
}
.contact-map iframe {
    height: 450px !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .banner .is-border {
        border-top-width: 0px !important;
    }

    /* Chiều cao cho ảnh và bản đồ trên mobile */
    .contact-image img, .contact-image, .contact-map iframe {
        height: 300px !important;
    }

    h1[style*="font-size: 60px"],
    h1[style*="font-size:60px"] {
        font-size: 22px !important; /* Giảm cỡ chữ xuống 22px để tránh bị rớt dòng từng chữ */
        letter-spacing: 1px !important;
        line-height: 1.3 !important;
    }

    h1[style*="font-size: 50px"],
    h1[style*="font-size:50px"] {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    p[style*="font-size: 24px"],
    p[style*="font-size:24px"] {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* Khắc phục lỗi banner co giãn tỷ lệ trọn vẹn trên mobile (không bị kéo giãn và không bị ẩn do sập chiều cao) */
    .banner.is-full-height,
    .banner.is-full-height .banner-inner {
        height: auto !important;
        min-height: 0 !important;
    }
    
    .banner.is-full-height.banner-1 {
        padding-top: 56.25% !important; /* Khôi phục padding-top tỷ lệ 16:9 cho banner 1 */
    }

    .banner.is-full-height.banner-2 {
        padding-top: 75% !important; /* Khôi phục padding-top tỷ lệ 4:3 cho banner 2 để nhìn trọn vẹn bên dưới ảnh */
    }

    /* Thu nhỏ hình banner và vô hiệu hóa parallax trên mobile để hiển thị trọn vẹn hình ảnh */
    .banner .banner-bg img.bg {
        height: 100% !important;
        top: 0 !important;
        transform: none !important;
        object-fit: cover !important;
    }

    /* Đưa header về dạng tương đối trên mobile để không đè lên trên banner */
    #header.header.transparent {
        position: relative !important;
        background-color: #ffffff !important;
    }
    #header.header.transparent .header-bg-color {
        background-color: #ffffff !important;
    }
    #header.header.transparent .icon-menu,
    #header.header.transparent .nav-top-link,
    #header.header.transparent .mobile-nav a {
        color: #0075c2 !important;
    }

    /* Tăng khoảng cách từ header đến tiêu đề trang Giới thiệu (để không bị đè chữ) */
    .page-id-87 #main {
        padding-top: 120px !important;
    }
}
/*# sourceMappingURL=style.css.map */