/* ========================================================
   CSS SO SÁNH 2 THẺ ĐỐI LẬP: TỰ TỔ CHỨC VS CÙNG VIETTEAM
======================================================== */

/* Đảm bảo 2 thẻ có chiều cao bằng nhau */
.vt-care-how,
.vt-care-well {
    display: flex;
    flex-direction: column;
}

/* 1. ĐỊNH DẠNG KHUNG THẺ CHUNG (CARD CONTAINER) */
.vt-care-how .col-inner,
.vt-care-well .col-inner {
    border: 1px solid #e5e7eb; /* Viền mỏng 1px màu xám nhạt */
    border-radius: 12px;        /* Bo tròn 4 góc */
    overflow: hidden;           /* Bo góc ôm sát tiêu đề */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 !important;      /* Clear padding mặc định của Flatsome */
}

/* 2. CẤU HÌNH TIÊU ĐỀ (HEADER NỀN MÀU CHỦ ĐẠO - CHỮ TRẮNG - CHIỀU CAO ĐỒNG NHẤT) */
.vt-care-how h4,
.vt-care-well h4 {
    color: #ffffff !important;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    margin: 0 !important;
    line-height: 1.4;
    
    /* Cố định chiều cao bằng nhau cho 2 bên kể cả khi co rút màn hình */
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tông màu Tiêu đề */
.vt-care-how h4 {
    background-color: #d97706; /* Màu vàng cam đậm cho bên "Tự lên kế hoạch" */
}

.vt-care-well h4 {
    background-color: #059669; /* Màu xanh lá tươi cho bên "Cùng VietTeam" */
}

/* 3. NỀN TRẮNG NỘI DUNG VÀ TẠO ICON ĐẦU DÒNG (CHECKMARK & QUESTION MARK) */
.vt-care-how ul,
.vt-care-well ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 24px 20px !important;
    flex-grow: 1;
    background-color: #ffffff !important; /* Đã chuyển nền danh sách về màu TRẮNG THUẦN */
}

.vt-care-how li,
.vt-care-well li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
}

.vt-care-how li:last-child,
.vt-care-well li:last-child {
    margin-bottom: 0;
}

/* Tạo Icon tự động cho bên HOW (Dấu hỏi chấm màu vàng cam) */
.vt-care-how li::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

/* Tạo Icon tự động cho bên WELL (Dấu tích xanh lá) */
.vt-care-well li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-color: #dcfce7;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

/* Reset lại định dạng font-size inline trong HTML */
.vt-care-how span,
.vt-care-well span {
    font-size: 15px !important;
}

/* 4. SẮP XẾP CHỮ RỐI BÙ ĐẦU (BÊN HOW) VS NGĂN NẮP (BÊN WELL) */

/* Hiệu ứng nghiêng nhẹ & xô lệch lộn xộn cho các dòng bên HOW */
.vt-care-how li:nth-child(1) { transform: rotate(-1.5deg) translateX(4px); }
.vt-care-how li:nth-child(2) { transform: rotate(1.2deg) translateX(-3px); }
.vt-care-how li:nth-child(3) { transform: rotate(-0.8deg) translateX(6px); }
.vt-care-how li:nth-child(4) { transform: rotate(1.8deg) translateX(-2px); }
.vt-care-how li:nth-child(5) { transform: rotate(-1.4deg) translateX(5px); }
.vt-care-how li:nth-child(6) { transform: rotate(1deg) translateX(-4px); }
.vt-care-how li:nth-child(7) { transform: rotate(-1.6deg) translateX(3px); }
.vt-care-how li:nth-child(8) { transform: rotate(1.3deg) translateX(-5px); }
.vt-care-how li:nth-child(9) { transform: rotate(-0.9deg) translateX(4px); }

/* Căn chỉnh thẳng hàng ngăn nắp cho bên WELL */
.vt-care-well li {
    transform: none !important;
    font-weight: 500;
}

/* ==========================================================
   5. BỐ CỤC MOBILE
========================================================== */
@media (max-width: 767px) {
    .vt-care-how {
        margin-bottom: 20px; /* Tạo khoảng cách giữa 2 thẻ khi xếp chồng trên phone */
    }
    
    /* Bỏ chiều cao cố định trên mobile vì các thẻ sẽ xếp chồng thành 1 cột */
    .vt-care-how h4,
    .vt-care-well h4 {
        min-height: auto;
    }
}