/*
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.   ***************/
.logo-left .logo {
    margin-right: 10px !important;
}
.title-tddesign {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-transform: uppercase;
}
#logo img {
    height: 90px !important;
}
/* Dòng chính */
.name-tddesign,
.name-tddesign a,
.name-tddesign a:hover{
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    font-family: Orbitron;
}

/* Dòng slogan */
.slogan-tddesign {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2.5px;
    opacity: 0.9;
}
/* Tablet */
@media (max-width: 768px) {
    .name-tddesign {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .slogan-tddesign {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .name-tddesign {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .slogan-tddesign {
        font-size: 9px;
        letter-spacing: 1px;
    }
}

a.nav-top-link {
    cursor: pointer;
}

.tddesign .nav>li>a,
.tddesign .mobile-sidebar-levels-2 .nav>li>ul>li>a {
    color: #fff;
    font-weight: 500 !important;
    letter-spacing: 0.75px;;
    text-transform: uppercase;
    
    padding: 12px 10px;
    
    transition: all 0.3s ease;
}
.nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
	background-color: transparent !important;
}
/* Hover */
.tddesign .nav>li>a:hover,
.tddesign .mobile-sidebar-levels-2 .nav>li>ul>li>a:hover {
    color: #c8a97e; /* màu vàng be sang */
}

.tddesign .nav>li>a {
    position: relative;
}

/* Gạch chân animation */
.tddesign .nav>li>a::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 8px;
    width: 0;
    height: 1px;
    background: #c8a97e;
    transition: width 0.3s ease;
}

.tddesign .nav>li>a:hover::after {
    width: calc(100% - 32px);
}
/*
|--------------------------------------------------------------------------
| HEADER DROPDOWN
|--------------------------------------------------------------------------
*/

.nav-dropdown {
    border: none !important;
    padding: 14px 0 !important;
    min-width: 260px;
    background: rgba(255, 255, 255, .98);
    border-radius: 8px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .08),
        0 2px 8px rgba(0, 0, 0, .04);
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-top: 12px !important;
}

/*
|--------------------------------------------------------------------------
| ARROW
|--------------------------------------------------------------------------
*/

.nav-dropdown:before {
    border-bottom-color: rgba(255, 255, 255, .98) !important;
}

/*
|--------------------------------------------------------------------------
| MENU ITEM
|--------------------------------------------------------------------------
*/

.nav-dropdown li {
    border: none !important;
}

.nav-dropdown li a {
    font-size: 14px;
    font-weight: 500;
    color: #333 !important;
    padding: 14px 22px !important;
    transition: all .25s ease;
    position: relative;
}

/*
|--------------------------------------------------------------------------
| HOVER
|--------------------------------------------------------------------------
*/

.nav-dropdown li a:hover {
    background: rgba(216, 155, 0, .06);
    color: #d89b00 !important;
    padding-left: 28px !important;
}

/*
|--------------------------------------------------------------------------
| ACTIVE
|--------------------------------------------------------------------------
*/

.nav-dropdown li.current-menu-item>a {
    color: #d89b00 !important;
}

/*
|--------------------------------------------------------------------------
| SMALL LEFT LINE
|--------------------------------------------------------------------------
*/

.nav-dropdown li a:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 0;
    height: 1px;
    background: #d89b00;
    transition: .25s ease;
    opacity: 0;
}

.nav-dropdown li a:hover:before {
    width: 8px;
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| REMOVE UGLY FLATSOME EFFECT
|--------------------------------------------------------------------------
*/

.nav-dropdown-default {
    padding: 0 !important;
}

.nav-dropdown-has-arrow li.has-dropdown:after,
.nav-dropdown-has-arrow li.has-dropdown:before {
    display: none !important;
}

.header-nav>li {
    margin: 0 14px;
}

/*
 * Form liên hệ
 * 
 */
/*
|--------------------------------------------------------------------------
| SIDEBAR FORM WRAP
|--------------------------------------------------------------------------
*/

.tv-form-sidebar {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .06),
        0 2px 10px rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .05);
}

/*
|--------------------------------------------------------------------------
| INPUT / SELECT / TEXTAREA
|--------------------------------------------------------------------------
*/

.tv-form-sidebar input:not([type="submit"]):not([type="radio"]),
.tv-form-sidebar select,
.tv-form-sidebar textarea {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: #222;
    transition: all .25s ease;
    box-shadow: none;
}

/* TEXTAREA */

.tv-form-sidebar textarea {
    min-height: 130px;
    padding-top: 16px;
    resize: vertical;
}

/*
|--------------------------------------------------------------------------
| FOCUS
|--------------------------------------------------------------------------
*/

.tv-form-sidebar input:focus,
.tv-form-sidebar select:focus,
.tv-form-sidebar textarea:focus {
    border-color: #d89b00;
    box-shadow: 0 0 0 4px rgba(216, 155, 0, .08);
    background: #fff;
}

/*
|--------------------------------------------------------------------------
| PLACEHOLDER
|--------------------------------------------------------------------------
*/

.tv-form-sidebar ::placeholder {
    color: #999;
    font-weight: 400;
}

/*
|--------------------------------------------------------------------------
| ROW 2 COL
|--------------------------------------------------------------------------
*/

.tv-form-sidebar .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/*
|--------------------------------------------------------------------------
| BUDGET
|--------------------------------------------------------------------------
*/

.tv-form-sidebar .budget {
    margin: 10px 0 22px;
}

.tv-form-sidebar .budget label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

/*
|--------------------------------------------------------------------------
| RADIO
|--------------------------------------------------------------------------
*/

.tv-form-sidebar .wpcf7-list-item {
    display: block;
    margin: 0 0 12px;
}

.tv-form-sidebar .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| RADIO STYLE
|--------------------------------------------------------------------------
*/

.tv-form-sidebar input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #d89b00;
}

/*
|--------------------------------------------------------------------------
| SUBMIT BUTTON
|--------------------------------------------------------------------------
*/

.tv-form-sidebar input[type="submit"] {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #d89b00;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow:
        0 10px 20px rgba(216, 155, 0, .18);
}

/* HOVER */

.tv-form-sidebar input[type="submit"]:hover {
    transform: translateY(-2px);
    background: #c98f00;
    box-shadow:
        0 16px 30px rgba(216, 155, 0, .25);
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px) {

    .tv-form-sidebar {
        padding: 22px;
        border-radius: 14px;
    }

    .tv-form-sidebar .row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Container chính */
.tv-form {
    width: 100%;
}

/* Thiết lập hàng Flex */
.body-form-row-flex {
    display: flex !important;
    gap: 15px !important;
    /* Khoảng cách giữa 2 cột */
    margin-bottom: 10px;
}

/* Quan trọng: Ép các item con phải bằng nhau 50-50 */
.body-form-row-flex .flex-item {
    flex: 1 !important;
    width: 0;
    min-width: 0;
}

/* Đảm bảo các thẻ span bọc ngoài của CF7 cũng chiếm 100% */
.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

/* Reset lại style cho input/select để đồng nhất */
.tv-form input[type="text"],
.tv-form input[type="email"],
.tv-form input[type="tel"],
.tv-form select,
.tv-form textarea {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 5px !important;
}

/* Tùy chỉnh riêng cho phần Radio Ngân sách nếu cần */
.budget-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.ns-list-item {
    display: inline-block;
    margin-right: 10px;
}

.tv-form input,
.tv-form select,
.tv-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.tv-form textarea {
    min-height: 100px;
}

.row-2 {
    display: flex;
    gap: 10px;
}

.row-2>* {
    flex: 1;
}


.body-form-row-flex {
    display: flex !important;
    gap: 5px !important;
}

.tv-form input[type="submit"] {
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.tddesign input[type=submit] {
    font-weight: 500 !important;
}
.tddesign-footer .wpcf7 .wpcf7-form {
    background: #fff;
    padding: 20px 15px 0 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .05), 0 2px 10px rgba(0, 0, 0, .03);
    margin: 0px auto;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100% !important;
    height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    outline: none;
    display: block !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent !important;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    border: 0 !important;
}

.absolute-footer {
    background-color: #1c2e38;
    border-top: 1px solid #cacaca2e;
}

/*
 * Breadcrumd 
 */
/* Tổng thể khu vực breadcrumb */
.custom-bc-section {
    padding: 15px 0;
}

/* Định dạng text */
.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 30px;
}

.custom-breadcrumb a,
.custom-breadcrumb span {
    font-size: 15px;
    letter-spacing: .4px;
}

/* Các item link */
.custom-breadcrumb .bc-item {
    color: #161616 !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.custom-breadcrumb .bc-item:hover {
    color: #ff9a00 !important;
    /* Đổi màu cam khi di chuột vào */
}

/* Dấu phân cách (mũi tên) */
.custom-breadcrumb .bc-divider {
    color: #bb950a;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.custom-breadcrumb .bc-divider i {
    font-size: 12px;
}

/* Item hiện tại (trang đang xem) */
.custom-breadcrumb .bc-current {
    color: #161616;
    font-weight: 600;

    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: none;

    line-height: 1.6;
}

.blog-single span.bc-current {
    color: #242321;
}

.blog-archive span.bc-current {
    color: #f8f6f3;
}

/* Resposive cho điện thoại */
@media (max-width: 767px) {
    .custom-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .custom-bc-section {
        padding: 10px 0;
    }
}

/*
/-----------------------------------
/ META POST
/-----------------------------------
*/
/*
|------------------------------------------------------------------
| WRAPPER
|------------------------------------------------------------------
*/

.custom-post-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 10px 0 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/*
|------------------------------------------------------------------
| LEFT / RIGHT
|------------------------------------------------------------------
*/

.meta-left,
.meta-right {
    display: flex;
    align-items: center;
}

.meta-left {
    gap: 22px;
}

.meta-right {
    gap: 14px;
}

/*
|------------------------------------------------------------------
| SOCIAL
|------------------------------------------------------------------
*/

.meta-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-social a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f6f6f6;

    color: #222;

    transition: all .25s ease;
}

.meta-social a:hover {
    background: #ffba00;
    color: #fff;

    transform: translateY(-2px);
}

.meta-social i {
    font-size: 15px;
    margin: 0;
}

/*
|------------------------------------------------------------------
| STATS
|------------------------------------------------------------------
*/

.meta-stats {
    display: flex;
    align-items: center;
    gap: 16px;

    font-size: 14px;
    color: #666;
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.meta-stats i {
    font-size: 14px;
    color: #c89b3c;
}

/*
|------------------------------------------------------------------
| AUTHOR AVATAR
|------------------------------------------------------------------
*/

.author-avatar {
    position: relative;
}

.author-avatar img {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #fff;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .08);
}

/*
|------------------------------------------------------------------
| AUTHOR INFO
|------------------------------------------------------------------
*/

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.verified-text {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 12px;
    font-weight: 500;

    color: #7b7b7b;
}

.verified-text i {
    color: #18a957;
    font-size: 11px;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;

    line-height: 1.3;
}

/*
|------------------------------------------------------------------
| MOBILE
|------------------------------------------------------------------
*/

@media(max-width:768px) {

    .custom-post-meta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .meta-left {
        flex-wrap: wrap;
        gap: 16px;
    }

    .meta-stats {
        gap: 12px;
        flex-wrap: wrap;
    }

}


/*
* Sidebar
*/

.sidebar-custome .section-title-normal {
    border-bottom: 0 !important;
    background-color: #293b45;
    text-align: center;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
}

.sidebar-custome .section-title-normal span {
    border-bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
    text-transform: none;
}

.sidebar-custome .section-title-container {
    margin-bottom: 1em;
}

/*
|--------------------------------------------------------------------------
| SIDEBAR WRAP
|--------------------------------------------------------------------------
*/

.sidebar-custom-td {
    position: sticky;
    top: 0px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sidebar-custom-td .section-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/*
|--------------------------------------------------------------------------
| CARD BASE
|--------------------------------------------------------------------------
*/

.sidebar-custom-td .sidebar-card,
.sidebar-custom-td .item-post-sidebar {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .05),
        0 2px 10px rgba(0, 0, 0, .03);
}

/*
|--------------------------------------------------------------------------
| CONSULT CARD
|--------------------------------------------------------------------------
*/

.sidebar-custom-td .consult-card {
    padding: 38px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg,
            #3c3c42,
            #242429);
}

/* GOLD GLOW */

.sidebar-custom-td .consult-card:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(216, 155, 0, .12);
    top: -80px;
    right: -80px;
    filter: blur(10px);
}

/*
|--------------------------------------------------------------------------
| CONSULT TEXT
|--------------------------------------------------------------------------
*/

.sidebar-custom-td .consult-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.sidebar-custom-td .consult-phone {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    color: #d89b00;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.sidebar-custom-td .consult-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.sidebar-custom-td .consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: #d89b00;
    color: #fff !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .3s ease;
    position: relative;
    z-index: 2;
    box-shadow:
        0 12px 24px rgba(216, 155, 0, .22);
}

.sidebar-custom-td .consult-btn:hover {
    background: #c98f00;
    transform: translateY(-3px);
    box-shadow:
        0 18px 35px rgba(216, 155, 0, .28);
}

/*
|--------------------------------------------------------------------------
| SIDEBAR POSTS
|--------------------------------------------------------------------------
*/

.item-post-sidebar {
    padding: 28px !important;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 22px;
    background: #fff;
}

.item-post-sidebar.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

.item-post-sidebar>.col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*
|--------------------------------------------------------------------------
| REMOVE FLATSOME DEFAULT
|--------------------------------------------------------------------------
*/

.item-post-sidebar .col,
.item-post-sidebar .col-inner,
.item-post-sidebar .box {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.item-post-sidebar .is-divider,
.item-post-sidebar .read-more-button-wrapper {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.sidebar-heading {
    /* margin-bottom: 26px;*/
    position: relative;
}

.sidebar-heading span {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 26px;
    font-weight: 700;
    color: #111;
    letter-spacing: -.3px;
}

/* line */

.sidebar-heading span:after {
    content: "";
    width: 36px;
    height: 2px;
    background: #d89b00;
    border-radius: 10px;
}

/*
|--------------------------------------------------------------------------
| POST ITEM
|--------------------------------------------------------------------------
*/

.item-post-sidebar .post-item {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.item-post-sidebar .post-item:first-child {
    padding-top: 0;
}


.item-post-sidebar .post-item:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

.item-post-sidebar .box-vertical {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}


/*
|--------------------------------------------------------------------------
| IMAGE
|--------------------------------------------------------------------------
*/

.item-post-sidebar .box-image {
    width: 88px !important;
    min-width: 88px;
}

.item-post-sidebar .image-cover {
    border-radius: 12px;
    overflow: hidden;
}

.item-post-sidebar img {
    transition: transform .45s ease;
}

.item-post-sidebar .post-item:hover img {
    transform: scale(1.06);
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/
.item-post-sidebar .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.item-post-sidebar {
    padding: 20px;
}

.item-post-sidebar.row {
    margin: 0 !important;
}

.item-post-sidebar .box-text {
    padding: 0 !important;
}

.item-post-sidebar .box-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 105px;
}

.item-post-sidebar .post-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.item-post-sidebar .post-title a {
    color: #222;
    transition: .25s ease;
}

.item-post-sidebar .post-title a:hover {
    color: #d89b00;
}

/*
|--------------------------------------------------------------------------
| META
|--------------------------------------------------------------------------
*/

.item-post-sidebar .post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 0;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px) {

    .item-post-sidebar {
        padding: 22px;
    }

    .item-post-sidebar .box-image {
        width: 90px !important;
        min-width: 90px;
    }

    .item-post-sidebar .post-title {
        font-size: 14px;
    }

}

/*
* KPI
*/
.section-frame-tddesign .section-content {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 2px solid #ffba00;
    border-bottom: 2px solid #ffba00;
}

.kpi-container {
    display: flex;
    align-items: center;
    color: #fff;
}

.kpi-number,
.kpi-plus {
    color: #ffba00;
    /* Màu vàng */
    font-size: 50px;
    font-weight: bold;
}

.kpi-title {
    margin-left: 10px;
    font-size: 17px;
    color: #fff;
}

.img-box-tddesign {
    background-color: #293b45; /*#FFF;*/
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.img-box-tddesign .box-text {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    flex: 1;
}

.img-box-tddesign .box-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-about-tddesign .col-inner {
    height: 100%;
}

/* Button xuống đáy */
.img-box-tddesign .button {
    margin-top: auto;
}

.button.is-link.btnSite {
    background-color: #ffba00 !important;
    color: #fff !important;
    padding: 0px 10px;
    margin-left: 30px;
    display: inline-block;
}

.title-secsion-tddesign h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    background-color: #efb008;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0 !important;
    text-align: center;
}

.content-secsion-tddesign {
    text-align: justify;
    line-height: 30px;
    padding: 20px 30px 10px 30px;
	color: #fff !important;
}

.content-secsion-tddesign p
 {
    font-size: 16px;
}
.content-secsion-tddesign .button {
    font-weight: 400 !important;
}
/*
    Tab quy trình
*/

.tab-tddesign .tab.active {
    background: #293b45;
    /* #161616;*/
}

.tab-tddesign .tab {
    background-color: #ffba00;
    font-weight: 600;
        text-align: center;
    font-size: 18px;
    position: relative;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    min-width: 300px;
    margin: 0 !important;
}

.tab-tddesign .tab a {
    color: #fff !important;
}

.tab-tddesign .tab-panels {
    background: #293b45;
    /* #161616;*/
}

.row.row-container-not-fullwidth {
    margin: auto !important;
}

.tab-content-td {
    text-align: center;
}

.tab-content-td h3 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    color: #f9b600;
}

.tab-content-td p {
    color: #FFF;
    font-size: 15px;
}

.td_tab_top_item:after {
    position: absolute;
    content: '';
    width: 31px;
    height: 20px;
    right: -30px;
    top: 55px;
    background-image: url(https://thietketddesign.com/wp-content/uploads/2026/05/icon_right_2.png);
}

.title-h2-left,
.title-h2-right {
    color: #f5b301;
}

.title-h2-left:before {
    content: "";
    display: inherit;
    width: 1000px;
    border-top: 1px solid;
    right: 0;
    position: absolute;
    top: 0;
}

.title-h2-right:before {
    content: "";
    display: inherit;
    width: 1000px;
    border-top: 1px solid;
    left: 0;
    position: absolute;
    top: 0;
}

.title-h2-left h2,
.title-h2-right h2 {
    color: #f5b301;
    position: relative;
    padding-top: 15px;
    font-size: 27px;
}

.content-secson-p p {
    color: #FFF;
    text-align: justify;
}

/*
|--------------------------------------------------------------------------
| CARD CONTENT
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.post-items-tddesign .post-item .box {

    position: relative;
    overflow: hidden;

    border-radius: 26px;

    background: #4a4b50;

    border: 1px solid rgba(255, 255, 255, .05);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .16),
        inset 0 1px 0 rgba(255, 255, 255, .03);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

/* Hover */
.post-items-tddesign .post-item:hover .box {

    transform: translateY(-6px);

    border-color: rgba(255, 186, 0, .18);

    box-shadow:
        0 20px 42px rgba(0, 0, 0, .24),
        0 0 24px rgba(255, 186, 0, .05);
}

/*
|--------------------------------------------------------------------------
| IMAGE
|--------------------------------------------------------------------------
*/

.post-items-tddesign .box-image {
    margin: 0 !important;
}

.post-items-tddesign .image-cover {
    padding-top: 72% !important;
}

.post-items-tddesign .box-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease,
        filter .35s ease;
}

/* Hover image */
.post-items-tddesign .post-item:hover img {
    transform: scale(1.04);
}

/*
|--------------------------------------------------------------------------
| IMAGE LIGHT
|--------------------------------------------------------------------------
*/

.post-items-tddesign .box-image:after {

    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .08) 0%,
            rgba(255, 255, 255, 0) 42%);

    z-index: 2;

    pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| OVERLAY
|--------------------------------------------------------------------------
*/

.post-items-tddesign .overlay {

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .20) 0%,
            rgba(0, 0, 0, .05) 34%,
            rgba(0, 0, 0, 0) 100%) !important;

    opacity: 1 !important;

    transition:
        background .35s ease;
}

/* Hover overlay */
.post-items-tddesign .post-item:hover .overlay {

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .28) 0%,
            rgba(0, 0, 0, .08) 36%,
            rgba(0, 0, 0, 0) 100%) !important;
}

/*
|--------------------------------------------------------------------------
| TEXT
|--------------------------------------------------------------------------
*/

.post-items-tddesign .box-text {

    position: absolute;

    inset: auto 0 0 0;

    padding: 22px;

    background:
        linear-gradient(to top, rgb(233 168 23 / 35%) 0%, rgba(20, 20, 22, .34) 46%, rgba(20, 20, 22, 0) 100%) !important;
    backdrop-filter: blur(1px);

    opacity: 1 !important;

    transform: translateY(0);

    transition:
        transform .35s ease;
}

/* Hover text */
.post-items-tddesign .post-item:hover .box-text {
    transform: translateY(-4px);
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.post-items-tddesign .post-title {

    margin-bottom: 10px;

    line-height: 1.35;
}

.post-items-tddesign .post-title a {

    color: rgba(255, 255, 255, .96) !important;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: -.01em;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, .24);

    transition:
        color .28s ease,
        transform .28s ease;
}

/* Hover title */
.post-items-tddesign .post-item:hover .post-title a {

    color: #ffd76a !important;
}

/*
|--------------------------------------------------------------------------
| EXCERPT
|--------------------------------------------------------------------------
*/

.post-items-tddesign .from_the_blog_excerpt {

    color: rgba(255, 255, 255, .84);

    font-size: 14px;

    line-height: 1.65;

    margin-top: 8px;

    margin-bottom: 14px;

    text-shadow:
        0 1px 6px rgba(0, 0, 0, .18);
}

/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.post-items-tddesign .btn-readmore {
    display: none !important;

    background: rgba(255, 186, 0, .94) !important;

    color: #fff !important;

    border: none !important;

    border-radius: 10px;

    height: 40px;

    line-height: 40px;

    padding: 0 18px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .06em;

    box-shadow:
        0 8px 20px rgba(255, 186, 0, .16);

    transition:
        all .28s ease;
}

.post-items-tddesign .btn-readmore:hover {

    transform: translateY(-2px);

    background: #ffba00 !important;

    box-shadow:
        0 10px 24px rgba(255, 186, 0, .22);
}

.post-items-tddesign>.col>.col-inner {
    background-color: transparent !important;
        box-shadow: none !important;
}

.post-items-tddesign .box-text-middle.box-overlay .box-text {
    bottom: auto !important;
    position: absolute;
    top: 72%;
    transform: translateY(-50%);
    z-index: 16;
}

.post-items-tddesign .is-divider {
    display: none;
}

/* 1. Căn giữa khung Tiêu đề */
.td-title-section .section-title {
    justify-content: center !important;
    text-align: center;
}

/* 2. Ẩn 2 đường kẻ ngang 2 bên mặc định của Flatsome */
.td-title-section .section-title b {
    display: none !important;
}

.td-title-section h3 {
    font-size: 40px !important;
    font-weight: 600;
}

/* 3. Tạo không gian phía dưới chữ và vẽ đường kẻ ngang */
.td-title-section .section-title-main {
    position: relative;
}

.td-title-section .section-title-main::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background-color: #333;
}

.td-title-section .section-title-normal span {
    border-bottom: 0 !important;
    text-transform: none !important;
    padding-bottom: 0 !important;
}

.td-title-section .section-title-normal {
    border-bottom: 0 !important;
}

/*
*
 Thông tin công trình
*
*/

.project-info-board {
    background: #1a1a1a;
    color: #fff;
    margin: 20px 0;
    border-radius: 4px;
    overflow: hidden;
}

.info-header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.info-header p {
    color: #ffbb00;
    margin: 0;
    text-transform: uppercase;
    font-size: 13px;
}

.info-header h3 {
    color: #fff;
    margin: 5px 0 0;
    font-size: 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Chia 5 cột */
    background: #ffbb00;
    /* Nền màu vàng */
}

.info-item {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 24px;
}

.info-item div .fw-b {
    display: block;
    font-size: 12px;
    letter-spacing: -0.5px;
    line-height: 16px;
}

.info-item div .fs-12 {
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
}

/* Làm đẹp Slider đầu bài viết */
.single-post .ux-gallery.slider {
    margin-bottom: 30px;
    background-color: #000;
    /* Nền đen để ảnh nổi bật hơn */
}

/* Bo góc và tạo bóng cho ảnh trong slider */
.single-post .flickity-viewport {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Chỉnh kích thước ảnh slider để không bị quá cao */
.single-post .ux-gallery.slider img {
    height: 500px;
    /* Bạn có thể điều chỉnh chiều cao này */
    object-fit: cover;
}

/* Hiệu ứng cho nút điều hướng */
.single-post .flickity-prev-next-button {
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.single-post .flickity-prev-next-button:hover {
    background: #ffbb00;
    /* Màu vàng thương hiệu khi hover */
}

/* 1. Định dạng tổng thể cho nút điều hướng Slider */
.single-post .flickity-prev-next-button {
    width: 45px !important;
    height: 45px !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    /* Nền đen mờ nhẹ */
    border-radius: 50% !important;
    /* Bo tròn hoàn toàn */
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

/* 2. Căn chỉnh biểu tượng (mũi tên) bên trong nút */
.single-post .flickity-prev-next-button svg {
    width: 40% !important;
    height: 40% !important;
    fill: #fff !important;
    /* Màu mũi tên trắng */
}

/* 3. Hiệu ứng khi di chuột vào (Hover) */
.single-post .flickity-prev-next-button:hover {
    background-color: #d89b00 !important;
    /* Đổi sang màu vàng thương hiệu */
    border-color: #d89b00 !important;
    transform: scale(1.1);
    /* Phóng to nhẹ khi hover */
}

/* 4. Xử lý vị trí để nút không bị dính sát mép */
.single-post .flickity-prev-next-button.previous {
    left: 15px !important;
}

.single-post .flickity-prev-next-button.next {
    right: 15px !important;
}

/* 5. Loại bỏ các nền màu vàng hoặc khối vuông thừa (nếu có từ plugin khác) */
.single-post .flickity-button {
    box-shadow: none !important;
}


/* Responsive cho mobile */
@media (max-width: 767px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/*
Footer
*/
.tddesign-footer {
    position: relative;

    background: #293b45;

    padding-top: 40px !important;
    padding-bottom: 30px !important;
}

/*
|------------------------------------------------------------------
| SOFT SEPARATOR
|------------------------------------------------------------------
*/

.tddesign-footer:before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 92%;
    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(212, 160, 23, .7),
            transparent);
}

.tddesign-footer .col {
    padding-bottom: 0 !important;
}

.tddesign-title-footer {
    margin-bottom: .5em !important;
}

.tddesign-title-footer .section-title-normal,
.tddesign-title-footer .section-title-normal span {
    border-bottom: 0;
    margin-bottom: 0 !important;
}

.tddesign-title-footer .section-title-normal span {
    color: #ffba00 !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.info-tddesign {
    color: #FFF;
}

.info-tddesign a {
    color: #ffba00;
}
.info-tddesign a:hover {
    color: #dfe3ef;
}
.menu-dichvu-baogia {
    color: #FFF;
}

.menu-dichvu-baogia .ux-menu-link__link {
    min-height: 1.5em !important;
    padding-top: 0 !important;
}

.menu-dichvu-baogia .ux-menu-link__link .ux-menu-link__text:hover,
.menu-dichvu-baogia .ux-menu-link:hover .ux-menu-link__link,
.menu-dichvu-baogia .ux-menu-link__link .ux-menu-link__icon::before {
    color: #ffba00;
}

.menu-dichvu-baogia .ux-menu-link--active .ux-menu-link__link,
.menu-dichvu-baogia .ux-menu-link:hover .ux-menu-link__link {
    color: hsl(0deg 0% 100%);
}

/*
MAP
*/
.contact-map-tddesign iframe {
    width: 100%;
    height: 160px !important;
    border-radius: 6px;
    border: 1px solid #333;
    margin-bottom: 15px;
}

.social-tddesign a.plain {
    color: rgb(241 238 234) !important;
}

.social-tddesign a.plain:hover {
    color: #ffba00 !important;
}

.custom-title-page-tddesign {
    margin-bottom: 30px;
    margin-top: 30px;
    font-weight: 600;
    font-size: 40px;
    color: #ffba00;
}

/*
|--------------------------------------------------------------------------
| PAGE HEADING
|--------------------------------------------------------------------------
*/

.page-heading {
    padding: 0px 0 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    margin-bottom: 40px;
    background: #fff;
}

.page-heading .container {
    max-width: 1200px;
}

/*
|--------------------------------------------------------------------------
| BREADCRUMB
|--------------------------------------------------------------------------
*/

.page-breadcrumb {
    margin-bottom: 10px;
}

.custom-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.custom-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: .2s ease;
}

.custom-breadcrumb a:hover {
    color: #d89b00;
}

.bc-divider {
    opacity: .9;
    font-size: 16px;
}

.bc-current {
    color: #222;
    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.page-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #d89b00;
    margin: 0;
    letter-spacing: -.5px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px) {

    .page-heading {
        padding: 24px 0 20px;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 30px;
    }
}

/*
|--------------------------------------------------------------------------
| ARTICLE CONTENT
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content {
    max-width: 860px;
    margin: auto;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

/*
|--------------------------------------------------------------------------
| PARAGRAPH
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content p:first-of-type:first-letter {
    float: left;
    font-size: 64px;
    line-height: 1;
    padding-right: 10px;
    font-weight: 700;
    color: #d89b00;
}

.dropcap-two {
    float: left;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    color: #d89b00;
}

.page-wrapper .entry-content p {
    margin-bottom: 28px;
}

/*
|--------------------------------------------------------------------------
| HEADINGS
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content h2,
.page-wrapper .entry-content h3,
.page-wrapper .entry-content h4 {
    color: #222;
    line-height: 1.4;
    margin-top: 50px;
    margin-bottom: 18px;
    font-weight: 700;
}

.page-wrapper .entry-content h2 {
    font-size: 34px;
}

.page-wrapper .entry-content h3 {
    font-size: 26px;
}

.page-wrapper .entry-content h4 {
    font-size: 20px;
}

/*
|--------------------------------------------------------------------------
| STRONG
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content strong {
    color: #222;
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| IMAGE
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content img {
    border-radius: 4px;
    margin: 20px 0 20px;
}

/*
|--------------------------------------------------------------------------
| LIST
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content ul,
.page-wrapper .entry-content ol {
    padding-left: 22px;
    margin-bottom: 30px;
}

.page-wrapper .entry-content li {
    margin-bottom: 10px;
}

/*
|--------------------------------------------------------------------------
| BLOCKQUOTE
|--------------------------------------------------------------------------
*/

.page-wrapper .entry-content blockquote {
    border-left: 3px solid #d89b00;
    padding-left: 22px;
    font-style: italic;
    color: #666;
    margin: 35px 0;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px) {

    .page-wrapper .entry-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .page-wrapper .entry-content h2 {
        font-size: 28px;
    }

    .page-wrapper .entry-content h3 {
        font-size: 22px;
    }
}


/*
    Follow Social left
*/

.td-floating-toolbar::before {
    content: "";

    position: absolute;

    left: 0;
    top: -120px;

    width: 1px;
    height: calc(100% + 240px);

    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, .08),
            transparent);
}

.td-tool-item.hot {
    animation: tdPulse 2.8s infinite;
}

@keyframes tdPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(244, 160, 0, .45);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(244, 160, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 160, 0, 0);
    }
}

.hide-toolbar {
    transform:
        translateY(-50%) translateX(-70px);

    opacity: .2;
}

/*
|------------------------------------------------------------------
| FLOATING EDGE TOOLBAR
|------------------------------------------------------------------
*/

.td-floating-toolbar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/*
|------------------------------------------------------------------
| ITEM
|------------------------------------------------------------------
*/

.td-tool-item {
    width: 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 18px 18px 0;
    background: rgb(28 127 187 / 85%);
    color: #fff;
    font-size: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .16);

    transition:
        transform .28s ease,
        background .28s ease,
        width .28s ease;

    position: relative;

    overflow: hidden;
}

/*
|------------------------------------------------------------------
| ICON
|------------------------------------------------------------------
*/

.td-tool-item i {
    position: relative;
    z-index: 2;
}

/*
|------------------------------------------------------------------
| HOVER EFFECT
|------------------------------------------------------------------
*/

.td-tool-item:hover {
    transform: translateX(5px);

    background: #f4a000;
}

/*
|------------------------------------------------------------------
| HOT ITEM
|------------------------------------------------------------------
*/

.td-tool-item.hot {
    background: linear-gradient(135deg,
            #ffcc3d,
            #f4a000);
}

/*
|------------------------------------------------------------------
| TOOLTIP
|------------------------------------------------------------------
*/

.td-tool-item::after {
    content: attr(title);
    position: absolute;
    left: 70px;
    white-space: nowrap;
    background: #161616;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-5px);
    transition: all .25s ease;
}

.td-tool-item:hover::after {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}

/*
|------------------------------------------------------------------
| MOBILE
|------------------------------------------------------------------
*/

@media(max-width:768px) {

    .td-floating-toolbar {
        display: none;
    }

}

/*
/ CONTACT PAGE
*/

/*
|------------------------------------------------------------------
| CONTACT WRAPPER
|------------------------------------------------------------------
*/

.contact-page-wrap {
    display: flex;
    gap: 40px;
    align-items: stretch;
    /* QUAN TRỌNG */
    margin-top: 40px;
}

/*
|------------------------------------------------------------------
| 2 COLUMNS
|------------------------------------------------------------------
*/

.contact-info-box,
.contact-form-box {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow:
        0 10px 35px rgba(0, 0, 0, .05),
        0 2px 10px rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .06);
}

.td-contact-form-wrap p {
    margin-bottom: 0px !important;
}

p.form-desc {
    margin-bottom: 28px !important;
}
/*
|------------------------------------------------------------------
| LEFT COLUMN
|------------------------------------------------------------------
*/

.contact-info-box {
    position: relative;
    overflow: hidden;
}

.contact-info-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom,
            #d4a017,
            #f6d365);
}

.contact-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c89b1d;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 34px !important;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    margin-bottom: 18px;
}

.contact-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 35px;
}

/*
|------------------------------------------------------------------
| INFO ITEM
|------------------------------------------------------------------
*/

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 160, 23, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c89b1d;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.contact-item p {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/*
|------------------------------------------------------------------
| RIGHT COLUMN
|------------------------------------------------------------------
*/

.contact-form-box {
    background:
        linear-gradient(180deg,
            #fff,
            #fcfcfc);
}

.contact-form-box h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
}

.contact-form-box .form-desc {
    font-size: 15px;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.8;
}

/*
|------------------------------------------------------------------
| FORM
|------------------------------------------------------------------
*/

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    padding: 14px 18px;
    font-size: 15px;
    margin-bottom: 16px;
    box-shadow: none;
    transition: all .25s ease;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, .12);
}

.contact-form-box textarea {
    min-height: 140px;
    resize: vertical;
}

/*
|------------------------------------------------------------------
| BUTTON
|------------------------------------------------------------------
*/

.contact-form-box input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg,
            #d4a017,
            #f0c14b);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(212, 160, 23, .22);
}

.contact-form-box input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(212, 160, 23, .3);
}

/*
|------------------------------------------------------------------
| MOBILE
|------------------------------------------------------------------
*/

@media(max-width:849px) {

    .contact-page-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 30px;
    }

    .contact-title {
        font-size: 28px;
    }

}

/*
 * Ẩn tiêu đề mặc định trên trang chuyên mục
 */
/* Ép khu vực chứa block tràn toàn màn hình */
.custom-fullwidth-header {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    line-height: 0;
    /* Loại bỏ khoảng trắng thừa dưới ảnh */
}

.custom-fullwidth-header .section {
        background: linear-gradient(180deg, #32444e 0%, #293b45 100%) !important;
}

/* Đảm bảo hàng (row) bên trong UX Builder cũng là full-width */
.custom-fullwidth-header .row {
    max-width: 100% !important;
    width: 100% !important;
}

.archive-page-header {
    display: none;
}

.custom-col-9 {
    padding-right: 15px !important;
}

.custom-col-3 {
    padding-left: 15px !important;
}


.blog-archive {
    background-color: #293b45;
}

.archive .custom-bc-section {
    background: #293b45;
}

.archive .custom-breadcrumb .bc-item,
.archive .custom-breadcrumb .bc-divider {
    color: #FFF !important;
}

/*
 * Dự án thi công
 */
.tddesign-banner .col-inner>.img:not(:last-child),
.col>.img:not(:last-child) {
    margin-bottom: 0 !important;
}

.subtitle-tddesign {
    position: relative;
    top: -5px !important;
    border-top: 5px solid rgba(255, 255, 255, .22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06);
}



.subtitle-tddesign::before {
    content: "";

    position: absolute;
    top: -5px;
    left: 50%;

    transform: translateX(-50%);

    width: 220px;
    height: 5px;

    border-radius: 999px;

    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 186, 0, .15) 20%,
            rgba(255, 186, 0, .65) 50%,
            rgba(255, 186, 0, .15) 80%,
            transparent 100%);

    filter: blur(3px);
}

.content-subtitle {
    width: 980px;
    margin: auto;

    padding: 18px 26px;

    line-height: 1.8;
    font-size: 15px;
    color: #555;

    background: rgba(255, 255, 255, .96);

    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;

    /* thay shadow bằng chiều sâu mềm */
    backdrop-filter: blur(8px);

    /* border nhẹ tạo separation */
    border: 1px solid rgba(255, 255, 255, .5);
    border-top: none;

    /* shadow cực mềm */
    box-shadow:
        0 8px 20px rgba(0, 0, 0, .06);
}

.content-subtitle {
    position: relative;
}

.content-subtitle:before {
    content: '';
    position: absolute;

    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 120px;
    height: 3px;

    background: linear-gradient(90deg,
            rgba(214, 164, 59, .25) 0%,
            #d6a43b 20%,
            #f0c766 50%,
            #d6a43b 80%,
            rgba(214, 164, 59, .25) 100%);

    border-radius: 2px;

    opacity: .95;
}

.content-subtitle:after {
    content: '';
    position: absolute;

    top: -8px;
    left: 50%;
    transform: translateX(-50%);

    width: 70px;
    height: 1px;

    background: rgba(255, 255, 255, .7);
}

.is-divider {
    display: none !important;
}

.entry-header-text {
    padding: 0 !important;
}

.entry-content {
    padding-top: 0px !important;
}

/*
 * Box blog post
 */
.box-blog-post .box-text {
    background-color: #fff;
    padding: 15px;
}

/* Tùy chỉnh nút Đọc tiếp */
.read-more-button-wrapper .button {
    font-weight: 500;
    text-transform: none;
    /* Không in hoa toàn bộ */
    transition: all 0.3s ease;
    background-color: #ffba00 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.read-more-button-wrapper .button:hover {
    color: #FFF !important;
    background-color: #ffba00 !important;
}


/* Desktop */
@media (min-width: 850px) {
    .custom-col-9 {
        padding-right: 15px;
    }

    .custom-col-3 {
        padding-left: 15px;
    }
}

/* Mobile */
@media (max-width: 849px) {

    .custom-col-9,
    .custom-col-3 {
        padding-left: 0;
        padding-right: 0;
    }
}

/*
 * Tùy chỉnh chiều cao các post
*/

/*
|------------------------------------------------------------------
| EQUAL HEIGHT POSTS
|------------------------------------------------------------------
*/

#post-list .row {
    display: flex;
    flex-wrap: wrap;
}

#post-list .post-item {
    display: flex;
    margin-bottom: 30px;
}

#post-list .post-item .col-inner {
    width: 100%;
    height: 100%;
}

/*
|------------------------------------------------------------------
| CARD
|------------------------------------------------------------------
*/

#post-list .box-blog-post {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .16),
        0 2px 8px rgba(0, 0, 0, .08);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

#post-list .box-blog-post:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, .24),
        0 8px 18px rgba(0, 0, 0, .12);

    border-color: rgba(255, 255, 255, .16);
}

/*
|------------------------------------------------------------------
| IMAGE
|------------------------------------------------------------------
*/

#post-list .box-blog-post .box-image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#post-list .image-cover {
    padding-top: 62% !important;
}

#post-list .box-image img {
    transition: transform .7s ease;
}

#post-list .box-blog-post:hover img {
    transform: scale(1.05);
}

/*
|------------------------------------------------------------------
| CONTENT
|------------------------------------------------------------------
*/

#post-list .box-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;

    background: linear-gradient(to bottom,
            #ffffff,
            #fcfcfc);
}

#post-list .blog-post-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/*
|------------------------------------------------------------------
| TITLE
|------------------------------------------------------------------
*/

#post-list .post-title {
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 52px;
}

#post-list .post-title a {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

/*
|------------------------------------------------------------------
| EXCERPT
|------------------------------------------------------------------
*/

#post-list .from_the_blog_excerpt {
    flex-grow: 1;
    margin-bottom: 18px;
}

/*
|------------------------------------------------------------------
| BUTTON
|------------------------------------------------------------------
*/

#post-list .read-more-button-wrapper {
    margin-top: auto;
}


/*
 * Contact form
 */

.ns-list-item .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
}

.wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer;
    font-size: 14px !important;
    color: #444;
    font-weight: 500;
}

.wpcf7-list-item input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    border: 1.5px solid #ccc !important;
    border-radius: 50% !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    position: relative !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    outline: none !important;
}

.wpcf7-list-item input[type="radio"]:checked::after {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    background: #ffba00 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.wpcf7-list-item input[type="radio"]:checked {
    border-color: #ffba00 !important;
}

.budget input[type="radio"] {
    width: auto;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #ffba00;
    font-size: 14px;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    border: 0;
    border-bottom-color: transparent;
}

.tab-tddesign .row {
    align-items: flex-start !important;
}

.tab-tddesign .col-inner {
    display: flex;
    height: 100%;
}

.tab-tddesign .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    transform: none !important;
}

.tab-tddesign .icon-box-img {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
	.off-canvas-left .mfp-content, 
	.off-canvas-right .mfp-content
 	{
    	background-color: hsl(207deg 3.99% 55.72%) !important;
	}

	.nav-sidebar.nav-vertical>li+li {
    	border-top: 1px solid #a7a7a7 !important;
	}
	.section-frame-tddesign .section-content {
    	margin-left: 20px;
    	margin-right: 20px;
	}
	.kpi-number, .kpi-plus {
    	font-size: 36px;
	}
	.tab-tddesign .tab {
		font-size: 14px;
		padding: 0px 0px;
    	min-width: 180px;
	}
	.td_tab_top_item:after {
    	right: 5px;
	}
}

@media screen and (max-width: 849px) {

    .section-thicong .col-r-mobile {
        order: 1;
    }

    .section-thicong .col-l-mobile {
        order: 2;
    }

	.section-thicong, .section-duan {
		padding-bottom: 0 !important;
		padding-top: 0 !important
	}
	.content-subtitle {
    	width: 90%;
	}
	h1.entry-title {
    	display: none;
	}
	.custom-breadcrumb {
		margin-bottom: 0 !important;
	}
}

@media screen and (max-width: 549px) {
    .item-post-sidebar .box-vertical .box-image {
        width: 46% !important;
    }
	.sidebar-custom-td .consult-card {
    	padding: 20px;
	}
	.sidebar-custom-td .sidebar-card, .sidebar-custom-td .item-post-sidebar {
		border-radius: 15px;
	}
	.sidebar-custom-td .consult-btn {
		height: 48px;
    	border-radius: 8px;
	}
	.contact-title {
    	font-size: 28px !important;
	}
	.page-wrapper .entry-content h2, .page-wrapper .entry-content h3, .page-wrapper .entry-content h4 {
		margin-top: 20px;
    	margin-bottom: 16px;
	}
	.contact-form-box input[type="submit"] {
		border-radius: 8px;
    	padding: 6px;
	}
	.page-heading {
        padding: 0px 0 10px;
    }
	.tab-content-td h3 {
		font-size: 14px;
		padding-left: 0px;
		padding-right: 0px;
	}
	.row-container-not-fullwidth .col {
        padding-bottom: 0px !important;
    }
	.gallery-anhhoatdong {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.section-title-normal span {
		margin-right: 0 !important;
	}
	.td-title-section h3 {
    	font-size: 32px !important;
	}
	#post-list .post-item {
		flex-basis: 50%;
		padding-bottom: 0px;
	}
	#post-list .box-text {
    	padding: 8px;
	}
	#post-list .from_the_blog_excerpt {
		display: none;
	}
	#post-list .read-more-button-wrapper {
		display: none;
	}
	#post-list .post-title a {
    	font-size: 16px;
	}
}
@media screen and (max-width: 849px) {

    /* Không cho flex giãn */
    .medium-logo-center .flex-left,
    .medium-logo-center .flex-right {
        flex: 0 0 auto !important;
    }

    /* Bỏ margin logo */
    .medium-logo-center .logo {
        margin: 0 8px !important;
    }

    /* Header nằm sát nhau */
    .header-inner.flex-row {
        justify-content: flex-start;
        align-items: center;
        gap: 0 !important;
    }

    /* Nút menu */
    .mobile-nav.nav-left {
        margin-right: 4px;
    }

    /* Logo */
    #logo img {
        max-height: 38px;
        width: auto;
    }

    /* Text */
    .title-tddesign {
        line-height: 1;
    }

    .name-tddesign a {
        font-size: 17px;
        letter-spacing: 2px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
    }

    .slogan-tddesign {
        display: block;
        font-size: 7px;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,.8);
        text-transform: uppercase;
        margin-top: 2px;
    }
}

@media screen and (max-width: 849px) {

    /* Cột chứa text */
    .header-inner .show-for-medium.flex-right {
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Bỏ margin mặc định của ul */
    .mobile-nav.nav-right {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Cho text sát logo */
    .header-inner .logo {
        margin-right: 6px !important;
    }

}