/* Bot R8 — 회사·지원 페이지 (templates/page-tk.php). 값은 원본 theme.css(heading #333, text #666, bg #f5f5f5, border #ebebeb) 기준 */
.tkpg{--pg-h:#333;--pg-t:#666;--pg-bg:#f5f5f5;--pg-line:#ebebeb;--pg-r:16px;color:var(--pg-t);font-size:16px}
.tkpg-in{max-width:1200px;margin:0 auto;padding:0 20px}

/* hero: 원본 배너(데스크톱 1920 / 모바일 750) 위에 제목 */
.tkpg-hero{position:relative;background:var(--pg-bg);overflow:hidden}
.tkpg-hero__in{position:relative;padding:56px 20px 40px}
.tkpg-hero.has-img{min-height:clamp(320px,36vw,560px);display:flex;align-items:center;color:#fff}
.tkpg-hero__bg,.tkpg-hero__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tkpg-hero.has-img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.1) 70%)}
.tkpg-hero.has-img .tkpg-hero__in{z-index:1;width:100%}
.tkpg-hero h1{margin:0;font-size:clamp(28px,4.4vw,56px);line-height:1.2;letter-spacing:-1px;font-weight:700;color:var(--pg-h);max-width:820px}
.tkpg-hero.has-img h1{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.tkpg-kicker{display:inline-block;font-size:14px;font-weight:600;letter-spacing:.5px;margin-bottom:12px;opacity:.9}
@media(max-width:749px){.tkpg-hero.has-img{min-height:420px;align-items:flex-end}.tkpg-hero.has-img::after{background:linear-gradient(0deg,rgba(0,0,0,.65),rgba(0,0,0,0) 70%)}}

/* 답변 우선 첫 문단 */
.tkpg-body>p:first-child{max-width:1200px;margin:0 auto;padding:28px 20px;font-size:17px;line-height:1.75;color:var(--pg-h);border-bottom:1px solid var(--pg-line)}
.tkpg-body>p:first-child strong{color:#111}

/* sections */
.tkpg-sec{padding:72px 0}
.tkpg-sec--gray{background:var(--pg-bg)}
.tkpg-sec--dark{background:#111;color:#bbb}
.tkpg-sec--dark h2,.tkpg-sec--dark h3{color:#fff}
.tkpg-eyebrow{display:block;font-size:14px;font-weight:600;color:var(--brand,#3456e6);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}
.tkpg h2{font-size:clamp(24px,3vw,40px);line-height:1.3;letter-spacing:-.6px;color:var(--pg-h);margin:0 0 16px;font-weight:700}
.tkpg h3{font-size:clamp(18px,1.6vw,22px);color:var(--pg-h);margin:0 0 8px;line-height:1.4}
.tkpg-center{text-align:center}
.tkpg-center>p{max-width:820px;margin-left:auto;margin-right:auto}
.tkpg p{line-height:1.75}
.tkpg-body a:not(.btn){color:var(--brand,#3456e6);text-decoration:underline;text-underline-offset:3px}
.tkpg-sec ul{padding-left:20px;line-height:1.8}

/* split: 이미지 + 글 */
.tkpg-split{display:grid;gap:40px;align-items:center}
.tkpg-split>*{min-width:0} /* 표가 그리드 칸을 넓혀 모바일 가로 넘침 방지 */
.tkpg-split img{border-radius:var(--pg-r);width:100%;display:block}
@media(min-width:900px){.tkpg-split{grid-template-columns:1fr 1fr}.tkpg-split--rev>:first-child{order:2}}

/* grid + card */
.tkpg-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(var(--min,260px),1fr));margin-top:32px}
.tkpg-card{background:#fff;border:1px solid var(--pg-line);border-radius:var(--pg-r);padding:24px;transition:transform .3s,box-shadow .3s;overflow:hidden}
.tkpg-sec--gray .tkpg-card{border-color:transparent}
.tkpg-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.tkpg-card>img{display:block;width:100%;height:auto;border-radius:12px;margin-bottom:16px;background:var(--pg-bg)}
.tkpg-card--media{padding:0}
.tkpg-card--media>img{border-radius:0;margin:0;aspect-ratio:4/3;object-fit:cover;transition:transform .5s}
.tkpg-card--media:hover>img{transform:scale(1.04)}
.tkpg-card--media>div{padding:20px 24px 24px}
.tkpg-card p{margin:0;font-size:15px}
.tkpg-card ul{margin:8px 0 0;font-size:15px}
.tkpg-icon{width:64px;height:64px;margin-bottom:12px}
.tkpg-card .tkpg-icon{border-radius:0;background:none;width:64px}

/* 이미지 모자이크 (about) */
.tkpg-mosaic{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:32px}
.tkpg-mosaic img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block;transition:transform .5s}
.tkpg-mosaic img:hover{transform:scale(1.03)}
@media(min-width:900px){.tkpg-mosaic{grid-template-columns:repeat(5,1fr)}}

/* 연혁: 원본처럼 왼쪽 고정 이미지 + 오른쪽 세로 타임라인 (모바일은 이미지 숨김) */
.tkpg-history{display:grid;gap:48px;margin-top:40px;align-items:start}
.tkpg-history__side{display:none;width:100%;border-radius:var(--pg-r);position:sticky;top:120px}
@media(min-width:900px){.tkpg-history{grid-template-columns:5fr 6fr}.tkpg-history__side{display:block}}
.tkpg-timeline{list-style:none;margin:0;padding:0 0 0 28px;position:relative}
.tkpg-timeline::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#d9d9d9}
.tkpg-timeline li{position:relative;padding:0 0 48px}
.tkpg-timeline li::before{content:"";position:absolute;left:-29px;top:6px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--pg-h)}
.tkpg-timeline b{display:inline-block;font-size:12px;font-weight:700;color:#fff;background:var(--pg-h);border-radius:4px;padding:3px 8px;margin-bottom:10px}
.tkpg-timeline h3{margin:0 0 6px;font-size:clamp(18px,1.6vw,22px)}
.tkpg-timeline p{margin:0;font-size:14px}
.tkpg-timeline img{display:block;width:min(240px,60%);height:auto;aspect-ratio:1;object-fit:contain;margin-top:16px;border-radius:10px;transition:transform .4s}
.tkpg-timeline li:hover img{transform:scale(1.04)}

/* 언어 칩 */
.tkpg-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0!important;margin:24px 0 0}
.tkpg-chips li{background:#fff;border:1px solid var(--pg-line);border-radius:999px;padding:6px 14px;font-size:14px;color:var(--pg-h)}
.tkpg-chips li.is-ko{background:var(--brand,#3456e6);border-color:var(--brand,#3456e6);color:#fff;font-weight:700}

/* 표 */
.tkpg-table{overflow-x:auto;margin-top:24px;-webkit-overflow-scrolling:touch}
.tkpg-table table{width:100%;border-collapse:collapse;background:#fff;font-size:15px;min-width:560px}
.tkpg-table th,.tkpg-table td{border-bottom:1px solid var(--pg-line);padding:12px 14px;text-align:left;vertical-align:top}
.tkpg-table th{background:#fafafa;color:var(--pg-h);font-weight:700;white-space:nowrap}
.tkpg-table tr:hover td{background:#fafbff}

/* 버튼 줄 */
.tkpg-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.tkpg-cta .btn.line{background:transparent;color:var(--pg-h);border:1.5px solid var(--pg-h)}
.tkpg-cta .btn.line:hover{background:var(--pg-h);color:#fff}

/* 영상 */
.tkpg-video{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000;margin-bottom:12px}
.tkpg-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* 튜토리얼 모델 아코디언 */
.tkpg-model{background:#fff;border-radius:var(--pg-r);margin-top:16px;overflow:hidden}
.tkpg-model>summary{display:flex;align-items:center;gap:16px;padding:16px 20px;cursor:pointer;list-style:none;font-weight:700;color:var(--pg-h);font-size:18px}
.tkpg-model>summary::-webkit-details-marker{display:none}
.tkpg-model>summary::after{content:"+";margin-left:auto;font-size:24px;font-weight:400;transition:transform .2s}
.tkpg-model[open]>summary::after{transform:rotate(45deg)}
.tkpg-model>summary img{width:64px;height:64px;object-fit:cover;border-radius:10px}
.tkpg-model>div{padding:0 20px 24px}

/* FAQ (tk-seo가 h3+p를 FAQPage로 변환) */
.tkpg .tk-faq{max-width:900px;margin:0 auto;padding:72px 20px}
.tkpg .tk-faq h3{border-top:1px solid var(--pg-line);padding-top:20px;margin-top:20px}
.tkpg .tk-faq p{margin:0 0 4px}
.tkpg-updated{max-width:1200px;margin:0 auto;padding:0 20px 48px;font-size:13px;color:#999}
@media(max-width:749px){.tkpg-sec,.tkpg .tk-faq{padding:48px 20px}.tkpg-sec{padding-left:0;padding-right:0}}
