/* ==========================================================================
   CONTENT IMAGE BLOCK / ABOUT SECTION - SỬ DỤNG GLOBAL CSS TOKENS
   Path: template-parts/sections/content-image-block/style.css
   ========================================================================== */

.content-image-block { 
    background-color: var(--color-bg-main, #FAF3E8);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Container bằng khuôn 1250px với Header */
.content-image-block__container {
    max-width: 1250px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* HEADER NẰM CHÍNH GIỮA ĐẦU SECTION */
.content-image-block__header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 45px auto;
}

.content-image-block__header-title {
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: var(--fs-h2, 38px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-heading, #2F2B29);
    margin: 0 0 14px 0;
}

.content-image-block__header-desc {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: var(--fs-body-s, 18px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-body, #5C5752);
    margin: 0;
}

.content-image-block__row {
    display: flex;
    gap: 50px;
    align-items: center;
    width: 100%;
}

/* ĐẢO VỊ TRÍ ẢNH VÀ CHỮ KHI CÓ MODIFIER Layout img-left */
.content-image-block--img-left .content-image-block__row {
    flex-direction: row-reverse;
}

/* CỘT CHỮ */
.content-image-block__text-col { 
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* TIÊU ĐỀ CHÍNH */
.content-image-block__title {
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: var(--fs-h2, 36px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading, #2F2B29);
    margin: 0 0 12px 0;
}

/* TIÊU ĐỀ PHỤ / TAGLINE (IN NGHIÊNG MÀU NÂU) */
.content-image-block__subtitle {
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-accent-2, #8A5038);
    margin: 0 0 20px 0;
}

/* VĂN BẢN MÔ TẢ (PARAGRAPH & TRÍCH DẪN QUOTE) */
.content-image-block__desc { 
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body, #5C5752);
    margin-bottom: 25px; 
}

.content-image-block__desc p {
    margin-bottom: 16px;
}

.content-image-block__desc p:last-child {
    margin-bottom: 0;
}

.content-image-block__desc ul {
    margin: 12px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.content-image-block__desc ul li {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body, #5C5752);
    margin-bottom: 6px;
}

/* KHOẢNG DANH SÁCH CHECKLIST TICK V */
.content-image-block__desc ul.checklist {
    list-style: none;
    padding-left: 0;
    margin: 14px 0;
}

.content-image-block__desc ul.checklist li {
    position: relative;
    padding-left: 26px;
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-body, #5C5752);
    margin-bottom: 10px;
}

.content-image-block__desc ul.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--text-heading, #2F2B29);
    font-size: 15px;
}

/* Định dạng đoạn Quote trong văn bản */
.content-image-block__desc blockquote,
.content-image-block__desc .quote {
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: 21px;
    font-style: italic;
    font-weight: 600;
    color: var(--color-accent-2, #8A5038);
    margin: 20px 0;
    text-align: left;
}

/* NÚT "TÌM HIỂU THÊM →" BO TRÒN NỀN NÂU GRADIENT CHUẨN MẪU */
.content-image-block__btn {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-2, #794B38) 100%);
    color: var(--text-white, #ffffff) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--ff-btn-m, var(--font-secondary, sans-serif));
    font-size: var(--fs-btn-m, 14px);
    font-weight: var(--fw-btn-m, 600);
    transition: var(--transition-base, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(121, 75, 56, 0.2);
}

.content-image-block__btn:hover {
    background: var(--color-accent-2, #794B38);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(121, 75, 56, 0.3);
}

/* CỘT ẢNH CHIẾM 50% - GIỮ NGUYÊN KÍCH THƯỚC ẢNH GỐC */
.content-image-block__img-col {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image-block__img { 
    max-width: 100%; 
    width: auto;
    height: auto;
    display: block; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* RESPONSIVE MOBILE - GIỐNG MẪU ẢNH 1 */
@media (max-width: 768px) {
    .content-image-block {
        padding: 35px 0;
    }

    .content-image-block__header {
        margin-bottom: 25px;
    }

    .content-image-block__header-title {
        font-size: 28px;
    }

    .content-image-block__header-desc {
        font-size: 14.5px;
    }

    .content-image-block__row {
        flex-direction: column !important;
        gap: 25px;
    }

    .content-image-block__text-col {
        width: 100%;
        text-align: left;
    }

    .content-image-block__title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .content-image-block__subtitle {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .content-image-block__desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .content-image-block__desc p {
        margin-bottom: 14px;
    }

    .content-image-block__desc blockquote,
    .content-image-block__desc .quote {
        font-size: 19px;
        font-style: italic;
        margin: 18px 0;
    }

    .content-image-block__img-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
    }
}

/* ==========================================================================
   KHỐI BỘ ĐẾM CHỈ SỐ (COUNTERS CARDS GRID)
   ========================================================================== */
.content-image-block__counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
    width: 100%;
    box-sizing: border-box;
}

.content-image-block__counter-card {
    background-color: #FFF8F0;
    border: 1px solid #EFE8DF;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.content-image-block__counter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.content-image-block__counter-number {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 46px;
    font-weight: 700;
    color: var(--text-heading, #2F2B29);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.content-image-block__counter-label {
    font-family: var(--font-secondary, 'Be Vietnam Pro', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading, #2F2B29);
    line-height: 1.35;
}
