/* Keep the original hero columns; fit the map index inside the search panel. */
.hero-split .hero-left {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-width: 0;
    margin: 0;
}
.hero-split .hero-left .hero-banners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    margin: var(--karaage-space-2) 0 0;
}
.hero-split .hero-info-banner {
    container: info-banner / inline-size;
    min-width: 0;
    margin: 0;
}
.hero-split .hero-banners .hero-info-banner a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    min-width: 0;
    aspect-ratio: 600 / 414;
    padding: 12px;
    background: var(--karaage-color-accent);
    color: var(--karaage-color-white);
    text-align: center;
    text-decoration: none;
    text-shadow: none;
}
.hero-info-title {
    font-size: clamp(20px, 12cqw, 32px);
    font-weight: 700;
    line-height: 1.3;
}
.hero-info-description,
.hero-info-cta {
    font-size: 16px;
    line-height: 1.5;
}
.hero-info-cta {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.hero-info-banner a:focus-visible {
    outline: 3px solid var(--karaage-color-black);
    outline-offset: 3px;
}
@container info-banner (max-width: 200px) {
    .hero-info-description,
    .hero-info-cta > span {
        display: none;
    }
}
@container info-banner (max-width: 140px) {
    .hero-info-cta {
        display: none;
    }
    .hero-info-title {
        font-size: clamp(16px, 18cqw, 20px);
    }
    .hero-split .hero-banners .hero-info-banner a {
        padding: 8px;
    }
}
.hero-split .hero-visual {
    position: relative;
    display: grid;
    grid-template-rows: 1fr 4fr;
    min-width: 0;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    isolation: isolate;
}
.hero-split .hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 5%, rgb(0 0 0 / 12%) 15%, rgb(0 0 0 / 65%) 25%, rgb(0 0 0 / 88%) 50%, rgb(0 0 0 / 96%));
}
.hero-split .hero-visual .hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
}
.hero-split .hero-visual .hero-photo img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 40% 50%;
}
.hero-split .hero-intro {
    position: relative;
    z-index: 2;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    background: transparent;
}
.hero-split .hero-intro,
.hero-split .hero-intro .box_about {
    min-width: 0;
    margin: 0;
}
.hero-split .hero-intro .box_about {
    padding: var(--karaage-space-3);
    border-radius: 0;
    background: transparent;
    color: var(--karaage-color-white);
    text-shadow: 0 2px 6px rgb(0 0 0 / 50%);
}
#sec_vis.hero-split .hero-intro-title {
    margin: 0 0 var(--karaage-space-1);
    padding: 0;
    border: 0;
    color: var(--karaage-color-white);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.4;
}
.hero-split .hero-intro .hero-intro-subtitle {
    margin: 0 0 var(--karaage-space-1);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}
.hero-split .hero-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.hero-split .hero-visual .hero-stats {
    margin-top: var(--karaage-space-2);
    padding-top: var(--karaage-space-2);
    border-top: 1px solid rgb(255 255 255 / 35%);
}
.hero-split .hero-visual .native-stats {
    gap: 0;
}
.hero-split .hero-visual .native-stat {
    gap: 8px;
    padding: 0 12px;
    border-right: 1px solid rgb(255 255 255 / 35%);
    border-radius: 0;
    background: transparent;
}
.hero-split .hero-visual .native-stat:last-child {
    border-right: 0;
}
.hero-split .hero-visual .native-stat p {
    white-space: normal;
}
.hero-split .hero-visual .native-stat a {
    color: var(--karaage-color-white);
}
.hero-split .hero-visual .wp-block-query-total {
    color: var(--karaage-color-primary);
    font-size: 32px;
}
.hero-split .hero-area {
    padding: var(--karaage-space-2);
    border-color: #eedcb9;
    border-radius: 10px;
    background: #fffcf5;
}
#sec_vis.hero-split .area-search-title {
    margin: 0 0 var(--karaage-space-1);
    padding: 0;
    border: 0;
    color: var(--karaage-color-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .hero-split .hero-left .hero-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-split .hero-info-banner {
        grid-column: 1 / -1;
    }
    .hero-split .hero-banners .hero-info-banner a {
        min-height: 140px;
        aspect-ratio: auto;
    }
}
@media (max-width: 1024px) {
    .hero-split .hero-info-banner {
        display: none;
    }
    .hero-split .hero-left .hero-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-split .hero-intro .box_about {
        width: 100%;
        container-type: inline-size;
    }
    #sec_vis.hero-split .hero-intro-title {
        font-size: clamp(14px, 6.8cqw, 28px);
        white-space: nowrap;
        letter-spacing: 0;
    }
    .hero-split .hero-visual .native-stat {
        padding-inline: 4px;
        container-type: inline-size;
    }
    .hero-split .hero-visual .native-stat p {
        font-size: clamp(11px, 15cqw, 16px);
        white-space: nowrap;
    }
}
@media (max-width: 800px) {
    #sec_vis.hero-split {
        padding: var(--karaage-space-2) 0;
    }
    .hero-split .hero-visual {
        min-height: 460px;
        border-radius: 0;
    }
    .hero-split .hero-visual .hero-photo {
        border-radius: 0;
    }
    .hero-split .hero-intro .box_about {
        padding: var(--karaage-space-2);
    }
    .hero-split .hero-guide {
        margin-inline: var(--karaage-space-1);
    }
}
