/**
Theme Name: Astra Child
Template: astra
*/
/*lung tung*/
.ast-pagination {
    background-color: #ffffff;
    padding: 30px;
    border-top: 1px solid #eee;
}
/* SỬA: Loại bỏ h3 bị lặp */
a, p, li, h1, h2, h3, h4 {
    letter-spacing: 0.2px;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: var(--ast-global-color-0);
}
.main-header-menu a.menu-link:hover {
    background-color: var(--ast-global-color-0);
    color: #fff !important;
}
h1.entry-title {
    text-align: center;
    font-weight: 800;
}
h1.entry-title:after {
    content: "";
    display: block;
    width: 168px;
    height: 6px;
    /* SỬA: Gộp margin-bottom vào đây */
    margin: 20px auto 30px;
    background-color: var(--ast-global-color-0);
    border-radius: 60px 0 60px 0;
    letter-spacing: 2px;
    opacity: 0.9;
}
.tieude1:before {
    content: "";
    border-left: 4px solid var(--ast-global-color-0);
    margin-right: 10px;
}
.tieude2,.tieude1{font-weight:700}
.tieude2:after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    /* SỬA: Gộp margin-bottom vào đây */
    margin: 10px auto 30px;
    background: linear-gradient(110deg, #006bdd 60%, var(--ast-global-color-0) 60%);
    border-radius: 0 30px 0 30px;
}
ul li, ol li {
    padding: 5px 0;
}
/*widget */
.widget-title:after {
    content: "";
    display: block;
    width: 24px;
    height: 4px;
    margin: 10px 0;
    background: linear-gradient(90deg, var(--ast-global-color-0), #ffd09a);
    border-radius: 0 30px 0 30px;
}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-image: url(https://dichvuthuctap.com/wp-content/themes/virus-child/image/premium-fill.svg);
    background-repeat: repeat;
    background-position: left bottom;
    background-size: cover;
}
/*archieve post */
h1.page-title.ast-archive-title {
    font-weight: 800;
}
h1.page-title.ast-archive-title:after {
    content: "";
    display: block;
    width: 168px;
    height: 6px;
    background: linear-gradient(110deg, #006bdd 60%, var(--ast-global-color-0) 60%);
    border-radius: 60px 0 60px 0;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 15px 0 15px 0;
}
/* load post */
/*bang*/
.wp-block-table.is-style-regular thead tr, .wp-block-table .has-fixed-layout thead tr, .wp-block-table thead tr {
    vertical-align: middle;
}
.wp-block-table.is-style-regular tr:first-child, .wp-block-table .has-fixed-layout thead, .wp-block-table thead,.bang tr:first-child {
    background-color: #edf2fa;
    text-align: center;
    border-bottom: 1px solid #000 !important;
    vertical-align: middle;
}
.wp-block-table tr {
    vertical-align: baseline;
}
.nut1 {
    border: 1px solid var(--ast-global-color-1);
    color: var(--ast-global-color-1);
    padding: 5px;
    margin-top: 20px;
    border-radius: 5px;
    display: block;
    text-align: center;
}
a.nut1:hover {
    border: 1px solid var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
    color: #fff;
}
  /* --- PHẦN CSS CHUNG (GIỮ NGUYÊN) --- */
.grid {
    display: grid;
    gap: 15px;
}
/* === PHẦN RESPONSIVE ĐÃ ĐƯỢC LÀM LẠI HOÀN CHỈNH === */
/* ---- 1. GIAO DIỆN MOBILE (Mặc định, dưới 600px) ---- */
/* Mặc định tất cả đều là 1 cột */
.grid.cols-2,
.grid.cols-3,
.grid.cols-4 {
    grid-template-columns: 1fr;
}

/* ---- 2. GIAO DIỆN TABLET (Từ 600px trở lên) ---- */
@media (min-width: 600px) {
    /* Lưới 2 cột hiển thị 2 cột */
    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Lưới 3 và 4 cột cũng hiển thị 2 cột ở cỡ tablet */
    .grid.cols-3,
    .grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- 3. GIAO DIỆN DESKTOP NHỎ (Từ 992px trở lên) ---- */
@media (min-width: 992px) {
    /* Lưới 3 cột bây giờ sẽ hiển thị đúng 3 cột */
    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Lưới 4 cột bây giờ sẽ hiển thị đúng 4 cột */
    .grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*
 * === DANH SÁCH (LISTS) ===
 */

/* Căn lề trái cho List 1 và List 2 */
ul.list2,
ul.list1 {
    text-align: left;
}

/* Định dạng chung cho List 1, List 2, List 3 */
.list1,
.list2,
.list3 {
    list-style-type: none;
}
.list1 li, .list2 li, .list3 li {
    line-height: 2;
}
.list2, .list3 {
    margin-left: 0px !important;
}
/* Biểu tượng (bullet point) cho List 2 và List 3 */
.list2 li:before, .list3 li:before {
    font-size: 15px;
    margin-right: 10px;
}
/* Biểu tượng cho List 2: Dấu "⊕" màu xanh ngọc */
.list2 li:before {
    content: "⊕";
    color: #1db99a;
}

/* Biểu tượng cho List 3: Dấu "⊗" màu đỏ nhạt */
.list3 li:before {
    content: "⊗";
    width: 12px;
    text-align: center;
    opacity: 0.8;
    color: #e81f1f;
}

/* Biểu tượng cho List 1: Dấu "•" trong hình tròn xanh */
.list1 li:before {
    content: "•";
    font-size: 24px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 21px;
    text-align: center;
    background-color: #edf0fd;
    color: #1f80e8;
    position: absolute;
    margin-left: -30px;
    margin-top: 4px;
}

/* Căn lề cho danh sách WordPress List 1 */
ul.wp-block-list.list1 {
    margin-left: 40px;
}

/* Định dạng cho List 1_tiep (Tiếp theo của List 1) */
ul.list1_tiep {
    margin-left: 10px !important;
    list-style-type: none;
    padding-left: 0;
}

.list1_tiep li {
    background-image: none;
    padding-left: 0;
}

/* Biểu tượng cho List 1_tiep: Dấu "-" màu xanh dương */
ul.list1_tiep li::before {
    content: '-';
    color: #3b59e9;
    background-color: unset;
    padding-left: 5px;
    margin-top: 0;
}

/* Gói hiện tại (Bài viết này) */
li.goihientai:before {
    color: var(--ast-global-color-0); /* Màu cam */
}

li.goihientai:after {
    content: "Bài viết này";
    background-color: var(--ast-global-color-0); /* Màu cam */
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 5px;
    color: #fff;
    opacity: 0.8;
}

/*
 * === HỘP THÔNG BÁO (KETLUAN, LUUY, THONGTIN) ===
 */

/* Định dạng chung cho các hộp */
.ketluan,
.luuy,
.thongtin {
    padding: 20px;
    text-align: justify;
    border-radius: 10px;
    clear: both;
    margin-top: 25px;
        background-image: url(/wp-content/uploads/2021/10/traitim_dichvuthuctap.png);
    background-repeat: no-repeat;
    background-size: 68px;
    background-position: right bottom;
}

/* Tiêu đề chung cho các hộp */
.luuy:before,
.thongtin:before {
    color: #fff;
    margin-bottom: 20px;
    margin-top: -30px !important;
    border-radius: 15px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 90%;
    font-weight: 700;
    text-align: center;
    display: block;
}

/* Hộp Kết Luận (KETLUAN) */
.ketluan {
    background-color: #f2f5ef;
}

.ketluan:before {
    color: #7e4100;
    margin-bottom: 20px;
    display: block;
    margin-top: -30px !important;
    background-color: #ffdcc5;
    width: 128px;
    border-radius: 15px 10px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 90%;
}

/* Hộp Lưu Ý (LUUY - Note) */
.luuy {
    background-color: #fce8e8;
}

.luuy:before {
    background-color: #ff9090;
    width: 68px;
}

/* Hộp Thông Tin (THONGTIN) */
.thongtin {
    background-color: #e8f4ff;
}

.thongtin:before {
    background-color: #468bff;
    width: 120px;
}
/*
 * === TÁC GIẢ (AUTHOR BOX - AST-AUTHOR-META) ===
 */

/* Định dạng chung cho Author Box trong bài viết Single */
.single .ast-author-meta {
    background-color: #fff;
    padding: 30px;
    border-top: 2px solid #eee;
}

/* Ẩn tiêu đề mặc định của Rank Math FAQ và About Author */
.about-author-title-wrapper {
    display: none;
}

/* Author Box Container */
.single .ast-single-author-box {
    margin-top: 0;
}

/* Chi tiết tác giả */
.ast-author-details {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Tên tác giả */
.author-title {
    font-size: 100%;
    font-weight: 700;
}

.single .ast-author-details .author-title {
    font-size: 110%;
    text-transform: uppercase;
    color: #202f66;
}

/* Tiêu đề tác giả phụ: Email liên hệ */
h4.author-title:after {
    content: "support at dichvuthuctap.com";
    display: block;
    width: fit-content;
    margin: 10px auto;
    padding: 4px 15px 3px;
    clear: both;
    font-size: 68%;
    color: #fff;
    border-radius: 90px 40px;
    background: linear-gradient(110deg, #006bdd 60%, var(--ast-global-color-0) 60%);
}

/* Avatar tác giả */
.post-author-avatar {
    padding: 0 !important;
    margin: 0 auto !important;
}

.single .ast-author-meta .post-author-avatar img {
    border: 2px solid #fff;
}

/* Tiểu sử (Bio) */
.post-author-bio {
    text-align: center !important;
    margin-top: 20px;
    padding: 0 15px;
}

/* Khu vực bài viết liên quan */
.ast-single-related-posts-container {
    border-top: none;
}

/* === RANK MATH FAQ SCHEMA (TỐI ƯU HÓA) === */
/* Khung chứa chính */
#rank-math-faq {
    max-width: 900px; 
    margin: 30px auto;
    font-family: inherit; /* Kế thừa font của theme */
}

/* Tiêu đề chính "Câu hỏi thường gặp" */
#rank-math-faq .rank-math-title {
    text-align: center;
    position: relative;
}

/* Danh sách các câu hỏi */
.rank-math-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Khoảng cách giữa các câu hỏi */
}

/* Khung cho mỗi cặp Câu hỏi & Trả lời */
.rank-math-list-item {
    background: #ffffff;
    border: 1px solid #e9ecef; /* Viền nhẹ nhàng */
    border-radius: 12px; /* Bo góc mềm mại hơn */
    overflow: hidden; /* Quan trọng: để hiệu ứng max-height hoạt động */
    transition: box-shadow 0.3s ease;
}

.rank-math-list-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); /* Đổ bóng nhẹ khi hover */
}

/* Câu hỏi (Phần click được) */
.rank-math-question {
    font-size: inherit;
    font-weight: 600;
    color: #202f66;
    margin: 0;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}
.rank-math-question:hover {
    background-color: var(--ast-global-color-4);
}

/* Icon cộng/trừ (＋/－) */
.rank-math-question::after {
    content: '＋';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: #8492a6;
    transition: transform 0.3s ease; /* Hiệu ứng xoay icon */
}

/* Trạng thái khi câu hỏi được MỞ (active) */
.rank-math-list-item.faq-open .rank-math-question {
    color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-4);
}

.rank-math-list-item.faq-open .rank-math-question::after {
    transform: translateY(-50%) rotate(45deg); /* Xoay icon thành dấu 'x' thay vì '-' */
    color: var(--ast-global-color-0);
}

/* Câu trả lời */
.rank-math-answer {
    padding: 0 25px; /* Chỉ padding trái/phải, không padding trên/dưới */
    max-height: 0; /* Quan trọng: Mặc định ẩn đi */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; /* Hiệu ứng mượt mà */
}

/* Trạng thái khi câu trả lời được MỞ */
.rank-math-list-item.faq-open .rank-math-answer {
    padding: 20px; /* Thêm padding dưới khi mở ra */
    max-height: 1000px; /* Quan trọng: Chiều cao tối đa để nội dung hiện ra */
}

.rank-math-answer p:first-child {
    margin-top: 0;
}
.rank-math-answer p:last-child {
    margin-bottom: 0;
}
/*
 * === RANK MATH HOW-TO SCHEMA (STEPS) ===
 */

/* Thiết lập bộ đếm cho các bước */
body {
    counter-reset: step-counter;
}
/* Container cho các bước */
.rank-math-steps {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid var(--ast-global-color-0); /* Đường kẻ dọc màu cam */
    margin-left: 20px;
}

/* Mỗi bước */
.rank-math-step {
    position: relative;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hiệu ứng hover cho mỗi bước */
.rank-math-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Số thứ tự của bước */
.rank-math-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: -62px;
    top: 15px;
    width: 40px;
    height: 40px;
    background-color: #edf2fa;
    color: var(--ast-global-color-0);
    border-radius: 50%;
    /* SỬA: Xóa dấu ; thừa */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--ast-global-color-0);
}
/* Tiêu đề bước */
h3.rank-math-step-title {
    font-weight: 600;
    font-size: 16px;
}

.rank-math-step-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #111827;
}

/* Nội dung bước */
.rank-math-step-content {
    color: #4b5563;
    line-height: 1.7;
}

.rank-math-step-content p {
    margin: 0;
}

.rank-math-step-content a {
    color: var(--ast-global-color-0);
    text-decoration: none;
    font-weight: 500;
}

.rank-math-step-content a:hover {
    text-decoration: underline;
}

/* Media Query cho Steps trên thiết bị nhỏ */
@media (max-width: 768px) {
    .rank-math-steps {
        padding-left: 30px;
        margin-left: 15px;
    }

    .rank-math-step::before {
        left: -48px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/*
 * === KHÁC (OTHERS) ===
 */

/* Chú thích hình ảnh (Caption) */
figcaption.wp-element-caption {
    font-style: italic;
    text-align: center;
  }
/* load contact */
div#thichbaiviet {
    display: flex;
    font-size:14px;
}
div.simplesocialbuttons,.kksr-stars {
    margin-left: 5px;}
/* divider */
.chia_dvtt .line_dvtt { flex: 1; border-bottom: 1px dashed #d6d6d6; }
.chia_dvtt p { padding: 0 15px ; margin-bottom: 0; font-size: 12px; font-style: italic; letter-spacing: 2px; color: #979797; }
.chia_dvtt { display: flex; align-items: center; margin: 30px 0 20px 0;}
/* =============================================================== */
/* NÚT LIÊN HỆ & POPUP */ 
/* =============================================================== */
/* --- NÚT ĐÓNG POPUP (BÊN TRONG FORM) --- */
.popup-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.popup-close-button:hover {
    transform: scale(1.1);
}

/* Điều chỉnh lại header một chút để không bị đè chữ */
.popup-header {
    position: relative; /* Cần thiết để position: absolute của nút con hoạt động đúng */
}
/* --- NÚT LIÊN HỆ CỐ ĐỊNH --- */
.contact-button {
    position: fixed;
    right: 10%;
    bottom: 20px;
    z-index: 9998;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(110deg, #006bdd 60%, var(--ast-global-color-0) 60%);
    color: #fff;
    border-radius: 25px;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease-out;
        animation: shake 8s ease-in-out infinite;
}
.contact-button:hover {
    transform: translateY(-2px);
}
.contact-button__text {
    letter-spacing: 1px;
    font-size: 95%;
    margin-left: 35px;
}
.contact-button__icon {
    border-radius: 6px 6px 6px 2px;
    height: 17px;
    width: 25px;
    background-color: #fff;
    position: absolute; /* Nằm trong nút cha */
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
}
.contact-button__icon::before,
.contact-button__icon::after {
    content: "";
    position: absolute;
    left: 4px;
    height: 2px;
    background-color: #1242ca;
    border-radius: 2px;
    animation: blink 3s infinite;
}
.contact-button__icon::before {
    top: 5px;
    width: 65%;
}
.contact-button__icon::after {
    top: 10px;
    width: 44%;
    animation-delay: 1.5s;
}
.contact-button__dot {
    position: absolute;
    right: -6px;
    top: -6px;
    width: 12px;
    height: 12px;
    background-color: #00d771;
    border-radius: 50%;
    border: 1px solid #fff;
    animation: blink 2s infinite;
}

/* --- BONG BÓNG TƯ VẤN --- */
.advice-bubble {
    position: fixed;
    z-index: 10000;
    background: #fff;
    color: #1F2A44;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border: 1px solid rgba(0,0,0,.06);
    font-size: 14px;
    line-height: 1.35;
    animation: bubbleIn .2s ease-out;
    pointer-events: none; /* Không cho click vào bong bóng */
}
.advice-bubble.is-hidden {
    display: none;
}
.advice-bubble::after {
    content:"";
    position:absolute;
    width:0;
    height:0;
    border:8px solid transparent;
}
.advice-bubble.is-top::after { /* Desktop */
    left: 28px;
    bottom: -16px;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 1px rgba(0,0,0,.08));
}
.advice-bubble.is-left::after { /* Mobile */
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #fff;
    filter: drop-shadow(2px 0 1px rgba(0,0,0,.08));
}


/* --- POPUP LIÊN HỆ --- */
.contact-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2147483647;
    display: none; /* Dùng JS để đổi thành display: block */
}
.contact-popup.is-active {
    display: block; /* Trạng thái Kích hoạt */
}
.contact-popup__content {
    position: relative;
    width: 222px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f2f0e8;
    border-radius: 20px;
    border: 4px solid #fff;
}
a.popup-link:last-child {
    border-radius: 0 0 20px 20px;
}
a.popup-link:first-child {
    border-radius: 20px 20px 0 0;
}
.popup-header .popup-title {
    text-align: center;
    font-weight: bold;
    padding: 15px 0 5px 0;
    letter-spacing: 2px;
    font-size: 140%;
}
.popup-links .popup-link {
    display: block;
    padding: 16px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    border-top: 3px solid #fff;
}
.popup-links .popup-link span {
    letter-spacing: 2px;
    font-weight: normal;
}
.popup-link.phone    { background-color: #FC5216; border-top: none;}
.popup-link.facebook { background-color: #4267b2; }
.popup-link.zalo     { background-color: #4cbfec; }
.popup-link.gmail    { background-color: #ec554a; }


/* --- RESPONSIVE CHO MOBILE --- */
@media (max-width: 768px) {
    .contact-button {
        right: 15px;
        bottom: 15px;
        padding: 15px;
        width: 60px;
        height: 60px;
        border-radius: 90px 50px 90px 90px;
    }
    .contact-button__text {
        display: none;
    }
    .advice-bubble { font-size: 13px; }
}

/* --- ANIMATIONS --- */
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes bubbleIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }


/* trang lien he footer */
.lienhechantrang {
    gap: 0 !important;
    border-top: 2px solid #f9f9f9;
}
/* Vùng hero */
.dvtt-hero {
  background-color: transparent;
  background-image: linear-gradient(90deg, rgb(255, 169, 48) 0%, rgb(252, 147, 4) 100%);
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px 14px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Lưới nội dung */
.dvtt-hero__wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

/* Cột chữ */
.dvtt-hero__text {
  text-align: center;
  z-index: 1;
}

.dvtt-lead {
  margin: 6px 0 0;
  font-weight: 700;
  line-height: 1.35;
}
.dvtt-lead .line-1,
.dvtt-lead .line-2 { 
  font-size: 18px; 
}

/* Cột ảnh */
.dvtt-hero__art {
  display: flex;             /* << THÊM MỚI */
  justify-content: center;       /* << THÊM MỚI: Ra lệnh canh giữa nội dung bên trong */
}

.dvtt-hero__art img {
  width: auto;
  height: 168px;
  display: block;
  object-fit: cover;
  margin-bottom: -18px;
}

/* ========================================= */
/* GIAO DIỆN TABLET VÀ DESKTOP (>= 768px)  */
/* ========================================= */
@media (min-width: 768px) {
  .dvtt-hero { 
    padding: 30px 30px 0 30px;
  }
  .dvtt-hero__wrap {
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }
  .dvtt-hero__text { 
    text-align: right;
    align-self: center; /* Chữ luôn ở giữa theo chiều dọc */
  }
  .dvtt-lead .line-1, .dvtt-lead .line-2 { 
    font-size: 24px; 
      line-height: 30px; 
  }
  
  .dvtt-hero__art {
    align-self: end; /* Ảnh luôn ở dưới theo chiều dọc */
    display: block;  /* << THÊM MỚI: Trả lại trạng thái mặc định cho desktop */
  }
  .dvtt-hero__art img {
    margin-bottom: 0;
    height: 168px;    /* << THAY ĐỔI: Để ảnh tự co giãn chiều cao cho đẹp */
    width: auto;     /* << THÊM MỚI: Ảnh chiếm hết chiều rộng cột */
  }
}

/* ========================================= */
/* GIAO DIỆN DESKTOP LỚN (>= 1024px) */
/* ========================================= */
@media (min-width:1024px) {
  .dvtt-lead .line-1, .dvtt-lead .line-2 { 
    font-size: 24px; 
  }
}


/* Container chính của khối */
/* Cột nội dung bên trái */
.cta-content {
  color: #111827;
}

.cta-title {
    font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
  color: var(--ast-global-color-0); /* Màu cam chủ đạo */
}
.cta-description {
  margin-bottom: 0;
}
.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cta-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #4b5563;
}



/* --- CSS CHO KHỐI THÔNG TIN LIÊN HỆ ĐƠN GIẢN --- */

/* Container chính của khối */
.simple-contact-footer {
  padding: 0 20px;
}
/* Các khối nội dung bên trong */
.contact-block {
  margin-bottom: 30px; /* Khoảng cách giữa các khối */
}

/* Tiêu đề có gạch chân */
/* Định dạng cho các dòng text */
.contact-block p {
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.contact-block strong {
  font-weight: 600;
}

/* Định dạng cho các đường link */
.contact-block a {

  text-decoration: none;
  transition: color 0.2s ease;
}

/* Vùng chứa các nút mạng xã hội */
.social-links {
  display: flex;
  gap: 15px; /* Khoảng cách giữa các nút */
  flex-wrap: wrap; /* Cho phép xuống dòng nếu không đủ chỗ */
}

/* Thiết kế chung cho nút mạng xã hội */
.social-button {
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  border-radius: 0; /* Đổi thành hình vuông */
  text-decoration: none;
  transition: opacity 0.2s ease;
}
/* Màu riêng cho từng nút */
.social-button.facebook {
  background-color: #3b5998;
}
.social-links a {
    font-size: 12px;
}
.social-button.youtube {
  background-color: #ff4343;
}
.social-links a:hover {
    color:#fff;
}
/* --- CSS CHO KHỐI DỊCH VỤ / QUYỀN LỢI CÓ HIỆU ỨNG --- */

/* Định nghĩa chuyển động quay tròn */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* SỬA: Cú pháp animation đúng */
.animated-services-grid .service-item:nth-child(2) .service-icon,
.animated-services-grid .service-item:nth-child(3) .service-icon {
  animation: rotate 8s linear infinite;
}

.animated-services-section {
  padding: 10px 20px 30px 20px;
  background-color: #fff;
}
.animated-services-container {
  max-width: 1100px;
  margin: 0 auto;
}
/* Phần tiêu đề */
.section-header h2:after {
    content: '❤';
    display: inline-block;
    margin-left: 5px;
    transform: rotate(30deg);
    top: -5px;
    position: absolute;
    color: #ff0000;
    animation: blink 3s infinite;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-weight: 700;
  margin: 0 0 10px 0;
  position: relative;
}
.section-header p {
  color: #6b7280;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Lưới chứa các dịch vụ */
.animated-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cột trên desktop */
  gap: 30px;
}

/* Thiết kế cho mỗi mục dịch vụ */
.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.07);
}

/* Vùng chứa icon và hiệu ứng */
.service-icon {
  position: relative; /* Bắt buộc để hiệu ứng hoạt động */
  flex-shrink: 0; /* Giúp icon không bị co lại */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Đảm bảo icon nổi lên trên hiệu ứng nền */
  animation: shake 12s ease-in-out infinite;
}

/* HIỆU ỨNG NỀN QUAY TRÒN */
.service-icon::before {
    content: "";
    width: 40px;
    height: 40px;
    background-color: var(--ast-global-color-0);
    border-radius: 10px;
    position: absolute;
    top: -10%;
    left: -10%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.1;
    border: 4px double #fff;
    animation: rotate 6s infinite linear;
}


.service-icon img {
  width: 40px; /* Kích thước icon bên trong */
  height: auto;
  position: relative;
  z-index: 2;
}

/* Phần chữ (tiêu đề và mô tả) */
.service-text h4 {
  margin: 0 0 5px 0;
  font-weight: 600;
}

.service-text p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

/* XỬ LÝ CHO ĐIỆN THOẠI */
@media (max-width: 768px) {
  .animated-services-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
  }

}
.service-item {
    background-image: url(/wp-content/uploads/2021/09/baove.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 68px;
}
/* CSS  Logo */
@media screen and (max-width: 544px) {
.site-title {
    display: block;
}}
.site-branding {
    position:relative
}
.site-branding:before, .site-branding:after {
    content:"";
    position:absolute;
    top:50%;
    width:10px;
    height:100%;
    transform:translateY(-50%);
    background-color:rgba(255,255,255,.75);
    z-index:999999999;
}
.site-branding:before{left:-5%;animation:light-left 2.5s infinite alternate linear}
.site-branding:after{right:-5%;animation:light-right 2.5s infinite alternate linear}

@keyframes light-left{0%{left:-5%;opacity:0}50%{left:50%;opacity:1}100%{left:105%;opacity:0}}
@keyframes light-right{0%{right:-5%;opacity:0}50%{right:50%;opacity:1}100%{right:105%;opacity:0}}


/*comment */
div#comments {
    border-top: 2px solid #eee;
}
.ast-comment-info {align-items: baseline;}
.comment-form-textarea { padding: 0; }
.ast-comment-cite-wrap {top: 5px;padding-left: 5px; }
/* ==== COMMENTS UI — LIGHTWEIGHT, MOBILE-FIRST (no JS) ==== */
.comment-form-comment {
  border: none; margin: 0; padding: 0; display: block; width: 100%;
}

/* Layout & typography */
.cmt-header { text-align: center; margin: 30px 0 15px; }
.cmt-header .comments-title { margin: 0; font-weight: 700; letter-spacing: .2px; }
.cmt-header .cmt-sub { margin: 6px 0 0; color: #64748b; font-size: 14px; }
.ast-comment-list {
    font-size: 95%;
}
/* List spacing (gọn hơn) */
.ast-comment-list { margin: 0; padding: 0; }
.ast-comment-list li { margin: 0 !important; padding: 5px 0 !important; }
.ast-comment-list .ast-comment {
    border-bottom: 1px dashed #eee !important;
    padding: 5px 0 !important;
}
.ast-comment-time {display: none;}
.ast-comment-meta-wrap { padding: 0; }
header.ast-comment-meta.ast-row.ast-comment-author.vcard.capitalize { margin: 8px 0 4px; }
section.ast-comment-content.comment p {
    margin-bottom: 6px;
    /* SỬA: Sai đơn vị */
    font-size: 14px;
}
.ast-comment-content { clear: both; padding-top: 4px; }

/* Avatar & tên tác giả */
.ast-comment-avatar-wrap {
    width: 30px !important;
    height: 30px !important;
    float: left;
    clear: right;
    margin-right: 1.33333em;
}
.ast-comment-meta {
    float: left;
    clear: right;
    padding-left: 3px;
    letter-spacing: 0px;
}
.ast-comment-avatar-wrap img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; }
.bypostauthor .ast-comment-cite-wrap .fn,
.comment.bypostauthor .ast-author-name { position: relative; font-weight: 700; }
/* Badge “label” nếu có dùng */
span.comment-author-label {
  font-size: 10px; padding: 2px 6px; color: #fff; background-color: #ef4444;
  border-radius: 999px; margin-left: 6px;
}

/* Children (trả lời) */
.ast-comment-list .children { margin-left: 50px !important; }
.ast-comment-list .children ol { margin-left: 0 !important; }
  .ast-comment-list li.depth-1 .children li { padding-left: 0 !important; padding-right: 0; }

/* Pagination — pill style */
.cmt-nav { margin: 10px 0 0; padding-top: 10px; }
.paginate-com { text-align: center; padding: 12px 0; background: #fff; }
.paginate-com a, .paginate-com span.page-numbers {
  display: inline-block; margin: 0 4px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid #eee; color: #0f172a; text-decoration: none; font-weight: 700; font-size: 14px;
}
.paginate-com a:hover { border-color: var(--ast-global-color-0); color: var(--ast-global-color-0); }
.paginate-com span.page-numbers.current {
  background: var(--ast-global-color-0); color: #fff; border-color: var(--ast-global-color-0);
}

/* Reply link như nút */
.ast-comment-edit-reply-wrap a,
.comment-reply-link {
  font-size: 10px; padding: 6px 10px; border-radius: 8px; border: 1px solid #eee;
  text-decoration: none; display: inline-block; font-weight: 700;
}
.comment-reply-link:hover { border-color: var(--ast-global-color-0); color: var(--ast-global-color-0); }

/* Form gọn, dễ nhập */
.comments-area .comment-notes,
.comments-area .comment-textarea,
.comments-area .form-allowed-tags { margin-bottom: 10px; color: #64748b; }

textarea#comment { height: 160px; }
.comments-area .form-submit { margin-bottom: 0; text-align: right; }



/* 2 cột tên/email trên desktop, 1 cột trên mobile */
p.comment-form-author.ast-col-xs-12.ast-col-sm-12.ast-col-md-4.ast-col-lg-4,
p.comment-form-email.ast-col-xs-12.ast-col-sm-12.ast-col-md-4.ast-col-lg-4 { width: 100%; padding: 0; margin-bottom: 0; }
@media (min-width: 768px){
  p.comment-form-author.ast-col-xs-12.ast-col-sm-12.ast-col-md-4.ast-col-lg-4 { width: 50%; }
  p.comment-form-email.ast-col-xs-12.ast-col-sm-12.ast-col-md-4.ast-col-lg-4 { width: 50%; }
}

/* Tiny tweaks */
nav#comment-nav-below { margin-bottom: 0; }
  .ast-comment-list .comment-respond {
  padding-right: 0; padding-left: 0; border-bottom: 1px dashed #eee;
}


/* ---- 1. GIAO DIỆN MOBILE (Mặc định, dưới 600px) ---- */
@media (max-width: 600px){
.stat {
    text-align: center;
    background-color: #edf2fa;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.9em;
}
.commitments-bar {
    justify-content: left;
}
.commitment-item:last-child {
    border-bottom: 0;
}
.commitment-item {
    border-bottom: 1px solid #fff;
    width: 100%;
    padding: 10px 0;
}
}


/* lien he */
/* ===== HERO ===== */
.dvtt-hero-banner {
      background: linear-gradient(1deg, #e9f2fc, #e8f2fc);
    padding: 30px 20px 0 20px;
    color: #0f172a;
    overflow: hidden;
    position: relative;
      border-bottom: 8px double #fff;
    border-radius: 10px;
}

/* Lưới nội dung */
.dvtt-hero-banner__wrap{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;      /* mobile: 1 cột */
  gap:20px;
  align-items:center;
}
/* Cột chữ: mobile canh giữa */
.dvtt-hero-banner__text{
  text-align:center;              /* MOBILE: center */
  z-index:1;
}
.dvtt-hero-banner__text h3{
  font-size:24px;
  font-weight: 700;
}
/* CTA (tối giản, giữ class sẵn có của bạn) */
.dvtt-cta-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px 0 30px 0;
    background-color: #ffff;
    color: var(--ast-global-color-0);
    font-weight: 700;
    border: 2px solid var(--ast-global-color-0);
}
.dvtt-cta-button:hover {
    background-color: var(--ast-global-color-0);
    font-weight: 700;
    color: #fff;
    border: 2px solid #ffffff;
}
/* Cột ảnh: mobile canh giữa + chạm đáy */
.dvtt-hero-banner__art{
  display:flex;
  justify-content:center;        /* MOBILE: ảnh giữa */
  align-items:flex-end;
}
.dvtt-hero-banner__art img{
  display:block;
  width:auto;
  object-fit:contain;
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width:768px){
  .dvtt-hero-banner{ padding:30px 30px 0; }
  .dvtt-hero-banner__wrap{
    grid-template-columns:2fr 1fr; /* 2/3 – 1/3 */
    gap:24px;
  }
  .dvtt-hero-banner__text{
    text-align:left;              /* TABLET/DESKTOP: left */
    align-self:center;
  }
  .dvtt-hero-banner__art{
    display:block;              /* trả về block để bám phải */
    align-self:end;               /* ảnh bám đáy cột */
    text-align:right;
  }
  .dvtt-hero-banner__art img{
    height:220px;
    margin-bottom:0;
  }
}
.online {
    margin-bottom: -20px;
    width: 100px;
    text-align: center;
    font-weight: bold;
    font-size: 90%;
    border-radius: 20px;
    z-index: 99;
    display: block;
    background-color: var(--ast-global-color-0);
    margin-top: -15px;
    clear: both;
    position: relative;
    margin-left: 30px;
    letter-spacing: 1px;
    float: left;
    border: 4px solid #fff;
}.online p {
    display: inline;
    color: #fff;
}
.online:before {
    width: 12px;
    height: 12px;
    background-color: #00d771;
    border-radius: 50%;
    border: 1px solid #fff;
    content: "";
    display: inline-block;
    margin-right: 5px;
}
/* post */
/* --- PHẦN CSS CHUNG (GIỮ NGUYÊN) --- */
.card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.card h3 {
    font-weight: bold;
    margin-top: 0;
}
.card p {
    margin-bottom: 0;
}
.reason-card {
    text-align: center !important;
    /* SỬA: Sửa lại cú pháp !important */
    border-top: 4px solid var(--ast-global-color-1) !important;
    padding-top: 20px; /* Thêm padding top để icon không bị sát */
}
.card.reason-card {
    background-image: url(/wp-content/uploads/baove.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 68px;
    background-color: #f9f9f9;
    margin: 15px 0;
}
.reason-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* SỬA: Xóa ; thừa */
    background: var(--ast-global-color-2);
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -54px auto 15px auto; /* Kéo icon lên trên, đè lên border */
    border: 4px solid #fff;
}
.industry-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.industry-list li {
    padding: 5px 0;
}

.testimonial-card {
    position: relative;
    padding-top: 30px;
    background: linear-gradient(316deg, #f5f5f5 0%, #fff8ec 100%) fixed;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 5em;
    /* SỬA: Xóa ; thừa */
    color: var(--ast-global-color-0);
    opacity: 0.15;
}
.accent { 
    /* SỬA: Xóa ; thừa */
    color: var(--ast-global-color-0); 
}

/* SỬA: Thêm dấu { vào */
.stat {
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.9em;
    background-color: #ecf6fe;
}
/* === PHẦN RESPONSIVE ĐÃ ĐƯỢC LÀM LẠI HOÀN CHỈNH === */
/* ---- 1. GIAO DIỆN MOBILE (Mặc định, dưới 600px) ---- */
.industry-list {
    column-count: 1;
}

/* ---- 2. GIAO DIỆN TABLET (Từ 600px trở lên) ---- */
@media (min-width: 600px) {
    .industry-list { 
        column-count: 2; 
    }
 }
/* ---- 3. GIAO DIỆN DESKTOP NHỎ (Từ 992px trở lên) ---- */
@media (min-width: 992px) {
        .industry-list { 
        column-count: 3; 
    }
}
.grid h3 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    color: #202f66;
    border-bottom: 2px solid #e8f4ff;
    padding: 15px 0;
}
/* rating */
.kk-star-ratings.kksr-template:before {
    content: "Đánh giá:";
}
.kk-star-ratings.kksr-template {
    margin-top: 20px;
}
/* hieu ung go chu */
/* --- CSS cho hiệu ứng gõ chữ --- */
.typing-effect {
    display: inline-block; /* Cần thiết để pseudo-element hoạt động đúng */
    position: relative; /* Giúp định vị con trỏ */
    min-height: 1.2em; /* Giữ chiều cao ổn định khi chữ bị xóa */
}

/* Tạo con trỏ nhấp nháy */
.typing-effect::after {
    content: '|';
    display: inline-block;
    animation: blink 0.7s infinite;
    font-weight: 400; /* Cho con trỏ mảnh hơn chữ */
    color: var(--ast-global-color-0); /* Màu cam của brô */
}

/* Animation nhấp nháy */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
    /* --- HIỆU ỨNG LẮC QUA LẠI CHO ICON THỨ HAI --- */
        
        /* 1. Định nghĩa chuyển động lắc */
        @keyframes shake {
            0%, 100% { transform: translateX(0) rotate(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px) rotate(-3deg); }
            20%, 40%, 60%, 80% { transform: translateX(5px) rotate(3deg); }
        }
/* menu */
ul.sub-menu li:last-child {
    border-bottom: none;
}
ul.sub-menu li {
    border-bottom: 1px solid #eee;
}

.submenu-with-border .sub-menu {
    border: 1px solid #eee;
    border-radius: 0 20px 20px 20px;
}
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    background-color: var(--ast-global-color-4);
}
@media (max-width: 768px) {
ul.sub-menu li {
    border-bottom: none;
}
}
/* lung tung */
.nhapnhay {
    animation: blink 2s infinite;
}
.single .entry-header .post-thumb img {
    border-radius: 30px;
}