/* ========================================================================
   _hero-split.css
   Hero split (image left / text right) + secondary video variant
   ======================================================================== */

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #fff;
}

.hero-split__media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #dfe6ec;
}

    .hero-split__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero-split__img-mobile {
    display: none;
}

.hero-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px !important;
}

.hero-split__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7a8794;
    margin: 0 0 28px !important;
}

.hero-split__title {
    font-size: 34px !important;
    line-height: 1.2 !important;
    font-weight: 400;
    color: #4e5458;
    margin: 0 0 28px !important;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.hero-split__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #5d6570;
    max-width: 46ch;
    margin: 0 0 36px !important;
}

.hero-split__desc2 {
    font-size: 14px;
    line-height: 1.6;
    color: #5d6570;
    max-width: 46ch;
    margin: 0 0 36px !important;
}

.hero-split__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: #001e60;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 18px 48px !important;
    border-radius: 10px;
    transition: background .2s ease;
}

    .hero-split__cta:hover {
        background: #0e1a34;
        color: #fff;
    }

@media (max-width: 1023px) {
    .hero-split__content {
        padding: 48px 40px;
    }

    .hero-split__title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-split__media {
        min-height: 0;
        height: 0;
        padding-top: 58.17%;
    }

        .hero-split__media .hero-split__img-mobile {
            transform: scale(1.10);
        }

    .hero-split__img-desktop {
        display: none;
    }

    .hero-split__img-mobile {
        display: block;
    }

    .hero-split__content {
        padding: 36px 24px 44px;
        text-align: left;
    }

    .hero-split__title {
        font-size: 26px;
    }

    .hero-split__desc {
        max-width: none;
    }

    .hero-split__cta {
        width: 100%;
    }
}

/* ========================================================================
   HERO SPLIT SECONDARY (สินค้าเด่น วิดีโอซ้าย / ข้อความขวา แบบเรียบ)
   ======================================================================== */
.hero-split-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.hero-split-secondary__media {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
    background: #e8ecf0;
}

    .hero-split-secondary__media video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero-split-secondary__video-mobile {
    display: none;
}

.hero-split-secondary__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px !important;
    background-color: #ffffff !important;
}

.hero-split-secondary__eyebrow {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7a8794;
    margin: 0 0 12px !important;
}

.hero-split-secondary__title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 600;
    color: #4e5458;
    margin: 0 0 12px !important;
    letter-spacing: -.01em;
    text-transform: none;
}

.hero-split-secondary__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #5d6570;
    max-width: 46ch;
    margin: 0 0 16px !important;
}

.hero-split-secondary__cta {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #001e60;
    text-decoration: none !important;
    transition: color .2s ease;
}

    .hero-split-secondary__cta:hover {
        color: #0e1a34;
    }

@media (max-width: 1023px) {
    .hero-split-secondary__content {
        padding: 48px 40px;
    }

    .hero-split-secondary__title {
        font-size: 32px !important;
    }
}

@media (max-width: 767px) {
    .hero-split-secondary {
        grid-template-columns: 1fr;
    }

    .hero-split-secondary__media {
        padding-top: 100%;
    }

    .hero-split-secondary__video-desktop {
        display: none;
    }

    .hero-split-secondary__video-mobile {
        display: block;
    }

    .hero-split-secondary__content {
        padding: 36px 24px 44px;
        text-align: left;
    }

    .hero-split-secondary__title {
        font-size: 26px !important;
    }

    .hero-split-secondary__desc {
        max-width: none;
    }
}
