@import url('/fonts/pretendard/pretendard.css');

.section-gallery-split-01 {
    --template-image-height-desktop: 810;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: var(--template-image-height, 810px);
    overflow: hidden;
    font-family: var(--font-pretendard);
}

.section-gallery-split-01 img {
    width: 100%;
    height: var(--template-image-height, 810px);
    object-fit: cover;
}

@media (max-width: 860px) {
    .section-gallery-split-01 { height: var(--template-image-height, 56.25vw); }
    .section-gallery-split-01 img { height: var(--template-image-height, 56.25vw); }
}

@media (max-width: 480px) {
    .section-gallery-split-01 { grid-template-columns: 1fr; height: auto; }
    /* This template keeps each original ratio on mobile, including legacy height overrides. */
    .section-gallery-split-01[data-image-height-root] > img[data-image-height-image] {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}
