.navbar-dark .navbar-nav .dropdown-menu .nav-link {
    color: #212529;
}

.navbar-dark .navbar-nav .dropdown-menu .nav-link:hover,
.navbar-dark .navbar-nav .dropdown-menu .nav-link:focus {
    color: #1e2125;
    background-color: #e9ecef;
}

/*말 줄임 클래스*/
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 로그인 */
.cms-container .login-section {
    .login-section {
        display: flex;
        width: var(--screen-1440);
        flex-direction: column;
        align-items: center;
        gap: var(--size-60);
    }

    .form-layout {
        display: flex;
        padding: var(--size-80) 0;
        flex-direction: column;
        align-items: center;
        align-self: center;
        gap: var(--size-12);
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .button-layout {
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
        align-self: stretch;
        width: 400px;
    }

    h2 {
        align-items: center;
        gap: var(--size-24);
        font-size: var(--size-36);
        font-weight: 700;
        color: var(--theme-900);
        font-family: Pretendard;
        text-align: center;
        padding-bottom: var(--size-60);
        font-style: normal;
        line-height: 48px; /* 133.333% */
        letter-spacing: -0.72px;
    }

    input {
        width: 400px;
        padding: 17px 229px 17px 31px;
        align-items: center;
        background: rgb(var(--theme-50));
        border-radius: var(--size-12);
        color: rgb(var(--theme-600));
        font-family: Pretendard;
        font-size: var(--size-16);
        font-style: normal;
        font-weight: 400;
        line-height: var(--size-26); /* 162.5% */
        letter-spacing: -0.32px;
    }

    button, a {
        display: flex;
        height: var(--size-48);
        padding: var(--size-9) var(--size-8);
        justify-content: center;
        align-items: center;
        gap: var(--size-8);
        align-self: stretch;
        color: rgb(var(--primary-WT));
        border-radius: var(--size-12);
        /* Bod/B5_sb */
        font-family: Pretendard;
        font-size: var(--size-16);
        font-style: normal;
        font-weight: 600;
        line-height: var(--size-26);
        letter-spacing: -0.32px;
    }


    .login-btn {
        background-color: rgb(var(--theme2-600));
    }

    .register-btn {
        background: rgb(var(--gary-600));
    }


}

/* ==============================================
   헤더 (피그마 공통 Header)
   ============================================== */
.header {
    .btn-search {
        width: 2.5rem;
        height: 2.5rem;
        padding: var(--size-8);
        border-radius: var(--size-20);
        background-color: rgb(var(--theme-50));
    }

    .select-lang-wrap {
        position: relative;
    }

    .select-lang {
        height: 2.75rem;
        padding: var(--size-9) var(--size-28) var(--size-9) var(--size-20); /* 우측 화살표 공간 확보 */
        font-weight: 400;
        color: rgb(var(--theme-900));
        background-color: rgb(var(--theme-50));
        border-radius: var(--size-20);

        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .select-lang-wrap::after {
        content: "";
        position: absolute;
        right: var(--size-16);
        top: 50%;
        transform: translateY(-50%);
        border-left: var(--size-6) solid transparent;
        border-right: var(--size-6) solid transparent;
        border-top: var(--size-6) solid rgb(var(--theme-500));
        pointer-events: none;
    }
}

.cms-container {
    .main-banner {
        gap: 0;
    }

    .mainSwiper {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-banner .mainSwiper .swiper-slide {
        /*height: 150px;*/
    }

    .main-banner .mainSwiper .swiper-slide a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 1rem;
    }

    .main-banner .mainSwiper .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }

    /* 좌측 하단 컨트롤러 전체 박스 */

    .swiper-controls {
        position: absolute;
        bottom: 20px;
        left: 20px;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* 이전/다음 + 숫자 페이징 알약형 컨테이너 */

    .pagination-box {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1); /* 이미지 느낌의 반투명 배경 */
        backdrop-filter: blur(4px);
        padding: 6px 14px;
        border-radius: 20px;
        color: #fff;
        font-size: 14px;
    }

    /* 화살표 버튼 */

    .pagination-box .btn-prev,
    .pagination-box .btn-next {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        cursor: pointer;
        padding: 0 4px;
        line-height: 1;
    }

    .pagination-box .btn-prev:hover,
    .pagination-box .btn-next:hover {
        color: #fff;
    }

    /* Swiper 분수형 페이징 커스텀 */

    .pagination-box .swiper-pagination {
        position: static;
        width: auto;
        margin: 0 10px;
        color: #fff;
        font-weight: 500;
    }

    /* 전체 페이지 수 커스텀 (구분선 포함) */

    .pagination-box .swiper-pagination-total {
        color: rgba(255, 255, 255, 0.4);
    }

    /* 재생/일시정지 동그라미 버튼 */

    .btn-toggle-autoplay {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(4px);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 11px;
    }
}

/* 홈 메인 배너 위 상단 콘텐츠 래퍼의 공백 제거 */
.cms-home-top-content,
.cms-home-top-content > .cms-container {
    margin-bottom: 0 !important;
}

.cms-container .lnb {
    text-align: center;
    margin-bottom: var(--size-44);

    h2 {
        font-size: var(--size-36);
        font-weight: 700;
        color: rgb(var(--theme-900));
        margin-bottom: var(--size-24);
    }

    ul {
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--size-11);
        padding: var(--size-8);
        border-radius: var(--size-30);
        background-color: rgb(var(--theme2-50));
    }

    li a {
        padding: var(--size-8) var(--size-32);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--size-30);
        font-size: var(--size-18);
        color: rgb(var(--theme2-450));
        font-weight: 500;
    }

    li a.active {
        background-color: rgb(var(--theme2-600));
        color: rgb(var(--primary-WT));
    }
}

.cms-container .main-section-01 {
    margin-top: var(--size-20);

    ul {
        display: grid;
        gap: var(--size-20);
    }

    li {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(var(--primary-WT));
        border-radius: var(--size-20);
    }

    a {
        padding: var(--size-32) var(--size-30) var(--size-24);
        display: flex;
        flex-direction: column;
        gap: var(--size-12);
    }

    .icon-wrap {
        display: flex;
        justify-content: center;
    }

    .menu-title {
        text-align: center;
        font-size: var(--size-18);
        font-weight: 500;
        color: var(--gary-700);
    }

}

.cms-container .main-section-02 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--size-20);
    margin-top: var(--size-20);

    .box-01, .box-02 {
        background-color: rgb(var(--primary-WT));
        border-radius: var(--size-20);
    }

    .box-01 {
        padding: var(--size-36) var(--size-48) var(--size-24);
        grid-column: span 4;
        display: flex;
        flex-direction: column;
        gap: var(--size-16);
    }

    .box-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .box-header h2 {
        font-size: var(--size-28);
        font-weight: 700;
        color: rgb(var(--theme-900));
        display: flex;
        align-items: center;
        gap: var(--size-16);
    }

    .box-header h2 span {
        font-size: var(--size-18);
        font-weight: 500;
        color: rgb(var(--gary-500));
    }

    .box-header a {
        border-radius: var(--size-20);
        background-color: rgb(var(--theme-50));
        padding: var(--size-6) var(--size-16) var(--size-6) var(--size-20);
    }

    .tabs {
        color: rgb(var(--gary-600));
        display: flex;
        gap: var(--size-40);
        border-bottom: 1px solid rgb(var(--gary-100));
    }

    .tab-item {
        font-size: var(--size-18);
        font-weight: 500;
        color: rgb(var(--gary-400));
        padding-top: var(--size-12);
        padding-bottom: var(--size-12);
        cursor: pointer;
        user-select: none;

        &.active {
            color: rgb(var(--theme2-600));
            border-bottom: 2px solid rgb(var(--theme2-600));
        }
    }

    .box-body ul li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--size-20);
        padding: var(--size-18) var(--size-12);
    }

    .box-body .item-category {
        flex: 0 0 var(--size-80);
        white-space: nowrap;
    }

    .box-body .item-title {
        min-width: 0;
        flex: 1 1 auto;
        display: -webkit-box;
        overflow: hidden;
        line-height: var(--size-24);
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .item-category.dot {
        &::before {
            content: '';
            display: inline-block;
        }
    }

    .item-date {
        flex: 0 0 var(--size-80);
        color: rgb(var(--gary-500));
        text-align: right;
        white-space: nowrap;
    }

    .box-02 {
        padding: var(--size-40) var(--size-28) var(--size-28);
        grid-column: span 2;
        font-size: var(--size-18);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        background-image: url("/common/static/img/figure/fg_chungnam.png");
        background-repeat: no-repeat;
        background-size: auto 265px;
        background-position: right center;
    }

    .box-02 strong {
        font-size: var(--size-32);
        font-weight: 700;
        line-height: 2.75rem;
        color: rgb(var(--theme-900));
    }

    .sec-01 strong {
        display: block;
        margin-top: var(--size-20);
    }

    .sec-01 .explain {
        margin-top: var(--size-8);
        color: rgb(var(--gary-600));
    }

    .explain {
        line-height: var(--size-28);
    }

    .link-wrap {
        margin-top: var(--size-28);
        display: flex;
        justify-content: space-between;
        gap: var(--size-12);
    }

    .link-wrap a {
        padding: var(--size-14);
        display: flex;
        flex: 1 1 0;
        justify-content: space-between;
        gap: var(--size-8);
        font-size: var(--size-16);
        background-color: rgb(var(--theme-50));
        border-radius: var(--size-16);
        align-items: center;
        min-width: 0;
    }

    .up-right-arrow {
        display: block;
        width: var(--size-20);
        height: var(--size-20);
        background-image: url("/common/static/img/icon/ic_arrow_up_right_gray.png");
        background-repeat: no-repeat;
        background-size: var(--size-20) var(--size-20);
        min-width: var(--size-20);
    }
}

.cms-container .main-section-03 {
    display: flex;
    flex-direction: column;
    gap: var(--size-40);
    margin-top: 6.25rem;
    margin-bottom: 6.25rem;

    .sec-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
    }

    .sec-header p {
        font-size: var(--size-18);
        font-weight: 500;
        line-height: var(--size-28);
        color: rgb(var(--theme-600));
    }

    h2 {
        font-size: var(--size-36);
        font-weight: 700;
        color: rgb(var(--gary-900));
        line-height: var(--size-48);
    }

    .sec-body {
        display: flex;
        flex-direction: column;
        gap: var(--size-20);
    }

    ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--size-20);
    }

    ul.is-compact {
        justify-content: flex-start;
    }

    li {
        background-color: rgb(var(--primary-WT));
        padding: var(--size-24) var(--size-28);
        border-radius: var(--size-12);
        min-width: 0;
        max-width: none;
    }

    #main-job-list > li[data-detail-url] {
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    #main-job-list > li[data-detail-url]:hover,
    #main-job-list > li[data-detail-url]:focus-visible {
        background-color: rgb(var(--theme-100));
        box-shadow: 0 var(--size-8) var(--size-24) rgba(var(--gary-900), 0.12);
        transform: translateY(calc(var(--size-4) * -1));
        outline: none;
    }

    #main-job-list > li[data-detail-url] article a {
        cursor: inherit;
    }

    .label {
        padding: var(--size-2) var(--size-8);
        border-radius: var(--size-4);
        background-color: rgb(var(--theme2-200));
        color: rgb(var(--theme2-600));
        font-size: var(--size-14);
        font-weight: 500;
    }

    article a {
        color: rgb(var(--gary-800));
        font-size: var(--size-20);
        font-weight: 500;
        line-height: var(--size-30);
        margin-top: 7px;
        display: block;
    }

    .addr {
        margin-top: 7px;
    }

    .addr, .pay {
        color: rgb(var(--gary-500));
    }

    .more-btn {
        background-color: rgb(var(--theme-100));
    }

    .more-btn a {
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--size-20);
        color: rgb(var(--theme-600));
        font-size: var(--size-18);
        font-weight: 500;
    }

    .icon-plus {
        width: var(--size-32);
        height: var(--size-32);
        background-image: url("/common/static/img/icon/ic_plus_light_gray.png");
        background-repeat: no-repeat;
        background-size: var(--size-32) var(--size-32);
        display: block;
    }

    button {
        padding: var(--size-24) var(--size-32);
        background-color: rgb(var(--gary-700));
        border-radius: var(--size-20);
        color: rgb(var(--primary-WT));
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--size-8);
    }

    .icon {
        display: inline-block;
        width: var(--size-24);
        height: var(--size-24);
        background-image: url("/common/static/img/icon/ic_job_offer_white.png");
        background-repeat: no-repeat;
        background-size: var(--size-24) var(--size-24);
    }
}

@media (min-width: 64.0625rem) {
    .cms-container .main-section-03 ul.is-compact .more-btn {
        margin-left: auto;
    }
}

@media (max-width: 64rem) {
    .cms-container .main-section-03 ul {
        grid-template-columns: 1fr;
    }
}

.main-section-04 {
    display: flex;
    flex-direction: column;
    gap: var(--size-40);
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
    background-color: rgb(var(--primary-WT));
    border-radius: 5rem;
    margin: 0 auto;

    .sec-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
    }

    .sec-header p {
        font-size: var(--size-18);
        font-weight: 500;
        line-height: var(--size-28);
        color: rgb(var(--theme-600));
    }

    h2 {
        font-size: var(--size-36);
        font-weight: 700;
        color: rgb(var(--gary-900));
        line-height: var(--size-48);
    }

    .sec-body {
        /*margin: 0 auto;*/
        display: flex;
        justify-content: center;
    }

    .sec-body ul {
        width: 100%;
        max-width: var(--screen-1440);
        display: flex;
        justify-content: space-between;
        column-gap: var(--size-20);
    }

    .sec-body li {
        flex: 1;
        max-width: 100%;
    }

    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: var(--size-20);
    }
}

.main-section-05 {
    display: flex;
    flex-direction: column;
    row-gap: var(--size-40);
    align-items: center;
    padding: 6.25rem 0;

    .sec-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
    }

    .sec-header p {
        font-size: var(--size-18);
        font-weight: 500;
        line-height: var(--size-28);
        color: rgb(var(--theme-600));
    }

    h2 {
        font-size: var(--size-36);
        font-weight: 700;
        color: rgb(var(--gary-900));
        line-height: var(--size-48);
    }

    .sec-body {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: var(--screen-1440);
    }

    ul {
        width: 100%;
        display: flex;
        column-gap: var(--size-20);
        justify-content: space-between;
    }

    li {
        flex: 1;
        background-color: rgb(var(--primary-WT));
        border-radius: var(--size-20);
        padding: var(--size-36);
    }

    a {
        display: flex;
        justify-content: space-between;
    }

    .sec-left {
        display: flex;
        flex-direction: column;
        row-gap: var(--size-16);
    }

    .support-business-nowrap {
        white-space: nowrap;
    }

    strong {
        color: rgb(var(--theme-900));
        font-size: var(--size-28);
        font-weight: 700;
    }

    p {
        color: rgb(var(--theme-700));
    }

    .sec-right img {
        width: 7.5rem;
        height: auto;
    }
}

/* ==============================================
   푸터 (피그마 공통 Footer)
   ============================================== */
.footer {
    background: rgb(var(--gary-700));
    font-size: var(--size-14);

    .footer-inner {
        width: 100%;
        max-width: var(--screen-1440);
        margin: 0 auto;
    }

    .footer-inner-top {
        display: flex;
        justify-content: space-between;
        padding: var(--size-34) 0;
    }

    .footer-inner-left {
        display: flex;
        align-items: center;
        gap: var(--size-24);
    }

    .footer-inner-bottom {
        display: flex;
        justify-content: space-between;
        padding: var(--size-20) 0;
    }

    .footer-inner-bottom ul {
        display: flex;
        align-items: center;
        color: rgb(var(--gary-300));
        gap: var(--size-8);
    }

    small {
        font-size: var(--size-14);
        color: rgb(var(--gary-500));
    }

    .info-row {
        display: flex;
    }

    .footer-inner-right dl {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    dt {
        width: 3.5rem;
        color: rgb(var(--gary-400));
        min-width: 3.5rem;
        font-weight: 400;
        text-align: left;
    }

    dd {
        color: rgb(var(--gary-50));
        font-weight: 400;
    }

    .label {
        color: rgb(var(--gary-400));
    }

    .label--primary {
        color: rgb(var(--primary-WT));
    }

    .divider {
        margin: 0 var(--size-4);
        color: rgb(var(--gary-600));
    }

    .judicial {
        display: flex;
        align-items: center;
        gap: var(--size-4);
        margin-right: var(--size-8);
    }

    .judicial::after {
        content: '';
        display: block;
        width: var(--size-8);
        height: var(--size-8);
        background-image: url("/common/static/img/icon/ic_arrow_up_right_light_gray.png");
        background-repeat: no-repeat;
        background-size: var(--size-8) var(--size-8);
    }

    .instagram, .youtube {
        width: 2.5rem;
        height: 2.5rem;
        padding: var(--size-8);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: var(--size-20);
        background-color: rgb(var(--gary-600));
    }

    .col-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, rgba(68, 68, 68, 0.00) 0%, #444 49.52%, rgba(68, 68, 68, 0.00) 100%);
    }
}
/* Google 웹사이트 번역 사용 시 상단에 삽입되는 번역 배너 숨김 */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

html,
body {
    top: 0 !important;
}
