/*
        Theme Name: Decoria Child
        Theme URI: 
        Description: A child theme of Decoria
        Author: 
        Author URI: 
        Template: decoria
        Version: 1.0.0
        Text Domain: decoria-child
        */

        /* Add your custom styles below this line */
        
/* Keep the original Cát Tường logo proportions in every header/footer variant. */
.logo_box img.logo_default {
    display: block;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

/* Global brand typography: keep icon fonts intact while unifying visible copy. */
html,
body,
button,
input,
select,
textarea,
.elementor,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor p,
.elementor a,
.elementor li,
.elementor span:not([class*="icon"]):not([class^="decorias-"]):not([class*=" decorias-"]):not(.fa):not(.fas):not(.far):not(.fab) {
    font-family: "Montserrat", Arial, sans-serif !important;
}

/* Cát Tường service detail layout. */
.single-service .service_single_details_outer {
    max-width: 1200px;
    margin-inline: auto;
}

.single-service .single_feature_image {
    overflow: hidden;
    border-radius: 24px;
    background: #e8dcc7;
}

.single-service .single_feature_image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
}

.ct-service-layout {
    --ct-moss: #606c38;
    --ct-sage: #8b9d83;
    --ct-sand: #e8dcc7;
    --ct-oat: #d4b895;
    --ct-clay: #b08b6e;
    color: #344033;
}

.ct-service-layout .ct-service-lead {
    max-width: 900px;
    margin: 0 0 46px;
    color: #606c38;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.65;
}

.ct-service-layout .ct-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
    gap: 28px;
    align-items: stretch;
}

.ct-service-layout .ct-service-panel {
    padding: clamp(26px, 4vw, 48px);
    border-radius: 24px;
    background: var(--ct-sand);
}

.ct-service-layout .ct-service-panel--scope {
    background: var(--ct-moss);
    color: var(--ct-sand);
}

.ct-service-layout h2,
.ct-service-layout h3 {
    margin-top: 0;
    color: var(--ct-moss);
}

.ct-service-layout .ct-service-panel--scope h3 {
    color: var(--ct-sand);
}

.ct-service-layout .ct-service-panel p:last-child {
    margin-bottom: 0;
}

.ct-service-layout .ct-service-highlights {
    margin-top: 28px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(96, 108, 56, .28);
    border-radius: 24px;
}

.ct-service-layout .ct-service-highlights ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 34px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ct-service-layout .ct-service-highlights li {
    position: relative;
    margin: 0;
    padding: 0 0 0 24px;
}

.ct-service-layout .ct-service-highlights li::before {
    position: absolute;
    top: .58em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ct-clay);
    content: "";
}

.ct-service-layout .ct-service-cta {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 24px;
    background: var(--ct-sage);
    color: #263025;
}

.ct-service-layout .ct-service-cta h2 {
    margin-bottom: 12px;
    color: #263025;
}

.ct-service-layout .ct-service-cta p {
    max-width: 760px;
    margin: 0;
}

.ct-service-layout .ct-service-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 25px;
    border-radius: 28px;
    background: var(--ct-moss);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .35s ease, background-color .35s ease;
}

.ct-service-layout .ct-service-button:hover,
.ct-service-layout .ct-service-button:focus {
    transform: translateY(-2px);
    background: #344033;
    color: #fff;
}

@media (max-width: 767px) {
    .ct-service-layout .ct-service-grid,
    .ct-service-layout .ct-service-highlights ul {
        grid-template-columns: 1fr;
    }

    .ct-service-layout .ct-service-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Hide only the theme-level hero image on the factory and equipment service. */
.single-service.service-mo-hinh-nha-may-va-thiet-bi .single_feature_image {
    display: none;
}
