/* 기본 초기화 및 폰트 설정 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    background-color: #f4f6fa;
    color: #222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 상단 바 */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e1e5eb;
    height: 60px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-badge {
    font-size: 20px;
    font-weight: 800;
    color: #4876ef;
    letter-spacing: -0.5px;
}

.header-sub {
    font-size: 14px;
    color: #666;
    border-left: 1px solid #ddd;
    padding-left: 12px;
}

/* 메인 컨테이너 (사람인 표준 960px 폭) */
.container {
    width: 960px;
    margin: 30px auto 60px;
}

/* 1. 상단 공고 요약 카드 */
.job-header-card {
    background: #fff;
    border: 1px solid #dce1eb;
    border-top: 3px solid #222;
    padding: 36px 40px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.company-tag {
    font-size: 11px;
    color: #4876ef;
    background: #eef3ff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.job-title {
    font-size: 25px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eaedf4;
}

/* 2단 요약 정보 */
.job-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 24px 0;
    border-bottom: 1px solid #eaedf4;
}

.summary-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item dt {
    width: 85px;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}

.summary-item dd {
    color: #333;
    font-weight: 500;
}

.summary-item dd.highlight {
    color: #4876ef;
    font-weight: 700;
}

.sub-text {
    color: #888;
    font-weight: 400;
    font-size: 12px;
}

/* 버튼 액션 바 */
.job-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.scrap-group {
    display: flex;
    gap: 8px;
}

.btn-outline {
    background: #fff;
    border: 1px solid #d0d5df;
    color: #555;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
}

.btn-outline:hover {
    background: #f8f9fc;
}

.apply-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dday-badge {
    font-size: 14px;
    font-weight: 700;
    color: #ff5656;
    background: #fff0f0;
    padding: 4px 10px;
    border-radius: 4px;
}

.btn-apply {
    background: #ff6b52;
    color: #fff;
    border: none;
    padding: 13px 38px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-apply:hover {
    background: #e8583f;
}

/* 2. 스티키 탭 네비게이션 */
.tab-nav {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #dce1eb;
    z-index: 100;
}

.tab-nav.sticky {
    position: fixed;
    top: 0;
    width: 960px;
    margin-top: 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

.tab-list {
    display: flex;
}

.tab-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #dce1eb;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item a {
    display: block;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 600;
    color: #666;
}

.tab-item.active a {
    background: #4876ef;
    color: #fff;
}

/* 3. 공통 컨텐츠 섹션 */
.content-section {
    background: #fff;
    border: 1px solid #dce1eb;
    border-top: none;
    padding: 40px;
    margin-bottom: 24px;
}

.section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #222;
}

/* 상단 포스터 배너 영역 (./images/poster.png) */
.template-banner {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaedf4;
    background: #1a2a44;
    text-align: center;
}

.poster-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 인트로 헤드카피 영역 */
.intro-headline {
    text-align: center;
    background: #f8faff;
    border: 1px solid #dbe4ff;
    border-radius: 8px;
    padding: 28px 20px;
    margin-bottom: 40px;
}

.intro-sub {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #ff5656;
    margin-bottom: 8px;
}

.intro-headline h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1f2d3d;
    line-height: 1.45;
}

.template-block {
    margin-bottom: 42px;
}

.block-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #4876ef;
    line-height: 1.2;
}

/* 모집요강 표 */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    font-size: 14px;
}

.recruit-table th {
    background: #f8f9fc;
    color: #333;
    font-weight: 600;
    padding: 14px 12px;
    border: 1px solid #e1e5eb;
}

.recruit-table td {
    padding: 20px 16px;
    border: 1px solid #e1e5eb;
    vertical-align: top;
}

.td-center {
    text-align: center;
    vertical-align: middle !important;
}

.bold {
    font-weight: 700;
    color: #222;
    font-size: 15px;
}

.sub-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #4876ef;
    background: #eef3ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.text-red {
    color: #ff5656;
    font-size: 16px;
}

.text-blue {
    color: #4876ef;
}

.duty-title {
    font-weight: 700;
    color: #4876ef;
    margin-bottom: 8px;
}

.bullet-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    color: #333;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4876ef;
    font-weight: bold;
}

/* 주요 혜택 카드 그리드 */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-card {
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    padding: 20px;
    background: #fbfcfe;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.benefit-icon {
    font-size: 24px;
}

.benefit-card strong {
    font-size: 16px;
    color: #222;
}

.benefit-card p {
    font-size: 13px;
    color: #666;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eaedf4;
    font-size: 14px;
    color: #444;
}

/* 전형절차 스텝 */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px;
}

.step-circle {
    width: 180px;
    height: 96px;
    border: 1px solid #d0d7e6;
    border-radius: 8px;
    background: #f8fafe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.step-circle.active {
    background: #4876ef;
    color: #fff;
    border-color: #4876ef;
}

.step-num {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    font-weight: 600;
}

.step-circle.active .step-num {
    color: #dbe6ff;
}

.step-arrow {
    color: #b0b8c9;
    font-size: 18px;
}

/* 4. 접수기간 및 타이머 */
.apply-box {
    display: flex;
    border: 1px solid #e1e5eb;
    background: #fbfcfe;
}

.timer-area {
    width: 300px;
    padding: 30px 24px;
    text-align: center;
    border-right: 1px solid #e1e5eb;
    background: #fff;
}

.timer-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.timer-clock {
    font-size: 26px;
    font-weight: 800;
    color: #ff5656;
    margin: 8px 0 16px;
}

.date-range p {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.method-area {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.method-area dl {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.method-area dl:last-child {
    margin-bottom: 0;
}

.method-area dt {
    width: 100px;
    color: #666;
    font-weight: 700;
    flex-shrink: 0;
}

.method-area dd {
    color: #222;
    flex: 1;
}

.email-link {
    font-weight: 700;
    color: #4876ef;
    text-decoration: underline;
    margin-right: 10px;
}

.btn-email-direct {
    display: inline-block;
    background: #4876ef;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
}

.btn-email-direct:hover {
    background: #3661d1;
}

/* 5. 기업정보 박스 */
.company-box {
    border: 1px solid #e1e5eb;
    padding: 28px;
}

.company-box-header h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.company-box-header p {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.company-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: 1px solid #eaedf4;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    font-size: 14px;
}

.meta-label {
    width: 90px;
    color: #888;
}

.meta-value {
    color: #333;
    font-weight: 600;
}

/* 푸터 */
.site-footer {
    text-align: center;
    padding: 30px 0;
    font-size: 13px;
    color: #888;
}
