/* 메인 페이지 스타일 */
#wrap {
    padding-top: 0;
    padding-bottom: 0;
}

#header {
    background-color: transparent;
}

#header.active {
    background-color: #212121;
}


/* Qwigley Font */
@font-face {
    font-family: 'Qwigley';
    src: url('/static/global/font/qwigley/Qwigley-Regular.woff2') format('woff2'),
        url('/static/global/font/qwigley/Qwigley-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Main Title Section */
.main-title-section {
    position: absolute;
    left: var(--main-padding-inline);
    top: 228px;
    z-index: 200;
}


.main-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 2.542375rem;
    /* 40.678px */
    line-height: 1.25em;
    color: var(--text700);
    margin: 0;
}

.main-title-player {
    font-family: 'Qwigley', cursive;
    font-weight: 400;
    font-size: 3.177875rem;
    /* 50.847px */
    line-height: 0.862em;
    letter-spacing: 1.9999999999999998%;
    color: var(--nc-blue2);
    margin: 0;
    text-transform: capitalize;
    text-stroke: 1px var(--nc-blue2);
    -webkit-text-stroke: 1px var(--nc-blue2);
}

@media (min-width: 960px) {
    .main-title-section {
        top: 250px;
    }
    .main-title {
        font-size: 80px;
    }
    .main-title-player {
        font-size: 116px;
    }
}

/* Main title second line - New Player? */
.main-title-line2 {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.main-title-line2 .main-title {
    display: inline-block;
}

.main-title-line2 .main-title-player {
    display: inline-block;
}

/* Career Contents */
.career-contents {
    position: relative;
    z-index: 1000;
    overflow: visible;
}

/* Recruit Blog Banner */
.recruit-blog-banner {
    position: relative;
    width: 100%;
    height: 256px;
    background-color: #0541B4;
    overflow: hidden;
}
.recruit-blog-banner .blog-banner-link {
	width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-banner-content {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding-inline: var(--main-padding-inline);
    gap: 20px;
    box-sizing: border-box;
}

@media (min-width: 960px) {
    .blog-banner-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
}

.blog-banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}

@media (min-width: 960px) {
    .blog-banner-text {
        align-items: flex-start;
        /* width: 606px; */
        text-align: left;
    }
}

.blog-banner-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    /* 16px */
    line-height: 1.5454545454545454em;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
}

@media (min-width: 960px) {
    .blog-banner-description {
        font-size: 1.375rem;
        /* 22px */
        text-align: left;
    }
}

.blog-banner-button {
    display: flex;
    align-items: center;
}

.blog-link-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 12px 12px 20px;
    border: 1px solid var(--nc-blue2, #5DAAFF);
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 0.875rem;
    /* 14px */
    transition: all 0.3s ease;
}

@media (min-width: 960px) {
    .blog-link-button {
        font-size: 1rem;
        /* 16px */
    }
}

.blog-link-button:hover {
    background-color: rgba(93, 170, 255, 0.1);
}

.button-text {
    color: var(--nc-blue2, #5DAAFF);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.blog-banner-logo {
    width: 92.85px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 960px) {
    .blog-banner-logo {
        width: 169.31px;
        height: 62px;
    }
}

.nc-blog-logo {
    width: 92.85px;
    height: 34px;
    display: block;
}

@media (min-width: 960px) {
    .nc-blog-logo {
        width: 169.31px;
        height: 62px;
    }
}


/* Search Component */
.career-search {
    position: absolute;
    left: var(--main-padding-inline);
    top: 420px;
    z-index: 1000;
}

/* Responsive layout for search fields */
@media (min-width: 960px) {
    .career-search {
        width: 670px;
        height: 48px;
        top: 510px;
    }
}

.search-container {
    position: relative;
    width: 100%;
    height: auto;
}

.search-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* 960px부터 1줄 레이아웃 */
@media (min-width: 960px) {
    .search-fields {
        flex-direction: row;
        align-items: center;
        gap: 21px;
        height: 48px;
    }
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
}

/* Make company and job fields clickable */
.company-field,
.job-field {
    cursor: pointer;
}

.company-field {
    width: 328px;
    height: 24px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--text700);
}

.job-field {
    width: 328px;
    height: 24px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--text700);
}

.keyword-field {
    width: 328px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--text700);
}

/* 960px부터 1줄 레이아웃에서의 크기 조정 */
@media (min-width: 960px) {
    .company-field {
        width: 173px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .job-field {
        width: 208px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .keyword-field {
        width: 247px;
        padding-bottom: 0;
        border-bottom: none;
    }
}

.field-label {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.193359375em;
    color: var(--text700);
    text-transform: capitalize;
    margin-right: auto;
}

@media (min-width: 960px) {
    .field-label {
        font-size: 18px;
    }
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text700);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    display: block;
}



.keyword-input {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.193359375em;
    color: var(--text700);
    background: none;
    border: none;
    outline: none;
    width: calc(100% - 24px);
    padding: 0;
}
@media (min-width: 960px) {
    .keyword-input {
        font-size: 18px;
    }
}



.keyword-input::placeholder {
    color: var(--text700);
    opacity: 1;
}

.btn-search {
    background: none;
    border: none;
    color: var(--text700);
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-img {
    width: 24px;
    height: 24px;
    display: block;
}

.search-divider {
    display: none;
    /* 모바일에서는 각 필드마다 개별 border가 있으므로 숨김 */
}

@media (min-width: 960px) {
    .search-divider {
        display: block;
        position: absolute;
        top: 48px;
        left: 0;
        width: 670px;
        height: 2px;
        background: var(--text700);
    }
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    right: 0;
    background: var(--bg200);
    border-radius: 2px;
    padding: 10px 12px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    width: auto;
}

.dropdown-item {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2999999523162842em;
    color: var(--text700);
    cursor: pointer;
    padding: 7px 0;
}

.dropdown-item:first-child {
    color: var(--nc-blue2);
}

.dropdown-item:hover {
    opacity: 0.8;
}

/* Main Background */
.main-bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 612px;
    min-height: 400px;
    background-color: #000;
    overflow: visible;
    z-index: 1;
}

@media (min-width: 960px) {
    .main-bg {
        height: 760px;
    }
}


.main-bg .background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    overflow: visible;
}

.main-bg .background>.cover {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.main-bg .background::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-position: 50% 50%;
    opacity: .3;
}


/* Main Career Section */
.main-career {
    width: 100%;
}


/* Legacy Styles */
.iframe_wrap {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%
}

/* Video 요소 명시적 스타일 - 760px 높이 유지 */
.iframe_wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


/* Recruitment Overview Container */
.recruitment-overview-container {
    padding-inline: var(--main-padding-inline);
    padding-top: 50px;
    padding-bottom: 80px;
    font-family: 'Pretendard', sans-serif;
}

@media (min-width: 960px) {
    .recruitment-overview-container {
        padding-top: 130px;
        padding-bottom: 150px;
    }
}
/* Title Section */
.title-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 380px;
    margin-bottom: 30px;
}

.title-section .main-title {
    font-weight: 700;
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.193359375em;
    color: #222222;
    margin: 0;
}

@media (min-width: 960px) {
    .title-section .main-title {
        font-size: 2.5rem;
        /* 40px */
    }
}

.sub-title {
    font-weight: 400;
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.193359375em;
    color: #222222;
    margin: 0;
}

@media (min-width: 960px) {
    .sub-title {
        font-size: 1.25rem;
        /* 20px */
    }
}

#totalJobCount {
    color: var(--nc-blue1, #0541B4);
}

/* Category Section */
.category-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
    width: 320px;
}

/* 960px부터 2열 레이아웃 */
@media (min-width: 960px) {
    .category-section {
        display: flex;
        flex-direction: row;
        gap: min(480px, calc((100vw - 2 * var(--main-padding-inline)) - 1080px));
        margin-bottom: 168px;
        width: auto;
    }
}

.category-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* 960px부터 2열에서의 컬럼 설정 */
@media (min-width: 960px) {
    .category-column {
        flex: 1;
        max-width: 540px;
    }
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
}

/* 960px부터 컬럼 내에서 전체 너비 사용 */
@media (min-width: 960px) {
    .category-item {
        width: 100%;
    }
}

.category-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
}

.category-name {
    font-weight: 700;
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.193359375em;
    color: #222222;
    flex-shrink: 0;
}

@media (min-width: 960px) {
    .category-name {
        font-size: 2.25rem;
        /* 36px */
    }
}

.category-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.75rem;
    /* 12px */
    line-height: 1.193359375em;
    color: #FFFFFF;
    min-width: 32px;
    height: 28px;
    box-sizing: border-box;
}

@media (min-width: 960px) {
    .category-badge {
        font-size: 1rem;
        /* 16px */
    }
}

.category-badge.active {
    background-color: #000000;
}

.category-badge.inactive {
    background-color: #D6DCE0;
}

/* Highlight Section */
.highlight-section {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.highlight-title {
    font-weight: 700;
    font-size: 1rem;
    /* 16px */
    line-height: 1.193359375em;
    color: #222222;
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #222222;
    font-weight: 400;
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.193359375em;
}

@media (min-width: 960px) {
    .view-all-link {
        font-size: 1rem;
        /* 16px */
    }
}

.view-all-link:hover {
    opacity: 0.8;
}

/* Job Grid - 모바일에서는 캐러셀, 960px부터 그리드 */
.job-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.job-grid::-webkit-scrollbar {
    display: none;
}

/* 960px부터 동적 그리드 - 공간에 따라 자동 계산 */
@media (min-width: 960px) {
    .job-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-auto-rows: 185px;
        gap: 20px;
        overflow: visible;
        scroll-snap-type: none;
        justify-content: start;
    }
}

.job-card {
    background-color: #F3F8FC;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    height: 185px;
}

/* 그리드 레이아웃에서의 카드 크기 */
@media (min-width: 960px) {
    .job-card {
        flex: none;
        width: 100%;
        max-width: none;
        scroll-snap-align: none;
    }
}
/* 
.job-card::before {
    content: '';
    position: absolute;
    top: 1.5px;
    left: 2px;
    right: 2px;
    height: 213.5px;
    background-color: #F5FAFD;
    border-radius: 8px;
    z-index: 1;
} */

.job-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* 960px부터 데스크톱 패딩 */
@media (min-width: 960px) {
    .job-content {
        padding: 31px 32px;
    }
}

.job-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.company-name {
    font-weight: 700;
    font-size: 0.75rem;
    /* 12px */
    line-height: 2em;
    color: #222222;
}

@media (min-width: 960px) {
    .company-name {
        font-size: 0.8125rem;
        /* 13px */
    }
}

.bookmark-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bookmark-icon path {
    stroke: #000000;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.bookmark-icon.filled path {
    fill: #000000;
    stroke: none;
}

.job-title {
    font-weight: 500;
    font-size: 1rem;
    /* 16px */
    line-height: 1.7777777777777777em;
    color: #222222;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 960px) {
    .job-title {
        font-size: 1.125rem;
        /* 18px */
    }
}

.job-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.d-day {
    font-weight: 700;
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.8571428571428572em;
    color: #0541B4;
}

@media (min-width: 960px) {
    .d-day {
        font-size: 0.875rem;
        /* 14px */
    }
}

.job-date {
    font-weight: 400;
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.8571428571428572em;
    color: #555555;
}

@media (min-width: 960px) {
    .job-date {
        font-size: 0.875rem;
        /* 14px */
    }
}

/* 캐러셀 인디케이터 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #D6DCE0;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: var(--nc-blue1, #0541B4);
}

/* 그리드 레이아웃에서 인디케이터 숨김 */
@media (min-width: 960px) {
    .carousel-indicators {
        display: none;
    }
}

.blog-banner-graphics{
    position: absolute;
    top: -10px;
    left: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}
.blog-banner-graphics .blog-banner-img{
    width: 760px;
    max-width: unset;
}

@media (min-width: 960px) {
    .blog-banner-graphics {
        left: 0;
        justify-content: center;
        width: 100%;
    }
    .blog-banner-graphics .blog-banner-img{
        width: 1040px;
    }
}


/* 메인 배너 레이어 스타일 */
.main-banner-layer {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.main-banner-layer .main-banner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-banner-layer .main-banner-content {
    position: relative;
    width: 320px;
    height: 260px;
    background-color: #000;
    overflow: hidden;
}

.main-banner-content .main-banner-image {
    width: 100%;
    height: 100%;
}
.main-banner-content .main-banner-image .main-banner-link {
    width: 100%;
    height: 100%;
}
.main-banner-content .main-banner-image .main-banner-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-banner-content .main-banner-controls {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    width: 100%;
    height: 36px;
    background: #0D0D0D;
}
.main-banner-content .main-banner-controls .checkbox-text {
    display: inline-block;
    color: rgba(255, 255, 255, 0.40);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}
.main-banner-content .main-banner-controls .close-btn {
	line-height: 0;
}