:root {
    --ksc-cream: #FFFCF8;
    --ksc-mint: #EAF5F0;
    --ksc-deep: #116B64;
    --ksc-ink: #26332F;
    --ksc-accent: #278D7F;
    --ksc-pink: #F7E7EB;
    --ksc-border: rgba(17, 107, 100, .16);
}

/* .ksc27-section-space {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
} */

.ksc26-cream {
    background: linear-gradient(132deg, #FFFCF8 0%, #fff 56%, #EAF5F0 100%);
}

.ksc26-mint {
    background: linear-gradient(133deg, #EAF5F0 0%, #FFFCF8 66%, #F7E7EB 120%);
}

.ksc27-soft-section {
    background: linear-gradient(122deg, #fff 0%, #FFFCF8 65%, #F7E7EB 160%);
}

.ksc27-home-hero,
.ksc27-about-hero {
    background: radial-gradient(circle at 84% 21%, rgba(39, 141, 127, .14), transparent 38%), linear-gradient(130deg, #FFFCF8, #fff 52%, #EAF5F0) !important;
}

.ksc27-home-hero {
    padding: 67px 0 72px !important;
    overflow: hidden;
}

.ksc27-hero-row {
    min-height: 475px;
}

.ksc27-hero-copy .col-inner {
    padding-right: 18px;
}

.ksc27-hero-headline h1 {
    font-size: clamp(38px, 4.3vw, 59px);
    line-height: 1.12;
    font-weight: 780;
    letter-spacing: -.045em;
    margin: 0 0 24px;
}

.ksc27-hero-headline p:not(.ksc26-eyebrow) {
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.8;
    max-width: 560px;
}

.ksc27-hero-copy .button {
    margin-right: 12px;
    margin-bottom: 12px;
}

.ksc26-gradient-title h1 span,
.ksc26-gradient-title h2 span,
.ksc27-brand-wordmark {
    background: linear-gradient(106deg, #0f6159 4%, #36af9a 38%, #7fae9a 65%, #116B64 98%);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: ksc27-shimmer 9s ease-in-out infinite alternate;
}

@keyframes ksc27-shimmer {
    0% {
        background-position: 0 50%
    }

    100% {
        background-position: 100% 50%
    }
}

.custom-button-sp {
    margin-top: 20px !important;
}

.ksc27-home-hero .button,
.ksc27-section-space .button,
.ksc27-soft-section .button {
    background: linear-gradient(110deg, #116B64, #268e80, #116B64) !important;
    background-size: 240% 100% !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 27px rgba(17, 107, 100, .16);
    color: var(--color-white) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    transition: background-position .45s, transform .25s, box-shadow .25s;
}

.ksc27-home-hero .button:hover,
.ksc27-section-space .button:hover,
.ksc27-soft-section .button:hover {
    background-position: 95% 50% !important;
    box-shadow: 0 14px 30px rgba(17, 107, 100, .25);
    transform: translateY(-2px);
}

.ksc27-home-hero .button.is-outline,
.ksc27-section-space .button.is-outline,
.ksc27-soft-section .button.is-outline {
    color: #116B64 !important;
    background: rgba(255, 255, 255, .8) !important;
    border: 1px solid rgba(17, 107, 100, .3) !important;
    box-shadow: none;
}

.ksc27-heading-center {
    max-width: 840px;
    margin: 0 auto 34px;
}

.ksc27-heading-center .ksc26-eyebrow {
    margin-bottom: 14px;
}

.ksc27-heading-center p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Nhóm sản phẩm hero: ảnh có khoảng thở, không cắt tuýp/chai/hộp */
.ksc27-collagen-gallery {
    position: relative;
    min-height: 470px;
    max-width: 600px;
    margin: 0 auto;
    isolation: isolate;
}

.ksc27-collagen-gallery::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 65px 10% 42px 13%;
    background: radial-gradient(circle, #d8f2e8, #f7e7eb 63%, #fff 77%);
    border-radius: 50%;
    filter: blur(8px);
}

.ksc27-collagen-main,
.ksc27-collagen-left,
.ksc27-collagen-right {
    position: absolute;
    background: var(--color-white);
    border: 1px solid rgba(17, 107, 100, .10);
    box-shadow: 0 22px 48px rgba(25, 76, 68, .12);
    border-radius: 26px;
    padding: 12px;
}

.ksc27-collagen-main {
    left: 27%;
    top: 13%;
    width: 58%;
    height: 68%;
    transform: rotate(-3deg);
}

.ksc27-collagen-left {
    left: 0;
    bottom: 6%;
    width: 37%;
    height: 46%;
    transform: rotate(5deg);
}

.ksc27-collagen-right {
    right: -1%;
    bottom: 0;
    width: 36%;
    height: 41%;
    transform: rotate(4deg);
}

.ksc27-collagen-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.ksc27-collagen-tag {
    position: absolute;
    z-index: 3;
    left: 7%;
    top: 5%;
    letter-spacing: .17em;
    font-size: 11px;
    font-weight: 800;
    color: #116B64;
    background: rgba(255, 255, 255, .8);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(25, 76, 68, .07);
}

.ksc27-image-surface .col-inner {
    min-height: 300px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EAF5F0 0%, #fff 64%, #F7E7EB 150%);
    box-shadow: 0 15px 45px rgba(24, 67, 55, .08);
    overflow: hidden;
    padding: 22px !important;
}

.ksc27-image-surface .ux-html {
    width: 100%;
}

.ksc27-intro-photo {
    width: 100%;
    height: 340px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ksc27-intro-copy p {
    max-width: 660px;
}

.ksc27-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ksc27-category-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: linear-gradient(155deg, #fff, #FFFCF8);
    border: 1px solid rgba(17, 107, 100, .12);
    border-radius: 24px;
    padding: 12px 12px 19px;
    box-shadow: 0 11px 32px rgba(28, 77, 64, .07);
    transition: transform .27s, border-color .27s, box-shadow .27s;
}

.ksc27-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 107, 100, .35);
    box-shadow: 0 19px 42px rgba(28, 77, 64, .12);
}

.ksc27-category-photo {
    width: 100%;
    display: block;
    aspect-ratio: 1/1;
    background: linear-gradient(140deg, #edf7f2, #fff 70%, #F7E7EB);
    border-radius: 17px;
    overflow: hidden;
}

.ksc27-category-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s;
}

.ksc27-category-card:hover .ksc27-category-photo img {
    transform: scale(1.05);
}

.ksc27-category-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 75px;
    font-weight: 800;
    color: rgba(17, 107, 100, .17);
}

.ksc27-category-name {
    font-size: 16px;
    font-weight: 700;
    color: #26332F;
    line-height: 1.4;
    padding: 17px 30px 0 7px;
}

.ksc27-category-arrow {
    position: absolute;
    right: 20px;
    bottom: 16px;
    font-size: 19px;
    color: #278D7F;
}

.ksc27-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ksc27-brand-card {
    border: 1px solid rgba(17, 107, 100, .13);
    background: var(--color-white);
    border-radius: 23px;
    padding: 24px 20px;
    min-height: 144px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 17px;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(25, 76, 68, .055);
    transition: transform .3s, box-shadow .3s;
}

.ksc27-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(25, 76, 68, .12);
}

.ksc27-brand-card img {
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ksc27-brand-wordmark {
    font-size: clamp(26px, 2.35vw, 35px);
    font-weight: 750;
    line-height: 1.35;
}

.ksc27-brand-card small {
    font-size: 12px;
    letter-spacing: .06em;
    color: #58726d;
}

.ksc27-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ksc27-product-card {
    background: var(--color-white);
    overflow: hidden;
    border: 1px solid rgba(17, 107, 100, .12);
    border-radius: 24px;
    text-decoration: none !important;
    box-shadow: 0 12px 35px rgba(25, 76, 68, .07);
    transition: transform .3s, box-shadow .3s;
    display: block;
}

.ksc27-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(25, 76, 68, .14);
}

.ksc27-product-image {
    display: flex;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff, #F8FBF8);
    padding: 17px;
}

.ksc27-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s;
}

.ksc27-product-card:hover .ksc27-product-image img {
    transform: scale(1.035);
}

.ksc27-product-details {
    display: flex;
    gap: 7px;
    flex-direction: column;
    padding: 18px 22px 24px;
    min-height: 116px;
}

.ksc27-product-details small {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #278D7F;
}

.ksc27-product-details strong {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 750;
    color: #26332F;
}

.ksc27-product-details>span {
    font-size: 13px;
    color: #687973;
}

.ksc27-image-pending {
    font-size: 13px;
    color: #5b776e;
    text-align: center;
    line-height: 1.6;
}

.ksc27-center-cta {
    display: table !important;
    margin: 30px auto 0 !important;
}

.ksc27-dealer-banner {
    background: linear-gradient(117deg, #EAF5F0, #FFFCF8 73%, #F7E7EB 140%) !important;
}

.ksc27-dealer-hero .ksc27-image-surface .col-inner {
    min-height: 270px;
}

/* Giới thiệu: giữ bố cục giá trị ở page hiện tại nhưng không dùng ảnh nhà máy cũ */
.ksc27-philosophy {
    background: linear-gradient(120deg, #f1f8f3, #FFFCF8);
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.ksc27-philosophy .tlld-title {
    color: #116B64;
}

.ksc27-philosophy .tlld-desc {
    color: #405b53;
}

/* Tin tức: bài viết, ngày và ảnh lấy trực tiếp từ WordPress */
.ksc27-news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.ksc27-news-filters a {
    padding: 10px 21px;
    border: 1px solid rgba(17, 107, 100, .2);
    border-radius: 999px;
    background: var(--color-white);
    color: #116B64;
    font-weight: 680;
    font-size: 14px;
    text-decoration: none !important;
}

.ksc27-news-filters a.active,
.ksc27-news-filters a:hover {
    background: #116B64;
    color: var(--color-white);
}

.ksc27-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

.ksc27-news-card {
    display: block;
    overflow: hidden;
    background: var(--color-white);
    border-radius: 23px;
    border: 1px solid rgba(17, 107, 100, .11);
    box-shadow: 0 10px 32px rgba(25, 76, 68, .06);
    text-decoration: none !important;
    transition: transform .3s, box-shadow .3s;
}

.ksc27-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(25, 76, 68, .13);
}

.ksc27-news-image {
    display: flex;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #EAF5F0, #FFFCF8);
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ksc27-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksc27-news-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 21px 24px;
}

.ksc27-news-content small {
    color: #278D7F;
    font-size: 12px;
}

.ksc27-news-content strong {
    font-size: 18px;
    line-height: 1.5;
    color: #26332F;
    font-weight: 730;
}

.ksc27-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 28px auto 0;
}

.ksc27-pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-white);
    border: 1px solid rgba(17, 107, 100, .2);
    color: #116B64;
    border-radius: 12px;
}

.ksc27-pagination a.active {
    color: var(--color-white);
    background: #116B64;
}

/* Form chỉ dùng tại page hợp tác; không xung đột Contact Form 7 cũ */
.ksc27-dealer-form {
    padding: 27px 29px 34px;
    background: linear-gradient(145deg, #fff, #FFFCF8);
    border: 1px solid rgba(17, 107, 100, .14);
    border-radius: 24px;
    box-shadow: 0 18px 39px rgba(21, 76, 64, .085);
}

.ksc27-dealer-form label {
    display: block;
    color: #31524a;
    font-weight: 660;
    font-size: 14px;
}

.ksc27-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.ksc27-dealer-form input:not([type=checkbox]),
.ksc27-dealer-form select,
.ksc27-dealer-form textarea {
    width: 100%;
    background: var(--color-white);
    border: 1px solid #cbded6;
    border-radius: 12px;
    margin: 7px 0 0;
    padding: 11px 13px;
    min-height: 46px;
    color: #26332F;
    font-size: 15px;
    box-shadow: none;
}

.ksc27-dealer-form textarea {
    min-height: 130px;
    resize: vertical;
}

.ksc27-dealer-form :is(input, select, textarea):focus {
    outline: 2px solid rgba(17, 107, 100, .3);
    outline-offset: 1px;
}

.ksc27-dealer-form .ksc27-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 480;
    font-size: 13px;
    line-height: 1.6;
}

.ksc27-dealer-form .ksc27-consent input {
    margin-top: 4px;
}

.ksc27-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ksc27-form-success,
.ksc27-form-error {
    padding: 13px 17px;
    border-radius: 13px;
    background: #EAF5F0;
    color: #116B64;
    border: 1px solid rgba(17, 107, 100, .2);
}

.ksc27-form-error {
    background: #fff2ef;
    color: #9c3d25;
    border-color: #f3bfaa;
}

.ksc27-editor-note {
    font-size: 13px !important;
    color: #6b5546 !important;
    border: 1px dashed rgba(17, 107, 100, .4);
    background: #fffdf8;
    padding: 13px 16px;
    border-radius: 12px;
}

.ksc27-dealer-side .col-inner {
    background: linear-gradient(145deg, #EAF5F0, #fff) !important;
}

.ksc27-contact-choice .col-inner {
    height: 100%;
    min-height: 285px;
}

.ksc27-verified-contact p {
    line-height: 1.8;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.ksc27-verified-contact a {
    color: #116B64;
    text-decoration: underline;
}

/* Chi tiết WooCommerce: không giới hạn độ dài thành phần; đọc và copy được trên mobile */
.ksc27-product-info {
    max-width: 1180px;
    margin: 20px auto 55px;
    padding: 0 20px;
    clear: both;
}

.ksc27-product-info>h2 {
    color: #26332F;
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -.03em;
}

.ksc27-product-info-block {
    background: #FFFCF8;
    border: 1px solid rgba(17, 107, 100, .13);
    border-radius: 17px;
    padding: 22px 26px;
    margin: 13px 0;
}

.ksc27-product-info-block h3 {
    font-size: 20px;
    color: #116B64;
    margin-bottom: 8px;
}

.ksc27-product-info-block p {
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.9;
    color: #344a42;
    user-select: text;
    -webkit-user-select: text;
    margin-bottom: 0;
}

.ksc27-shade {
    margin: 10px 0;
    color: #116B64;
}

/* Footer UX Block: 3 cột trên desktop, 1 cột mobile (Flatsome span__sm=12) */
.ksc27-footer {
    background: linear-gradient(110deg, #0e4742, #116B64 60%, #24796d) !important;
    color: #edf9f3;
    padding: 48px 0 14px !important;
}

.ksc27-footer h3 {
    color: var(--color-white);
    font-size: 20px;
    margin-bottom: 17px;
}

.ksc27-footer p,
.ksc27-footer strong,
.ksc27-footer a,
.ksc27-footer .ksc27-verified-contact a {
    color: #e4f3ed;
    line-height: 1.85;
    text-decoration: none;
}

.ksc27-footer a:hover {
    color: #f5d9e0;
}

.ksc27-footer .ksc27-copyright {
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 22px;
    text-align: center;
}

.ksc27-footer .ksc27-copyright p {
    font-size: 13px;
    color: #e2eee9;
}

.ksc27-footer .ksc27-zalo {
    background: var(--color-white) !important;
    color: #116B64 !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media(max-width:1099px) {
    .ksc27-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ksc27-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ksc27-featured-grid,
    .ksc27-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:849px) {
    .ksc27-home-hero {
        padding: 45px 0 48px !important;
    }

    .ksc27-collagen-gallery {
        min-height: 395px;
    }

    .ksc27-section-space {
        padding-top: 53px !important;
        padding-bottom: 53px !important;
    }
}

@media(max-width:549px) {
    .ksc27-hero-headline h1 {
        font-size: 35px;
        letter-spacing: -.025em;
    }

    .ksc27-hero-copy {
        text-align: left;
    }

    .ksc27-home-hero .ksc27-hero-copy .button {
        display: inline-flex;
        width: auto;
        max-width: 100%;
        margin: 8px 6px 0 0;
        min-height: 43px;
        padding: 12px 16px !important;
        font-size: 13px;
    }

    .ksc27-home-hero .ksc27-hero-copy .button.ksc27-primary-cta {
        font-size: 14px;
    }

    .ksc27-collagen-gallery {
        min-height: 345px;
        margin-top: 12px;
    }

    .ksc27-collagen-main {
        height: 65%;
        top: 15%;
        left: 27%;
    }

    .ksc27-collagen-left {
        height: 42%;
        bottom: 7%;
    }

    .ksc27-collagen-right {
        height: 36%;
        bottom: 5%;
    }

    .ksc27-collagen-tag {
        font-size: 9px;
        left: 3%;
        top: 6%;
    }

    .ksc27-image-surface .col-inner {
        min-height: 230px;
        padding: 14px !important;
    }

    .ksc27-intro-photo {
        height: 270px;
    }

    .ksc27-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .ksc27-category-card {
        padding: 8px 8px 16px;
        border-radius: 16px;
    }

    .ksc27-category-photo {
        border-radius: 12px;
    }

    .ksc27-category-name {
        font-size: 13px;
        padding: 12px 20px 0 3px;
    }

    .ksc27-category-arrow {
        right: 10px;
        bottom: 15px;
        font-size: 16px;
    }

    .ksc27-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .ksc27-brand-card {
        min-height: 112px;
        padding: 16px 10px;
        border-radius: 15px;
    }

    .ksc27-brand-wordmark {
        font-size: 21px;
    }

    .ksc27-featured-grid,
    .ksc27-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .ksc27-product-card,
    .ksc27-news-card {
        border-radius: 15px;
    }

    .ksc27-product-image {
        padding: 9px;
    }

    .ksc27-product-details {
        min-height: 112px;
        padding: 12px 12px 16px;
    }

    .ksc27-product-details strong {
        font-size: 13px;
    }

    .ksc27-product-details small,
    .ksc27-product-details>span {
        font-size: 11px;
    }

    .ksc27-news-image {
        aspect-ratio: 1.25;
    }

    .ksc27-news-content {
        padding: 11px;
    }

    .ksc27-news-content strong {
        font-size: 13px;
    }

    .ksc27-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ksc27-dealer-form {
        padding: 18px 16px 23px;
        border-radius: 18px;
    }

    .ksc27-product-info {
        padding: 0 13px;
    }

    .ksc27-product-info-block {
        padding: 17px 16px;
    }

    .ksc27-product-info-block p {
        font-size: 14px;
        line-height: 1.85;
    }

    .ksc27-footer .col {
        margin-bottom: 10px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .ksc26-gradient-title h1 span,
    .ksc26-gradient-title h2 span,
    .ksc27-brand-wordmark {
        animation: none;
    }

    .ksc27-category-card,
    .ksc27-brand-card,
    .ksc27-product-card,
    .ksc27-news-card,
    .ksc27-home-hero .button,
    .ksc27-section-space .button {
        transition: none;
        transform: none !important;
    }
}


/* ========================================================================
 * KSC 27 | Vá màu liên hệ / Footer — 19.11.2026
 * Chỉ đụng 2 shortcode: [thong_tin_lien_he] và [ksc_contact_box].
 * Mục tiêu: chữ và link tương phản cao trên nền xanh, không thay dữ liệu PHP.
 * ======================================================================== */

/* THẺ THÔNG TIN LIÊN HỆ — nền xanh ngọc chuyển sắc, chữ sáng rõ */
.contact-card-box.ksc27-contact-info {
    color: #f6fffb !important;
    background: radial-gradient(circle at 95% 12%, rgba(111, 222, 184, .17) 0%, transparent 42%),
        linear-gradient(139deg, #06473d 0%, #07584d 55%, #096154 100%) !important;
    border: 1px solid rgba(225, 255, 243, .12);
    box-shadow: 0 20px 42px rgba(6, 71, 61, .16);
}

.contact-card-box.ksc27-contact-info .accent-bar {
    background: linear-gradient(90deg, #52dfac, #d5f3d9) !important;
    width: 42px;
}

.contact-card-box.ksc27-contact-info .contact-title {
    color: var(--color-white) !important;
    text-shadow: 0 2px 10px rgba(0, 35, 28, .08);
}

.contact-card-box.ksc27-contact-info .contact-list .contact-item {
    border-bottom-color: rgba(234, 255, 245, .16);
}

.contact-card-box.ksc27-contact-info .contact-list .item-text {
    color: #f6fffb !important;
}

.contact-card-box.ksc27-contact-info .contact-list .item-text strong {
    color: #ccf7e7 !important;
    font-weight: 750;
}

/* Khối hotline/email có cùng padding và phân cách như 2 dòng phía trên */
.contact-card-box.ksc27-contact-info .ksc27-verified-contact {
    position: relative;
    z-index: 2;
    margin-top: 1px;
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact p {
    color: #f6fffb !important;
    margin: 0 !important;
    padding: 15px 14px !important;
    border-bottom: 1px solid rgba(234, 255, 245, .16);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.7;
    transition: background-color .2s ease;
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact p:last-child {
    border-bottom-color: transparent;
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact p:hover {
    background-color: rgba(255, 255, 255, .065);
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact strong {
    color: #ccf7e7 !important;
    font-weight: 750;
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact a,
.contact-card-box.ksc27-contact-info .ksc27-verified-contact a:visited {
    color: #fff1c9 !important;
    /* champagne sáng: rất rõ trên nền xanh */
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 241, 201, .55);
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: color .2s ease, border-color .2s ease;
}

.contact-card-box.ksc27-contact-info .ksc27-verified-contact a:hover,
.contact-card-box.ksc27-contact-info .ksc27-verified-contact a:focus-visible {
    color: var(--color-white) !important;
    border-color: var(--color-white);
}

/* FOOTER — pháp nhân màu kem nhạt, địa chỉ trắng, Hotline/Email dễ đọc */
.ksc-contact-wrap.ksc27-contact-info,
.ksc-contact-wrap.ksc27-contact-info .ksc-contact-text,
.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact p {
    color: #f1faf5 !important;
}

.ksc-contact-wrap.ksc27-contact-info .ksc-contact-text strong {
    color: #ffe6b0 !important;
    /* vàng champagne thay màu vàng cam gắt */
    font-weight: 750;
}

.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact p {
    line-height: 1.85;
    margin: 0 0 9px !important;
    font-size: 15px;
}

.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact strong {
    color: #dcf9ed !important;
    font-weight: 750;
}

.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a,
.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a:visited {
    color: #c4ffe7 !important;
    font-weight: 680;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(196, 255, 231, .48);
    overflow-wrap: anywhere;
    transition: color .2s ease, border-color .2s ease;
}

.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a:hover,
.ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a:focus-visible {
    color: #fff1c9 !important;
    border-color: #fff1c9;
}

/* Chỉ footer UX của KSC: tránh ảnh hưởng footer theme chung */
.ksc27-footer .ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a {
    color: #c4ffe7 !important;
}

.ksc27-footer .ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact a:hover {
    color: #fff1c9 !important;
}

@media (max-width: 480px) {
    .contact-card-box.ksc27-contact-info .ksc27-verified-contact p {
        padding: 14px 10px !important;
        font-size: 14px;
    }

    .ksc-contact-wrap.ksc27-contact-info .ksc27-verified-contact p {
        font-size: 14px;
    }
}

/* ======================================================================
 * KSC | SẢN PHẨM NỔI BẬT – 4 THẺ MỖI HÀNG, THEO ẢNH MẪU
 * Chỉ áp dụng cho shortcode [ksc27_featured_products]. Không đổi phần khác.
 * ====================================================================== */
.ksc27-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    align-items: stretch;
}

.ksc27-featured-grid .ksc27-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dceae2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(21, 76, 64, .04);
    text-decoration: none !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ksc27-featured-grid .ksc27-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(17, 107, 100, .3);
    box-shadow: 0 15px 30px rgba(21, 76, 64, .11);
}

.ksc27-featured-grid .ksc27-product-image {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(140deg, #f8f7f4, #fcfbf9);
}

.ksc27-featured-grid .ksc27-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.ksc27-featured-grid .ksc27-product-card:hover .ksc27-product-image img {
    transform: scale(1.035);
}

/* Tên sản phẩm nằm bên trái, mũi tên nằm cố định bên phải.
   Ghi đè flex-direction: column của .ksc27-product-details gốc. */
.ksc27-featured-grid .ksc27-product-details {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 1 0 auto;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    text-align: left !important;
    min-width: 0;
    min-height: 68px;
    margin: 0;
    padding: 13px 66px 13px 20px;
    border-top: 1px solid #e7efea;
    background: #fff;
}

.ksc27-featured-grid .ksc27-product-details small,
.ksc27-featured-grid .ksc27-product-details>span {
    display: none !important;
}

.ksc27-featured-grid .ksc27-product-details strong {
    display: -webkit-box;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left !important;
    color: #14221d;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* SVG mũi tên do bạn cung cấp: xanh #22c55e, đặt giữa nút tròn xanh nhạt. */
.ksc27-featured-grid .ksc27-product-details::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e7f8ec;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    transition: background-color .25s ease, transform .25s ease;
}

.ksc27-featured-grid .ksc27-product-card:hover .ksc27-product-details::after {
    background-color: #d4f3e0;
    transform: translateY(-50%) translateX(2px);
}

@media (max-width: 849px) {
    .ksc27-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .ksc27-featured-grid .ksc27-product-details {
        min-height: 65px;
        padding: 11px 49px 11px 13px;
    }

    .ksc27-featured-grid .ksc27-product-details strong {
        font-size: 13px;
    }

    .ksc27-featured-grid .ksc27-product-details::after {
        right: 10px;
        width: 33px;
        height: 33px;
        background-size: 18px 18px;
    }
}

@media (max-width: 390px) {
    .ksc27-featured-grid {
        gap: 9px;
    }

    .ksc27-featured-grid .ksc27-product-card {
        border-radius: 14px;
    }

    .ksc27-featured-grid .ksc27-product-details {
        min-height: 65px;
        padding: 10px 42px 10px 10px;
    }

    .ksc27-featured-grid .ksc27-product-details strong {
        font-size: 11.5px;
    }

    .ksc27-featured-grid .ksc27-product-details::after {
        right: 8px;
        width: 28px;
        height: 28px;
        background-size: 17px 17px;
    }
}

/* Trang Giới thiệu: Kim chỉ nam KSC và section giá trị không dùng ảnh nền mẫu */
.ksc27-guiding-principle {
    padding-top: clamp(42px, 6vw, 76px) !important;
    padding-bottom: clamp(42px, 6vw, 76px) !important;
}

.ksc27-guiding-principle .row {
    max-width: 1120px;
}

.ksc27-guiding-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(17, 107, 100, .13);
    border-radius: 24px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 48px rgba(17, 76, 66, .07);
}

.ksc27-guiding-panel .ksc26-eyebrow {
    margin-bottom: 12px !important;
}

.ksc27-guiding-panel h2 {
    color: #203b36;
    font-size: clamp(27px, 3.2vw, 40px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.ksc27-guiding-panel p:not(.ksc26-eyebrow) {
    max-width: 880px;
    margin: 0 auto;
    color: #4e6461;
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.9;
}

.ksc27-guiding-panel strong {
    color: #116B64;
}

.vct_trietli.ksc27-about-values {
    background: linear-gradient(128deg, #eaf5f0 0%, #fff 52%, #f7e7eb 125%) !important;
}

@media (max-width: 549px) {
    .ksc27-guiding-panel {
        padding: 25px 20px;
        border-radius: 18px;
    }
}


/* ========================================================================
 * KSC 2026 | FIX CSS CHO CÁC SECTION UX BUILDER MỚI
 * Chỉ bổ sung selector còn thiếu; không ghi đè/xóa style cũ ngoài phạm vi KSC.
 * ======================================================================== */

/* Khoảng cách chuẩn cho section mới trên desktop và mobile.
   Trước đây block này bị comment nên class chỉ có tác dụng trong breakpoint mobile. */
/* .ksc27-section-space {
    padding-top: clamp(52px, 6vw, 72px) !important;
    padding-bottom: clamp(52px, 6vw, 72px) !important;
} */

/* Trang chủ: vùng ảnh hero phải chiếm đủ chiều cao và căn giữa cụm ảnh. */
.ksc27-home-hero .ksc27-hero-visual {
    display: flex;
    align-items: center;
    min-width: 0;
}

.ksc27-home-hero .ksc27-hero-visual>.col-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 470px;
    padding: 0 8px;
}

.ksc27-home-hero .ksc27-hero-visual .ksc27-collagen-gallery {
    width: 100%;
    flex: 0 1 600px;
}

/* CTA phụ: luôn là nút viền sáng, tách biệt CTA chính. */
.ksc27-home-hero .button.ksc27-secondary-cta {
    color: #116B64 !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(17, 107, 100, .34) !important;
    box-shadow: 0 7px 20px rgba(17, 107, 100, .07) !important;
}

.ksc27-home-hero .button.ksc27-secondary-cta:hover {
    color: #0e514b !important;
    background: #fff !important;
    border-color: rgba(17, 107, 100, .58) !important;
    box-shadow: 0 11px 25px rgba(17, 107, 100, .14) !important;
}

/* Khi KSC bật lại section thương hiệu, section vẫn dùng cùng nhịp bố cục. */
.ksc27-brand-section {
    background: linear-gradient(132deg, #FFFCF8 0%, #fff 56%, #EAF5F0 100%);
}

/* Trang Giới thiệu: style đúng cấu trúc Featured Box đang dùng trong UX Builder.
   Không phụ thuộc các class tlld-title/tlld-desc chưa được gắn trong nội dung cũ. */
.vct_trietli.ksc27-about-values .left_trietly>.col-inner {
    background: linear-gradient(145deg, rgba(17, 107, 100, .94), rgba(21, 91, 82, .90));
}

.vct_trietli.ksc27-about-values .right_icon .icon-box-text {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.vct_trietli.ksc27-about-values .right_icon .icon-box-title {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #14665D !important;
    font-size: 12px !important;
    line-height: 1.45;
    font-weight: 800 !important;
    text-transform: uppercase;
    white-space: normal !important;
}

.vct_trietli.ksc27-about-values .right_icon .icon-box-text p,
.vct_trietli.ksc27-about-values .right_icon .icon-box-text-inner p {
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    border-left: 1px solid rgba(20, 102, 93, .16);
    color: #40534e;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 849px) {
    .ksc27-home-hero .ksc27-hero-visual>.col-inner {
        min-height: 395px;
    }

    .ksc27-section-space {
        padding-top: 53px !important;
        padding-bottom: 53px !important;
    }

    .vct_trietli.ksc27-about-values .right_icon .icon-box-text {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .vct_trietli.ksc27-about-values .right_icon .icon-box-text p,
    .vct_trietli.ksc27-about-values .right_icon .icon-box-text-inner p {
        padding: 0 !important;
        border-left: 0;
    }
}

@media (max-width: 549px) {
    .ksc27-home-hero .ksc27-hero-visual>.col-inner {
        min-height: 345px;
        padding: 0;
    }

    .ksc27-section-space {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }
}

/* ========================================================================
 * KSC 2026 | GIỚI THIỆU: card năng lực và hồ sơ doanh nghiệp
 * Bổ sung đúng cấu trúc HTML trong UX Builder; không thay đổi section cũ.
 * ======================================================================== */

/* Ba hoạt động chính: định dạng số thứ tự, tiêu đề và mô tả trong từng card. */
.ksc27-capability-card>.col-inner {
    min-height: 225px;
    display: flex;
    align-items: stretch;
}

.ksc27-capability-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ksc27-capability-content .ksc26-card-num {
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin: 0 0 7px;
    border-radius: 15px;
    font-size: 17px;
}

.ksc27-capability-content h3 {
    margin: 13px 0 9px !important;
    color: #15594f !important;
    font-size: clamp(18px, 1.45vw, 21px) !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
}

.ksc27-capability-content p {
    margin: 0 !important;
    color: #4e6461 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* Hồ sơ doanh nghiệp: mỗi thông tin thành một hàng có nhãn và giá trị rõ ràng. */
.ksc27-company-profile-col>.col-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.ksc27-company-profile {
    width: 100%;
    padding: 17px 27px;
    border: 1px solid rgba(17, 107, 100, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 13px 34px rgba(22, 72, 61, .065);
}

.ksc27-profile-row {
    display: grid;
    grid-template-columns: minmax(118px, .32fr) minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 107, 100, .11);
}

.ksc27-profile-row:last-child {
    border-bottom: 0;
}

.ksc27-profile-label {
    padding-top: 2px;
    color: #278579;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .075em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ksc27-profile-row strong {
    min-width: 0;
    color: #26332f;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ksc27-profile-row a,
.ksc27-profile-row a:visited {
    color: #116b64;
    text-decoration: none;
}

.ksc27-profile-row a:hover {
    color: #278d7f;
    text-decoration: underline;
}

@media (max-width: 849px) {
    .ksc27-capability-card>.col-inner {
        min-height: 0;
    }

    .ksc27-company-profile-col>.col-inner {
        align-items: stretch;
    }
}

@media (max-width: 549px) {
    .ksc27-capability-card>.col-inner {
        padding: 22px !important;
    }

    .ksc27-capability-content h3 {
        font-size: 18px !important;
    }

    .ksc27-profile-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .ksc27-company-profile {
        padding: 14px 19px;
        border-radius: 18px;
    }
}