/* ===========================================
   INLINE STYLES - Extracted from xaydung5.maugiaodien.com
   =========================================== */

/* Root CSS Variables */
:root {
    /* These are fallback values - actual values are set dynamically in app.blade.php */
    --primary-color: #8B4513;
    --primary-dark: #5D3A1A;
    --secondary-color: #C41E3A;
    --accent-color: #DAA520;
    --wp--preset--color--black: #000000;
    --wp--preset--color--cyan-bluish-gray: #abb8c3;
    --wp--preset--color--white: #ffffff;
    --wp--preset--color--pale-pink: #f78da7;
    --wp--preset--color--vivid-red: #cf2e2e;
    --wp--preset--color--luminous-vivid-orange: #ff6900;
    --wp--preset--color--luminous-vivid-amber: #fcb900;
    --wp--preset--color--light-green-cyan: #7bdcb5;
    --wp--preset--color--vivid-green-cyan: #00d084;
    --wp--preset--color--pale-cyan-blue: #8ed1fc;
    --wp--preset--color--vivid-cyan-blue: #0693e3;
    --wp--preset--color--vivid-purple: #9b51e0;
}

/* BG Loading Animation */
.bg {
    opacity: 0;
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
}
.bg-loaded {
    opacity: 1;
}

/* Container Sizes */
.full-width .ubermenu-nav, .container, .row {
    max-width: 1170px;
}
.row.row-collapse {
    max-width: 1140px;
}
.row.row-small {
    max-width: 1162.5px;
}
.row.row-large {
    max-width: 1200px;
}

/* Header Sizes */
.header-main {
    height: 161px;
    background-color: #f5f5f5;
    background-image: url('../images/bg-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.header-main::before {
    display: none;
}
.header-main .header-inner {
    position: relative;
    z-index: 1;
}
#logo img {
    max-height: 140px;
}
#logo {
    width: 200px;
}
#logo img {
    padding: 0;
}
.header-bottom {
    min-height: 38px;
}
.header-top {
    min-height: 30px;
}

/* Navbar Center and Size */
#wide-nav {
    padding: 0;
}
#wide-nav .container {
    max-width: 100%;
    width: 100%;
}
#wide-nav .flex-row {
    justify-content: center;
}
#wide-nav .flex-center {
    justify-content: center;
}
#wide-nav .nav-center {
    justify-content: center;
}
.transparent .header-main {
    height: 30px;
}
.transparent #logo img {
    max-height: 30px;
}

/* Header Colors */
.header-bg-color, .header-wrapper {
    background-color: rgba(255, 255, 255, 0.9);
}
.header-bottom {
    background-color: var(--primary-color);
}
.header-main .nav > li > a {
    line-height: 16px;
}
.header-bottom-nav > li > a {
    line-height: 20px;
    font-size: 14px !important;
    padding: 9px 20px !important;
    font-weight: 600 !important;
}

/* Navbar Size Override - Stronger Selectors */
#wide-nav .header-bottom-nav.nav > li > a,
#wide-nav .nav.nav-size-large > li > a,
.header-bottom .nav > li > a,
.header-bottom-nav.nav-size-large > li > a {
    font-size: 14px !important;
    padding: 9px 22px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

#wide-nav .nav > li > a.nav-top-link {
    font-size: 14px !important;
    padding: 9px 22px !important;
}

/* Nav Dropdown */
.nav-dropdown {
    font-size: 100%;
}

/* Primary Color */
.accordion-title.active, .has-icon-bg .icon .icon-inner, .logo a, .primary.is-underline, .primary.is-link, .badge-outline .badge-inner, .nav-outline > li.active > a, .nav-outline > li.active > a, .cart-icon strong, [data-color='primary'], .is-outline.primary {
    color: var(--primary-color);
}

/* Primary Background */
.scroll-to-bullets a, .featured-title, .label-new.menu-item > a:after, .nav-pagination > li > .current, .nav-pagination > li > span:hover, .nav-pagination > li > a:hover, .has-hover:hover .badge-outline .badge-inner, button[type="submit"], .button.wc-forward:not(.checkout):not(.checkout-button), .button.submit-button, .button.primary:not(.is-outline), .featured-table .title, .is-outline:hover, .has-icon:hover .icon-label, .nav-dropdown-bold .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold > li > a:hover, .nav-dropdown-bold.dark .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold.dark > li > a:hover, .tagcloud a:hover, .grid-tools a, input[type='submit']:not(.is-form), .box-badge:hover .box-text, input.button.alt, .nav-box > li > a:hover, .nav-box > li.active > a, .nav-pills > li.active > a, .current-dropdown .cart-icon strong, .cart-icon:hover strong, .nav-line-bottom > li > a:before, .nav-line-grow > li > a:before, .nav-line > li > a:before, .banner, .header-top, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover, .button.primary:not(.is-outline), input[type='submit'].primary, input[type='reset'].button, input[type='button'].primary, .badge-inner {
    background-color: var(--primary-color);
}

/* Primary Border */
.nav-vertical.nav-tabs > li.active > a, .scroll-to-bullets a.active, .nav-pagination > li > .current, .nav-pagination > li > span:hover, .nav-pagination > li > a:hover, .has-hover:hover .badge-outline .badge-inner, .accordion-title.active, .featured-table, .is-outline:hover, .tagcloud a:hover, blockquote, .has-border, .cart-icon strong:after, .cart-icon strong, .blockUI:before, .processing:before, .loading-spin, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover {
    border-color: var(--primary-color);
}
.nav-tabs > li.active > a {
    border-top-color: var(--primary-color);
}

/* Secondary Color */
[data-icon-label]:after, .secondary.is-underline:hover, .secondary.is-outline:hover, .icon-label, .button.secondary:not(.is-outline), .button.alt:not(.is-outline), .badge-inner.on-sale, .button.checkout, .single_add_to_cart_button, .current .breadcrumb-step {
    background-color: var(--secondary-color);
}
.secondary.is-underline, .secondary.is-link, .secondary.is-outline, .stars a.active, .star-rating:before, .woocommerce-page .star-rating:before, .star-rating span:before, .color-secondary {
    color: var(--secondary-color);
}
.secondary.is-outline:hover {
    border-color: var(--secondary-color);
}

/* Typography */
body {
    font-size: 100%;
    font-family: "Roboto", sans-serif;
    font-weight: 0;
    color: #2d2d2d;
}

.nav > li > a {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {
    font-family: "Roboto", sans-serif;
}
h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2 {
    font-weight: 700;
}
h1, h2, h3, h4, h5, h6, .heading-font {
    color: #0a0a0a;
}

.alt-font {
    font-family: "Dancing Script", sans-serif;
    font-weight: 400 !important;
}

/* Links */
a {
    color: var(--primary-color);
}
a:hover {
    color: var(--accent-color);
}
.tagcloud a:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
}
.widget a {
    color: #1e1e1e;
}
.widget a:hover {
    color: var(--primary-color);
}
.widget .tagcloud a:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

/* Footer */
.absolute-footer {
    background-color: var(--primary-dark);
}
html {
    background-color: #ffffff;
}

/* Header Bottom Nav */
.header:not(.transparent) .header-bottom-nav.nav > li > a {
    color: #ffffff;
}

/* ===========================================
   CUSTOM CSS - Original Theme Styles
   =========================================== */

.header-block-block-1 .col {
    padding: 0;
}
.header-block-block-1 .icon-box h3 {
    margin-bottom: 5px;
}
.header-nav li {
    margin: 0;
}

/* Section Title - Y CHANG HTML GOC */
.section-title-center span:after {
    content: "";
    display: table;
    clear: both;
    background: url('/assets/images/line.png');
    width: 100%;
    height: 20px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    padding-top: 0;
}
.section-title b {
    background: none;
}
.section-title-container {
    margin-bottom: 8px;
}
.section-title-center span {
    margin: 0 15px;
    font-size: 34px;
    color: var(--secondary-color);
}

/* List Post Styles */
.list-post .post-item .post-title {
    text-transform: uppercase;
    font-size: 17px;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 10px;
}
.list-post .post-item .post-title:hover {
    color: var(--secondary-color);
}
.thiet-ke-section .col, .xay-dung-section .col {
    padding-bottom: 0;
}
.list-post .post-item a:hover {
    color: black;
}
.box-blog-post .is-divider {
    display: none;
}

/* Header Bottom Nav */
.header-bottom-nav li a {
    line-height: 25px;
    padding: 15px 22px !important;
    font-size: 14px !important;
}
.header-bottom-nav li:hover a, .header-bottom-nav li.active a {
    background: var(--primary-dark);
}

/* Nav Dropdown */
.nav-dropdown-default {
    padding: 0;
    border: none;
    background: var(--primary-dark);
}
.nav-dropdown > li > a {
    color: white;
    font-size: 15px;
    padding: 4px 10px !important;
}
.nav-dropdown.nav-dropdown-default > li > a {
    border-bottom: 1px solid var(--primary-color);
}
.nav-dropdown.nav-dropdown-default > li > a:hover {
    font-weight: 500;
    padding-left: 14px !important;
    color: white !important;
}
.nav-dropdown li a {
    margin: 0 !important;
}

/* Tieu Chi Section - Icon Boxes */
.tieu-chi-section .icon-box img {
    width: 88%;
    margin: 0px 6px !important;
    background: var(--primary-color);
    border-radius: 99%;
    padding: 5px;
}
.tieu-chi-section .icon-box h3 {
    text-align: center;
    line-height: 25px;
    color: black;
}
.tieu-chi-section .icon-box .icon-box-text {
    font-size: 15px;
}
.tieu-chi-section .large-3::after {
    content: "";
    width: 2px;
    height: 280px;
    background: #fff;
    position: absolute;
    top: 1%;
    right: 0;
    -webkit-transform: skew(-5deg);
    -ms-transform: skew(-5deg);
    transform: skew(-5deg);
}
.tieu-chi-section .icon-box .icon-box-img {
    background: var(--primary-color);
    border-radius: 99%;
}
.tieu-chi-section .col {
    padding-bottom: 0;
}

/* List Post 2 - Slider */
.list-post2 {
    position: relative;
}

/* CONG TRINH SECTION - FULL WIDTH */
.cong-trinh-section {
    width: 100%;
    overflow: hidden;
}
.cong-trinh-section .section-content,
.cong-trinh-section > .section-content > .row,
.cong-trinh-section > .section-content > .row > .col,
.cong-trinh-section > .section-content > .row > .col > .col-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.cong-trinh-section .list-post2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cong-trinh-section .list-post2::-webkit-scrollbar {
    display: none;
}

.cong-trinh-section .list-post2 > .col,
.cong-trinh-section .list-post2 > .post-item {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    min-width: 25% !important;
    width: 25% !important;
    scroll-snap-align: start;
    padding: 0 8px !important;
    box-sizing: border-box;
}

/* SLIDER NAVIGATION - CENTERED */
#section_702136922 .slider-nav-wrapper,
.cong-trinh-section .slider-nav-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 30px auto 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

#section_702136922 .slider-nav-wrapper .flickity-button,
#section_702136922 .slider-nav-wrapper .flickity-prev-next-button,
.cong-trinh-section .slider-nav-wrapper .flickity-button,
.cong-trinh-section .slider-nav-wrapper .flickity-prev-next-button {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#section_702136922 .slider-nav-wrapper .flickity-button:hover,
.cong-trinh-section .slider-nav-wrapper .flickity-button:hover {
    background: var(--primary-color) !important;
}

#section_702136922 .slider-nav-wrapper .flickity-button:hover svg,
.cong-trinh-section .slider-nav-wrapper .flickity-button:hover svg {
    fill: #fff;
}

#section_702136922 .slider-nav-wrapper .flickity-button svg,
.cong-trinh-section .slider-nav-wrapper .flickity-button svg {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 40% !important;
    height: 40% !important;
    display: block !important;
}

#section_702136922 .slider-nav-wrapper .flickity-button svg path,
.cong-trinh-section .slider-nav-wrapper .flickity-button svg path {
    fill: #333 !important;
}

#section_702136922 .slider-nav-wrapper .flickity-button:hover svg path,
.cong-trinh-section .slider-nav-wrapper .flickity-button:hover svg path {
    fill: #fff !important;
}

#section_702136922 .slider-nav-wrapper .flickity-page-dots,
.cong-trinh-section .slider-nav-wrapper .flickity-page-dots {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

#section_702136922 .slider-nav-wrapper .flickity-page-dots .dot,
.cong-trinh-section .slider-nav-wrapper .flickity-page-dots .dot {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    background: #333 !important;
    border-radius: 50% !important;
    opacity: 0.25;
    cursor: pointer;
}

#section_702136922 .slider-nav-wrapper .flickity-page-dots .dot.is-selected,
.cong-trinh-section .slider-nav-wrapper .flickity-page-dots .dot.is-selected {
    opacity: 1;
}

/* Ensure slider-nav-wrapper is centered */
#section_702136922 > .section-content > .row > .col > .col-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

#section_702136922 .list-post2 {
    align-self: stretch !important;
}

.cong-trinh-section .section-title-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.list-post2 .flickity-prev-next-button {
    position: absolute;
    bottom: -55px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: hsla(0,0%,100%,.75);
    border: none;
    cursor: pointer;
    z-index: 10;
}
.list-post2 .flickity-prev-next-button.previous {
    left: calc(50% - 30px);
}
.list-post2 .flickity-prev-next-button.next {
    right: calc(50% - 30px);
}
.list-post2 .flickity-prev-next-button svg {
    position: absolute;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}
.list-post2 .flickity-prev-next-button:hover {
    background: var(--primary-color);
}
.list-post2 .flickity-prev-next-button:hover svg {
    fill: #fff;
}
.flickity-page-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 8px;
    background: #333;
    border-radius: 50%;
    opacity: 0.25;
    cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

@media (max-width: 991px) {
    .cong-trinh-section .list-post2 > .col,
    .cong-trinh-section .list-post2 > .post-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    .cong-trinh-section .list-post2 > .col,
    .cong-trinh-section .list-post2 > .post-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }
}

/* Row Slider - Flickity enabled */
.row-slider {
    position: relative;
    width: 100%;
}

.row-slider.flickity-enabled {
    display: block;
}

.row-slider .flickity-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto !important;
    touch-action: pan-y;
}

.row-slider .flickity-slider {
    position: relative;
    width: 100%;
    display: flex;
    left: 0;
}

.row-slider.large-columns-4 .flickity-slider > .col {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 25%;
    width: 25%;
}

/* When NOT flickity enabled (fallback) */
.row-slider:not(.flickity-enabled) {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

.row-slider:not(.flickity-enabled).large-columns-4 > .col {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Flickity Navigation for row-slider */
.row-slider .flickity-prev-next-button {
    position: absolute;
    top: auto;
    bottom: -50px;
    transform: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}

.row-slider .flickity-prev-next-button.previous {
    left: calc(50% - 50px);
}

.row-slider .flickity-prev-next-button.next {
    right: calc(50% - 50px);
}

.row-slider .flickity-page-dots {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    padding: 10px 0;
}

.row-slider .flickity-page-dots .dot {
    background: #ccc;
}

.row-slider .flickity-page-dots .dot.is-selected {
    background: var(--primary-color);
}
.list-post2 .post-item .post-title {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 21px;
    font-weight: normal;
    border: 2px solid #888888;
    padding: 6px 10px;
    transition: background 0.5s;
    transition-timing-function: linear;
}
.list-post2 .post-item:hover .post-title {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: white;
}
.list-post2 .box-overlay .box-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: transparent;
}
.list-post2 .box-overlay.dark .post-title {
    color: white;
    border-color: #888888;
}
.list-post2 .box-overlay.dark .from_the_blog_excerpt {
    color: rgba(255,255,255,0.8);
}

/* Video Section Styles */
.video-section .section-title-container {
    text-align: center;
    margin-bottom: 30px;
}

/* Hotline Bar */
.hotline-bar {
    background: var(--secondary-color);
}

/* Footer Section */
.footer-section .col {
    padding-bottom: 0;
}

/* Hotline Fix */
.hotline_fix {
    position: fixed;
    bottom: 0;
    right: 0px;
    z-index: 9999;
    margin-top: 6px;
    background: var(--secondary-color);
    text-align: center;
    padding: 5px 20px;
    border: 2px solid #8B0000;
}
.hotline_fix span {
    display: block;
    font-size: 18px;
    color: #fff;
}
.hotline_fix a {
    font-size: 22px;
    color: var(--accent-color);
}

/* Font Awesome */
.fa {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hotline-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-indent: 32px;
    letter-spacing: 0;
}

/* Back to Top */
a.back-to-top {
    background: var(--secondary-color) !important;
    border: none !important;
    color: white !important;
}

/* Chu Chay Section - Marquee */
.chu-chay-section .col {
    padding-bottom: 0;
}
.chu-chay-section marquee {
    height: 32px;
    line-height: 40px;
    color: var(--secondary-color);
}
.chu-chay-section br {
    display: none;
}
.chu-chay-section p {
    margin-bottom: 0;
}

/* Bg Mota */
.bg_mota {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
}
.bg_mota p {
    margin-bottom: 0;
    color: white;
}

/* Post Item Hover Effect */
.post-item .box-image:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}
@-webkit-keyframes shine {
    100% { left: 125%; }
}
@keyframes shine {
    100% { left: 125%; }
}
.post-item .box-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

/* Is Divider Hidden */
.is-divider {
    display: none;
}

/* ===========================================
   MOBILE RESPONSIVE
   =========================================== */

@media screen and (max-width: 549px) {
    body {
        font-size: 100%;
    }
    .header-main {
        height: 70px;
    }
    #logo img {
        max-height: 70px;
    }
}

@media only screen and (max-width: 48em) {
    body, html {
        width: 100%;
        overflow-x: hidden;
    }
    .tieu-chi-section .col {
        padding-bottom: 10px;
    }
    .stuck .header-bottom {
        display: none;
    }
    .off-canvas:not(.off-canvas-center) .nav-vertical li > a {
        padding-left: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 17px;
        color: #292929;
        font-weight: normal;
    }
    .header-block-block-1 .row {
        background: white;
        padding: 10px;
        box-shadow: 2px 2px 10px #00000017;
        border: 1px dashed #cccccc;
    }
}

/* ============================================
   ARCHIVE PAGE STYLES
   ============================================ */

/* Archive Page Header */
.blog-archive .archive-page-header {
    margin-bottom: 30px;
    background: url('../images/bg_page.jpg') no-repeat center top;
    background-size: cover;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

.blog-archive .archive-page-header .large-12 {
    padding: 60px 0;
}

.blog-archive .page-title {
    font-size: 30px;
    color: white;
    font-weight: normal;
    text-shadow: 2px 2px 10px black;
    letter-spacing: 0;
    margin: 0;
    text-align: center;
}

/* Page Wrapper */
.blog-archive.page-wrapper,
.blog-archive .page-wrapper {
    padding-top: 0;
    padding-bottom: 30px;
}

/* Archive Content Layout */
.blog-archive .archive-content-row {
    display: flex;
    flex-wrap: wrap;
}

.blog-archive .archive-posts-col {
    width: 75%;
    padding-right: 20px;
}

.blog-archive .archive-sidebar-col {
    width: 25%;
    padding-left: 15px;
}

/* Archive Posts */
.blog-archive .post-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-archive .post-item:last-child {
    border-bottom: none;
}

.blog-archive .post-item .box-blog-post {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.blog-archive .post-item .box-image {
    flex-shrink: 0;
}

.blog-archive .post-item .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-archive .post-item .box-text {
    padding: 10px 15px;
    flex-grow: 1;
}

.blog-archive .post-item .post-title {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 18px;
    color: var(--primary-color);
}

.blog-archive .post-item a:hover {
    color: black;
}

.blog-archive .post-item .post-title:hover {
    color: var(--secondary-color);
}

.blog-archive .post-item .box-text-inner {
    padding-right: 0;
}

.blog-archive .post-item .from_the_blog_excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.blog-archive .post-item .is-divider {
    display: none;
}

/* Sidebar */
.blog-archive .post-sidebar,
.blog-archive .large-3 {
    padding-left: 15px;
}

.widget {
    margin-bottom: 25px;
}

.widget img {
    width: 100%;
    height: auto;
}

.widget-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.widget .is-divider.small {
    margin: 10px 0;
    height: 3px;
    background: var(--primary-color);
    width: 50px;
}

/* Recent Posts Widget */
.flatsome_recent_posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-blog-posts-li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.recent-blog-posts-li:last-child {
    border-bottom: none;
}

.recent-blog-posts {
    display: flex;
    align-items: flex-start;
}

.recent-blog-posts .flex-col.mr-half {
    margin-right: 10px;
}

.recent-blog-posts .badge-inner {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.recent-blog-posts a {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.recent-blog-posts a:hover {
    color: var(--primary-color);
}

/* Pagination */
.archive-pagination {
    margin-top: 30px;
    text-align: center;
}

.archive-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-pagination .page-numbers li {
    display: inline-block;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.archive-pagination .page-numbers a:hover,
.archive-pagination .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Mobile Responsive */
@media only screen and (max-width: 48em) {
    .blog-archive .archive-posts-col,
    .blog-archive .archive-sidebar-col {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-archive .archive-sidebar-col {
        margin-top: 30px;
    }

    .blog-archive .post-item .box-blog-post {
        flex-direction: column;
    }

    .blog-archive .post-item .box-image {
        width: 100% !important;
    }

    .blog-archive .archive-page-header .large-12 {
        padding: 40px 15px;
    }

    .blog-archive .page-title {
        font-size: 24px;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Map Section */
.contact-map-section {
    width: 100%;
    line-height: 0;
}

.contact-map-section iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* Contact Content Section */
.contact-content-section {
    padding-top: 17px;
    padding-bottom: 17px;
}

.contact-content-section .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-content-row {
    display: flex;
    flex-wrap: wrap;
}

.contact-main-col {
    width: 75%;
    padding-right: 20px;
    padding-top: 20px;
    box-sizing: border-box;
}

.contact-sidebar-col {
    width: 25%;
    padding-left: 0;
    padding-top: 20px;
    box-sizing: border-box;
}

/* Company Info */
.contact-main-col h3 {
    color: #0a0a0a;
    font-family: "Roboto", sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.4;
}

.contact-info-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 20px 0;
}

.contact-info-list li {
    padding: 3px 0;
    color: #2d2d2d;
    line-height: 1.6;
}

.contact-info-list li a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info-list li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Form - wpcf7 style */
.contact-form-wrapper {
    margin-top: 10px;
}

.wpcf7 {
    margin: 0;
    padding: 0;
}

.wpcf7 label {
    display: inline-block;
    width: 100%;
    font-weight: normal;
    font-size: 15px;
    color: #2d2d2d;
    margin-bottom: 2px;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    margin-bottom: 8px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpcf7 textarea {
    min-height: 100px;
    resize: vertical;
}

.wpcf7-form p {
    margin: 0;
    line-height: 1.4;
}

.wpcf7-form p br {
    display: none;
}

.wpcf7-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: none;
    margin-top: 5px;
}

.wpcf7-submit:hover {
    background-color: var(--primary-dark);
    opacity: 0.9;
}

/* Success Alert */
.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Sidebar in contact page */
.contact-sidebar-col .widget-area {
    padding-left: 0;
}

/* Responsive Contact Page */
@media (max-width: 849px) {
    .contact-main-col,
    .contact-sidebar-col {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .contact-sidebar-col {
        margin-top: 30px;
        padding-left: 15px;
    }
}

/* =========================================
   DETAIL PAGE STYLES (blog-single)
   ========================================= */

.blog-single {
    padding-top: 20px;
}

.blog-single .row {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.blog-single .large-9.col {
    width: 75%;
    padding-right: 20px;
    box-sizing: border-box;
}

.blog-single .post-sidebar.large-3.col {
    width: 25%;
    padding-left: 0;
    box-sizing: border-box;
}

/* Article */
.blog-single article {
    background: #fff;
}

.blog-single .article-inner {
    padding: 0;
}

/* Entry Header */
.blog-single .entry-header {
    margin-bottom: 15px;
}

.blog-single .entry-title {
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    font-weight: normal;
    color: #0a0a0a;
    margin: 0 0 10px 0;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

.blog-single .entry-divider {
    margin: 10px 0;
}

/* Entry Content */
.blog-single .entry-content {
    font-size: 100%;
    line-height: 1.6;
    color: #2d2d2d;
}

.blog-single .entry-content p {
    margin-bottom: 1em;
}

.blog-single .entry-content img {
    max-width: 100%;
    height: auto;
}

.blog-single .entry-content .aligncenter {
    display: block;
    margin: 0 auto;
}

.blog-single .featured-image {
    margin-bottom: 20px;
}

.blog-single .featured-image img {
    width: 100%;
    height: auto;
}

/* Social Share */
.blog-single .blog-share {
    margin-top: 30px;
    padding-top: 20px;
}

.blog-single .blog-share .is-divider {
    margin-bottom: 15px;
}

.blog-single .share-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.blog-single .share-icons a.icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-single .share-icons a.icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.blog-single .share-icons a.icon i {
    font-size: 16px;
}

/* Entry Meta / Footer */
.blog-single .entry-meta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ececec;
}

.blog-single .danh-muc {
    font-size: 14px;
    color: #555;
}

.blog-single .danh-muc .title {
    font-weight: 600;
    margin-right: 5px;
}

.blog-single .danh-muc a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-single .danh-muc a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Detail Page */
@media (max-width: 849px) {
    .blog-single .large-9.col,
    .blog-single .post-sidebar.large-3.col {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-single .post-sidebar.large-3.col {
        margin-top: 30px;
    }

    .blog-single .entry-title {
        font-size: 20px;
    }
}
