/* Type and spacing adjustments for Chinese copy within the original inner-page layouts. */
.bratecome-section .contant .title h1 {
    color: #fff;
    font-size: 55px;
    letter-spacing: 1px;
}

.template-audience .team-image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.template-audience .team-degicnation p {
    color: #5b5b5b;
    margin: 0.45rem 0.5rem 0.85rem;
}

.template-mission .testi-slider2 .testi-box {
    background-image: linear-gradient(rgba(30, 30, 30, 0.65), rgba(30, 30, 30, 0.65)), url('assets/images/slider/tes3.jpg');
}

.template-mission .testi-slider2 .testi-box .testi-content p {
    color: #f7f2e8;
    margin: 1.2rem 0 0;
}

.about-section .template-about-count {
    color: #1e1e1e;
    display: block;
    font-size: clamp(2.15rem, 3.8vw, 3.6rem);
    line-height: 1.3;
}

.about-section .single-counter:has(.template-about-count) p {
    color: #5b5b5b;
    font-size: 1rem;
}

.dark .about-section .template-about-count {
    color: #fff;
}

.dark .about-section .single-counter:has(.template-about-count) p {
    color: #ccc;
}

.template-card-description {
    color: #575757;
    margin: 0;
}

.service-section .all-service .single-service:focus-within .image-theme .button {
    bottom: -6px;
    left: 1px;
}

.service-section .all-service .single-service .image-theme .button a {
    color: #272320;
}

.template-capabilities .feature-icon i {
    color: #ab7441;
    font-size: 2.6rem;
    line-height: 1.15;
}

.template-capabilities .single-feature .text h3 {
    margin-top: 1.8rem;
}

.template-capability-description {
    color: #5b5b5b;
    font-size: 0.9rem;
    margin: 0.5rem 0.55rem 0;
}

.template-capabilities .single-feature:hover .feature-icon i,
.template-capabilities .single-feature:hover .template-capability-description {
    color: #fff;
}

.template-capabilities .single-feature:target {
    box-shadow: inset 0 0 0 2px #ab7441;
}

.template-capabilities .single-feature[id] {
    scroll-margin-top: 7rem;
}

@media (hover: none) {
    .service-section .all-service .single-service .image-theme .button {
        bottom: -6px;
        left: 1px;
    }
}

@media (max-width: 767px) {
    .bratecome-section .contant .title h1 {
        font-size: 2.4rem;
    }

    .template-mission .testi-slider2 .testi-box .testi-content {
        padding: 3rem 1.5rem;
    }

    .template-mission .testi-slider2 .testi-box .testi-content h2 {
        font-size: 1.8rem;
    }
}

/* Complete company profile content. */
/* Reserve photo space before the browser follows deep links to the full profile. */
.template-audience img[width][height],
.template-mission img[width][height],
.template-profile img[width][height],
.template-history img[width][height],
.template-capabilities img[width][height],
main .service-section .image-theme img[width][height],
main .spa-section .logos-image img[width][height] { height: auto; }

/* Adapt the template's About sections for the complete company profile. */
.template-about-nav {
    background: #fcf9f4;
    border-bottom: 1px solid #e5dbc9;
}

.template-about-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem clamp(0.75rem, 3vw, 2.75rem);
    margin: 0;
    padding: 0.45rem 0;
    list-style: none;
}

.template-about-nav a {
    display: block;
    padding: 0.65rem 0.15rem;
    color: #24201b;
    font-weight: 600;
}

.template-about-nav a:hover {
    color: #86572e;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.template-about-prose {
    max-width: 58rem;
    margin-right: auto;
    margin-left: auto;
    color: #58534d;
    line-height: 1.8;
}

.template-about-prose p:last-child {
    margin-bottom: 0;
}

.template-audience-intro {
    margin-bottom: 2rem;
}

.template-audience .team-degicnation p {
    min-height: 4.75rem;
    margin: 0.55rem 0.8rem 1rem;
    text-align: left;
}

.template-audience-summary {
    margin-top: 2.6rem;
    padding: 1.5rem 0 7.25rem;
    border-top: 1px solid #e5dbc9;
}

.template-audience-summary h3 {
    margin: 0 0 0.6rem;
    color: #1e1e1e;
}

.template-mission .testi-slider2 .testi-box .testi-content h3 {
    font-size: 38px;
    color: #fff;
}

.template-mission-details {
    margin-top: clamp(2rem, 4vw, 3.75rem);
    color: #ece6dc;
    text-align: left;
}

.template-mission-signature {
    margin-top: 1.5rem;
    color: #e4c590;
    font-weight: 600;
}

.template-profile .bottom-content .description p {
    margin-bottom: 1rem;
    padding: 0;
    line-height: 1.8;
}

.template-profile .bottom-content .description {
    margin: 1.25rem 0 2rem;
}

.template-history {
    padding-top: 0;
}

.template-history .logos-image img {
    width: min(9rem, 44%);
}

.template-history-source {
    margin: 0.7rem 0 1.5rem;
    color: #5b5147;
}

.template-history-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.template-history-list li {
    display: grid;
    grid-template-columns: minmax(4.5rem, 6rem) 1fr;
    align-items: baseline;
    gap: 0.9rem;
    padding: 1.1rem 0;
    border-top: 1px solid #dfd2be;
}

.template-history-list time {
    color: #86572e;
    font-weight: 700;
}

.template-history-list h3 {
    margin: 0 0 0.4rem;
    color: #24201b;
    font-size: 1.25rem;
}

.template-history-list p {
    margin: 0;
    color: #58534d;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .template-audience .team-degicnation p {
        min-height: 0;
    }

    .template-audience .top-content h2,
    .template-profile .top-content h2,
    .template-history .top-content h2 {
        font-size: clamp(2rem, 7.5vw, 3rem);
    }

    .template-mission .testi-slider2 .testi-box .testi-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 420px) {
    .template-history-list li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

/* Allow the source service descriptions to wrap inside the original six cards. */
.template-capabilities .top-content h2 {
    font-size: clamp(2rem, 4.4vw, 3.4375rem);
    text-wrap: balance;
}

.template-capabilities-intro,
.template-capabilities-summary {
    max-width: 50rem;
    margin: 1rem auto 0;
    color: #4e4e4e;
    line-height: 1.75;
    text-align: left;
}

.template-capabilities-guide {
    margin: 0 0 1rem;
    color: #4e4e4e;
    text-align: center;
}

.template-capability-grid > div {
    display: flex;
}

.template-capability-grid .single-feature {
    width: 100%;
    padding-inline: .85rem;
}

.template-capability-grid .single-feature .text h3 {
    display: grid;
    align-items: center;
    min-height: 2.6em;
    margin-top: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.3;
    text-wrap: balance;
}

.template-capability-grid .template-capability-description {
    margin: .65rem 0 0;
    line-height: 1.65;
    text-align: left;
}

@media (max-width: 575px) {
    .template-capability-grid .single-feature {
        padding: 1.75rem 1.15rem;
    }

    .template-capability-grid .single-feature .text h3 {
        min-height: auto;
    }
}
/* Let the English capability descriptions breathe at the template’s desktop breakpoint. */
@media (min-width: 992px) and (max-width: 1199px) {
    .template-capability-grid > .col-lg-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 1200px) {
    .template-capability-grid .single-feature .text h3 {
        min-height: 3.9em;
    }
}

.template-audience .row > [class*="col-"] { display: flex; }
.template-audience .single-team { width: 100%; }
