.kl-sub-hero {
    --hero-primary: var(--c-mc, #073d7b);
    position: relative;
    height: 560px;
    min-height: 560px;
    margin-bottom: 96px;
    padding: 0;
    background: #111;
    color: #fff;
    font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", sans-serif;
    isolation: isolate;
    overflow: visible;
}

.kl-sub-hero__nav,
.kl-sub-hero__nav * {
    box-sizing: border-box;
}

.kl-sub-hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.kl-sub-hero__media span {
    position: absolute;
    inset: 0;
    background: url("../img/main/main_visual_bg2.jpg") center 58% / cover no-repeat;
    transform: scale(1.025);
    transform-origin: center;
    animation: ps-sub-hero-breathe 12s ease-in-out infinite;
    will-change: transform;
}

.kl-sub-hero--sub06 .kl-sub-hero__media span {
    background-image: url("../img/sub06/media-hero.png");
    background-position: center 44.3%;
}

.kl-sub-hero--sub07 .kl-sub-hero__media span {
    background-image: url("../img/sub07/contact-hero.png");
    background-position: center bottom;
}

.kl-sub-hero--downloads .kl-sub-hero__media span {
    background-image: url("../img/sub02/business-hero@2x.png");
    background-position: center 54%;
}

@keyframes ps-sub-hero-breathe {
    0%, 100% { transform: scale(1.025); }
    50% { transform: scale(1.085); }
}

.kl-sub-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.36) 62%, rgba(0, 0, 0, 0.16) 100%);
    content: "";
}

.kl-sub-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
}

.kl-sub-hero__inner {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    height: 560px;
    margin: 0 auto;
    text-align: left;
}

.kl-sub-hero__eyebrow {
    position: absolute;
    top: 150px;
    left: 0;
    display: block;
    width: 300px;
    height: 24px;
    margin: 0;
    color: #ff947a;
    font-family: Inter, "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: .01em;
}

.kl-sub-hero__eyebrow span {
    position: absolute;
    top: 37px;
    left: 0;
    width: 56px;
    height: 3px;
    background: #d14f30;
}

.kl-sub-hero h1 {
    position: absolute;
    top: 214px;
    left: 0;
    width: 760px;
    height: 90px;
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: -.035em;
    word-break: keep-all;
}

.kl-sub-hero__description {
    position: absolute;
    top: 320px;
    left: 0;
    width: 760px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.kl-sub-hero__description p { margin: 0; }

.kl-sub-hero__nav {
    position: absolute;
    bottom: -96px;
    left: 50%;
    z-index: 2;
    width: 100%;
    height: 96px;
    border: 0;
    border-bottom: 1px solid #e0ded9;
    background: #fff;
    transform: translateX(-50%);
}

.kl-sub-hero__nav-inner {
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0 auto;
}

.kl-sub-hero__nav-title {
    width: 450px;
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 29px;
}

.kl-sub-hero__nav-title strong {
    color: #0f1112;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.kl-sub-hero__nav-title span {
    margin-top: -2px;
    color: #d14f30;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.06em;
}

.kl-sub-hero__nav-links {
    min-width: 0;
    height: 95px;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.kl-sub-hero__nav a {
    position: relative;
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 28px;
    color: #616366;
    font-size: 18px;
    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: 25px;
    left: 0;
    width: 1px;
    height: 34px;
    background: #e0ded9;
    content: "";
}

.kl-sub-hero__nav a:hover,
.kl-sub-hero__nav a:focus-visible,
.kl-sub-hero__nav a.is-current {
    background: transparent;
    color: #d14f30;
    font-weight: 700;
    text-decoration: none;
}

.kl-sub-hero__nav a::after {
    position: absolute;
    right: 28px;
    bottom: 5px;
    left: 28px;
    height: 2px;
    background: #d14f30;
    content: "";
    opacity: 0;
    transform: scaleX(0.25);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.kl-sub-hero__nav a:hover::after,
.kl-sub-hero__nav a:focus-visible::after,
.kl-sub-hero__nav a.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .kl-sub-hero {
        height: 460px;
        min-height: 460px;
    }

    .kl-sub-hero__inner { width: calc(100% - 60px); height: 460px; }
    .kl-sub-hero__eyebrow { top: 112px; }
    .kl-sub-hero h1 { top: 172px; width: 90%; height: auto; font-size: 50px; line-height: 1.3; }
    .kl-sub-hero__description { top: 262px; width: min(760px, 90%); font-size: 18px; line-height: 30px; }

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

@media (max-width: 720px) {
    .kl-sub-hero {
        height: 380px;
        min-height: 380px;
        margin-bottom: 135px;
        padding: 0;
    }

    .kl-sub-hero__inner { width: calc(100% - 40px); height: 380px; }
    .kl-sub-hero--sub06 .kl-sub-hero__media span { background-position: 45% center; }
    .kl-sub-hero--sub07 .kl-sub-hero__media span { background-position: 55% bottom; }

    .kl-sub-hero__eyebrow {
        top: 78px;
        width: 100%;
        font-size: 13px;
        line-height: 20px;
    }

    .kl-sub-hero__eyebrow span {
        top: 31px;
        width: 44px;
        height: 2px;
    }

    .kl-sub-hero h1 {
        top: 130px;
        width: 100%;
        font-size: 36px;
        line-height: 1.35;
    }

    .kl-sub-hero__description { top: 202px; width: 100%; font-size: 15px; line-height: 26px; }

    .kl-sub-hero__nav {
        bottom: -135px;
        height: 135px;
    }

    .kl-sub-hero__nav-inner {
        width: 100%;
        display: block;
    }

    .kl-sub-hero__nav-title {
        width: 100%;
        height: 68px;
        padding: 12px 20px 0;
    }

    .kl-sub-hero__nav-title strong {
        font-size: 17px;
        line-height: 25px;
    }

    .kl-sub-hero__nav-title span {
        margin-top: -1px;
        font-size: 12px;
        line-height: 18px;
    }

    .kl-sub-hero__nav-links {
        width: 100%;
        height: 67px;
        justify-content: flex-start;
        padding: 0 4px;
    }

    .kl-sub-hero__nav a {
        min-width: max-content;
        flex: 0 0 auto;
        padding: 0 16px;
        font-size: 15px;
    }

    .kl-sub-hero__nav a + a::before {
        top: 17px;
        height: 30px;
    }

    .kl-sub-hero__nav a::after {
        right: 16px;
        bottom: 0;
        left: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kl-sub-hero__media span {
        animation: none;
        transform: scale(1.025);
    }
}
