/*
Theme Name: ContainerViet Theme
Theme URI: http://containerviet.localhost
Author: Quang Nguyen
Author URI: http://containerviet.localhost
Description: Custom Astra child theme for ContainerViet.
Template: astra
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: containerviet-theme
*/

/* ==========================================================================
   LOCAL UNIFIED FONTS: Chakra Petch (WOFF2)
   100% Vietnamese + Latin + Symbols in a single lightweight file per weight
   Zero split chunks, zero chaining penalty, optimized for LCP
   ========================================================================== */
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/chakra-petch-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/chakra-petch-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/chakra-petch-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/chakra-petch-700.woff2') format('woff2');
}

h1, h2, h3, h4, h5, h6, .uagb-heading-text, .cv-heading {
    font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: 0.02em;
}

header.site-header,
.site-header {
    background: #ffffff !important;
    position: relative;
    width: 100%;
    z-index: 99;
}

header.site-header .ast-container,
.main-header-bar .ast-container,
.ast-main-header-wrap .ast-container {
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.main-header-bar {
    border-bottom: 1px solid #d1d5db !important;
    background-color: #ffffff !important;
}

.site-logo-img img,
.custom-logo {
    max-width: 145px !important;
    height: auto !important;
    display: block !important;
}

.site-title, .site-description, .ast-site-title-wrap {
    display: none !important;
}

.main-header-menu .menu-item:not(.cv-menu-contact-wrap) a {
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.03em;
    color: #1a202c !important;
    transition: color 0.2s ease;
}

.main-header-menu .menu-item:not(.cv-menu-contact-wrap):hover > a,
.main-header-menu .current-menu-item:not(.cv-menu-contact-wrap) > a,
.main-header-menu .current_page_item:not(.cv-menu-contact-wrap) > a,
.main-header-menu .current-menu-ancestor:not(.cv-menu-contact-wrap) > a {
    color: #1ec776 !important;
}

.cv-menu-contact-wrap {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.cv-header-contact {
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.cv-header-contact svg {
    stroke: #333333;
    flex-shrink: 0;
}

.cv-header-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.main-header-menu .menu-item .cv-header-hotline,
.cv-header-contact .cv-header-hotline,
a.cv-header-hotline,
.cv-header-hotline {
    color: #ed1c24 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-family: 'Chakra Petch', sans-serif !important;
}

.main-header-menu .menu-item .cv-header-hotline:hover,
.cv-header-contact .cv-header-hotline:hover,
a.cv-header-hotline:hover,
.cv-header-hotline:hover {
    color: #c81016 !important;
}

.cv-header-email {
    color: #64748b;
    font-size: 11px;
}

.uagb-block-cv_hero_outer {
    position: relative !important;
    overflow: visible !important;
    z-index: 5 !important;
}

.uagb-block-cv_hero_inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    min-height: 520px !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.wp-block-uagb-container.uagb-is-root-container .uagb-block-cv_hero_badge_box,
.uagb-block-cv_hero_badge_box.cv-hero-badge,
.cv-hero-badge {
    background-color: #1ec776 !important;
    padding: 32px 100px 13px 33px !important;
    width: 570px !important;
    max-width: 100% !important;
    min-height: 150px !important;
    margin-left: auto !important;
    margin-right: 15px !important;
    margin-bottom: -63px !important;
    position: relative !important;
    z-index: 10 !important;
    clip-path: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.cv-hero-badge::before {
    position: absolute !important;
    content: "" !important;
    border-top: 0px solid transparent !important;
    border-right: 0px solid #1ec776 !important;
    border-bottom: 87px solid #1ec776 !important;
    border-left: 49px solid transparent !important;
    top: 0px !important;
    left: -49px !important;
    width: 0 !important;
    height: 0 !important;
}

.cv-hero-badge .uagb-block-cv_hero_h1 h1,
.cv-hero-badge h1.uagb-heading-text {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.32 !important;
    font-family: "Chakra Petch", sans-serif !important;
}

.cv-hero-badge .uagb-block-cv_hero_h3 h3,
.cv-hero-badge h3.uagb-heading-text {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #98eac2 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.22 !important;
    font-family: "Bai Jamjuree", sans-serif !important;
}

.cv-hero-badge p,
.cv-hero-badge p.has-text-color {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.21 !important;
    font-family: "Bai Jamjuree", sans-serif !important;
}

.uagb-block-cv_prod_outer {
    padding-top: 135px !important;
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 767px) {
    .uagb-block-cv_hero_inner {
        align-items: flex-end !important;
        justify-content: flex-end !important;
        min-height: 380px !important;
        padding: 0 15px !important;
    }
    .wp-block-uagb-container.uagb-is-root-container .uagb-block-cv_hero_badge_box,
    .uagb-block-cv_hero_badge_box.cv-hero-badge,
    .cv-hero-badge {
        width: 300px !important;
        max-width: 90% !important;
        min-height: 140px !important;
        margin-bottom: -37px !important;
        margin-right: 0 !important;
        padding: 15px 25px 15px 15px !important;
        clip-path: none !important;
    }
    .cv-hero-badge::before {
        border-bottom: 37px solid #1ec776 !important;
        border-left: 15px solid transparent !important;
        top: 0px !important;
        left: -15px !important;
    }
    .cv-hero-badge .uagb-block-cv_hero_h1 h1,
    .cv-hero-badge h1.uagb-heading-text {
        font-size: 16px !important;
    }
    .cv-hero-badge .uagb-block-cv_hero_h3 h3,
    .cv-hero-badge h3.uagb-heading-text {
        font-size: 14px !important;
    }
    .cv-hero-badge p,
    .cv-hero-badge p.has-text-color {
        font-size: 13px !important;
    }
    .uagb-block-cv_prod_outer {
        padding-top: 65px !important;
    }
}

/* Section Headings (.heading-title) matching containerviet.vn */
.heading-title,
.cv-heading-title,
.uagb-block-cv_prod_title_box,
.uagb-block-cv_blog_title_box,
.uagb-block-cv_partner_title_box {
    margin-bottom: 30px !important;
    display: block !important;
    width: 100% !important;
}

.cv-title-accent,
.uagb-block-cv_prod_title_bar,
.uagb-block-cv_blog_title_bar,
.uagb-block-cv_partner_title_bar {
    display: none !important;
}

.heading-title h2,
.cv-heading-title h2,
.uagb-block-cv_prod_h2 h2,
.uagb-block-cv_blog_h2 h2,
.uagb-block-cv_partner_h2 h2,
.heading-title .uagb-heading-text,
.cv-heading-title .uagb-heading-text {
    position: relative !important;
    padding-left: 25px !important;
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #333645 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    display: inline-block !important;
    z-index: 1 !important;
}

.heading-title h2::before,
.cv-heading-title h2::before,
.uagb-block-cv_prod_h2 h2::before,
.uagb-block-cv_blog_h2 h2::before,
.uagb-block-cv_partner_h2 h2::before {
    position: absolute !important;
    content: "" !important;
    width: 55px !important;
    height: 55px !important;
    background: #1ec776 !important;
    left: 0px !important;
    bottom: 9px !important;
    z-index: -1 !important;
}

@media (max-width: 767px) {
    .heading-title h2,
    .cv-heading-title h2,
    .uagb-block-cv_prod_h2 h2,
    .uagb-block-cv_blog_h2 h2,
    .uagb-block-cv_partner_h2 h2,
    .heading-title .uagb-heading-text,
    .cv-heading-title .uagb-heading-text {
        font-size: 28px !important;
        padding-left: 22px !important;
    }
    .heading-title h2::before,
    .cv-heading-title h2::before,
    .uagb-block-cv_prod_h2 h2::before,
    .uagb-block-cv_blog_h2 h2::before,
    .uagb-block-cv_partner_h2 h2::before {
        width: 48px !important;
        height: 48px !important;
        bottom: 6px !important;
    }
}

.cv-product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    overflow: hidden;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 16px 16px #E1FAE3 !important;
    }
}

.cv-product-card figure.wp-block-image,
.cv-product-card figure.wp-block-image a {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: block !important;
    width: 100% !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cv-product-card figure.wp-block-image img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-card:hover figure.wp-block-image img {
        transform: scale(1.05);
    }
}

.cv-product-card .uagb-heading-text a {
    color: #333333 !important;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-card:hover .uagb-heading-text a {
        color: #1ec776 !important;
    }
}

.cv-blog-side-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 18px !important;
    margin-bottom: 12px !important; /* Reduced ~50% from original 38px gap */
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.uagb-block-cv_blog_right_col {
    row-gap: 0px !important;
}

.cv-blog-side-item .cv-blog-date-box {
    width: 76px !important;
    min-width: 76px !important;
    flex-shrink: 0 !important;
}

.cv-blog-side-item .uagb-block-cv_blog_title_1,
.cv-blog-side-item .uagb-block-cv_blog_title_2,
.cv-blog-side-item .uagb-block-cv_blog_title_3,
.cv-blog-side-item .uagb-block-cv_blog_title_4 {
    width: calc(100% - 94px) !important;
    flex-grow: 1 !important;
    padding-top: 2px !important;
}

.cv-blog-side-item:last-of-type {
    margin-bottom: 0 !important;
}

.cv-blog-side-item:hover {
    transform: none !important;
}

/* Dual Date Box (Green top + Gray pen bottom matching live containerviet.vn) */
.cv-blog-date-box {
    background-color: #1ec776 !important;
    border-radius: 0px !important;
    padding: 8px 0 6px !important;
    text-align: center;
    width: 76px !important;
    min-width: 76px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    margin-bottom: 47px !important; /* space for ::after format box (44px + 3px gap) */
}

.cv-blog-date-box .uagb-heading-text {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    font-family: "Chakra Petch", sans-serif !important;
}

.cv-blog-date-box p {
    color: #ffffff !important;
    font-size: 11px !important;
    margin: 3px 0 0 0 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: "Chakra Petch", sans-serif !important;
}

.cv-blog-date-box::after {
    content: "" !important;
    position: absolute !important;
    top: calc(100% + 3px) !important;
    left: 0 !important;
    width: 100% !important;
    height: 44px !important;
    background-color: #eef0f2 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='60 60 880 880'%3E%3Cg transform='scale(1, -1) translate(0, -896)'%3E%3Cpath fill='%231ec776' d='M212 318.592l-104.416-317.952 139.552 140.064c-9.6 24.224-7.232 65.6 12.384 85.184 26.272 26.304 69.536 25.696 95.808-0.608 26.304-26.304 27.712-70.336 1.44-96.64-20-20-63.936-21.152-88.448-10.784l-138.336-138.72 310.432 109.056 113.056 203.648-137.728 135.872-203.744-109.12zM735.392 788.832c0 0-192.352-192.32-222.016-222.016-29.728-29.696-45.248-141.408-45.248-141.408l86.24-86.272c0 0 108.896 15.552 140 46.688 31.136 31.104 222.016 222.016 222.016 222.016l-180.992 180.992z'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 26px 26px !important;
}

.cv-blog-side-item h4.uagb-heading-text a,
.cv-blog-side-item .uagb-heading-text a {
    color: #ed1c24 !important;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    font-family: "Chakra Petch", sans-serif !important;
    transition: color 0.2s ease !important;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-side-item:hover h4.uagb-heading-text a,
    .cv-blog-side-item h4.uagb-heading-text a:hover,
    .cv-blog-side-item:hover .uagb-heading-text a,
    .cv-blog-side-item .uagb-heading-text a:hover {
        color: #1ec776 !important;
    }
}

.cv-blog-feat-card figure.wp-block-image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    display: block;
}

.cv-blog-feat-card .uagb-heading-text a,
.cv-blog-feat-card h4.uagb-heading-text a {
    color: #ed1c24 !important;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: "Chakra Petch", sans-serif !important;
    transition: color 0.2s ease !important;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-feat-card:hover .uagb-heading-text a,
    .cv-blog-feat-card .uagb-heading-text a:hover {
        color: #1ec776 !important;
    }
}

/* Full-width Load More Products Button matching containerviet.vn */
.uagb-block-cv_prod_btn_box {
    width: 100% !important;
    margin-top: 10px !important;
}

.cv-btn-loadmore-prod.wp-block-uagb-buttons,
.cv-btn-loadmore-prod .uagb-buttons__wrap,
.cv-btn-loadmore-prod .wp-block-uagb-buttons-child,
.cv-btn-loadmore-prod .uagb-button__wrapper,
.cv-btn-loadmore-prod a.uagb-buttons-repeater {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.cv-btn-loadmore-prod a.uagb-buttons-repeater {
    height: 50px !important;
    min-height: 50px !important;
    line-height: 50px !important;
    background-color: #e9eaee !important;
    color: #ed1c24 !important;
    border-radius: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border: none !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.cv-btn-loadmore-prod a.uagb-buttons-repeater:hover {
    background-color: #e2e3e7 !important;
    color: #ed1c24 !important;
    opacity: 0.9 !important;
}

.cv-btn-loadmore-prod .uagb-button__link {
    color: #ed1c24 !important;
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: normal !important;
    line-height: 50px !important;
}

.cv-btn-loadmore-blog.wp-block-uagb-buttons,
.cv-btn-loadmore-blog .uagb-buttons__wrap,
.cv-btn-loadmore-blog .wp-block-uagb-buttons-child,
.cv-btn-loadmore-blog .uagb-button__wrapper,
.cv-btn-loadmore-blog a.uagb-buttons-repeater {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.cv-btn-loadmore-blog a.uagb-buttons-repeater {
    background-color: #ffaa06 !important;
    color: #333333 !important;
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    height: 50px !important;
    min-height: 50px !important;
    line-height: 50px !important;
    border-radius: 0px !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.cv-btn-loadmore-blog a.uagb-buttons-repeater:hover {
    background-color: #ff9900 !important;
    color: #333333 !important;
}

.cv-btn-loadmore-blog .uagb-button__link {
    color: #333333 !important;
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: normal !important;
    line-height: 50px !important;
}

.cv-partner-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 20px !important;
}

.cv-partner-item {
    flex: 1 1 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

@media (max-width: 767px) {
    .cv-partner-grid {
        justify-content: center !important;
    }
    .cv-partner-item {
        flex: 0 0 calc(33.33% - 20px) !important;
        max-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .cv-partner-item {
        flex: 0 0 calc(50% - 20px) !important;
    }
}

.cv-partner-item img {
    max-height: 46px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.cv-partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.wp-block-uagb-container.uagb-block-cv_footer_outer,
.uagb-block-cv_footer_outer,
.cv-cat-footer-outer {
    background-color: #0a0a0a !important;
    padding: 95px 0 95px !important;
    width: 100% !important;
}

.uagb-block-cv_footer_inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.wp-block-uagb-container.uagb-is-root-container .cv-footer-col-left,
.uagb-block-cv_footer_inner .cv-footer-col-left {
    width: auto !important;
    max-width: 200px !important;
    flex: 0 0 auto !important;
}

.wp-block-uagb-container.uagb-is-root-container .cv-footer-col-right,
.uagb-block-cv_footer_inner .cv-footer-col-right {
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
}

.uagb-block-cv_footer_inner .cv-social-icons {
    justify-content: flex-start !important;
}

@media (max-width: 767px) {
    .wp-block-uagb-container.uagb-block-cv_footer_outer,
    .uagb-block-cv_footer_outer,
    .cv-cat-footer-outer {
        padding: 70px 0 95px !important;
    }
    .uagb-block-cv_footer_inner {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 24px !important;
    }
    .wp-block-uagb-container.uagb-is-root-container .cv-footer-col-left,
    .uagb-block-cv_footer_inner .cv-footer-col-left,
    .wp-block-uagb-container.uagb-is-root-container .cv-footer-col-right,
    .uagb-block-cv_footer_inner .cv-footer-col-right {
        max-width: 100% !important;
        text-align: center !important;
    }
    .uagb-block-cv_footer_inner .cv-social-icons {
        justify-content: center !important;
    }
}

.site-footer, .ast-footer-builder {
    display: none !important;
}

.cv-floating-hotline {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
}

.cv-floating-hotline a {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-floating-hotline a:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
    }
}

.cv-floating-hotline a:active {
    transform: scale(0.96);
}

.cv-floating-hotline-icon {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #e53935;
    font-size: 14px;
}

.cv-floating-zalo {
    position: fixed;
    bottom: 80px;
    right: 21px;
    z-index: 99999;
}

.cv-floating-zalo a {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #009af8;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-floating-zalo a:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 136, 255, 0.6);
    }
}

.cv-floating-zalo a:active {
    transform: scale(0.96);
}

.cv-floating-zalo a svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cv-floating-zalo a:focus-visible {
    outline: 3px solid #005a9c;
    outline-offset: 4px;
}

.cv-floating-zalo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.cv-scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.cv-scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .cv-scroll-to-top:hover {
        background-color: #ed1c24;
        color: #ffffff;
    }
}

.cv-scroll-to-top:active {
    background-color: #ed1c24;
    transform: scale(0.94);
}

.cv-scroll-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    pointer-events: none;
}

#ast-scroll-top {
    display: none !important;
}

.cv-category-page-wrap {
    width: 100%;
    background-color: #ffffff;
}

.cv-cat-header-wrap {
    width: 100%;
    background-color: #ffffff;
    padding-top: 35px;
    padding-bottom: 5px;
}

.cv-cat-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-cat-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.cv-cat-title {
    position: relative;
    font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #333333 !important;
    margin: 0 !important;
    padding: 0 0 0 16px !important;
    display: inline-block;
    z-index: 1;
}

.cv-cat-title::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 55px;
    height: 55px;
    background-color: #1ec776;
    z-index: -1;
    display: block;
    border-radius: 2px;
}

.cv-cat-desc {
    margin-top: 15px;
    margin-bottom: 25px;
}

.cv-cat-desc p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4f4f4f !important;
    margin: 0 !important;
    max-width: 100%;
}

.cv-cat-products-wrap {
    width: 100%;
    background-color: #f3fff4 !important;
    padding-top: 45px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.cv-cat-products-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.category-san-pham #content,
.category-san-pham #content .ast-container,
.category-san-pham #primary,
.category-blog #content,
.category-blog #content .ast-container,
.category-blog #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cv-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 65px;
    width: 100%;
}

.cv-product-card {
    position: relative;
    box-sizing: border-box;
}

.cv-product-card-inner {
    position: relative;
    width: 100%;
}

.cv-product-thumb-link {
    display: block;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cv-product-thumb-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cv-product-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-card:hover .cv-product-thumb-wrap img {
        transform: scale(1.04);
    }
}

.cv-product-content-box {
    position: absolute;
    bottom: -15px;
    left: 45px;
    right: -15px;
    background-color: #ffffff;
    padding: 16px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    z-index: 2;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-card:hover .cv-product-content-box {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
}

.cv-product-title {
    font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.cv-product-title a {
    color: #333333 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-product-title a:hover {
        color: #1ec776 !important;
    }
}

.cv-cat-partner-outer {
    background-color: #f8fafc;
    padding: 60px 0;
    width: 100%;
}

.cv-cat-partner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .cv-products-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
        row-gap: 55px;
    }
    .cv-product-content-box {
        left: 25px;
        right: 0;
    }
}

@media (max-width: 640px) {
    .cv-products-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }
    .cv-product-thumb-wrap {
        height: 220px;
    }
    .cv-product-content-box {
        left: 15px;
        right: 0;
        bottom: -15px;
    }
}

.cv-blog-posts-wrap {
    width: 100%;
    background-color: #f3fff4 !important;
    padding-top: 45px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.cv-blog-posts-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    row-gap: 30px;
    width: 100%;
    align-items: stretch;
}

.cv-blog-card,
.cv-blog-posts-wrap .cv-blog-card,
.cv-blog-posts-wrap .cv-blog-card.ast-article-post,
.cv-blog-posts-wrap .cv-blog-card:last-child {
    background-color: #ffffff !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-card:hover,
    .cv-blog-posts-wrap .cv-blog-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    }
}

.cv-blog-thumb-wrap {
    width: 100% !important;
    height: 195px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cv-blog-thumb-wrap img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-card:hover .cv-blog-thumb-wrap img {
        transform: scale(1.05);
    }
}

.cv-blog-content-wrap {
    padding: 22px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.cv-blog-title {
    font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.cv-blog-title a {
    color: #333333 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-title a:hover {
        color: #ed1c24 !important;
    }
}

.cv-blog-sep {
    height: 1px;
    background-color: #e0e0e0;
    margin: 18px 0 16px 0;
    width: 100%;
}

.cv-blog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cv-blog-readmore {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    color: #333333 !important;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-readmore:hover {
        color: #1ec776 !important;
    }
}

.cv-blog-readmore-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #1ec776;
    border-radius: 50%;
    color: #ffffff;
    margin-left: 8px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-blog-readmore:hover .cv-blog-readmore-icon {
        transform: translateX(3px);
        background-color: #ed1c24;
    }
}

.cv-blog-readmore-icon svg {
    width: 10px;
    height: 10px;
    stroke: #ffffff;
    stroke-width: 3;
    fill: none;
}

.cv-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 45px;
    width: 100%;
}

.cv-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 0px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.cv-blog-pagination a.page-numbers {
    background-color: #ffffff !important;
    border: 1px solid #5e6276;
    color: #ed1c24 !important;
}

.cv-blog-pagination a.page-numbers:hover {
    background-color: #ffffff !important;
    border-color: #1ec776 !important;
    color: #1ec776 !important;
}

.cv-blog-pagination span.page-numbers.current {
    background-color: #1ec776;
    border: 1px solid #1ec776;
    color: #ffffff !important;
}

.cv-blog-pagination .next.page-numbers,
.cv-blog-pagination .prev.page-numbers {
    background-color: #ffffff !important;
    border: 1px solid #5e6276;
    color: #ed1c24 !important;
}

.cv-blog-pagination .next.page-numbers:hover,
.cv-blog-pagination .prev.page-numbers:hover {
    background-color: #ffffff !important;
    border-color: #1ec776 !important;
    color: #1ec776 !important;
}

.cv-blog-pagination .next.page-numbers svg,
.cv-blog-pagination .prev.page-numbers svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

@media (max-width: 1100px) {
    .cv-blog-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 25px;
    }
}

@media (max-width: 820px) {
    .cv-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 18px;
        row-gap: 22px;
    }
}

@media (max-width: 540px) {
    .cv-blog-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .cv-blog-thumb-wrap {
        height: 220px;
    }
}

.page-id-217 #content,
.page-id-217 #content .ast-container,
.page-id-217 #primary,
.page-id-217 .site-main,
.page-id-217 .ast-article-single,
.page-id-217 .entry-content,
.page-contact #content,
.page-contact #content .ast-container,
.page-contact #primary,
.page-contact .site-main,
.page-contact .ast-article-single,
.page-contact .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cv-contact-title {
    font-size: 32px !important;
    color: #091d13 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 700 !important;
}

.cv-contact-map-wrap,
.uagb-block-cv_contact_map_outer,
.uagb-block-cv_contact_map_outer > .uagb-container-inner-blocks-wrap {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
}

.cv-contact-map-wrap iframe {
    width: 100% !important;
    height: 450px;
    border: none;
    display: block;
}

.cv-contact-split-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.cv-contact-col-form {
    flex: 1 1 50%;
    width: 50%;
    box-sizing: border-box;
    padding-right: 20px;
}

.cv-contact-col-info {
    flex: 1 1 50%;
    width: 50%;
    box-sizing: border-box;
    padding-left: 65px;
}

.cv-form-group {
    margin-bottom: 20px;
}

.cv-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cv-form-group input {
    width: 100% !important;
    height: 44px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    color: #333333 !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.cv-form-group input:focus {
    border-color: #1ec776 !important;
}

.cv-form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.cv-btn-submit {
    width: 169px;
    height: 43px;
    background-color: #1ec776 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cv-btn-submit:hover {
    background-color: #18a863 !important;
}

.cv-form-group .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    position: relative !important;
}

.cv-form-group input.wpcf7-not-valid {
    border-color: #e53935 !important;
}

.cv-form-group .wpcf7-not-valid-tip {
    color: #e53935 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px 16px !important;
    background-color: #e8f5e9 !important;
    border: 1px solid #1ec776 !important;
    color: #2e7d32 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px 16px !important;
    background-color: #ffebee !important;
    border: 1px solid #e53935 !important;
    color: #c62828 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.cv-form-submit .wpcf7-spinner {
    margin: 10px 12px 0 0 !important;
    vertical-align: middle !important;
}

.cv-contact-subtitle {
    font-size: 13px !important;
    line-height: 20px !important;
    color: #828282 !important;
    font-style: italic !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.cv-contact-company .cv-company-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #333333 !important;
    font-weight: 400 !important;
    margin: 0 0 16px 0 !important;
}

.cv-contact-company .cv-company-title strong {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    display: inline-block;
    margin-top: 4px;
}

.cv-contact-details p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 26px !important;
    color: #333333 !important;
    margin: 0 0 8px 0 !important;
}

.cv-contact-details strong {
    color: #333333 !important;
    font-weight: 700 !important;
}

@media (max-width: 900px) {
    .cv-contact-split-wrap {
        flex-direction: column;
        gap: 35px;
    }
    .cv-contact-col-form,
    .cv-contact-col-info {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.cv-single-product-page #content,
.cv-single-product-page #content .ast-container,
.cv-single-product-page #primary,
.cv-single-product-page .site-main,
.cv-single-product-page .ast-article-single,
.cv-single-product-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
}

.cv-single-prod-header-wrap {
    width: 100%;
    padding-top: 35px;
    padding-bottom: 0;
    background: #ffffff;
    box-sizing: border-box;
}

.cv-single-prod-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-single-prod-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cv-single-prod-title-accent {
    width: 20px;
    height: 55px;
    background-color: #1ec776;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
}

.cv-single-prod-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.cv-single-prod-price-row {
    padding-left: 35px;
    margin-bottom: 12px;
}

.cv-single-prod-price {
    font-size: 16px;
    font-weight: 600;
    color: #087a43;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cv-single-prod-divider {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    margin: 15px 0 25px 0;
    width: 100%;
}

.cv-single-prod-content-wrap {
    width: 100%;
    background: #ffffff;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.cv-single-prod-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.cv-single-prod-content-inner h2,
.cv-single-prod-content-inner h3 {
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-top: 32px;
    margin-bottom: 16px;
}

.cv-single-prod-content-inner h2 {
    font-size: 22px !important;
}

.cv-single-prod-content-inner h3 {
    font-size: 18px !important;
}

.cv-single-prod-content-inner p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.cv-single-prod-content-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.cv-single-prod-content-inner figure {
    margin: 20px auto;
    text-align: center;
}

.cv-single-prod-content-inner figcaption {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin-top: 8px;
    text-align: center;
}

.cv-single-prod-content-inner iframe {
    max-width: 100%;
    margin: 24px auto;
    display: block;
}

.cv-single-prod-share-wrap {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-single-prod-share-inner {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    display: flex;
    justify-content: flex-end;
}

.cv-share-social-icons {
    display: flex;
    gap: 12px;
}

.cv-share-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cv-share-social-icons a:hover {
    border-color: #1ec776;
    color: #1ec776;
}

.cv-related-products-wrap {
    width: 100%;
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.cv-related-products-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-related-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.cv-related-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 0 !important;
}

.cv-related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
    row-gap: 40px;
    width: 100%;
}

.cv-related-product-card {
    position: relative;
    box-sizing: border-box;
}

.cv-related-card-inner {
    position: relative;
    width: 100%;
}

.cv-related-thumb-link {
    display: block;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cv-related-thumb-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f1f5f9;
}

.cv-related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-product-card:hover .cv-related-thumb-wrap img {
        transform: scale(1.05);
    }
}

.cv-related-content-box {
    position: absolute;
    bottom: -15px;
    left: 25px;
    right: 0px;
    background-color: #f3fff4;
    padding: 14px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    z-index: 2;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    min-height: 72px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-product-card:hover .cv-related-content-box {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
}

.cv-related-card-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.cv-related-card-title a {
    color: #333333 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-product-card:hover .cv-related-card-title a {
        color: #1ec776 !important;
    }
}

@media (max-width: 1024px) {
    .cv-related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 35px;
    }
}

@media (max-width: 600px) {
    .cv-related-products-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .cv-related-content-box {
        left: 15px;
        right: 0;
    }
    .cv-single-prod-title {
        font-size: 20px !important;
    }
    .cv-single-prod-title-accent {
        height: 45px;
        width: 15px;
    }
}

.cv-single-blog-page #content,
.cv-single-blog-page #content .ast-container,
.cv-single-blog-page #primary,
.cv-single-blog-page .site-main,
.cv-single-blog-page .ast-article-single,
.cv-single-blog-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
}

.cv-single-post-header-wrap {
    width: 100%;
    padding-top: 35px;
    padding-bottom: 0;
    background: #ffffff;
    box-sizing: border-box;
}

.cv-single-post-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-single-post-title-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.cv-single-post-title-accent {
    width: 20px;
    min-width: 20px;
    height: 55px;
    background-color: #1ec776;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
    margin-top: 2px;
}

.cv-single-post-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.cv-single-post-divider {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    margin: 15px 0 25px 0;
    width: 100%;
}

.cv-single-post-featured-wrap {
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.cv-single-post-featured-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-single-post-featured-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cv-single-post-content-wrap {
    width: 100%;
    background: #ffffff;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.cv-single-post-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.cv-single-post-content-inner h2,
.cv-single-post-content-inner h3,
.cv-single-post-content-inner h4 {
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-top: 28px;
    margin-bottom: 14px;
}

.cv-single-post-content-inner h2 {
    font-size: 22px !important;
}

.cv-single-post-content-inner h3 {
    font-size: 18px !important;
}

.cv-single-post-content-inner p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.cv-single-post-content-inner strong {
    font-weight: 700;
    color: #111827;
}

.cv-single-post-content-inner a {
    color: #1ec776;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cv-single-post-content-inner a:hover {
    color: #ed1c24;
    text-decoration: underline;
}

.cv-single-post-content-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.cv-single-post-share-wrap {
    width: 100%;
    background-color: #292b37;
    padding: 16px 0;
    margin-bottom: 45px;
    box-sizing: border-box;
}

.cv-single-post-share-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cv-share-label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.cv-single-post-share-wrap .cv-share-social-icons {
    display: flex;
    gap: 12px;
}

.cv-single-post-share-wrap .cv-share-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cv-single-post-share-wrap .cv-share-social-icons a:hover {
    background-color: #1ec776;
    transform: translateY(-2px);
}

.cv-related-posts-section {
    width: 100%;
    background: #ffffff;
    padding-bottom: 70px;
    box-sizing: border-box;
}

.cv-related-posts-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cv-related-posts-heading-wrap {
    margin-bottom: 25px;
}

.cv-related-posts-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin: 0 !important;
}

.cv-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    row-gap: 30px;
    width: 100%;
    align-items: stretch;
}

.cv-related-post-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-post-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
}

.cv-related-post-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cv-related-post-thumb-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cv-related-post-thumb-wrap {
    width: 100%;
    height: 195px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.cv-related-post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-post-card:hover .cv-related-post-thumb-wrap img {
        transform: scale(1.05);
    }
}

.cv-related-post-content {
    padding: 16px 14px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cv-related-post-card-title {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.cv-related-post-card-title a {
    color: #ed1c24 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cv-related-post-card-title a:hover {
        color: #1ec776 !important;
    }
}

@media (max-width: 1024px) {
    .cv-related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 25px;
    }
}

@media (max-width: 600px) {
    .cv-related-posts-grid {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }
    .cv-single-post-title {
        font-size: 20px !important;
    }
    .cv-single-post-title-accent {
        height: 45px;
        width: 15px;
    }
    .cv-single-post-share-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Responsive Image & Caption Fix for LCP */
.wp-caption,
figure.wp-caption,
.wp-block-image,
figure.wp-block-image,
.wp-block-image.aligncenter,
.wp-block-image.alignleft,
.wp-block-image.alignright,
.wp-block-image.alignnone {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-caption img,
figure.wp-caption img,
.wp-block-image img,
figure.wp-block-image img {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

/* Fix duplicate figcaption when Gutenberg wraps a classic caption */
figure.wp-block-image:has(.wp-caption) > figcaption.wp-element-caption,
figure.wp-block-image:has(.wp-caption) > br,
.wp-caption + br,
.wp-caption + br + .wp-element-caption {
    display: none !important;
}

.wp-block-image figcaption,
.wp-caption figcaption,
figcaption.wp-element-caption,
figcaption.wp-caption-text {
    text-align: center !important;
    font-size: 14px !important;
    color: #666666 !important;
    margin-top: 8px !important;
    display: block !important;
    width: 100% !important;
}


/* About Page & Content Container Mobile Layout */
.wp-block-uagb-container.uagb-block-cv_about_outer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wp-block-uagb-container.uagb-block-cv_about_inner {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .wp-block-uagb-container.uagb-block-cv_about_outer {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }
    .wp-block-uagb-container.uagb-block-cv_about_inner {
        padding: 0 !important;
        align-items: flex-start !important;
    }
    .wp-block-uagb-container.uagb-block-cv_about_inner .cv-cat-title-container {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    .wp-block-uagb-container.uagb-block-cv_about_inner p {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}



/* Make article links identifiable without relying on color alone. */
.cv-single-prod-content-inner a,
.cv-single-post-content-inner a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.cv-single-prod-content-inner a:focus-visible,
.cv-single-post-content-inner a:focus-visible,
.cv-social-icons a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
