/*
|--------------------------------------------------------------------------
| HCT01 Typography
|--------------------------------------------------------------------------
*/

html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
input,
textarea,
select,
button{
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* BODY TEXT */

body{
    font-size:16px;
    line-height:1.72;
    color:#444;
    font-weight:400;
}

/* TEXT THƯỜNG */

p,
li,
td,
th,
.office-address,
.page-layout-01-sapo-text,
.service-detail-html,
.faq-show-content,
.faq-detail-content-html,
.contact-info-item p,
.contact-note{
    font-size:16px;
    line-height:1.78;
    color:#444;
    font-weight:400;
}

/* Paragraph spacing */

.page-layout-01-sapo-text p,
.service-detail-html p,
.faq-show-content p,
.faq-detail-content-html p{
    margin:0 0 14px;
}

/* TITLE */

h1,
h2,
h3,
h4,
h5,
h6,
.office-title,
.contact-block-title,
.service-card-title,
.faq-question{
    font-family:"Inter", sans-serif;
    letter-spacing:-0.01em;
    color:#1d2d35;
}

/* PAGE TITLE */

.office-title{
    font-size:40px;
    line-height:1.2;
    font-weight:800;
}

/* SECTION TITLE */

.contact-block-title{
    font-size:28px;
    line-height:1.3;
    font-weight:700;
}

/* CARD TITLE */

.service-card-title{
    font-size:20px;
    line-height:1.4;
    font-weight:700;
}

/* FAQ QUESTION */

.faq-question{
    font-size:20px;
    line-height:1.45;
    font-weight:700;
}





/*
|--------------------------------------------------------------------------
| HCT01 Pagination
|--------------------------------------------------------------------------
*/

.hct-pagination-wrap{
    width:100%;
    margin:32px 0 0;
    display:flex;
}

.hct-pagination-wrap.is-left{
    justify-content:flex-start;
}

.hct-pagination-wrap.is-center{
    justify-content:center;
}

.hct-pagination-wrap.is-right{
    justify-content:flex-end;
}

.hct-pagination{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}

.hct-pagination__item,
.hct-pagination__dots{
    min-width:38px;
    height:38px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    font-size:15px;
    line-height:1;
    font-weight:700;
}

.hct-pagination__item{
    border:1px solid #dce4ec;
    background:#fff;
    color:#334155;
    text-decoration:none;
    transition:all .18s ease;
}

.hct-pagination__item:hover{
    border-color:#006837;
    color:#006837;
    background:#f2faf5;
}

.hct-pagination__item.is-active{
    border-color:#006837;
    background:#006837;
    color:#fff;
}

.hct-pagination__item.is-disabled{
    cursor:not-allowed;
    opacity:.45;
    background:#f5f7f9;
    color:#8a96a3;
}

.hct-pagination__dots{
    color:#8a96a3;
}

/* size sm */
.hct-pagination--sm .hct-pagination__item,
.hct-pagination--sm .hct-pagination__dots{
    min-width:32px;
    height:32px;
    padding:0 9px;
    font-size:13px;
    border-radius:8px;
}

/* size md */
.hct-pagination--md .hct-pagination__item,
.hct-pagination--md .hct-pagination__dots{
    min-width:38px;
    height:38px;
}

/* size lg */
.hct-pagination--lg .hct-pagination__item,
.hct-pagination--lg .hct-pagination__dots{
    min-width:44px;
    height:44px;
    padding:0 14px;
    font-size:16px;
}

@media(max-width:640px){
    .hct-pagination-wrap{
        justify-content:center !important;
        margin-top:24px;
    }

    .hct-pagination{
        gap:6px;
    }

    .hct-pagination__item,
    .hct-pagination__dots{
        min-width:34px;
        height:34px;
        padding:0 9px;
        font-size:14px;
        border-radius:8px;
    }
}



/* NEWS DETAIL - HERO CARD LAYOUT */

.data-news-detail .office-header.news-header{
    max-width:1100px;
    margin:34px auto 34px;
    padding:42px 42px 38px;
    border-radius:24px;
    background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
    border:1px solid #e8edf3;
}

.news-detail-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
    padding:8px 18px;
    border-radius:999px;
    background:#eef8f2;
    color:#006837;
    font-size:14px;
    line-height:1;
    font-weight:800;
}

.news-title{
    max-width:880px;
    margin:0 auto;
    font-size:46px;
    line-height:1.16;
    font-weight:800;
    color:#143b68;
    letter-spacing:-.03em;
}

.news-meta{
    margin:18px auto 0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:9px 16px;
    border-radius:999px;
    background:#fff;
    border:1px solid #e5ecf3;
    color:#6b7280;
    font-size:14px;
    font-weight:700;
}

.news-meta i{
    color:#006837;
}

.news-header .news-sapo{
    margin:26px auto 0;
    padding-top:24px;
    border-top:1px solid #e8edf3;
}

.news-header .page-layout-01-sapo-text{
    font-size:19px;
    line-height:1.8;
    color:#555;
    font-weight:500;
}

.news-header .page-layout-01-sapo-text p{
    margin:0 0 14px;
}

.news-header .page-layout-01-sapo-text p:last-child{
    margin-bottom:0;
}

.news-detail-inner{
    margin:0 auto;
    padding:0 15px 72px;
}

.news-avatar{
    margin:0 0 34px;
    border-radius:22px;
    overflow:hidden;
    background:#f3f5f7;
    box-shadow:0 14px 34px rgba(0,0,0,.08);
}

.news-avatar img{
    width:100%;
    display:block;
}

.news-detail{
    margin:0 auto;
    font-size:17px;
    line-height:1.9;
    color:#374151;
}

.news-detail p{
    margin:0 0 18px;
}

.news-detail h2,
.news-detail h3{
    margin:32px 0 14px;
    color:#143b68;
    line-height:1.35;
    font-weight:800;
}

.news-detail img{
    max-width:100%;
    height:auto;
    border-radius:16px;
}

.news-content-blocks{
    
    margin:42px auto 0;
}

@media(max-width:768px){
    .data-news-detail .office-header.news-header{
        margin:22px 12px 28px;
        padding:28px 18px;
        border-radius:18px;
    }

    .news-title{
        font-size:31px;
    }

    .news-header .page-layout-01-sapo-text{
        font-size:16px;
    }

    .news-detail{
        font-size:16px;
    }
}
@media(max-width:768px){

    .data-news-detail .office-header.news-header{
        margin:18px 10px 24px;
        padding:22px 16px;
        border-radius:16px;
    }

    .news-detail-badge{
        margin-bottom:12px;
        padding:6px 12px;
        font-size:12px;
    }

    .news-title{
        font-size:26px;
        line-height:1.28;
        letter-spacing:0;
    }

    .news-meta{
        margin-top:12px;
        padding:7px 12px;
        font-size:12px;
    }

    .news-header .news-sapo{
        margin-top:18px;
        padding-top:18px;
    }

    .news-header .page-layout-01-sapo-text{
        font-size:15px;
        line-height:1.7;
    }

    .news-detail-inner{
        padding:0 12px 50px;
    }

    .news-avatar{
        margin-bottom:22px;
        border-radius:14px;
    }

    .news-detail{
        font-size:15px;
        line-height:1.8;
    }

    .news-detail h2{
        font-size:22px;
        margin:26px 0 12px;
    }

    .news-detail h3{
        font-size:20px;
        margin:24px 0 12px;
    }

    .news-detail img{
        border-radius:12px;
    }

    .news-content-blocks{
        margin-top:28px;
    }
}
@media(max-width:768px){

    .news-header-center{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .news-detail-badge{
        order:1;
        margin-bottom:14px;
    }

    .news-title{
        order:2;
        width:100%;
        font-size:26px;
        line-height:1.25;
        text-align:center;
    }

    .news-meta{
        order:3;
        margin-top:14px;
        margin-bottom:0;
    }

    .news-header .news-sapo{
        order:4;
        width:100%;
        margin-top:18px;
    }
}



/*-------*/
/* SERVICE DETAIL - HERO CONSULTING STYLE */

.data-service-detail{
    background:#fff;
}

.service-detail-hero{
    padding:42px 15px 34px;
}

.service-detail-hero-inner{
    max-width:1100px;
    margin:0 auto;
    padding:46px 48px;
    border-radius:26px;
    background:
        radial-gradient(circle at top left, rgba(0,104,55,.12), transparent 32%),
        linear-gradient(135deg,#f7fbff 0%,#ffffff 62%,#f2faf5 100%);
    border:1px solid #e5edf5;
    text-align:center;
}

.service-detail-kicker{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:8px 18px;
    border-radius:999px;
    background:#eef8f2;
    color:#006837;
    font-size:14px;
    line-height:1;
    font-weight:800;
}

.service-detail-title{
    max-width:880px;
    margin:20px auto 0;
    font-size:44px;
    line-height:1.18;
    font-weight:850;
    color:#143b68;
    letter-spacing:-.03em;
}

.service-detail-sapo{
    max-width:850px;
    margin:24px auto 0;
    padding-top:22px;
    border-top:1px solid #e3ebf3;
    font-size:18px;
    line-height:1.78;
    color:#4b5563;
    font-weight:500;
}

.service-detail-sapo p{
    margin:0 0 12px;
}

.service-detail-sapo p:last-child{
    margin-bottom:0;
}

.service-detail-actions{
    margin-top:28px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

.service-detail-btn{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 20px;
    border-radius:999px;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
}

.service-detail-btn-primary{
    background:#006837;
    color:#fff;
    box-shadow:0 10px 22px rgba(0,104,55,.18);
}

.service-detail-btn-light{
    background:#fff;
    color:#143b68;
    border:1px solid #dfe8f1;
}

.service-detail-body{
    padding:0 15px 72px;
}

.service-detail-body-inner{
    max-width:980px;
    margin:0 auto;
}

.service-detail-main{
    background:#fff;
    border:1px solid #e6ecf3;
    border-radius:22px;
    padding:34px 38px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.service-detail-section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:22px;
    color:#143b68;
    font-size:20px;
    line-height:1.3;
    font-weight:850;
}

.service-detail-section-title span{
    width:6px;
    height:26px;
    border-radius:999px;
    background:#006837;
}

.service-detail-html{
    font-size:17px;
    line-height:1.9;
    color:#374151;
}

.service-detail-html p{
    margin:0 0 18px;
}

.service-detail-html h2,
.service-detail-html h3{
    margin:30px 0 14px;
    color:#143b68;
    line-height:1.35;
    font-weight:850;
}

.service-detail-html ul,
.service-detail-html ol{
    padding-left:22px;
    margin:0 0 18px;
}

.service-show-content-blocks{
    margin-top:38px;
}

.service-empty{
    padding:28px;
    border-radius:18px;
    background:#f8fafc;
    color:#6b7280;
    font-size:16px;
}

@media(max-width:768px){
    .service-detail-hero{
        padding:22px 10px 24px;
    }

    .service-detail-hero-inner{
        padding:28px 18px;
        border-radius:18px;
    }

    .service-detail-kicker{
        padding:7px 14px;
        font-size:12px;
    }

    .service-detail-title{
        margin-top:16px;
        font-size:28px;
        line-height:1.25;
        letter-spacing:0;
    }

    .service-detail-sapo{
        margin-top:18px;
        padding-top:18px;
        font-size:15px;
        line-height:1.72;
    }

    .service-detail-actions{
        margin-top:22px;
        flex-direction:column;
    }

    .service-detail-btn{
        width:100%;
        min-height:44px;
    }

    .service-detail-body{
        padding:0 12px 52px;
    }

    .service-detail-main{
        padding:24px 18px;
        border-radius:18px;
    }

    .service-detail-section-title{
        font-size:18px;
    }

    .service-detail-html{
        font-size:15px;
        line-height:1.82;
    }
}




/*===========*/
.news-cate-list-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.news-cate-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e9eef0;
    box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-cate-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 138, 75, .22);
    box-shadow: 0 26px 70px rgba(16, 24, 40, .13);
}

.news-cate-card-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2f5f3;
}

.news-cate-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .28));
    opacity: .55;
    pointer-events: none;
}

.news-cate-card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease;
}

.news-cate-card:hover .news-cate-card-img img {
    transform: scale(1.07);
}

.news-cate-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}

.news-cate-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.news-cate-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f7f3;
    color: #0f8a4b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.news-cate-title {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.32;
    font-weight: 850;
    letter-spacing: -.02em;
}

.news-cate-title a {
    color: #101828;
    text-decoration: none;
    transition: color .2s ease;
}

.news-cate-title a:hover {
    color: #00573d;
}

.news-cate-sapo {
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
font-weight:normal!important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-cate-sapo *{font-weight:normal!important;}

/* Reset nhẹ HTML nhập từ admin trong sapo */
.news-cate-sapo p {
    margin: 0;
}

.news-cate-sapo p + p {
    margin-top: 8px;
}

.news-cate-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: fit-content;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #00573d;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.news-cate-more i {
    font-size: 13px;
    transition: transform .2s ease;
}

.news-cate-more:hover {
    background: #10251d;
    transform: translateY(-1px);color: #fff;
}

.news-cate-more:hover i {
    transform: translateX(3px);color: #fff;
}

@media (max-width: 1024px) {
    .news-cate-list-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .news-cate-list-modern {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-cate-card {
        border-radius: 20px;
    }

    .news-cate-card-info {
        padding: 18px;
    }

    .news-cate-title {
        font-size: 19px;
    }
}