/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* === FONTS: Gantari === */
@font-face {
    font-family: 'Gantari';
    src: url('./assets/fonts/Gantari-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gantari';
    src: url('./assets/fonts/Gantari-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gantari';
    src: url('./assets/fonts/Gantari-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gantari';
    src: url('./assets/fonts/Gantari-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gantari';
    src: url('./assets/fonts/Gantari-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Apply Gantari toàn site */
/* body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, button, input, textarea, select {
    font-family: 'Gantari', sans-serif !important;
} */
#header .header-top{
    background-color: #2b2b2b;
    min-height: 40px;
}
#header .header-top #header-contact a span{
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #ffffff;
}
#header .header-top #header-contact .icon-phone::before{
    background: linear-gradient(to right, red, #bb43a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#header .header-main{
    background: #1a1a1a;
    box-shadow: none;
}
#header .header-main .header-nav-main{
    justify-content: space-around;
}
#header .header-main .header-nav-main>.menu-item a{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
}
#header .header-main .header-nav-main>.menu-item:hover a,
#header .header-main .header-nav-main>.menu-item.current-menu-item a{
    border-bottom: 2px solid #E31E24;
    color: #fff !important;
}

#header .header-main .html_topbar_left a{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

#header .header-main .flex-right{
    position: relative;
}
#header .header-main .html_topbar_left a{
    padding: 14px 30px 14px 14px;
    border-radius: 4px;
    background: #E31E24;
}
#header .header-main .html_topbar_left a::after{
    position: absolute;
    content: '';
    right: 10px;
    top: 31px;
    transform: translateY(-50%);
    margin-left: 10px;
    background-image: url(./assets/images/arr.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 20px;
}
.secondary_title h4{
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    color: #E31E24;
    text-align: center;
    position: relative;
}


/* footer */
#footer .amlab_footer{
    background: #1a1a1a;
}
#footer .amlab_footer .col{
    padding-bottom: 0px;
}
#footer .absolute-footer{
    background: #000;
}
#footer .absolute-footer .payment-icons{
    display: none;
}
#footer .absolute-footer .footer-secondary{
    padding: 0;
}
#footer .icon-box{
    margin-bottom: 15px;
}
#footer .amlab_footer .ux-menu .ux-menu-link__link{
    border-bottom: none;
    padding: 0 15px;
    min-height: 36px;
}
#footer .amlab_footer .ux-menu .ux-menu-link__link span{
    font-size: 14px;
}
#footer .ux-menu .ux-menu-link{
    position: relative;
}
#footer .ux-menu .ux-menu-link.menu-item:hover span{
    color: #E31E24;
}
#footer .ux-menu .ux-menu-link.menu-item::before {
    content: "";
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    left: 0;
    width: 8px;
    height: 8px;
    background-image: url(./assets/images/iclisst_03.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#footer .icon-box p,
#footer .icon-box p a,
#footer .amlab_footer .ux-menu-link__link span{
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
#footer .icon-box .icon-box-img svg path{
    fill: #E31E24;
}

.btn_title h4{
    font-size: 18px;
    background: #E31E24;
    padding: 8px 50px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    display: inline;
}
.amlab_banner .banner .text-box h3,
.amlab_about_us .banner .text-box h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 16px;
    line-height: 1.25;
}
.btn_nbbg{
    font-size: 14px;
    background: #E31E24 !important;
    color: #fff !important;
    font-weight: 500;
    text-transform: none;
    margin: 0;
    padding-right: 25px;
}
.btn_nbbg::after{
    position: absolute;
    content: '';
    right: 10px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: url('./assets/images/arr.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    display: inline-block;
    transform: translateY(4px);
}
/* trang chủ */
.amlab_banner .banner::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to right, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.55) 60%, rgba(15,15,15,0.2) 100%);
}
.amlab_banner .banner .text-box{
    z-index: 2;
}
.amlab_banner .banner .banner-layers{
    max-width: 100%;
}
/* Banner: reset khi không active */
.amlab_banner .banner .btn_title h4,
.amlab_banner .banner .text-box h3,
.amlab_banner .banner .text-box p,
.amlab_banner .banner .btn_nbbg {
    opacity: 0;
    animation: none;
}

/* Banner: chạy animation khi slide active */
.amlab_banner .banner.is-selected .btn_title h4 {
    animation: fadeInUp2 0.6s ease 0.2s both;
}
.amlab_banner .banner.is-selected .text-box h3 {
    animation: fadeInUp2 0.7s ease 0.4s both;
}
.amlab_banner .banner.is-selected .text-box p {
    animation: fadeInUp2 0.7s ease 0.65s both;
}
.amlab_banner .banner.is-selected .btn_nbbg {
    animation: fadeInUp2 0.6s ease 0.9s both;
}

@keyframes fadeInUp2 {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}
/* Banner dots: dọc bên phải, có số */
.amlab_banner .flickity-page-dots {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-reset: dot-num;
}
.amlab_banner .flickity-page-dots .dot {
    counter-increment: dot-num;
    width: 44px;
    height: 44px;
    margin: 0;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.amlab_banner .flickity-page-dots .dot::before {
    content: counter(dot-num, decimal-leading-zero);
    font-size: 13px;
    font-weight: 700;
    font-family: 'Gantari', sans-serif;
    color: #fff;
    line-height: 1;
}
.amlab_banner .flickity-page-dots .dot.is-selected {
    background: #E31E24;
    border-color: #E31E24;
}


.amlab_hsnl .col.large-4 .col-inner{
    box-shadow:
    0 8px 16px -4px rgba(0, 0, 0, 0.10),
    -6px 0 12px -4px rgba(0, 0, 0, 0.06);
    border: 2px solid #e8e8e8;
    border-top: 5px solid #E31E24;
    padding: 24px
}
.amlab_hsnl .col.large-4 .col-inner p{
    margin-bottom: 2px;
}
.amlab_hsnl .col.large-4 .col-inner .icon .icon-inner{
    padding: 15px;
    background: #111;
    border-radius: 50%;
}
.amlab_hsnl .col.large-4 .col-inner .icon .icon-inner img{
    filter: brightness(0) invert(1);
}
.amlab_hsnl .col.large-4 .col-inner .nl_item h4{
    margin-bottom: 0px;
    font-size: 32px;
    color: #000;
    font-weight: 600;
}
.amlab_hsnl .col.large-4 .col-inner .nl_item p{
    margin-bottom: 15px;
    font-size: 16px;
    color: #E31E24;
    font-weight: 700;
}
.amlab_about_us .col_left h2{
    line-height: 1 !important;
}
.amlab_about_us .col_left .txt_b h4{
    font-size: 16px;
    font-weight: 700;
    color: #E31E24;
    /* border-top: 3px solid #E31E24; */
    padding-top: 12px;
    position: relative;
    /* margin: 0; */
}
.amlab_about_us .col_left .txt_b h4::before{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 25%;
    height: 3px;
    background: #E31E24;
}
.amlab_about_us .col_left .text-box p{
    font-size: 14px;
}
.amlab_about_us .col_left .text-box .stack{
    gap: 15px;
}
.amlab_about_us .col_left .text-box .stack .button{
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* opacity: 0.6; */
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    padding: 5px 20px;
    text-transform: none;
    border: 2px solid #E31E24 !important;
}
.amlab_about_us .col_right .txt_effect{
    font-size: 16px;
    font-weight: 600;
    padding: 20px 50px;
    background: #E31E24;
    max-width: 70%;
    margin-left: 0px;
}
.amlab_about_us .col_right .txt_effect p{
    margin: 0;
}
.primary_title h2{
    font-size: 44px;
    margin-top: 15px;
    color: #000;
}

/* === SECTION: Service === */
.amlab_service .service_item .col-inner {
    position: relative;
    overflow: hidden;
    box-shadow:
            0 8px 16px -4px rgba(0, 0, 0, 0.10),
            -6px 0 12px -4px rgba(0, 0, 0, 0.06);
    border-top: 5px solid #E31E24;
    background: #1a1a1a;
    text-align: center;
    padding: 10px;
}
.amlab_service .service_item .icon-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.amlab_service .service_item .icon-box .icon-inner{
    padding: 15px;
    background: #E31E24;
    border-radius: 50%;
}
.amlab_service .service_item .icon-box h4{
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.amlab_service .service_item .icon-box .icon-inner img{
    filter: brightness(0) invert(1);
}

.amlab_service .service_item .txt_detail {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}
.txt_viewmore p{
    color: #E31E24;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}
.txt_viewmore p::after{
    position: absolute;
    content: '';
    right: -20px;
    top: 0px;
    width: 14px;
    height: 14px;
    background: url('./assets/images/arr_right.png');
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    transform: translateY(4px);
}
.amlab_service .service_item .txt_detail p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}
.amlab_service .service_item:hover .txt_detail {
    transform: translateX(0);
}

.amlab_dt_lists .col.large-12{
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
    padding-bottom: 0px;
}

/* === SECTION: Slider (amlab_slider) === */
.amlab_slider_section {
    border-top: 3px solid #E31E24;
    background: #f5f5f5;
}

/* Dots phía dưới */
.amlab_dt .row_title .col{
    padding-bottom: 10px;
}
.amlab_dt_lists .flickity-page-dots {
    bottom: -24px;
}
.amlab_dt_lists .flickity-page-dots .dot {
    background: #ccc;
    opacity: 1;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border: none;
}
.amlab_dt_lists .flickity-page-dots .dot.is-selected {
    background: #E31E24 !important;
}

/* Hover: grayscale → màu thật + viền đỏ */
.amlab_dt_lists  .flickity-slider > * {
    transition: filter 0.3s ease, box-shadow 0.3s ease;
    /* filter: grayscale(100%); */
}
.amlab_dt_lists .flickity-slider > *:hover {
    filter: grayscale(0%);
    box-shadow: 0 0 0 2px #E31E24;
}



/* === SECTION: Du an tieu bieu === */

/* Override Flatsome width: 100% !important */
.amlab_da .amlab_du_an_tb .flickity-slider > .amlab-project-card {
    width: calc(40% - 20px) !important;
    margin: 0 10px;
    /* padding: 20px; */
}

/* amlab-card-inner: full width cua cell, boc noi dung */
.amlab_da .amlab-card-inner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(94, 94, 94, 0.35);
    overflow: hidden;
    height: 480px;
    border-top: 5px solid #E31E24;
}
.amlab_da .row-full-width>.large-12{
    padding-left: 0;
    padding-right: 0;
}
/* Anh nen full card */
.amlab_da .amlab-project-thumb {
    position: absolute;
    inset: 0;
    display: block;
}
.amlab_da .amlab-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.amlab_da .amlab-card-inner:hover .amlab-project-thumb img {
    transform: scale(1.06);
}

/* Info panel: starts right, slides left on hover/active */
.amlab_da .amlab-project-info {
    position: absolute;
    bottom: 5px;
    left: 110px;
    width: 54%;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    opacity: 0;
    transition: left 0.45s ease, opacity 0.4s ease;
    transition-delay: 0.1s;
    z-index: 5;
    /* height: 95%; */
    align-content: end;
}
.amlab_da .amlab-card-inner:hover .amlab-project-info,
.amlab_da .amlab-project-card.is-selected .amlab-project-info {
    left: 16px;
    opacity: 1;
}

.amlab_da .amlab-project-cat {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}
.amlab_da .amlab-project-title {
    font-size: 22px;
    font-weight: 700;
    color: #141416;
    margin-bottom: 14px;
    line-height: 1.3;
}
.amlab_da .amlab-project-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #141416;
    border: 1px solid rgba(0,0,0,0.3);
    padding: 8px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.amlab_da .amlab-project-location:hover {
    background: #E31E24;
    color: #fff;
    border-color: #E31E24;
}
.amlab_da .amlab-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.amlab_da .amlab-meta-item {
    width: calc(50% - 4px);
    background: #f5f5f5;
    border: 1px solid #edecec;
    border-radius: 8px;
    padding: 12px 14px;
}
.amlab_da .amlab-meta-item span {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
}
.amlab_da .amlab-meta-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #141416;
}

/* Dots */
.amlab_da .amlab_du_an_tb .flickity-page-dots {
    bottom: -28px;
}
.amlab_da .amlab_du_an_tb .flickity-page-dots .dot {
    background: #ccc;
    opacity: 1;
}
.amlab_da .amlab_du_an_tb .flickity-page-dots .dot.is-selected {
    background: #E31E24;
}

/* === SINGLE: Du an chi tiet === */
.amlab-single-da .amlab-da-hero {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.amlab-single-da .amlab-da-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.amlab-single-da .amlab-da-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}
.amlab-single-da .amlab-da-cat {
    display: inline-block;
    background: #E31E24;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.amlab-single-da .amlab-da-hero-content h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

/* Section 1: col 6+6 (ảnh + thông tin) */
.amlab-single-da .amlab-da-sec1 {
    padding: 15px 0;
}
.amlab-single-da .amlab-da-row-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.amlab-single-da .amlab-da-col-img img {
    width: 100%;
    /* border-radius: 12px; */
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.amlab-single-da .amlab-da-info-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E31E24;
}
.amlab-single-da .amlab-da-info-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.amlab-single-da .amlab-da-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}
.amlab-single-da .amlab-da-info-list .info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}
.amlab-single-da .amlab-da-info-list .info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

/* 2 nút */
.amlab-single-da .amlab-da-btns {
    display: flex;
    gap: 12px;
}
.amlab-single-da .amlab-btn-phone,
.amlab-single-da .amlab-btn-baogia {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.25s, transform 0.2s;
    text-decoration: none;
}
.amlab-single-da .amlab-btn-phone:hover,
.amlab-single-da .amlab-btn-baogia:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
.amlab-single-da .amlab-btn-phone {
    background: #1a1a1a;
    color: #fff;
}
.amlab-single-da .amlab-btn-baogia {
    background: #E31E24;
    color: #fff;
}
.amlab-single-da{
    padding-top: 0px;
}

/* Section 2: col 9+3 (content + sidebar) */
.amlab-single-da .amlab-da-sec2 {
    padding: 0 0 48px;
    /* border-top: 1px solid #f0f0f0; */
}
.amlab-single-da .amlab-da-main{
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.amlab-single-da .amlab-da-main .tabbed-content .nav{
    border-bottom: 2px solid #ef4136;
    margin-bottom: 20px;
}
.amlab-single-da .amlab-da-main .tabbed-content .nav .active a{
    background: #ef4136;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
}
.amlab-single-da .amlab-da-main .tabbed-content .nav li a::before{
    display: none;
}
.amlab-single-da .amlab-da-row-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    border-top: 1px solid #f0f0f0;
    gap: 48px;
    padding-top: 40px;
    align-items: start;
}

/* Content */
.amlab-single-da .amlab-da-content {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}
.amlab-single-da .amlab-da-content h2,
.amlab-single-da .amlab-da-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 28px 0 14px;
}
.amlab-single-da .amlab-da-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

/* WooCommerce tabs trong col-9 nội dung */
.amlab-single-da .amlab-da-main .woocommerce-tabs {
    margin-top: 8px;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid #E31E24;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs li {
    margin: 0;
    padding: 0;
    border: none;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs li a {
    display: block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    background: #f0f0f0;
    border: none;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs li a:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs li.active a,
.amlab-single-da .amlab-da-main .woocommerce-tabs .tabs.wc-tabs li.active a:hover {
    background: #E31E24;
    color: #fff;
}
.amlab-single-da .amlab-da-main .woocommerce-tabs .panel {
    padding: 24px 0 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

/* TOC sidebar col-3 */
.amlab-single-da #ez-toc-container{
    margin-bottom: 0px;
}
.amlab-single-da .amlab-da-sidebar {
    position: sticky;
    top: 110px;
}
.amlab-single-da .amlab-da-toc {
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    overflow: hidden;
}
.amlab-single-da .amlab-da-toc-title {
    background: #E31E24;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
}
.amlab-single-da .amlab-da-toc #toc_container,
.amlab-single-da .amlab-da-toc .ez-toc-container,
.amlab-single-da .amlab-da-toc .lwptoc_container {
    background: transparent !important;
    border: none !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    width: 100% !important;
}
.amlab-single-da .amlab-da-toc #toc_container p.toc_title,
.amlab-single-da .amlab-da-toc .lwptoc_title {
    display: none !important;
}
.amlab-single-da .amlab-da-toc #toc_container ul,
.amlab-single-da .amlab-da-toc .ez-toc-list,
.amlab-single-da .amlab-da-toc .lwptoc_list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.amlab-single-da .amlab-da-toc #toc_container ul li,
.amlab-single-da .amlab-da-toc .ez-toc-list li,
.amlab-single-da .amlab-da-toc .lwptoc_list li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
    border-bottom: 1px solid #ebebeb;
}
.amlab-single-da .amlab-da-toc #toc_container ul li:last-child,
.amlab-single-da .amlab-da-toc .ez-toc-list li:last-child,
.amlab-single-da .amlab-da-toc .lwptoc_list li:last-child {
    border-bottom: none;
}
.amlab-single-da .amlab-da-toc #toc_container ul li a,
.amlab-single-da .amlab-da-toc .ez-toc-list li a,
.amlab-single-da .amlab-da-toc .lwptoc_list li a {
    display: block;
    padding: 9px 4px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.amlab-single-da .amlab-da-toc #toc_container ul li a:hover,
.amlab-single-da .amlab-da-toc .ez-toc-list li a:hover,
.amlab-single-da .amlab-da-toc .lwptoc_list li a:hover {
    color: #E31E24;
    padding-left: 6px;
}

/* Popup báo giá */
/* =============================================
   POPUP BÁO GIÁ
   ============================================= */
.amlab-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.amlab-popup-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

/* 2 góc đỏ: trên-trái và dưới-phải */
.amlab-popup-baogia::before,
.amlab-popup-baogia::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 1;
}
.amlab-popup-baogia::before {
    top: -3px;
    left: -3px;
    border-top: 3px solid #E31E24;
    border-left: 3px solid #E31E24;
}
.amlab-popup-baogia::after {
    bottom: -3px;
    right: -3px;
    border-bottom: 3px solid #E31E24;
    border-right: 3px solid #E31E24;
}

/* Nút đóng */
.amlab-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E31E24;
    border: none;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
    margin: 0px;
}
.amlab-popup-close:hover { background: #c01010; }

/* Grid 2 cột */
.amlab-popup-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    border-radius: 12px;
}

/* Cột ảnh trái */
.amlab-popup-img-col {
    position: relative;
    overflow: hidden;
}
.amlab-popup-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.amlab-popup-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 30px 16px 14px;
}
.amlab-popup-img-caption p {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Cột form phải */
.amlab-popup-form-col {
    padding: 30px 32px 28px;
    overflow-y: auto;
    max-height: 90vh;
}
.amlab-popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* CF7 form inputs */
.amlab-popup-form-col .wpcf7-form p { margin-bottom: 0; }
.amlab-popup-form-col .wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}
.amlab-popup-form-col .wpcf7-form input[type="text"],
.amlab-popup-form-col .wpcf7-form input[type="email"],
.amlab-popup-form-col .wpcf7-form input[type="tel"],
.amlab-popup-form-col .wpcf7-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    /* background: #fafafa; */
    transition: border-color 0.2s, background 0.2s;
    margin-top: 6px;
    box-sizing: border-box;
    box-shadow: none;
}
.amlab-popup-form-col .wpcf7-form input[type="text"]:focus,
.amlab-popup-form-col .wpcf7-form input[type="email"]:focus,
.amlab-popup-form-col .wpcf7-form input[type="tel"]:focus,
.amlab-popup-form-col .wpcf7-form textarea:focus {
    border-color: #E31E24;
    background: #fff;
    outline: none;
    box-shadow: none;
}
.amlab-popup-form-col .wpcf7-form textarea { resize: vertical; min-height: 90px; }

/* Row tên + SĐT: 2 cột, margin/padding 0 */
.amlab-popup-form-col .wpcf7-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0;
}
.amlab-popup-form-col .wpcf7-form .row .col {
    margin: 0;
    padding: 0;
}

/* Row button cuối: flex ngang */
.amlab-popup-form-col .wpcf7-form .row:last-child {
    display: flex;
    grid-template-columns: unset;
    margin: 0;
    margin-top: 10px;
}
.amlab-popup-form-col .wpcf7-form .row:last-child .col {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.amlab-popup-form-col .wpcf7-form .wpcf7-submit {
    background: #E31E24;
    color: #fff;
    border: none;
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.amlab-popup-form-col .wpcf7-form .wpcf7-submit:hover { background: #c01010; }
.amlab-popup-form-col .btn-thoat {
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 24px;
    font-size: 14px;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.amlab-popup-form-col .btn-thoat:hover { border-color: #E31E24; color: #E31E24; }

/* Gallery slider: main + thumbnails */
.amlab-single-da .amlab-da-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.amlab-single-da .amlab-da-img-slider {
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}
.amlab-single-da .amlab-da-img-slide {
    width: 100%;
    aspect-ratio: 4/3;
}
.amlab-single-da .amlab-da-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Flickity prev/next nằm trong slider */
.amlab-single-da .amlab-da-img-slider .flickity-button {
    background: rgba(0,0,0,0.45);
    color: #fff;
}
.amlab-single-da .amlab-da-img-slider .flickity-button:hover {
    background: #E31E24;
}
.amlab-single-da .amlab-da-img-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.amlab-single-da .amlab-da-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.65;
}
.amlab-single-da .amlab-da-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.amlab-single-da .amlab-da-thumb:hover {
    opacity: 1;
}
.amlab-single-da .amlab-da-thumb.is-active {
    border-color: #E31E24;
    opacity: 1;
}

/* Dự án liên quan */
.amlab-single-da .amlab-da-related {
    padding: 48px 0;
    background: #f7f7f7;
}
.amlab-single-da .amlab-da-related-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E31E24;
    display: inline-block;
}
.amlab-single-da .amlab-da-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.amlab-single-da .amlab-da-related-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border-top: 3px solid #E31E24;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.amlab-single-da .amlab-da-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}
.amlab-single-da .amlab-da-related-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.amlab-single-da .amlab-da-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.amlab-single-da .amlab-da-related-card:hover .amlab-da-related-thumb img {
    transform: scale(1.06);
}
.amlab-single-da .amlab-da-related-info {
    padding: 16px 18px 20px;
}
.amlab-single-da .amlab-da-related-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #E31E24;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.amlab-single-da .amlab-da-related-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.4;
}
.amlab-single-da .amlab-da-related-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Back button */
.amlab-single-da .amlab-da-back {
    padding: 32px 0 48px;
}
.amlab-single-da .btn-back,
.btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E31E24;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #E31E24;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.25s, color 0.25s;
}
.amlab-single-da .btn-back:hover,
.btn-viewall:hover {
    background: #E31E24;
    color: #fff;
}
.btn-viewall{
    margin-top: 50px;
}
.amlab_da .large-12{
    padding-bottom: 0px;
}
/* =============================================
   BREADCRUMB: .amlab_breadcrumb
   ============================================= */

.amlab_breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
.amlab_breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.amlab_breadcrumb a:hover {
    color: #E31E24;
}
.amlab_breadcrumb strong {
    color: #1a1a1a;
    font-weight: 600;
}
.amlab_breadcrumb-sep {
    color: #bbb;
    font-size: 14px;
    margin: 0 2px;
    user-select: none;
}

/* =============================================
   ARCHIVE: Dự án — /du-an/
   ============================================= */

.amlab-archive-da {
    padding: 30px 0;
}

/* Header */
.amlab-archive-da .amlab-archive-header {
    text-align: center;
    margin-bottom: 0px;
}
.amlab-archive-heading {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    text-align: center;
}
.page .amlab-archive-heading{
    padding-top: 30px;
}
.amlab-archive-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #E31E24;
    border-radius: 2px;
}

/* Grid 3 cột */
.amlab-archive-da .amlab-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.amlab-archive-da .amlab-archive-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 5px solid #E31E24;
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}
.amlab-archive-da .amlab-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

/* Thumb container */
.amlab-archive-da .amlab-archive-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.amlab-archive-da .amlab-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.amlab-archive-da .amlab-archive-card:hover .amlab-archive-thumb img {
    transform: scale(1.06);
}
.amlab-archive-da .amlab-archive-no-thumb {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Glass shine sweep on hover */
.amlab-archive-da .amlab-archive-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.48) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    transition: left 0.8s ease;
}
.amlab-archive-da .amlab-archive-card:hover .amlab-archive-shine {
    left: 160%;
}

/* Card body */
.amlab-archive-da .amlab-archive-body {
    padding: 18px 20px 20px;
}
.amlab-archive-da .amlab-archive-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.4;
    transition: color 0.25s;
}
.amlab-archive-da .amlab-archive-card:hover .amlab-archive-title {
    color: #E31E24;
}
.amlab-archive-da .amlab-archive-location {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
}

/* Meta tags row */
.amlab-archive-da .amlab-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.amlab-archive-da .amlab-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #555;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 4px 9px;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}
.amlab-archive-da .amlab-archive-card:hover .amlab-meta-tag {
    background: #fdecea;
    color: #C0181D;
}
.amlab-archive-da .amlab-meta-tag svg {
    flex-shrink: 0;
}

/* Pagination */
.amlab-archive-da .amlab-archive-pagination {
    margin-top: 48px;
    text-align: center;
}
.amlab-archive-da .amlab-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 3px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    background: #f0f0f0;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}
.amlab-archive-da .amlab-archive-pagination .page-numbers.current,
.amlab-archive-da .amlab-archive-pagination .page-numbers:hover {
    background: #E31E24;
    color: #fff;
}

/* =============================================
   BLOG POST CARD: Flatsome [blog_posts] custom
   ============================================= */

/* Ẩn badge ngày trên ảnh và comment mặc định của Flatsome */
.box-blog-post .badge.absolute.top.post-date,
.box-blog-post .from_the_blog_comments,
.box-blog-post .is-divider {
    display: none !important;
}

/* Card wrapper */
.box-blog-post.has-hover {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box-blog-post.has-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

/* Ảnh zoom khi hover */
.box-blog-post.has-hover .box-image img {
    transition: transform 0.45s ease;
}
.box-blog-post.has-hover:hover .box-image img {
    transform: scale(1.05);
}

/* Body text area */
.box-blog-post .box-text {
    padding: 16px 20px 20px;
}
.box-blog-post .blog-post-inner {
    display: flex;
    flex-direction: column;
}

/* Meta row được inject qua hook */
.amlab-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    order: -1;
}
.amlab-pm-date,
.amlab-pm-comments {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #888;
    line-height: 1;
}
.amlab-pm-sep {
    color: #ccc;
    font-size: 12px;
    line-height: 1;
}

/* Title */
.box-blog-post h5.post-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    margin: 0 0 10px;
   
}
.box-blog-post h5.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.box-blog-post h5.post-title a:hover {
    color: #E31E24;
}

/* Excerpt */
.box-blog-post .from_the_blog_excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   SINGLE POST: Blog chi tiết
   ============================================= */

.amlab-sp-layout {
    margin-top: 24px;
}
.blog-single{
    padding-top: 0px;
}
.blog-single .entry-header .is-divider{
    display: none;
}
.blog-single .large-9 #ez-toc-container{
    display: none;
}
.blog-single .entry-header .entry-title{
    font-size: 28px;
    font-weight: 700;
    color: #111;
}
/* TOC sticky */
.amlab-sp-toc-col { position: relative; }
.amlab-sp-toc {
    position: sticky;
    top: 120px;
}
.amlab-sp-toc .ez-toc-title{
    font-weight: 600;
    color: #E31E24;
}
.blog-single .entry-content *{
    color: #111;
}
.blog-single .entry-content p{
    font-size: 14px;
}
.blog-single .entry-content ul li{
    font-size: 14px;
    margin-bottom: 5px;
}

/* Share bar */
.amlab-sp-share {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 14px;
    padding: 18px 0;
    /* margin-top: 28px; */
    border-top: 1px solid #eee;
}
.amlab-sp-share-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #444;
    text-transform: uppercase;
}
.amlab-sp-share-icons { display: flex; gap: 8px; }
.amlab-share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.amlab-share-fb { color: #1877f2; }
.amlab-share-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}
.amlab-share-fb:hover svg { fill: #fff; }

/* About section */
.amlab-sp-about {
    margin: 20px 0;
}
.amlab-sp-about .is-divider {
    /* margin: 20px 0; */
    width: 100%;
    max-width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 118, 128, 0) 0%, #E31E24 50%, rgba(30, 118, 128, 0) 100%);
    z-index: 1;
    text-align: center;
    opacity: 1;
}
.amlab-sp-about-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.amlab-sp-about-logo { flex-shrink: 0; }
.amlab-sp-about-logo img { max-width: 160px; height: auto; }
.amlab-sp-site-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.amlab-sp-about-desc p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
}

/* Related posts */
/* Related posts section */
/* .amlab-sp-related { padding: 10px 0 60px; } */
.amlab-sp-related .primary_title{
    border-left: 3px solid #E31E24;
    padding-left: 10px;
    margin-bottom: 30px;
}
.amlab-sp-related .post-item .box-text{
    text-align: left;
}
.amlab-sp-related .post-item .amlab-post-meta{
    margin-left: 0px;
}


/* Round arrow buttons cho [blog_posts] slider */
/* .amlab-sp-related .flickity-prev-next-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #E31E24;
    color: #E31E24;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}
.amlab-sp-related .flickity-prev-next-button:hover {
    background: #E31E24;
    color: #fff;
}
.amlab-sp-related .flickity-prev-next-button svg { fill: currentColor; } */

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .amlab-archive-da .amlab-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .amlab-archive-da .amlab-archive-heading {
        font-size: 26px;
    }
    .amlab_breadcrumb-sep {
        font-size: 12px;
    }
    .amlab-sp-about-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .amlab-single-da .amlab-da-related-grid {
        grid-template-columns: 1fr;
    }

}