/*
Theme Name:   Bw Digiflow Child
Theme URI:    https://digiflow.bzotech.com/
Author:       BZOTech
Author URI:   https://bzotech.com/
Description:  Digiflow is a stunning and visually compelling Digital Agency WordPress Theme designed for branding agencies, creative studios and freelancers.
Template:     bw-digiflow
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.6
Requires PHP: 7.4
Copyright: © 2025 BZOTech Theme. All rights reserved.
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, post-formats, sticky-post, threaded-comments, block-styles, blog, news
Text Domain: bw-digiflow-child
*/
/*
@media screen and (max-width: 767px) {
.custom-gallery figure {
    width: 50% !important;
}*/
/* Áp dụng cho tất cả gallery mặc định của Elementor */
.custom-gallery  {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.custom-gallery figure {
    margin: 0 0 20px 0 !important;
}
.custom-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16; /* Giữ tỷ lệ ảnh đứng đồng đều */
}

.custom-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cắt đều, không méo */
  transition: transform 0.3s ease;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
.custom-gallery figure,
.custom-gallery-1 figure {
	width: 50% !important;
    grid-template-columns: repeat(2, 1fr);
  }
}

 ul li {
    margin-left: 1.3em  !important;
}
li {
    margin-bottom: .6em  !important;
}
    .thb-box {
        color: #222;
    }
    .thb-box h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .thb-box p {
        margin: 5px 0;
        font-size: 15px;
    }
    .thb-box small {
        display: block;
        margin-top: 10px;
        font-size: 14px;
        color: #444;
    }
	.ty-gia {
    font-size: 16px;
    font-weight: 600;
    color: var (--bzo-main-color);
    float: right;
}
.thoigiancapnhat {
    border-top: solid 1px #dedede;
    margin-top: 10px;
}
    .converter-box {
        background: var(--bzo-main-color);
        border-radius: 10px;
        padding: 20px;
        color: #222;
    }
    .converter-box h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .input-group {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 10px 0;
		background-color: #fff;
		border-radius: 6px;
    }
.forminator-label {
    font-size: 14px;
    font-weight: 700;
	color: #fff;
}
.forminator-result {
	display: flex;
	justify-content: space-between;
    border-radius: 8px !important;
    background: #fff !important;
    border: solid 1px var(--bzo-main-color) !important;
    height: 4em;
    vertical-align: middle;
    line-height: 2.5em;
    padding: 9px;
    font-size: 16px;
    font-weight: 700;
    align-content: center;
}
	.forminator-result #vnd-result{
	font-size: 20px;
	}
.forminator-suffix {
    color: #000000;
	font-size: 16px;
    font-weight: 500;
}
    .input-group input {
        width: 100%;
        padding: 8px;
        text-align: left;
		border-radius: 6px;
    }
	input {
	background-color: #fff;
    }
    .converter-box p {
        margin: 5px 0;
        font-size: 12px;
    }
.form-contact-page textarea, .form-contact-page input {
    background-color: #ffffff !important;
    border: solid 1px;
    border-radius: 5px;
}
/* Chiều cao từng slide */
.dich-vu-home .swiper-slide {
    min-height: 585px !important;
}
@media (max-width: 1300px) {
.dich-vu-home .swiper-slide {
    min-height: 630px !important;
}
.dich-vu-home .list-text-info__item {
    font-size: 24px;
}
}
/* Cho phép flex để đẩy button xuống dưới */
.dich-vu-home .item-slider-global- {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Đẩy button xuống đáy */
.dich-vu-home .item-slider-global- .button-inner {
    margin-top: auto;
	padding: 0 15px;
}
/* Target đúng class title */
.dich-vu-home .list-text-info__item {
    min-height: 60px; /* hoặc 70–80 tùy chiều dài tiêu đề bạn muốn */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ép title chỉ hiển thị 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
	padding: 0 15px;
}
.dich-vu-home .content-slider-custom.box-content-custom{
	padding: 0 15px;
}
.home-danh-gia .display-swiper-pagination-style3 .swiper-pagination.swiper-pagination-bullets {
    bottom: 5px !important;
}
.home-danh-gia .item-slider-global-testimonial2 {
    background-color: #f4f4f4 !important;
    padding: 30px 20px !important;
    border-radius: 10px;
}
.h3-count-years.bg-color {
    border-radius: 10px;	
} 
.contact-page  {
    border-radius: 15px;	
}