/* 네이버 나눔스퀘어네오 — 각 굵기가 네이버 CDN에서 별도 font-family로 배포되지만,
   이 사이트 CSS는 font-weight 숫자(400/700/800)로 굵기를 지정하므로 하나의 family 아래
   font-weight별로 재등록해서 synthetic bold 대신 실제 굵기 폰트가 쓰이게 함. */
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 400;
    font-style: normal;
    src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff') format('woff');
}
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 600;
    font-style: normal;
    src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff') format('woff');
}
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 700;
    font-style: normal;
    src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff') format('woff');
}
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 800;
    font-style: normal;
    src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff') format('woff');
}

:root {
    --brand: #0091DB;
    --brand-dark: #0077b3;
    --text: #222;
    --text-sub: #767676;
    --border: #eee;
    --bg: #f5f6f7;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'NanumSquareNeo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Apple SD Gothic Neo', Malgun Gothic, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
a { text-decoration: none; color: inherit; }

/* header */
.neo-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.neo-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.neo-logo { display: block; line-height: 0; flex-shrink: 0; }
.neo-logo img { height: 32px; width: auto; display: block; }
.neo-sponsor { display: block; line-height: 0; flex-shrink: 0; }
.neo-sponsor img { height: 34px; width: auto; display: block; border-radius: 4px; }
.neo-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 20px;
    padding: 4px 6px 4px 14px;
    flex: 1;
    min-width: 0;
}
.neo-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    flex: 1;
    min-width: 0;
}
.neo-search button {
    border: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

/* tier 1: 전역 섹션 메뉴 */
.neo-nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    background: var(--brand);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.neo-nav-main::-webkit-scrollbar { display: none; }
.neo-nav-item {
    padding: 11px 10px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    flex-shrink: 0;
}
.neo-nav-item.active { color: #fff; }
.neo-nav-auth {
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 10px;
}
.neo-nav-auth a {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

/* category tabs (tier 2: 섹션별 서브메뉴) */
.neo-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background: #fff;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
.neo-tabs::-webkit-scrollbar { display: none; }
.neo-tab {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sub);
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
}
.neo-tab.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

/* main list */
.neo-main { padding: 0 0 24px; }

.neo-headline {
    display: block;
    position: relative;
}
.neo-headline img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.neo-headline .neo-headline-text {
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.neo-headline .neo-headline-text h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
.neo-headline .neo-meta { font-size: 12px; color: var(--text-sub); }

.neo-grid4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 14px;
}
.neo-grid4-item {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}
.neo-grid4-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.neo-grid4-item h4 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 24px 10px 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.92) 20%, rgba(0,0,0,.55) 65%, rgba(0,0,0,0));
}

.neo-banner-ad {
    display: block;
    text-align: center;
    margin: 14px 0;
}
.neo-banner-ad img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.neo-card {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.neo-card-text { flex: 1; min-width: 0; }
.neo-card-text .neo-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 4px;
}
.neo-card-text h3 {
    margin: 0 0 6px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.neo-card-text p {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--text-sub);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.neo-meta { font-size: 12px; color: #aaa; }
.neo-meta .dot { margin: 0 4px; }

.neo-card-thumb {
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}
.neo-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.neo-section-title {
    padding: 16px 16px 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    background: var(--bg);
}

.neo-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 16px 8px;
    background: var(--bg);
}
.neo-section-head .neo-section-title { padding: 0; }
.neo-more {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-sub);
}

.neo-cat-vip { color: #e0a300 !important; }

/* job index: 구인정보/인재정보 탭 */
.neo-job-tabs {
    display: flex;
}
.neo-job-tab {
    flex: 1;
    border: none;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: #b2b2b2;
    cursor: pointer;
}
.neo-job-tab.active { background: var(--brand); }

.neo-job-filter {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.neo-job-filter select {
    flex: 1;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg);
    color: var(--text);
}

.neo-job-logo {
    background: #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-sub);
}
.neo-job-card .neo-pay { color: var(--brand); font-weight: 700; }
.neo-resume-sub { font-weight: 400; color: var(--text-sub); font-size: 13px; }
.neo-resume-photo {
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-sub);
}

.neo-job-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13.5px;
}
.neo-job-table th {
    padding: 10px 8px;
    text-align: left;
    color: var(--text-sub);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}
.neo-job-table td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--border);
}
.neo-job-table-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}
.neo-job-table tr.pointer { cursor: pointer; }

.neo-job-meta {
    margin: 14px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.neo-job-meta div {
    display: flex;
    padding: 9px 12px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
}
.neo-job-meta div:last-child { border-bottom: none; }
.neo-job-meta span {
    width: 72px;
    flex-shrink: 0;
    color: var(--text-sub);
}
.neo-job-meta b { font-weight: 600; }

/* login */
.neo-login-form {
    max-width: 320px;
    margin: 40px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.neo-login-form h2 { margin: 0 0 2px; font-size: 20px; font-weight: 800; text-align: center; }
.neo-login-note { margin: 0 0 8px; font-size: 13px; color: var(--text-sub); text-align: center; }
.neo-login-error {
    background: #fdecec;
    color: #c0392b;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 6px;
}
.neo-login-form input {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
}
.neo-login-form button {
    margin-top: 6px;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.neo-empty {
    padding: 60px 16px;
    text-align: center;
    color: var(--text-sub);
}

.neo-breadcrumb {
    padding: 12px 16px 0;
    font-size: 13px;
    color: var(--text-sub);
    background: #fff;
}
.neo-breadcrumb b { color: var(--brand); }

/* pagination */
.neo-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
}
.neo-pagination a, .neo-pagination span {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-sub);
}
.neo-pagination a.active, .neo-pagination span.active {
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

/* article detail */
.neo-article { background: #fff; padding: 20px 16px; }
.neo-article .neo-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    background: #e6f4fc;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.neo-article h1 {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
    letter-spacing: -0.3px;
    margin: 0 0 10px;
}
.neo-article h1 .neo-title-tag {
    font-size: 16px;
    font-weight: 500;
    color: #8a8a8a;
}
.neo-article .neo-sub {
    font-size: 14px;
    color: var(--text-sub);
    margin: 0 0 12px;
}
.neo-article .neo-byline {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--text-sub);
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.neo-article .neo-feature-image {
    width: calc(100% + 32px);
    margin: 0 -16px 18px;
    display: block;
}
.neo-article .neo-feature-image img { width: 100%; display: block; }
.neo-video-embed {
    width: calc(100% + 32px);
    margin: 0 -16px 18px;
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
.neo-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.neo-article .neo-content {
    font-size: 16.5px;
    line-height: 1.8;
    word-break: break-word;
}
.neo-article .neo-content img { max-width: 100%; height: auto; }
.neo-article .neo-content iframe { width: 100%; min-height: 820px; border: 0; display: block; }

.neo-journalist {
    display: flex;
    margin: 28px 0 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.neo-journalist-photo { flex-shrink: 0; width: 110px; }
.neo-journalist-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.neo-journalist-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.neo-journalist-head {
    background: #00479d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
}
.neo-journalist-name { font-size: 15px; font-weight: 800; }
.neo-journalist-brand { font-size: 11px; font-weight: 800; letter-spacing: 1px; opacity: 0.85; flex-shrink: 0; }
.neo-journalist-note {
    margin: 0;
    padding: 12px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text);
}
.neo-article .neo-content p { margin: 0 0 1.2em; }
.neo-article .neo-content ul,
.neo-article .neo-content ol { margin: 0 0 1.2em; padding-left: 0; }
.neo-article .neo-content li {
    list-style-position: inside;
    margin: 0 0 0.4em;
}

.neo-comments {
    background: #fff;
    margin-top: 10px;
    padding: 16px;
}
.neo-comments h2 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px;
}
.neo-comment {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.neo-comment .neo-comment-head {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}
.neo-comment .neo-comment-head .neo-comment-time {
    font-weight: 400;
    color: #aaa;
    margin-left: 6px;
}
.neo-comment .neo-comment-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.neo-footer {
    text-align: center;
    padding: 24px 16px 40px;
    color: var(--text-sub);
    font-size: 12px;
}
.neo-footer-small { color: #bbb; margin-top: 4px; }
