/*
 * AnDam Flatsome Child Framework CSS.
 * CSS nhẹ cho các UX Blocks thật, không import CSS lớn từ HTML cũ.
 */
:root{
    --andam-red:#6B1111;
    --andam-gold:#c99600;
    --andam-orange:#f29e24;
    --andam-dark:#111827;
    --andam-text:#111827;
    --andam-soft:#fff9f1;
}
.andam-stage1-front-page .andam-section,
.andam-section{
    font-family: inherit;
}
.andam-stage1-front-page h1,
.andam-stage1-front-page h2,
.andam-stage1-front-page h3,
.andam-section h1,
.andam-section h2,
.andam-section h3{
    font-weight: 800;
}
.andam-stage1-front-page p,
.andam-section p{
    color: var(--andam-text);
    font-size: 17px;
    line-height: 1.65;
}

/* Stage 2.1 - HERO giống bố cục index gốc: trái nội dung, phải thoáng */
.andam-home-hero-v2{
    overflow:hidden;
    border-top:1px solid rgba(107,17,17,.08);
}
.andam-home-hero-v2 .andam-hero-row{
    min-height:302px;
}
.andam-home-hero-v2 .andam-hero-content{
    padding-top:16px;
    padding-bottom:14px;
}
.andam-home-hero-v2 h1{
    margin:0 0 20px;
    color:var(--andam-red);
    font-size:clamp(42px,4.1vw,56px);
    line-height:.98;
    font-weight:900;
    letter-spacing:-.025em;
}
.andam-home-hero-v2 .andam-hero-subtitle{
    color:var(--andam-gold);
    font-size:clamp(18px,1.7vw,22px);
    line-height:1.45;
    margin-bottom:30px;
}
.andam-home-hero-v2 .andam-hero-button,
.andam-home-hero-v2 .button.andam-hero-button{
    background:var(--andam-gold) !important;
    border-color:var(--andam-gold) !important;
    color:#fff !important;
    font-weight:800;
    letter-spacing:.01em;
    border-radius:6px !important;
    padding-left:20px;
    padding-right:20px;
    box-shadow:none;
    text-transform:none;
}
.andam-home-hero-v2 .andam-hero-empty{
    min-height:240px;
}

/* Stage 2.1 - INTRO giống index gốc: text trái, ảnh phải */
.andam-home-intro-v2{
    border-top:1px solid rgba(15,23,42,.04);
}
.andam-home-intro-v2 .andam-intro-row{
    align-items:center;
}
.andam-home-intro-v2 .andam-intro-text{
    padding-right:34px;
}
.andam-home-intro-v2 .andam-intro-text p{
    margin:0 0 24px;
    color:#000;
    font-size:17px;
    line-height:1.55;
}
.andam-home-intro-v2 .andam-intro-photo{
    display:block;
    width:100%;
    height:auto;
    border-radius:8px;
    box-shadow:0 4px 18px rgba(15,23,42,.10);
}
.andam-home-intro-v2 .andam-intro-image{
    display:flex;
    align-items:center;
}

.andam-placeholder{
    min-height:260px;
    border:2px dashed rgba(107,17,17,.25);
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--andam-red);
    background:#fff;
    font-weight:700;
}

@media (max-width: 849px){
    .andam-home-hero-v2{
        text-align:left;
        padding-top:46px !important;
        padding-bottom:42px !important;
    }
    .andam-home-hero-v2 .andam-hero-row{
        min-height:auto;
    }
    .andam-home-hero-v2 .andam-hero-empty{
        min-height:0;
        display:none;
    }
    .andam-home-hero-v2 h1{
        font-size:42px;
    }
    .andam-home-intro-v2 .andam-intro-text{
        padding-right:15px;
    }
    .andam-home-intro-v2 .andam-intro-image{
        margin-top:8px;
    }
}


/* Stage 2.2 - hoàn thiện Hero + Intro cân giống index hơn */
.andam-home-hero-v3{
    overflow:hidden;
    border-top:1px solid rgba(107,17,17,.08);
}
.andam-home-hero-v3 .andam-hero-row{
    min-height:294px;
}
.andam-home-hero-v3 .andam-hero-content{
    padding-top:10px;
    padding-bottom:10px;
}
.andam-home-hero-v3 h1{
    margin:0 0 19px;
    color:var(--andam-red);
    font-size:clamp(42px,4vw,56px);
    line-height:.98;
    font-weight:900;
    letter-spacing:-.025em;
}
.andam-home-hero-v3 .andam-hero-subtitle{
    color:var(--andam-gold);
    font-size:clamp(18px,1.6vw,21px);
    line-height:1.45;
    margin-bottom:29px;
}
.andam-home-hero-v3 .andam-hero-button,
.andam-home-hero-v3 .button.andam-hero-button{
    background:var(--andam-gold) !important;
    border-color:var(--andam-gold) !important;
    color:#fff !important;
    font-weight:800;
    letter-spacing:.01em;
    border-radius:6px !important;
    padding-left:20px;
    padding-right:20px;
    box-shadow:none;
    text-transform:none;
}
.andam-home-hero-v3 .andam-hero-aside{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
.andam-home-hero-v3 .andam-hero-card{
    width:min(420px,100%);
    background:rgba(255,255,255,.58);
    border:1px solid rgba(201,150,0,.24);
    border-radius:18px;
    padding:34px 34px 32px;
    box-shadow:0 22px 60px rgba(15,23,42,.08);
}
.andam-home-hero-v3 .andam-hero-card h3{
    color:var(--andam-red);
    font-size:30px;
    line-height:1.2;
    margin:0 0 14px;
    font-weight:850;
}
.andam-home-hero-v3 .andam-hero-card span{
    display:block;
    width:82px;
    height:4px;
    border-radius:999px;
    background:var(--andam-orange);
    margin-bottom:20px;
}
.andam-home-hero-v3 .andam-hero-card p{
    margin:0;
    color:var(--andam-text);
    font-size:16px;
    line-height:1.65;
}
.andam-home-intro-v3{
    border-top:1px solid rgba(15,23,42,.04);
}
.andam-home-intro-v3 .andam-intro-row{
    align-items:center;
}
.andam-home-intro-v3 .andam-intro-text{
    padding-right:30px;
}
.andam-home-intro-v3 .andam-intro-text p{
    margin:0 0 24px;
    color:#000;
    font-size:17px;
    line-height:1.55;
}
.andam-home-intro-v3 .andam-intro-photo{
    display:block;
    width:100%;
    height:auto;
    border-radius:8px;
    box-shadow:0 4px 18px rgba(15,23,42,.10);
}
.andam-home-intro-v3 .andam-intro-image{
    display:flex;
    align-items:center;
}
@media (max-width:849px){
    .andam-home-hero-v3{
        text-align:left;
        padding-top:42px !important;
        padding-bottom:40px !important;
    }
    .andam-home-hero-v3 .andam-hero-row{
        min-height:auto;
    }
    .andam-home-hero-v3 .andam-hero-aside{
        display:none;
    }
    .andam-home-hero-v3 h1{
        font-size:42px;
    }
    .andam-home-intro-v3{
        padding-top:38px !important;
        padding-bottom:44px !important;
    }
    .andam-home-intro-v3 .andam-intro-text{
        padding-right:15px;
    }
    .andam-home-intro-v3 .andam-intro-image{
        margin-top:10px;
    }
}


/* Stage 2.3 - Hero được tách thành UX Block thật; phần còn lại của index giữ nguyên tạm thời */
.andam-home-hero-v4{
    overflow:hidden;
    border-top:1px solid rgba(15,23,42,.04);
}
.andam-home-hero-v4 .andam-hero-row{
    min-height:300px;
}
.andam-home-hero-v4 .andam-hero-content{
    padding-top:18px;
    padding-bottom:18px;
}
.andam-home-hero-v4 h1{
    margin:0 0 20px;
    color:#111111;
    font-size:clamp(42px,4.1vw,56px);
    line-height:1.08;
    font-weight:800;
    letter-spacing:-.02em;
}
.andam-home-hero-v4 .andam-hero-subtitle{
    color:#f29e24;
    font-size:clamp(18px,1.7vw,22px);
    line-height:1.45;
    margin-bottom:30px;
}
.andam-home-hero-v4 .andam-hero-button,
.andam-home-hero-v4 .button.andam-hero-button{
    background:#f29e24 !important;
    border-color:#f29e24 !important;
    color:#fff !important;
    font-weight:700;
    text-transform:none;
    border-radius:6px !important;
    box-shadow:none;
}
.andam-home-hero-v4 .andam-hero-empty-space{
    min-height:230px;
}
@media (max-width:849px){
    .andam-home-hero-v4{
        padding-top:44px !important;
        padding-bottom:42px !important;
    }
    .andam-home-hero-v4 .andam-hero-row{
        min-height:auto;
    }
    .andam-home-hero-v4 h1{
        font-size:40px;
    }
    .andam-home-hero-v4 .andam-hero-empty-col{
        display:none;
    }
}

/* Stage 2.4: Hero đặt trực tiếp trong Page để chỉnh được trong UX Builder trang chủ. */
.andam-home-hero-native{
    background:#f9fafb;
}
.andam-home-hero-native .andam-hero-row{
    max-width:1050px;
}
.andam-home-hero-native .andam-hero-content{
    padding-left:8px;
}
.andam-home-hero-native .andam-hero-title-text h1{
    margin:0 0 18px;
    font-size:56px;
    line-height:1.04;
    font-weight:800;
    letter-spacing:-1px;
    color:#111827;
}
.andam-home-hero-native .andam-hero-title-text p{
    margin:0 0 28px;
    font-size:22px;
    line-height:1.45;
    font-weight:600;
    color:#f59e0b;
}
.andam-home-hero-native .andam-hero-button,
.andam-home-hero-native .button.andam-hero-button{
    border-radius:6px!important;
    font-weight:700;
    font-size:18px;
    padding:12px 24px;
    text-transform:none;
}
.andam-home-hero-native .andam-hero-empty-space{
    min-height:210px;
}
@media (max-width: 849px){
    .andam-home-hero-native{
        padding-top:34px!important;
        padding-bottom:34px!important;
    }
    .andam-home-hero-native .andam-hero-title-text h1{
        font-size:38px;
    }
    .andam-home-hero-native .andam-hero-title-text p{
        font-size:18px;
    }
    .andam-home-hero-native .andam-hero-empty-col{
        display:none;
    }
}

/* Stage 2.5: Intro đặt trực tiếp trong Page để chỉnh được trong UX Builder, xoá các section tạm bên dưới. */
.andam-home-intro-editable{
    border-top:1px solid rgba(15,23,42,.04);
}
.andam-home-intro-editable .andam-intro-row{
    align-items:center;
    max-width:1050px;
}
.andam-home-intro-editable .andam-intro-text{
    padding-right:30px;
}
.andam-home-intro-editable .andam-intro-copy p{
    margin:0 0 24px;
    color:#000;
    font-size:17px;
    line-height:1.55;
}
.andam-home-intro-editable .andam-intro-photo{
    display:block;
    width:100%;
    height:auto;
    border-radius:8px;
    box-shadow:0 4px 18px rgba(15,23,42,.10);
}
.andam-home-intro-editable .andam-intro-image{
    display:flex;
    align-items:center;
}
@media (max-width:849px){
    .andam-home-intro-editable{
        padding-top:34px!important;
        padding-bottom:42px!important;
    }
    .andam-home-intro-editable .andam-intro-text{
        padding-right:15px;
    }
    .andam-home-intro-editable .andam-intro-image{
        margin-top:12px;
    }
}
