@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;700&family=Montserrat:wght@600;700&display=swap");

.pxl-grid-4-block {
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.pxl-grid-4-block *,
.pxl-grid-4-block *::before,
.pxl-grid-4-block *::after {
    box-sizing: border-box;
}

.pxl-grid-4-block .shell {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* Section preset: hàng co max-width (thay .shell). */
.section.pxl-grid-4-block .pxl-grid-4-limiter {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.pxl-grid-4-block .frame {
    position: relative;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at top, rgba(212, 184, 150, 0.06), transparent 50%),
        linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    box-shadow:
        0 1px 0 rgba(212, 184, 150, 0.1) inset,
        0 0 0 1px rgba(212, 184, 150, 0.18),
        0 30px 60px -30px rgba(0, 0, 0, 0.7),
        0 0 80px -40px rgba(212, 184, 150, 0.15);
}

.pxl-grid-4-block .frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(232, 201, 136, 0.6) 0%, rgba(168, 136, 96, 0.25) 50%, rgba(232, 201, 136, 0.45) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pxl-grid-4-block .frame>.corn {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid #E9926B;
    opacity: 0.7;
    pointer-events: none;
}

.pxl-grid-4-block .frame>.corn.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 14px;
}

.pxl-grid-4-block .frame>.corn.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 14px;
}

.pxl-grid-4-block .frame>.corn.bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 14px;
}

.pxl-grid-4-block .frame>.corn.br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 14px;
}

.pxl-grid-4-block .banner {
    margin-top: 0px;
    padding: 10px 50px 10px;
    background: transparent;
}

.pxl-grid-4-block .banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}

.pxl-grid-4-block .bcard {
    position: relative;
    padding: 70px 0;
    background: url("https://landing.chaw.vn/wp-content/uploads/2026/05/bg-333.png") no-repeat center center;
    background-size: 100% 100%;
    min-height: 300px;
    font-family: "Montserrat", sans-serif;
}


.pxl-grid-4-block .bcard:nth-child(2)::after {
    animation-delay: 1.2s;
}

.pxl-grid-4-block .bcard:nth-child(3)::after {
    animation-delay: 2.4s;
}

.pxl-grid-4-block .bcard:nth-child(4)::after {
    animation-delay: 3.6s;
}

@keyframes pxl-grid-4-shimmer {

    0%,
    100% {
        left: -70%;
    }

    50% {
        left: 120%;
    }
}

.pxl-grid-4-block .bcard .head {
    padding: 6px 16px 14px 16px;
    background: url("https://landing.chaw.vn/wp-content/uploads/2026/05/shape-box-1-1.svg") no-repeat center center;
    background-size: 100% 100%;
    margin: 0 -12px;
    text-align: center;
}


.pxl-grid-4-block .bcard .head .ttl {
    position: relative;
    z-index: 1;
    display: inline-block;
    white-space: nowrap;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 18px;
    color: #fff;
}

.pxl-grid-4-block .bcard .head .ttl::before,
.pxl-grid-4-block .bcard .head .ttl::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 1px;
}

.pxl-grid-4-block .bcard .head .ttl::before {
    right: 100%;
    background: linear-gradient(90deg, #ffffff00, #ffffff);
}

.pxl-grid-4-block .bcard .head .ttl::after {
    left: 100%;
    background: linear-gradient(90deg, #ffffff, #ffffff00);
}


.pxl-grid-4-block .bcard .body {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.pxl-grid-4-block .bcard .small {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #fff;
    text-transform: uppercase;
}

.pxl-grid-4-block .bcard .big {
    font-family: var(--font-sans);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #E9926B;
}

.pxl-grid-4-block .bcard .big em {
    font-style: italic;
    font-size: 0.7em;
    font-weight: 600;
    vertical-align: baseline;
    margin-left: 4px;
}

.pxl-grid-4-block .banner-logo {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    min-width: 120px;
    min-height: 70px;
    margin: 20px auto 0;
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 184, 150, 0.06) inset;
    box-sizing: border-box;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
    border: 1px solid #E9926B;
}

/* Góc trang trí — cùng pattern .pxl-video-wrap > .corn */
.pxl-grid-4-block .banner-logo>.corn {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid #E9926B;
    opacity: 0.7;
    pointer-events: none;
}

.pxl-grid-4-block .banner-logo>.corn.tl {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
}

.pxl-grid-4-block .banner-logo>.corn.tr {
    top: 6px;
    right: 6px;
    border-left: none;
    border-bottom: none;
}

.pxl-grid-4-block .banner-logo>.corn.bl {
    bottom: 6px;
    left: 6px;
    border-right: none;
    border-top: none;
}

.pxl-grid-4-block .banner-logo>.corn.br {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
}

.pxl-grid-4-block .banner-logo .mk {
    width: 38px;
    height: 38px;
    border: 1.5px solid #E9926B;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #E9926B;
    font-family: var(--font-cinzel);
    font-size: 14px;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle, #ffffff14, #0000);
}

.pxl-grid-4-block .banner-logo .mk::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid #E9926B;
    border-radius: 50%;
    opacity: 0.4;
}

.pxl-grid-4-block .banner-logo .nm {
    font-family: var(--font-cinzel);
    font-size: 11px;
    letter-spacing: 0.2em;
    line-height: 1.1;
    color: #E9926B;
    position: relative;
    z-index: 1;
}

.pxl-grid-4-block .banner-logo .nm em {
    display: block;
    font-size: 8px;
    letter-spacing: 0.32em;
    color: var(--ink-3);
    font-style: normal;
    margin-top: 3px;
}

.pxl-grid-4-block .banner-logo .banner-logo-image {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: var(--logo-img-w, auto);
    height: var(--logo-img-h, auto);
    min-width: var(--logo-img-min-w, unset);
    padding: var(--logo-img-pad, 0);
    object-fit: contain;
}

@media (max-width: 480px) {
    .pxl-grid-4-block .banner-logo {
        min-width: 100px;
        min-height: 60px;
    }

    .pxl-grid-4-block .banner-logo .banner-logo-image {
        width: 70px;
    }

    .pxl-grid-4-block .banner-logo>.corn {
        width: 12px;
        height: 12px;
    }

    .pxl-grid-4-block .banner-logo {
        margin-top: 15px;
    }

    .pxl-grid-4-block .bcard {
        min-height: 200px;
    }
}