/* Khôi phục hiển thị bóng đổ mượt mà không bị cắt cụt */
.pricing-container, 
.pricing-container paint-section, 
section { 
    overflow: visible !important;
}

/* ÉP ROW 5 CỘT TO TOÀN DIỆN VÀ KHÍT 100% THANH XANH */
@media (min-width: 850px) {
    .pricing-container.row,
    .pricing-container.row-full-width,
    .pricing-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        
        /* Đồng bộ hoàn hảo với độ rộng Container 1400px của website */
        width: 100% !important;
        max-width: 1400px !important; 
        
        /* Cố định khối luôn nằm ở tâm màn hình tuyệt đối */
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        
        /* Triệt tiêu hoàn toàn khoảng đệm lề mặc định để các cột bung ra sát mép thanh xanh */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        
        gap: 20px !important; /* Khoảng cách giữa các cột (giúp layout thoáng và đẹp hơn) */
        padding-top: 25px !important; 
        padding-bottom: 25px !important; 
    }
    
    /* Thiết lập lại tỉ lệ chia đều chính xác cho 5 cột */
    .pricing-container > .col {
        /* Tự động tính toán độ rộng 5 cột sau khi trừ đi khoảng cách gap (20px * 4 khoảng trống = 80px) */
        width: calc(20% - 16px) !important; 
        max-width: calc(20% - 16px) !important;
        flex: 1 1 calc(20% - 16px) !important;
    }
}

/* Bo góc nhẹ cho phần đỉnh màu xanh của từng cột giống trang mẫu */
.pricing-container .col-inner {
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Hiệu ứng Đổi Màu Nền toàn bộ cột khi Hover */
.pricing-container > .col:hover .col-inner {
    background-color: #165ca7 !important; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Đổi màu toàn bộ chữ bên trong cột sang trắng khi Hover */
.pricing-container > .col:hover .col-inner *,
.pricing-container > .col:hover .col-inner p,
.pricing-container > .col:hover .col-inner h3,
.pricing-container > .col:hover .col-inner span {
    color: #ffffff !important;
}



label {
    color: #005baa;
}

/* Thay .comments-title bằng class/id thực tế của tiêu đề  */
.comments-title {
    font-size: 0 !important; /* Ẩn toàn bộ dòng chữ cũ */
    font-weight: bold;
    text-transform: none !important; 
    margin-bottom: 20px;
}

/* Thêm lại duy nhất chữ "Bình luận" */
.comments-title::before {
    content: "Bình luận";
    font-size: 24px; /* Tùy chỉnh kích thước chữ cho vừa mắt */
    text-transform: capitalize; /* Chỉ viết hoa chữ cái đầu */
}

.duong-line {
    background: rgb(29 85 164) url(images/line.png) repeat scroll 0 0;
    height: 12px;
    margin-top: 5px;
    overflow: hidden;
}
.related-post h7{
	font-weight: bold;
	    font-size: 18px;
    float: left;
    margin: -8px 20px 0 0;
}
/* ==========================================
   CẤU HÌNH BÀI VIẾT LIÊN QUAN THEO F12 THỰC TẾ
   ========================================== */

/* 1. Ẩn dòng ngày tháng (Ví dụ: Th11 10, 2025) */
.blog-post-inner .post-meta.is-small {
    display: none !important;
}

/* 2. Ẩn đường kẻ ngang nhỏ */
.blog-post-inner .is-divider {
    display: none !important;
}

/* 3. Tiêu đề: Cố định chiều cao 2 dòng và cắt chữ */
.blog-post-inner .post-title {
    font-size: 16px !important;
    line-height: 1.4 !important; /* ~22.4px mỗi dòng */
    margin-top: 5px !important;
    margin-bottom: 10px !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
    
    height: 45px !important; /* Giữ các ô cao bằng nhau */
}

/* 4. Mô tả: Ép cố định chiều cao 2 dòng (Đè inline style) */
.blog-post-inner .post-excerpt {
    font-size: 14px !important;
    color: #4a4a4a !important;
    line-height: 1.5 !important; /* 21px mỗi dòng */
    margin-top: 5px !important;
    
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;

    height: 42px !important; /* Ép buộc chiều cao cố định */
}



.mb {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    background: white;
    padding: 15px;
}

#wrapper, #main {
    background-image: url("https://travel.baovietgiadinh.com.vn/wp-content/uploads/2026/05/nen-bao-hiem-bao-viet.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
/* ==========================================================================
   1. SỬA LỖI MASONRY &amp; ÉP CÁC BOX BẰNG NHAU (BẮT BUỘC)
   ========================================================================== */

/* Vô hiệu hóa tính năng dịch chuyển tuyệt đối vô lý của Masonry */
.row-masonry {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.row-masonry > .col {
    position: static !important; /* Hủy bỏ position absolute do JS tự tính toán */
    display: flex !important;
}

.row-masonry > .col > .col-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1;
    height: 100%;
}

/* Thiết lập khung chứa bài viết thành Flexbox dọc */
.blog-archive .col .box-blog-post,
.box.box-normal.box-blog-post {
    display: flex !important;
    flex-direction: column !important;
    height: 100%; 
}

/* ==========================================================================
   2. FIX LỖI ẨN ẢNH (ÉP KHUNG ẢNH RỘNG 100%, KHÔNG BỊ CO TÍ HON)
   ========================================================================== */
.box.box-normal .box-image,
.product-small.box .box-image,
.blog-archive .box .box-image {
    padding: 10px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    
    /* Thuộc tính quan trọng chống ẩn ảnh */
    width: 100% !important;
    flex-shrink: 0 !important; 
}

/* ==========================================================================
   3. CẤU TRÚC PHẦN TEXT TỰ CO GIÃN ĐỀU ĐÁY
   ========================================================================== */
.box.box-normal .box-text,
.product-small.box .box-text,
.blog-archive .box .box-text {
    padding: 5px 20px 20px 20px;
    background: #fff;
    border-radius: 0 0 5px 5px;
    
    /* Flexbox giúp phần nền trắng tự động đẩy sát đáy hàng */
    flex-grow: 1; 
    display: flex !important;
    flex-direction: column !important;
}

/* Giới hạn tiêu đề tối đa 2 dòng */
.box.box-normal .box-text h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}

/* Khống chế đoạn mô tả ngắn gọn tối đa 3 dòng */
.box.box-normal .box-text p {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   4. CÁC THÀNH PHẦN GIAO DIỆN KHÁC (GIỮ NGUYÊN)
   ========================================================================== */
.single-post .article-inner, .comments-area {
    border: none;
    border-radius: 5px;
    background: white;
    padding: 15px;
}

.box.box-normal .cat-label {
    text-transform: inherit;
    opacity: 1;
    font-size: 14px;
    position: absolute;
    top: -35px;
    color: #fff;
}

.box.box-normal:hover h5 {
    color: var(--primary-color);
}

.section4 .row2 .large-4 .col-inner,.section4 .slide .col-inner{
		background-color: #fff;
    padding: 45px;
    box-shadow: 0 10px 31px 0 rgba(181,127,250,0.09);
}
.section4 .row2 .large-4 .col-inner:hover{
		background-image: linear-gradient(-160deg,#fff,#fff 70%,var(--primary-color));
    transition: 0.2s;
		cursor : pointer;
}
.section4 .row2 .large-4 .col-inner .icon-box,.section4 .slide .col-inner .icon-box{
		margin-bottom : 10px;
}
.section4 .row2 .large-4 .col-inner .icon-box-img img,.section4 .slide .col-inner .icon-box-img img{
		border: 2px solid var(--primary-color)a1;
    width: 50px;
    height: 50px;
    margin: 0px auto 0px auto;
    border-radius: 50%;
    padding: 0;
}
.section4 .row2 .large-4 .col-inner .icon-box h3,.section4 .slide .col-inner .icon-box h3{
		margin-bottom: 0px;
		font-size: 18px;
    line-height: 20px;
}
.section4 .row2 .large-4 .col-inner .icon-box p,.section4 .slide .col-inner .icon-box p{
		font-size: 14px;
}
.section4 .row2 .large-4 .col-inner .testimonial-text,.section4 .slide .col-inner .testimonial-text{
		font-size: 14px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 100%;
}
.section4 .row2 .large-4 .col-inner .testimmonials_starts,.section4 .slide .col-inner .testimmonials_starts{
		margin-right: 3px;
    font-size: 13px;
    color: #ffc662;
}

.button-dang-ky {
    height: 40px;
    width: max-content;
     background: linear-gradient(180deg, #FEC626 0%, #CCA126 100%);
    color: #FFF;
    box-shadow: 0 3px 0 0 #337cbb;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    padding-top: 5px;
}
.button-dang-ky:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446
}



td, th {
    border-bottom: 1px solid #ececec;
    font-size: .9em;
    line-height: 1.3;
    padding: .5em;
    border: 1px solid;
    text-transform: unset;
}

.is-outline {
    color: #fff;
}

.text-gradient {
    background-image: linear-gradient(45deg, #005cab, rgb(255, 210, 55));
    background-clip: text;
    color: transparent;
    font-size: xx-large;
}
.text-yellow {
    color: #eecd77;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5294117647);
    font-size: 20px;
}
.nav.nav-vertical {
    flex-flow: column;
    order: 4;
    background-color: #fff;
    background-image: url(https://suckhoe.baovietgiadinh.com.vn/wp-content/uploads/2025/09/nen-bao-hiem-bao-viet-1.jpg);
    background-size: 100% auto;
    background-position: left top;
    background-repeat: no-repeat;
    padding: 0 1rem;
}

.header-button-2 .header-button a  {
    height: 40px;
    width: max-content;
     background: linear-gradient(180deg, #FEC626 0%, #CCA126 100%);
    color: #FFF;
    box-shadow: 0 3px 0 0 #337cbb;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    padding-top: 5px;
}

.header-button-2 .header-button a:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446
}

.button-dang-ky {
    height: 40px;
    width: max-content;
     background: linear-gradient(180deg, #FEC626 0%, #CCA126 100%);
    color: #FFF;
    box-shadow: 0 3px 0 0 #337cbb;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    padding-top: 5px;
}
.button-dang-ky:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446
}

.button.icon.circle {
    padding-left: 0;
    padding-right: 0;
    border: 2px #eecd77 solid;
    background: linear-gradient(90deg, rgba(0, 91, 170, 1) 0%, rgba(0, 147, 217, 1) 100%);
}

.nd-ld .col .col-inner {
     background-image: url(https://suckhoe.baovietgiadinh.com.vn/wp-content/uploads/2025/09/nen-bao-hiem-bao-viet-1.jpg);
    height: 100%;
width: 100%;
    border: solid 1px #ecc09a;
    border-radius: 10px
}
.section-title span {
    text-transform: capitalize;
   }
.absolute-footer.text-center ul {
    border: 0;
    padding-top: 5px;
    text-transform: none;
    font-weight: bold;
    font-size: unset;
}

.footer-wrapper {
    position: relative;
    width: 100%;
    border-top: solid 3px rgb(238 205 119);
}
.absolute-footer.dark {
    color: hsla(0, 0%, 100%, .5);
    border-top: solid 3px rgb(238 205 119);
}
.lightbox-content {
    box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .15);
    margin: 0 auto;
    position: relative;
    border: 2px #ecc09a solid;
    border-radius: 10px;
background-image: url(https://suckhoe.baovietgiadinh.com.vn/wp-content/uploads/2025/09/nen-bao-hiem-bao-viet.jpg)
}

.header-main {
    border-bottom: solid 3px rgb(238 205 119);
}
.insurance_item_2023 .insurance_feature_2023_page_design_share .insurance_feature_2023_page_design_share_icon {
    text-decoration: none;
    padding-right: 4px;
}
/*form*/
.wpcf7 input:not([type="submit"]), .wpcf7 select, .wpcf7 textarea {
    width: 100%;
    padding: .75em;
   color: #1e73be;
    border: 1px #1e73be solid;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: unset;
}
 input[type="submit"] {
    height: 40px;
     background: linear-gradient(180deg, #FEC626 0%, #CCA126 100%);
    color: #FFF;
    box-shadow: 0 3px 0 0 #337cbb;
     text-align: center;
    margin-bottom: 4px;
    border: 1px #ecc09a solid;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-transform: unset;

}

input[type="submit"]:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446;
   
}
/*form*/

.nav-box>li.active>a, .nav-pills>li.active>a {
    background: linear-gradient(90deg, rgba(0, 91, 170, 1) 0%, rgba(0, 147, 217, 1) 100%);
    border-radius: 8px;
    margin: 0 5px;
    padding: 0 20px;
    background-color: #21c1df;
    color: #fff;
    margin-bottom: 10px;
    border: 3px #f1dc5c solid;
    font-weight: bold;
}

.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}