@charset "utf-8";

/* ============================================================
 * 대성테크윈 - 인재채용 (ok3) Renewal CSS
 * - 원본: 리뉴얼/sub05.php 의 <style> 영역
 * - 글로벌 헤더/푸터/모바일메뉴/skip-link/scroll-progress CSS 는 제거 (head.php/tail.php 가 담당)
 * - 모든 셀렉터는 .about-page 래퍼로 격리하여 다른 페이지에 영향 없음
 * ============================================================ */

/* ============================================================
 * ★ Heading Reset (bootstrap 의 h1~h6 margin 무력화)
 * ============================================================ */
.about-page h1, .about-page .h1,
.about-page h2, .about-page .h2,
.about-page h3, .about-page .h3,
.about-page h4, .about-page .h4,
.about-page h5, .about-page .h5,
.about-page h6, .about-page .h6 {
	margin-top: 0;
	margin-bottom: 0;
}

/* ==========================================
   1. Common — Container / Utility
========================================== */
.about-page { color: var(--on-surface, #0F172A); }

/* ★ 풀폭 wrapper 트릭 */
.about-page .sub-page-header,
.about-page .hero-pin-sec,
.about-page .sticky-tab-wrap,
.about-page .content-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.about-page .container {
	max-width: var(--site-width, 1760px) !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 1.25rem !important;
	box-sizing: border-box !important;
}
@media (min-width: 768px)  { .about-page .container { padding: 0 2.5rem !important; } }
@media (min-width: 1024px) { .about-page .container { padding: 0 5rem !important; } }
@media (min-width: 1440px) { .about-page .container { padding: 0 7rem !important; } }
@media (min-width: 1760px) { .about-page .container { padding: 0 5rem !important; } }

.about-page .tracking-kr-tight { letter-spacing: -0.05em; }
.about-page .focus-ring:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.about-page .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}

.about-page .section-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-weight: 800; font-size: 0.9375rem; color: var(--primary);
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .about-page .section-eyebrow { font-size: 1.125rem; margin-bottom: 1rem; } }
.about-page .section-eyebrow::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; display: inline-block;
}
.about-page .eyebrow-white { color: var(--on-primary); }
.about-page .eyebrow-white::before { background: var(--on-primary); }

.about-page .sub-sec-title { display: block; font-size: 2rem; font-weight: 900; color: var(--on-surface); }
.about-page .main-heading { font-size: 2.25rem; font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; color: var(--on-surface); }
.about-page .desc-text { font-size: 1.0625rem; font-weight: 500; color: var(--on-surface-alt); line-height: 1.6; margin-bottom: 3rem; }
@media (min-width: 768px) {
	.about-page .sub-sec-title { font-size: 2.5rem; }
	.about-page .main-heading  { font-size: 3rem; }
	.about-page .desc-text     { font-size: 1.125rem; }
}

.about-page .btn-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--surface); color: var(--on-surface); border: 1px solid #E5E7EB;
    border-radius: var(--radius-pill); padding: 0.75rem 1.5rem; font-size: 0.9375rem; font-weight: 700;
    transition: all 0.3s ease; box-shadow: var(--shadow-card); letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .about-page .btn-pill { padding: 0.875rem 2.5rem; font-size: 1.0625rem; gap: 0.75rem; }
}
.about-page .btn-pill:hover { background: #f0f4ff; color: var(--primary); border-color: transparent; transform: translateY(-2px); }

.about-page .btn-primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.about-page .btn-primary:hover {
    background: #003666; color: #fff; transform: translateY(-2px);
}

/* ==========================================
   2. Sub Page Header + Breadcrumb
========================================== */
.about-page .sub-page-header {
	/* 기존 패딩을 더 줄여서 상단 여백을 더욱 타이트하게 다이어트합니다 */
	padding: 1.75rem 0 1rem;
	background: var(--surface);
	position: relative; z-index: 30;
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
@media (min-width: 768px)  { .about-page .sub-page-header { padding: 2.25rem 0 1.25rem; } }
@media (min-width: 1024px) { .about-page .sub-page-header { padding: 2.75rem 0 1.5rem; } }

.about-page .sub-crumb-list {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
	list-style: none; margin: 0 0 1rem; padding: 0;
	font-size: 0.875rem; font-weight: 700;
	color: var(--on-surface-alt); letter-spacing: -0.02em;
}
.about-page .sub-crumb-item { display: inline-flex; align-items: center; }
.about-page .sub-crumb-link {
	color: var(--on-surface-alt); transition: color 0.3s ease;
	display: inline-flex; align-items: center; gap: 0.25rem; line-height: 1;
	text-decoration: none;
}
.about-page .sub-crumb-link i { font-size: 1rem; }
.about-page a.sub-crumb-link:hover { color: var(--primary); }
.about-page .sub-crumb-current { color: var(--primary); font-weight: 800; }
.about-page .sub-crumb-sep {
	color: var(--on-surface-alt); opacity: 0.5; font-size: 0.75rem;
	display: inline-flex; align-items: center;
}

.about-page .sub-page-headline {
	font-size: 2rem; font-weight: 900; line-height: 1.15;
	letter-spacing: -0.05em; color: var(--on-surface); margin: 0 0 1.5rem;
	word-break: keep-all;
}
@media (min-width: 768px)  { .about-page .sub-page-headline { font-size: 3rem;   margin-bottom: 2rem; } }
@media (min-width: 1024px) { .about-page .sub-page-headline { font-size: 3.5rem; margin-bottom: 2rem; } }
@media (min-width: 1440px) { .about-page .sub-page-headline { font-size: 4rem; } }

/* ==========================================
   3. Hero Pin Section
========================================== */
.about-page .hero-pin-sec { background: var(--surface); }
.about-page .hero-content-wrap {
	/* 모바일은 핀 애니메이션이 안 돌기 때문에 너무 큰 100vh 대신 적절한 여백 지정 */
	height: calc(60vh + 6rem);
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; overflow: hidden;
}
@media (min-width: 768px) {
	.about-page .hero-content-wrap {
		/* PC는 GSAP 핀 애니메이션을 위해 100vh 꽉찬 높이 유지 */
		height: 100vh;
	}
}
.about-page .hero-wrapper {
	position: relative; width: 90%; height: 60vh;
	border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-float); background: var(--surface);
	transform-origin: center;
}
@media (min-width: 768px) { .about-page .hero-wrapper { height: 70vh; } }

.about-page .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.about-page .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

.about-page .hero-text-wrap {
	position: absolute; inset: 0; z-index: 15;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center; color: var(--on-primary); padding: 0 1.5rem;
	opacity: 1; transform: none;
}
.about-page .hero-text-wrap::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
	border-radius: inherit;
}
.about-page .hero-title-text { font-size: 2rem; font-weight: 900; line-height: 1.2; margin-bottom: 1.5rem; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.about-page .hero-desc-text { font-size: 1rem; font-weight: 500; max-width: 56rem; line-height: 1.6; text-shadow: 0 4px 6px rgba(0,0,0,0.5); opacity: 0.9; margin: 0; }
@media (min-width: 768px)  { 
    .about-page .hero-title-text { font-size: 3.5rem; } 
    .about-page .hero-desc-text { font-size: 1.125rem; }
}
@media (min-width: 1024px) { .about-page .hero-title-text { font-size: 4rem; } }

.about-page .hero-text-wrap,
.about-page #hero-text {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
	z-index: 15 !important;
	pointer-events: auto;
}
.about-page .hero-text-wrap > * { opacity: 1 !important; transform: none !important; }

/* ==========================================
   4. Sticky Tab Navigation
========================================== */
.about-page .sticky-tab-wrap {
	position: sticky;
	top: var(--sub-header-h, 44px);  /* 모바일 헤더 fallback */
	z-index: 90;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #E5E7EB;
	transition: top 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 1024px) {
	.about-page .sticky-tab-wrap { top: var(--sub-header-h, 80px); }  /* PC 헤더 fallback */
}
body.header-hidden .about-page .sticky-tab-wrap {
	top: 0 !important;
	/* box-shadow: 0 4px 20px rgba(0,0,0,0.05); 삭제 완료 */
}

.about-page .sub-tabs {
	display: flex; align-items: center; gap: 2rem; padding: 1.25rem 0;
	overflow-x: auto; white-space: nowrap;
}
.about-page .sub-tabs::-webkit-scrollbar { display: none; }
.about-page .sub-tabs button {
	font-size: 1.125rem; font-weight: 800; color: var(--on-surface-alt);
	transition: color 0.3s; position: relative; letter-spacing: -0.02em;
	border: none; background: none; cursor: pointer; font-family: inherit;
}
.about-page .sub-tabs button:hover { color: var(--on-surface); }
.about-page .sub-tabs button.active { color: var(--primary); }
.about-page .sub-tabs button.active::after {
	content: ''; position: absolute; bottom: -1.25rem; left: 0;
	width: 100%; height: 3px; background: var(--primary); border-radius: 2px;
}
@media (min-width: 768px) {
	.about-page .sub-tabs { gap: 3rem; justify-content: center; }
	.about-page .sub-tabs button { font-size: 1.25rem; }
}

/* 공통 Content Section */
.about-page .content-section {
    display: block; 
    padding: 6rem 0; 
    background: var(--surface); 
    position: relative; 
    z-index: 10; 
}
@media (min-width: 768px) { .about-page .content-section { padding: 8rem 0; } }

/* ==========================================
   5-1. 인재상 (DAE SUNG Typography Grid)
========================================== */
.about-page #sec-ideal { border-bottom: 1px solid #E5E7EB; }
.about-page .daesung-grid { 
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; 
}
@media(min-width: 640px) { .about-page .daesung-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .about-page .daesung-grid { grid-template-columns: repeat(4, 1fr); } }

.about-page .daesung-card {
    background: var(--surface); border: 1px solid #E5E7EB; border-radius: var(--radius-md);
    padding: 2.5rem 2rem; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-start;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.about-page .daesung-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-float); border-color: var(--primary);
}
.about-page .daesung-letter {
    position: absolute; right: 1rem; bottom: -1rem;
    font-size: 8rem; font-weight: 900; line-height: 1;
    color: rgba(0, 75, 141, 0.04); 
    transition: color 0.4s, transform 0.4s; z-index: 0; pointer-events: none;
}
.about-page .daesung-card:hover .daesung-letter {
    color: rgba(0, 75, 141, 0.08); transform: scale(1.05) rotate(-5deg);
}
.about-page .daesung-content { position: relative; z-index: 1; }
.about-page .daesung-word {
    display: inline-block; font-size: 1rem; font-weight: 900; color: var(--primary);
    background: #f0f4ff; padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.about-page .daesung-desc {
    font-size: 1.125rem; font-weight: 700; color: var(--on-surface); line-height: 1.5; word-break: keep-all;
}

/* ==========================================
   5-2. 채용안내 (Recruitment Info Board)
========================================== */
.about-page .process-sec { position: relative; padding: 8rem 0; overflow: hidden; background: var(--secondary); }
@media (min-width: 768px) { .about-page .process-sec { padding: 10rem 0; } }

.about-page .process-bg-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about-page .process-bg-img { width: 100%; height: 130%; object-fit: cover; opacity: 0.25; transform-origin: top; }
.about-page .process-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,75,141,0.9) 0%, rgba(30,41,59,0.8) 100%); z-index: 1; }

.about-page .process-content-wrap { position: relative; z-index: 10; }
.about-page .process-sec .sub-sec-title, .about-page .process-sec .desc-text { color: #fff; }
.about-page .process-sec .section-eyebrow { color: #60A5FA; }
.about-page .process-sec .section-eyebrow::before { background: #60A5FA; }

.about-page .recruit-info-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem;
}
@media(min-width: 768px) { .about-page .recruit-info-grid { grid-template-columns: repeat(2, 1fr); } }

.about-page .recruit-info-card {
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg); padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
    transition: transform 0.4s, background 0.4s;
}
.about-page .recruit-info-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.12); }
.about-page .info-icon { font-size: 2.5rem; color: #60A5FA; margin-bottom: 0.5rem; }
.about-page .info-title { font-size: 1.375rem; font-weight: 900; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1rem; }
.about-page .info-desc { font-size: 1.0625rem; color: rgba(255,255,255,0.9); line-height: 1.6; font-weight: 500; word-break: keep-all; }
.about-page .info-highlight { color: #60A5FA; font-weight: 800; }

/* ==========================================
   5-3. 복리후생 (Benefits Grouped) - ★ Flexbox 전면 교체 (버그 차단)
========================================== */
.about-page #sec-benefit { border-bottom: 1px solid #E5E7EB; }

/* 부모 레이아웃: Grid 대신 Flex Row 사용하여 자식 요소 팽창 원천 차단 */
.about-page .benefit-layout { 
    display: flex; 
    flex-direction: column; 
    gap: 4rem; 
    width: 100%; 
}
@media(min-width: 1024px) {
    .about-page .benefit-layout { 
        flex-direction: row; 
        gap: 5%; /* 갭 퍼센티지 처리로 안정성 확보 */
        align-items: flex-start; 
    }
}

/* 좌측 사이드바 & 이미지 영역 */
.about-page .benefit-sidebar { 
    display: flex; 
    flex-direction: column; 
    gap: 2.5rem; 
    width: 100%; 
}
@media(min-width: 1024px) { 
    .about-page .benefit-sidebar { 
        width: 32%; /* 명확한 비율 부여 (약 3.5 : 8.5) */
        flex-shrink: 0; /* 축소 방지 */
        position: sticky; top: 180px; 
    } 
}

.about-page .benefit-side-img-wrap { 
    width: 100%; 
    max-width: 100%;
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    aspect-ratio: 4/5; 
    box-shadow: var(--shadow-float); 
}
.about-page .benefit-side-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

/* 우측 카드 그리드 영역 */
.about-page .benefit-grid { 
    display: grid; 
    grid-template-columns: minmax(0, 1fr); 
    gap: 1.5rem; 
    width: 100%; 
    flex: 1; /* Flex 아이템으로서 남은 공간을 모두 차지 */
    min-width: 0; /* ★ 핵심: 내부 컨텐츠가 컨테이너를 강제로 확장하는 것을 막음 */
}
@media(min-width: 640px) { 
    .about-page .benefit-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        gap: 2rem; 
    } 
}

/* 개별 카드 디자인 (시안 3번과 완벽 일치) */
.about-page .benefit-item {
    display: flex; flex-direction: column; 
    padding: 2.5rem 2rem;
    background: var(--surface); 
    border-radius: var(--radius-md); 
    border: 1px solid #E5E7EB;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    height: 100%;
}
.about-page .benefit-item:hover { 
    background: #f0f4ff; 
    border-color: var(--primary); 
    transform: translateY(-4px); 
}
.about-page .benefit-icon { 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-bottom: 1.5rem; /* 아이콘과 텍스트 사이 여백 */
}
.about-page .benefit-title { 
    font-size: 1.25rem; 
    font-weight: 900; 
    color: var(--on-surface); 
    margin-bottom: 1.25rem; 
}
.about-page .benefit-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* ★ 기본 ul 불릿 제거 — 아래 ::before 의 점(•) 과 중복되는 현상 차단 */
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-page .benefit-list li { 
    position: relative; 
    padding-left: 0.85rem; 
    font-size: 1rem; 
    color: var(--on-surface-alt); 
    font-weight: 500; 
    line-height: 1.6; 
    word-break: keep-all; 
}
/* 순수 CSS 로 불릿(•) 기호 복원 */
.about-page .benefit-list li::before { 
    content: '•'; 
    position: absolute; 
    left: 0; 
    top: 0; 
    color: var(--primary); 
    font-size: 1.1rem; 
    line-height: inherit; 
}

/* ==========================================
   5-4. 채용공고 (Job Postings Board)
========================================== */
.about-page #sec-jobs { padding-bottom: 12rem; border-bottom: none; }
.about-page .job-board { margin-top: 3rem; border-top: 2px solid var(--on-surface); }

.about-page .job-header { display: none; }
@media(min-width: 768px) {
    .about-page .job-header {
        display: grid; grid-template-columns: 1fr 4fr 2fr 1.5fr; gap: 1rem;
        padding: 1.5rem 1rem; border-bottom: 1px solid #E5E7EB;
        font-weight: 800; color: var(--on-surface); text-align: center;
    }
}

.about-page .job-row {
    display: flex; flex-direction: column; gap: 0.75rem;
    padding: 1.5rem 1rem; border-bottom: 1px solid #E5E7EB;
    transition: background 0.3s, padding-left 0.3s; cursor: pointer;
    text-decoration: none; color: inherit; /* a 태그 변환 대비 */
}
.about-page .job-row:hover { background: var(--surface-alt); padding-left: 1.5rem; }
/* 채용공고 빈 상태 — hover 효과 비활성 */
.about-page .job-row.job-empty,
.about-page .job-row.job-empty:hover { background: transparent !important; padding: 0 !important; cursor: default; }

@media(min-width: 768px) {
    .about-page .job-row {
        display: grid; grid-template-columns: 1fr 4fr 2fr 1.5fr; gap: 1rem; align-items: center; text-align: center;
        padding: 1.5rem 1rem; flex-direction: row;
    }
    .about-page .job-row:hover { padding-left: 1rem; } 
}

.about-page .job-type { font-size: 0.9375rem; font-weight: 800; color: var(--primary); }
.about-page .job-title { font-size: 1.125rem; font-weight: 800; color: var(--on-surface); text-align: left; transition: color 0.3s; }
.about-page .job-row:hover .job-title { color: var(--primary); text-decoration: underline; text-underline-offset: 4px;}

.about-page .job-date { font-size: 0.9375rem; color: var(--on-surface-alt); font-weight: 500; }
.about-page .job-status { 
    display: inline-block; padding: 0.4rem 1rem; border-radius: var(--radius-pill);
    font-size: 0.875rem; font-weight: 800; text-align: center;
}

.about-page .status-ongoing { background: #f0f4ff; color: var(--primary); }
.about-page .status-closed { background: var(--surface-alt); color: var(--on-surface-alt); }

/* ==========================================
   6. GSAP 초기 상태
========================================== */
.about-page .gsap-fade-up,
.about-page .gsap-stagger-item {
	will-change: transform, opacity;
}

/* ==========================================
   7. 메인페이지 헤더와 동일 처리
========================================== */
.is-index .at-body { padding-top: 0 !important; }