/* AI·정보보호영재교육원 소개 콘텐츠 전용 스타일 (2026-10-25) — 테마(color-5.css)와 독립 */
:root{--gx-red:#94171c;--gx-navy:#2d5e6f;--gx-ink:#15151a;--gx-mute:#6b6b74;--gx-line:#e3e3e8;--gx-soft:#f6f6f8}
.gx{font-family:'Spoqa Han Sans Neo','Noto Sans KR',-apple-system,sans-serif;color:var(--gx-ink);line-height:1.6;word-break:keep-all}
.gx p{margin:0 0 8px}
.gx .gx-lead{font-size:17px;color:#333;max-width:860px;margin:0 auto 24px;text-align:center}
.gx .gx-note{font-size:13px;color:var(--gx-mute);margin-top:14px}
/* 통계 */
.gx-stats{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:10px 0 30px}
.gx-stat{flex:1 1 180px;max-width:240px;background:#fff;border:1px solid var(--gx-line);border-top:4px solid var(--gx-red);border-radius:12px;padding:18px 14px;text-align:center}
.gx-stat b{display:block;font-size:30px;font-weight:800;color:var(--gx-red);line-height:1.1}
.gx-stat span{display:block;font-size:14px;color:var(--gx-mute);margin-top:6px}
/* 단계 흐름 */
.gx-steps{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:16px 0 8px}
.gx-step{flex:1 1 150px;max-width:210px;position:relative;background:#fff;border:1px solid var(--gx-line);border-radius:14px;padding:16px 12px;text-align:center}
.gx-step i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--gx-red);color:#fff;font-style:normal;font-weight:800;font-size:14px;margin-bottom:8px}
.gx-step b{display:block;font-size:15px;margin-bottom:4px}
.gx-step small{display:block;font-size:12.5px;color:var(--gx-mute);line-height:1.5}
@media(min-width:768px){.gx-step+.gx-step:before{content:"›";position:absolute;left:-12px;top:50%;transform:translateY(-50%);color:#c9c9d2;font-size:26px}}
/* 카드 그리드 */
.gx-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:12px 0}
.gx-card{background:#fff;border:1px solid var(--gx-line);border-radius:14px;padding:18px 18px 14px}
.gx-card h4{margin:0 0 8px;font-size:16px;font-weight:800;color:var(--gx-ink)}
.gx-card h4 em{font-style:normal;color:var(--gx-red);margin-right:6px}
.gx-card ul{margin:0;padding-left:16px;font-size:14px;color:#333}
.gx-card li{margin:3px 0}
.gx-card.red{background:var(--gx-red);color:#fff;border-color:var(--gx-red)}
.gx-card.red h4,.gx-card.red ul{color:#fff}
.gx-card.navy{background:var(--gx-navy);color:#fff;border-color:var(--gx-navy)}
.gx-card.navy h4,.gx-card.navy ul{color:#fff}
/* 타임라인 */
.gx-timeline{list-style:none;margin:10px 0;padding:0;border-left:3px solid var(--gx-red)}
.gx-timeline li{position:relative;padding:4px 0 14px 22px;font-size:15px}
.gx-timeline li:before{content:"";position:absolute;left:-9px;top:10px;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid var(--gx-red)}
.gx-timeline b{color:var(--gx-red);margin-right:8px;font-weight:800}
/* 표 */
.gx-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.gx-table th,.gx-table td{border:1px solid var(--gx-line);padding:10px 12px;vertical-align:top;text-align:left}
.gx-table th{background:var(--gx-soft);font-weight:800;color:var(--gx-ink);white-space:nowrap}
.gx-table thead th{background:var(--gx-navy);color:#fff;text-align:center}
.gx-table td.c{text-align:center}
.gx-table ul{margin:0;padding-left:16px}
.gx-table li{margin:2px 0}
.gx-table .tier1 th{background:#e8f2e6}.gx-table .tier2 th{background:#fdf3dc}.gx-table .tier3 th{background:#ebe7f6}
.gx-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* 연간 골격 */
.gx-week{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.gx-week div{flex:1 1 120px;background:#fff;border:1px solid var(--gx-line);border-radius:10px;padding:10px;text-align:center;font-size:13px}
.gx-week div b{display:block;font-size:14px;color:var(--gx-red);margin-bottom:4px}
.gx-week div.hi{background:#fdf0f0;border-color:#efc9cb}
/* 배지·소제목 */
.gx-h{display:flex;align-items:center;gap:10px;margin:28px 0 12px;font-size:19px;font-weight:800;color:var(--gx-ink)}
.gx-h:before{content:"";width:6px;height:20px;border-radius:3px;background:var(--gx-red)}
.gx-badge{display:inline-block;background:var(--gx-navy);color:#fff;border-radius:999px;padding:3px 12px;font-size:12.5px;font-weight:700;margin:0 6px 6px 0}
.gx-quote{background:var(--gx-soft);border-left:4px solid var(--gx-navy);padding:14px 18px;border-radius:0 10px 10px 0;margin:14px 0}
.gx-btn{display:inline-block;background:var(--gx-red);color:#fff !important;border-radius:999px;padding:10px 20px;font-weight:700;text-decoration:none;margin:6px 6px 0 0}
.gx-btn.ghost{background:#fff;color:var(--gx-red) !important;border:2px solid var(--gx-red)}
/* 조직도 (CSS 전용) */
.gx-org{text-align:center}
.gx-org .node{display:inline-block;background:#fff;border:2px solid var(--gx-navy);border-radius:10px;padding:10px 18px;font-weight:800;min-width:160px}
.gx-org .node.top{background:var(--gx-red);border-color:var(--gx-red);color:#fff}
.gx-org .node.sub{font-weight:600;font-size:14px;background:var(--gx-soft);border-color:var(--gx-line)}
.gx-org .vline{width:3px;height:22px;background:var(--gx-navy);margin:0 auto}
.gx-org .side{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:6px 0}
.gx-org .depts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:6px}
.gx-org .dept{background:#fff;border:1px solid var(--gx-line);border-top:4px solid var(--gx-navy);border-radius:12px;padding:14px 12px;text-align:center}
.gx-org .dept b{display:block;font-size:16px;margin-bottom:6px}
.gx-org .dept p{font-size:13.5px;color:#333;margin:0 0 8px;line-height:1.55}
.gx-org .dept .node.sub{margin-top:4px;min-width:0;display:block}
@media(max-width:767px){.gx .gx-lead{font-size:15px}.gx-stat b{font-size:24px}.gx-table{font-size:13px}.gx-table th,.gx-table td{padding:8px}}
/* 헤더 로고: 테마가 너비만 지정하므로 높이는 비율 유지 (width/height 속성과의 찌그러짐 방지) */
header .header-main .logo .header-logo img{height:auto !important}

/* 균형 잡힌 카드 줄 (4칸 고정, 모바일 2칸/1칸) */
.gx-cards.gx-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:991px){.gx-cards.gx-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:575px){.gx-cards.gx-4{grid-template-columns:1fr}}
.gx-card.gx-wide{margin-top:14px;padding-bottom:18px}
.gx-cards.gx-inner{margin:6px 0 0;gap:12px}
.gx-cards.gx-inner>div{background:var(--gx-soft);border-radius:10px;padding:14px}
.gx-cards.gx-inner b{display:block;font-size:15px;margin-bottom:4px;color:var(--gx-navy)}
.gx-cards.gx-inner p{font-size:13.5px;color:#333;margin:0 0 6px}
.gx-cards.gx-inner small{display:block;font-size:12.5px;color:var(--gx-mute);line-height:1.5}

/* 경진대회 홍보 배너 */
.gx-promo{display:grid;grid-template-columns:1.6fr 1fr;gap:0;border-radius:18px;overflow:hidden;box-shadow:0 14px 40px rgba(21,21,26,.14)}
.gx-promo-main{background:linear-gradient(135deg,#94171c 0%,#5c0e12 100%);color:#fff;padding:34px 36px}
.gx-promo-kicker{display:inline-block;background:rgba(255,255,255,.18);border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:700;letter-spacing:.3px;margin-bottom:12px}
.gx-promo-main h3{margin:0 0 10px;font-size:34px;font-weight:900;color:#fff;letter-spacing:-.5px;line-height:1.2}
.gx-promo-sub{font-size:15px;opacity:.95;max-width:560px;margin-bottom:18px}
.gx-promo-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 14px}
.gx-promo-dates div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:14px 16px}
.gx-promo-dates div.hi{background:#fff;color:#94171c;border-color:#fff}
.gx-promo-dates b{display:block;font-size:30px;font-weight:900;line-height:1}
.gx-promo-dates b small{font-size:14px;font-weight:700}
.gx-promo-dates span{display:block;font-size:14px;font-weight:700;margin-top:6px}
.gx-promo-dates em{display:block;font-style:normal;font-size:12.5px;opacity:.9;margin-top:2px}
.gx-promo-foot{font-size:13px;opacity:.9;margin:0}
.gx-promo-side{background:#fff;padding:30px 28px;border-left:1px solid var(--gx-line)}
.gx-promo-side b{display:block;font-size:14px;color:var(--gx-red);margin:0 0 6px;font-weight:800}
.gx-promo-side ul{margin:0 0 16px;padding-left:16px;font-size:14px;color:#333}
.gx-promo-side li{margin:3px 0}
.gx-promo-side strong{color:var(--gx-navy)}
@media(max-width:991px){.gx-promo{grid-template-columns:1fr}.gx-promo-side{border-left:0;border-top:1px solid var(--gx-line)}.gx-promo-main h3{font-size:26px}}
@media(max-width:575px){.gx-promo-main{padding:24px 20px}.gx-promo-dates{grid-template-columns:1fr}.gx-promo-main h3{font-size:22px}}
/* 조직도 보강: 모바일에서 겹치지 않게 */
.gx-org .side .node{max-width:100%;white-space:normal}
.gx-org .depts .dept{min-width:0}
.gx-org .node{box-sizing:border-box;max-width:100%;white-space:normal;line-height:1.4}
@media(max-width:575px){.gx-org .depts{grid-template-columns:1fr}.gx-org .node{min-width:0;width:100%}}

/* 히어로 뉴스 슬라이드: 교육부·LG유플러스·티오리한국 업무협약 (2026-10-31) — 기존 슬라이드와 같은 밝은 톤 */
.slider-item .slider-4{background:linear-gradient(rgba(255,255,255,.72),rgba(255,255,255,.72)),url(../images/bg-404.jpg) center/cover no-repeat;height:100%;width:100%;display:table}
.slider-item .slider-4 .slider-caption{text-align:left;color:#242c42}
.gx-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:36px;align-items:center}
.gx-hero-text{background:rgba(255,255,255,.88);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(36,44,66,.08);border-radius:20px;padding:30px 34px;box-shadow:0 12px 40px rgba(36,44,66,.10)}
.gx-hero-kicker{display:inline-block;background:#94171c;color:#fff;border-radius:999px;padding:5px 14px;font-size:13.5px;font-weight:700;letter-spacing:.3px;margin-bottom:14px}
.slider-item .slider-4 .slider-caption .gx-hero h1.text-info-1{font-size:44px;line-height:1.2;color:#242c42;margin:0 0 12px;letter-spacing:-.5px;word-break:keep-all}
.slider-item .slider-4 .slider-caption .gx-hero h5.text-info-2{font-size:21px;font-weight:400;color:#2d5e6f;margin:0 0 8px}
.slider-item .slider-4 .slider-caption .gx-hero p.text-info-3{font-size:17px;font-weight:400;color:#444;margin:0 0 18px;max-width:620px;word-break:keep-all}
.gx-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.gx-hero-chips span{background:#fff;border:1px solid #d9dee6;border-radius:10px;padding:8px 14px;font-size:14px;font-weight:700;color:#2d5e6f;box-shadow:0 2px 8px rgba(36,44,66,.06)}
.gx-hero .gx-btn{font-size:15px;padding:12px 24px}
.gx-hero .gx-btn.ghost{background:#fff;color:#94171c !important;border-color:#94171c}
.gx-hero-fig{margin:0;text-align:center}
.gx-hero-fig img{width:100%;max-width:440px;height:auto;border-radius:18px;box-shadow:0 18px 50px rgba(36,44,66,.18);display:block;margin:0 auto}
.gx-hero-fig figcaption{font-size:12.5px;color:#6b6b74;margin-top:8px}
@media(max-width:991px){.gx-hero{grid-template-columns:1fr;gap:18px}.gx-hero-fig img{max-width:300px}.slider-item .slider-4 .slider-caption .gx-hero h1.text-info-1{font-size:32px}}
@media(max-width:575px){.gx-hero-text{padding:20px 18px}.gx-hero-fig{display:none}.slider-item .slider-4 .slider-caption .gx-hero h1.text-info-1{font-size:26px}.slider-item .slider-4 .slider-caption .gx-hero h5.text-info-2{font-size:16px}.slider-item .slider-4 .slider-caption .gx-hero p.text-info-3{font-size:14.5px}.gx-hero-kicker{font-size:12px}}
