.kl-sub-hero {
    --hero-primary: var(--c-mc, #073d7b);
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 76px;
    padding: 58px 40px;
    background: #071a2d url("../img/main/main_visual_bg2.jpg") center 58% / cover no-repeat;
    color: #fff;
    font-family: "Pretendard", "Malgun Gothic", sans-serif;
    isolation: isolate;
    overflow: visible;
}

.kl-sub-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(3, 18, 34, 0.86) 0%, rgba(5, 34, 60, 0.66) 52%, rgba(4, 20, 38, 0.76) 100%);
    content: "";
}

.kl-sub-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.kl-sub-hero__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    text-align: center;
}

.kl-sub-hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.kl-sub-hero__eyebrow span {
    width: 42px;
    height: 3px;
    background: #ef7d00;
}

.kl-sub-hero h1 {
    margin: 22px 0 0;
    color: #fff;
    font-size: 48px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
    word-break: keep-all;
}

.kl-sub-hero__nav {
    position: absolute;
    bottom: -32px;
    left: 50%;
    z-index: 2;
    width: min(1200px, calc(100% - 80px));
    height: 64px;
    border: 1px solid #e2e8ef;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(7, 26, 45, 0.12);
    transform: translateX(-50%);
}

.kl-sub-hero__nav-inner {
    width: min(1200px, 100%);
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0 auto;
    border-radius: inherit;
    overflow-x: auto;
    scrollbar-width: none;
}

.kl-sub-hero__nav-inner::-webkit-scrollbar {
    display: none;
}

.kl-sub-hero__nav a {
    position: relative;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    padding: 0 12px;
    color: #526579;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    word-break: keep-all;
    transition: color 0.2s ease, background 0.2s ease;
}

.kl-sub-hero__nav a + a::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 1px;
    background: #e5eaf0;
    content: "";
}

.kl-sub-hero__nav a:hover,
.kl-sub-hero__nav a:focus-visible,
.kl-sub-hero__nav a.is-current {
    background: #f0f7fb;
    color: var(--hero-primary);
    text-decoration: none;
}

.kl-sub-hero__nav a.is-current::after {
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    height: 4px;
    background: #ef7d00;
    content: "";
}

@media (max-width: 1024px) {
    .kl-sub-hero {
        min-height: 370px;
        padding-right: 30px;
        padding-left: 30px;
        background-position: 42% center;
    }

    .kl-sub-hero h1 {
        font-size: 42px;
    }

    .kl-sub-hero__nav-inner {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .kl-sub-hero {
        min-height: 300px;
        margin-bottom: 64px;
        padding: 42px 20px;
        background-position: 35% center;
    }

    .kl-sub-hero__eyebrow {
        gap: 10px;
        font-size: 12px;
    }

    .kl-sub-hero__eyebrow span {
        width: 28px;
        height: 2px;
    }

    .kl-sub-hero h1 {
        margin-top: 16px;
        font-size: 31px;
        line-height: 1.28;
    }

    .kl-sub-hero__nav {
        bottom: -29px;
        width: calc(100% - 32px);
        height: 58px;
        box-shadow: 0 8px 16px rgba(7, 26, 45, 0.11);
    }

    .kl-sub-hero__nav a {
        min-width: auto;
        flex: 0 0 auto;
        padding: 0 18px;
        font-size: 13px;
    }

    .kl-sub-hero__nav a.is-current::after {
        right: 18px;
        left: 18px;
        height: 3px;
    }
}
