/* =========================================
   미래에셋증권 AI페스티벌 LP 공통 CSS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');
@import url('https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css');

@font-face {
  font-family: 'Spoqa Han Sans Neo';
  font-weight: 700;
  src: local('Spoqa Han Sans Neo Bold'),
       url(https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Bold.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Bold.woff) format('woff'),
       url(https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Bold.ttf) format('truetype');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #F47920;
  --orange-dark: #D96510;
  --orange-light:#FFF3E8;
  --navy:        #1A3560;
  --text:        #333333;
  --gray:        #888888;
  --bg:          rgb(255, 249, 239);
  --border:      #E0D5CA;
  --white:       #FFFFFF;
}

body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: var(--bg); }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── 공통 이미지 ── */
.section-img {
  display: block;
  width: 100%;
  max-width: 1180px;
  height: auto;
  margin: 0 auto;
}

/* ── 헤더 로고 ── */
.site-header { background: var(--bg); overflow: hidden; }

/* ── 히어로 배너 ── */
.hero { background: var(--bg); overflow: hidden; }

/* ── 지원하기 / 접수확인하기 버튼 영역 ── */
.apply-btns {
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  margin-top : 25px;
  margin-bottom : 75px;
  width: 100%;
}
.apply-btns a {
  transition: opacity .15s;
  width: 30% ;
  display: flex;
}

.apply-btns a img{
  max-width: 250px;
  width: 100%;
}


.apply-btns a:nth-child(1) {
  flex-direction: row-reverse;
}

.apply-btns a:hover { opacity: 0.88; }

/* 이미지 버튼 공통 */
.btn-img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── 이미지 섹션 ── */
.img-section { background: var(--bg); overflow: hidden; }
.img-section--white { background: #ffffff; }
.img-section picture { display: block; }
.img-section img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

/* ── 주제 배정 안내 버튼 영역 ── */
.subject-btn-wrap {
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 0 20px;
}
.btn-subject-img {
  display: block;
  max-width: 376px;
  height: auto;
  cursor: pointer;
  transition: opacity .15s;
  width: 25%;
}
.btn-subject-img:hover { opacity: 0.88; }

/* ── 탭 네비게이션 ── */
.tab-nav {
  background: var(--orange);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
}
.tab-nav-inner {
  display: flex;
  width: calc(100% - 50px);
  max-width: 960px;
  align-items: stretch;
  min-height: 95px;
  padding-top: 5px;
}
.tab-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  font-size: 21px; font-weight: 700;
  font-family: 'Spoqa Han Sans Neo', 'Noto Sans KR', sans-serif;
  color: rgba(255,255,255,0.85);
  transition: color .15s;
  letter-spacing: 0;
  line-height: 1.5;
}
.tab-nav a:hover { color: var(--white); }
.tab-nav a.active {
  background: var(--bg);
  color: var(--orange);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.mo-br { display: inline; }

/* ── 섹션 공통 ── */
.section { padding: 40px 20px; max-width: 860px; margin: 0 auto; }
.section-title {
  font-size: 20px; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.section-title .ico { font-size: 22px; }

/* ── 정보 박스 ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th {
  background: var(--orange); color: var(--white);
  padding: 10px 16px; text-align: left; font-weight: 700;
  width: 110px; vertical-align: top;
}
.info-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
.info-table tr:last-child td { border-bottom: none; }

/* ── 일정 카드 ── */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; }
.schedule-card {
  background: var(--white); border: 2px solid var(--orange);
  border-radius: 12px; padding: 16px 12px; text-align: center;
}
.schedule-card .step { font-size: 11px; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.schedule-card .name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.schedule-card .date { font-size: 12px; color: var(--gray); }

/* ── 수상 카드 ── */
.award-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.award-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.award-card .trophy { font-size: 32px; margin-bottom: 8px; }
.award-card .rank   { font-size: 13px; color: var(--orange); font-weight: 700; }
.award-card .prize  { font-size: 20px; font-weight: 900; color: var(--navy); margin: 2px 0; }

/* ── 주제 카드 ── */
.subject-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.subject-card {
  border: 2px solid var(--orange); border-radius: 12px; padding: 16px;
  background: var(--white);
}
.subject-card .badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px;
  margin-bottom: 8px;
}
.subject-card .name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.subject-card .desc { font-size: 12px; color: var(--gray); }

/* ── 버튼 공통 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 13px 28px; border-radius: 30px; font-size: 15px; font-weight: 700;
  border: none; transition: all .15s;
}
.btn-primary   { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline   { background: var(--white); color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange-light); }
.btn-gray      { background: #CCCCCC; color: #888; cursor: not-allowed; }
.btn-dark      { background: var(--navy); color: var(--white); }

/* ── STEP 표시 ── */
.step-bar { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--gray);
}
.step-circle.active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.step-circle.done   { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.step-label { font-size: 12px; color: var(--gray); }
.step-label.active { color: var(--orange); font-weight: 700; }
.step-line  { width: 60px; height: 3px; background: var(--border); margin-bottom: 18px; }
.step-line.done { background: var(--orange); }

/* ── 폼 ── */
.form-wrap   { background: var(--white); border-radius: 16px; padding: 32px; max-width: 600px; margin: 0 auto; }
.form-group  { margin-bottom: 18px; }
.form-label  { font-size: 13px; font-weight: 700; margin-bottom: 6px; display: block; }
.form-label .req { color: var(--orange); }
.form-input  {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 16px; font-weight: 700; outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--orange); }
.form-input::placeholder { font-weight: 400; color: #c0c0c0; }
.form-input.placeholder-shown { color: var(--gray); }
.form-select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; background: var(--white);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  outline: none;
}
.form-select:focus { border-color: var(--orange); }
.form-hint { font-size: 12px; color: var(--gray); margin-top: 4px; }
.form-row   { display: flex; gap: 8px; }
.form-row .form-input { flex: 1; }
.form-section-title {
  font-size: 14px; font-weight: 700; color: var(--orange);
  border-bottom: 2px solid var(--orange); padding-bottom: 6px;
  margin: 20px 0 14px;
}

/* ── 동의서 ── */
.consent-box {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; background: var(--orange-light); margin-bottom: 20px;
}
.consent-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.consent-row    { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.consent-item   { font-size: 13px; }
.consent-item dt { font-weight: 700; margin-bottom: 2px; }
.consent-item dd { color: var(--gray); }
.consent-check  { display: flex; gap: 16px; margin-top: 14px; }
.consent-check label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.consent-check input[type=radio] { accent-color: var(--orange); width: 16px; height: 16px; }

/* ── 팝업/모달 ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 999; padding: 20px;
  cursor: pointer;
  overflow-y: auto;
}
.modal-backdrop.hidden { display: none; }

/* 슬라이드 팝업 */
.slide-popup-box {
  position: relative;
  width: 60vw;
  max-width: 1083px;
  cursor: default;
  border-radius: 16px;
  background: #F7F6F2;
  overflow: hidden;
}
@media (max-width: 840px) {
  .slide-popup-box { width: calc(100vw - 32px); }
}

/* 닫기 버튼 */
.popup-close {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 20;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.popup-close:hover { background: rgba(0,0,0,0.7); }

/* 이미지 뷰포트 */
.slide-viewport {
  padding: 16px 5% 0;
  height: 755px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1400px) { .slide-viewport { height: 735px; } }
@media (max-width: 1200px) { .slide-viewport { height: 630px; } }
@media (max-width: 1000px) { .slide-viewport { height: 530px; } }
@media (max-width: 840px)  { .slide-viewport { height: 580px; } }
@media (max-width: 600px)  { .slide-viewport { height: 480px; } }
.modal-slide        { display: none; }
.modal-slide.active {
  width: 100%;
  min-height: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-sizing: border-box;
}
/*.modal-slide picture {*/
/*  display: block;*/
/*  width: 90%;*/
/*}*/
.modal-slide img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* 좌/우 화살표 */
.popup-prev,
.popup-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.35);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.popup-prev { left: 10px; }
.popup-next { right: 10px; }
.popup-prev:hover,
.popup-next:hover { background: rgba(0,0,0,0.65); }

/* 하단 바: 도트 + 줌 */
.popup-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 16px;
  background: #F7F6F2;
}
.popup-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.popup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background .15s;
}
.popup-dot.active { background: var(--orange); }

/* 확대/축소 */
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 4px 12px;
}
.zoom-btn {
  background: none;
  border: none;
  color: #333;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  font-weight: 700;
}
.zoom-btn:hover { color: var(--orange); }
.zoom-level {
  color: #555;
  font-size: 12px;
  min-width: 36px;
  text-align: center;
}

/* 기존 모달 (alert 등) */
.modal-box {
  background: var(--white); border-radius: 16px;
  width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-header {
  background: var(--orange); color: var(--white);
  padding: 16px 24px; border-radius: 16px 16px 0 0;
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }
.modal-body  { padding: 24px; }

/* ── 역대수상 ── */
.winners-list { }
.winner-item {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; margin-bottom: 12px; background: var(--white);
}
.winner-year-badge {
  background: var(--orange); color: var(--white);
  border-radius: 8px; padding: 8px 12px;
  text-align: center; min-width: 80px;
  font-size: 12px; font-weight: 700;
}
.winner-year-badge .year { font-size: 16px; display: block; }
.winner-info h4  { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.winner-info p   { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── 공지/QnA ── */
.qna-board-list { border-top: 1px solid #879FB7; }
.qna-board-list .board-item {
  border-bottom: 1px solid #879FB7;
  transition: background .15s;
}
.notice-board-list .b-title:hover { background: var(--orange-light); }
.qna-board-list .b-title:hover    { background: rgba(135,159,183,.15); }
.board-item .b-title { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.board-item .b-meta  { font-size: 12px; color: var(--gray); }
.board-item .lock-ico { font-size: 13px; }

.search-bar {
  display: flex; gap: 8px; margin: 20px 0;
}
.search-bar select { width: 120px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; }
.search-bar input  { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; }
.search-bar button {
  background: var(--orange); color: var(--white);
  border: none; border-radius: 8px; padding: 10px 20px;
  font-weight: 700; font-size: 14px;
}

/* ── 알림 팝업 ── */
.alert-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.alert-modal.hidden { display: none; }
.alert-box {
  background: var(--white); border-radius: 12px;
  padding: 28px 32px; text-align: center; min-width: 280px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.alert-box p   { font-size: 15px; margin-bottom: 20px; line-height: 1.6; white-space: pre-line; }
.alert-box button { background: var(--orange); color: var(--white); border: none; border-radius: 30px; padding: 10px 32px; font-size: 14px; font-weight: 700; }

/* ── 페이지네이션 ── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.page-btn   { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.page-btn.active { background: #063970; color: var(--white); border-color: #063970; }

/* ── 완료/확인 페이지 ── */
.result-box {
  background: var(--white); border-radius: 16px;
  padding: 48px 32px; text-align: center; max-width: 600px; margin: 0 auto;
}
.result-box .ico  { font-size: 48px; margin-bottom: 16px; }
.result-box h2    { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.result-box p     { font-size: 14px; color: var(--gray); margin-bottom: 28px; }

/* ── 접수확인 결과 ── */
.check-result-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.check-result-table th {
  background: var(--orange-light); color: var(--orange);
  padding: 10px 16px; text-align: left; font-weight: 700; border-bottom: 1px solid var(--border);
}
.check-result-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); }

/* ══════════════════════════════════════
   공지사항 / Q&A 페이지
   ══════════════════════════════════════ */
.notice-page {
  max-width: 990px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* 섹션 타이틀 */
.notice-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
  font-family: 'Spoqa Han Sans Neo', 'Noto Sans KR', sans-serif;
}
.notice-icon-wrap { font-size: 32px; }

/* Q&A 말풍선 아이콘 */
.qna-icon-wrap {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 2px;
}
.qna-q {
  background: var(--navy); color: var(--white);
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
}
.qna-a {
  background: var(--orange); color: var(--white);
  width: 26px; height: 26px; border-radius: 50% 50% 0 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; margin-bottom: -4px;
}

/* 게시판 */
.notice-board-list { border-top: 1px solid #F7BA84; }
.notice-board-list .board-item {
  border-bottom: 1px solid #F7BA84;
}
.board-item .b-title {
  font-size: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  cursor: pointer;
  padding: 20px 8px;
  transition: background .15s;
}
.board-item .b-subject   { font-weight: 700; flex-shrink: 0; }
.board-item .b-title-sep { flex-shrink: 0; }
.board-item .secret-tag  { font-size: 22px; opacity: .7; flex-shrink: 0; }

/* 공지사항 제목 */
.notice-board-list .b-title {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Spoqa Han Sans Neo', 'Noto Sans KR', sans-serif;
  color: var(--orange);
  margin-bottom: 0;
}

/* Q&A 제목 */
.qna-board-list .b-title {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Spoqa Han Sans Neo', 'Noto Sans KR', sans-serif;
  color: #063970;
}

/* 첨부파일 목록 */
.attach-wrap {
  margin: 12px 0 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.attach-label {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 6px;
}
.attach-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.attach-item {
  display: inline-block;
  font-size: 13px;
  color: #1a56c4;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  cursor: pointer;
}
.attach-item:hover { color: #0d3a8e; }

/* content 하단 메타 */
.board-meta-bottom {
  text-align: end;
  font-size: 13px;
  color: var(--gray);
}
.board-empty {
  padding: 28px; text-align: center;
  color: var(--gray); font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.board-content {
  max-height: 0; overflow: hidden;
  padding: 0 8px;
  font-size: 14px; line-height: 1.8;
  color: var(--text);
  transition: max-height .15s ease, padding .15s ease;
}
.board-content .content-text { white-space: pre-wrap; }
.board-content.open { max-height: 3000px; padding: 8px 8px 12px; }

/* 답변완료 뱃지 */
.ans-badge {
  font-size: 11px; font-weight: 700;
  background: var(--orange); color: var(--white);
  padding: 2px 8px; border-radius: 20px;
  margin-left: auto; white-space: nowrap;
}

/* 답변 영역 */
.qna-answer {
  margin-top: 16px; padding: 14px 16px;
  background: var(--orange-light);
  border-radius: 8px;
  font-size: 14px; line-height: 1.8;
}
.qna-answer-label {
  font-weight: 700; color: var(--orange);
  margin-bottom: 8px;
}

/* 댓글 영역 */
.qna-comment-wrap {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.qna-comment-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.qna-comment-item  { padding: 8px 0; border-bottom: 1px solid var(--border); }
.qna-comment-item.qna-comment-admin { background: var(--orange-light); border-radius: 8px; padding: 8px 12px; border-bottom: none; margin: 4px 0; }
.qna-comment-admin-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px;
  margin-right: 8px;
}
.qna-comment-deleted { font-size: 13px; color: #aaa; }
.qna-comment-meta  { font-size: 12px; color: #999; margin-bottom: 4px; }
.qna-comment-content { font-size: 14px; line-height: 1.6; white-space: pre-line; word-break: break-all; }
.qna-comment-form  { display: flex; gap: 8px; margin-top: 12px; }
.qna-comment-form .form-input { width: 120px; }
.qna-comment-form .qna-comment-input { flex: 1; width: auto; }
.qna-comment-form .btn { white-space: nowrap; }

/* 비밀번호 입력 */
.qna-pw-wrap { display: flex; gap: 8px; align-items: center; }
.qna-pw-input { flex: 1; max-width: calc(100% - 50px); border-radius: 0; background-color: var(--bg) }
.qna-pw-input:focus { border-color: #1A3560; }
.qna-pw-btn  { padding: 13.5px 20px; font-size: 13px; border-radius: 0; background-color: #1A3560; }

/* 검색 + 글쓰기 바 */
.notice-search-bar {
  margin-top: 32px;
  padding-top: 16px;
}
.notice-search-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.notice-select {
  padding: 9px 36px 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  background: var(--white) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2211%22%20viewBox%3D%220%200%2016%2011%22%3E%3Cpath%20d%3D%22M1%201l7%208%207-8%22%20stroke%3D%22%23F47920%22%20stroke-width%3D%222.5%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") no-repeat right 14px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 90px;
  cursor: pointer;
  width: 20%;
  height: 60px;
  outline-color: var(--orange);
}
.notice-search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.notice-search-input {
  width: 100%;
  padding: 9px 48px 9px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  outline: none;
  height: 60px;
}
.notice-search-input:focus { border-color: var(--orange); }
.notice-search-icon-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.btn-write {
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  width: 14%;
  border-radius: 6px;

}
.btn-write:hover { opacity: 0.88; }

/* ── Q&A 글쓰기 폼 ── */
.qna-write-wrap {
  margin-top: 8px;
}
.qna-write-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(244, 121, 32, 0.3);
}
.qna-catg-select {
  padding: 7px 32px 7px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  max-width: 200px;
  width: 40%;
  background: var(--white) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%229%22%20viewBox%3D%220%200%2014%209%22%3E%3Cpath%20d%3D%22M1%201l6%206%206-6%22%20stroke%3D%22%23F47920%22%20stroke-width%3D%222%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") no-repeat right 10px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.qna-secret-btn {
  display: inline-flex; align-items: center;
  padding: 6px 18px; border-radius: 20px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  border: 2px solid var(--border); color: var(--gray);
  transition: border-color .15s, color .15s, background .15s;
  user-select: none;
}
.qna-secret-btn input { display: none; }
.qna-secret-btn.active { border-color: var(--navy); color: var(--navy); background: rgba(26,53,96,.07); }
.qna-radio-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.qna-write-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  gap: 20px;
}
.qna-write-row--top { align-items: flex-start; }
.qna-write-row--col { flex-direction: column; align-items: stretch; gap: 10px; }
.qna-write-label {
  font-size: 16px; font-weight: 700;
  min-width: 70px; flex-shrink: 0; color: var(--text);
}
.qna-write-field { flex: 1; min-width: 0; }
.qna-phone-wrap {
  display: flex; align-items: center; gap: 6px;
}
.qna-phone-wrap .form-input { width: 90px; flex-shrink: 0; }
.qna-phone-dash { color: var(--gray); font-weight: 700; }
.qna-textarea {
  width: 100%; height: 180px;
  resize: vertical; padding: 12px 14px;
  font-size: 16px; font-weight: 700; line-height: 1.7;
}
.qna-write-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.qna-write-btn-img {
  max-width: 300px;
  width: 45%;
  cursor: pointer;
  transition: opacity .18s, transform .18s;
}
.qna-write-btn-img:hover {
  opacity: 0.85;
}
.btn-write-cancel {
  display: inline-flex; align-items: center; justify-content: center;
  width: 200px; padding: 16px;
  background: #cccccc; color: var(--white);
  border-radius: 50px; font-size: 16px; font-weight: 700;
}
.btn-write-submit {
  width: 200px; padding: 16px;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 50px;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.btn-write-cancel:hover { opacity: 0.88; }
.btn-write-submit:hover { opacity: 0.88; }

/* ══════════════════════════════════════
   지원하기 페이지
   ══════════════════════════════════════ */
.apply-page { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }
.apply-state-center { text-align: center; }

/* BEFORE */
.apply-coming-title { font-size: 44px; font-weight: 900; color: var(--navy); margin-bottom: 28px; }
.apply-period-wrap  { display: flex; align-items: center; justify-content: center; gap: 16px; }
.apply-period-badge { display: inline-block; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 700; padding: 8px 20px; border-radius: 30px; }
.apply-period-text  { font-size: 22px; color: var(--navy); font-weight: 500; }

/* AFTER */
.apply-closed-title { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 40px; }

/* 큰 버튼 */
.apply-lg-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 44px; border-radius: 30px; font-size: 17px; font-weight: 700; border: none; cursor: pointer; transition: all .15s; text-decoration: none; line-height: 1.4; text-align: center; }
.apply-lg-btn--orange { background: var(--orange); color: var(--white); }
.apply-lg-btn--orange:hover { background: var(--orange-dark); }
.apply-lg-btn--gray   { background: #CCCCCC; color: #888; cursor: not-allowed; }
.apply-lg-btn--navy   { background: var(--navy); color: var(--white); }
.apply-lg-btn--navy:hover { background: #12274A; }
.apply-action-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; padding-bottom: 20px; }
.apply-action-row a img, .apply-action-row button img { transition: opacity .15s; }
.apply-action-row a:hover img { opacity: 0.8; }
.apply-action-row button:not([disabled]):hover img { opacity: 0.8; }
.apply-img-link img { transition: opacity .15s; }
.apply-img-link:hover img { opacity: 0.8; }

/* STEP 바 이미지 */
.apply-step-img   { display: block; width: 100%; max-width: 100%; margin: 0 0 28px; }

/* STEP 바 (구현용 - 미사용) */
.apply-step-bar   { display: flex; align-items: center; justify-content: center; margin: 36px 0 28px; }
.apply-step-item  { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.apply-step-circle { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--orange); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--orange); line-height: 1.2; }
.apply-step-circle .s-lbl { font-size: 11px; font-weight: 700; }
.apply-step-circle .s-num { font-size: 24px; font-weight: 900; }
.apply-step-circle.active  { background: var(--orange); color: var(--white); }
.apply-step-label  { font-size: 14px; color: var(--orange); }
.apply-step-label.active { font-weight: 900; }
.apply-step-line   { width: 80px; height: 2px; background: var(--orange); margin-bottom: 28px; flex-shrink: 0; position: relative; }
.apply-step-line::after { content: ''; position: absolute; right: -5px; top: -4px; border: solid var(--orange); border-width: 0 2px 2px 0; padding: 4px; transform: rotate(-45deg); display: inline-block; }

/* 인트로 텍스트 */
.apply-intro-text { text-align: center; font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 28px; }

/* 동의 박스 */
.apply-consent-box     { background: #F7F6F2; border-radius: 12px; padding: 28px; margin-bottom: 25px; }
.apply-consent-heading { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 20px; padding-bottom: 16px; }
.apply-consent-sub     { font-size: 15px; font-weight: 600; margin: 14px 0 6px; }
.apply-consent-dl dt   { font-size: 13px; font-weight: 500; margin-top: 8px; }
.apply-consent-dl dd   { font-size: 13px; color: var(--text); margin-left: 12px; line-height: 1.7; }
.apply-notice-list     { list-style: none; padding: 0; margin: 0; }
.apply-notice-list li  { font-size: 13px; line-height: 1.7; padding-left: 14px; position: relative; margin-bottom: 2px; }
.apply-notice-list li::before { content: '·'; position: absolute; left: 2px; }
.apply-non-style li  { font-size: 13px; line-height: 1.7; padding-left: 0; position: relative; margin-bottom: 2px; }
.apply-non-style li::before { display: none; }
.apply-consent-check-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); }
.apply-consent-q       { font-size: 14px; font-weight: 500; }
.apply-consent-radios  { display: flex; gap: 20px; }
.apply-consent-radios label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.apply-consent-radios input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid #bbb; border-radius: 3px;
  background: #F7F6F2;
  cursor: pointer; transition: background .12s, border-color .12s;
  position: relative;
}
.apply-consent-radios input[type="radio"]:checked {
  background: var(--orange); border-color: var(--orange);
}
.apply-consent-radios input[type="radio"]:checked::after {
  content: ''; position: absolute;
  left: 4px; top: 1px; width: 6px; height: 10px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.apply-consent-note    { font-size: 12px; line-height: 1.7; margin-top: 12px; }
.apply-comming-soon {margin-top: 20vh; width: 65%; margin-bottom: 10vh}

/* ── 역대수상내역 ── */
.winners-page { max-width: 960px; margin: 0 auto; padding: 40px 20px 60px; }
.winners--title { display: block; margin: 3vh auto 7vh; max-width: 100%; }
.swiper__wrapper { display: flex; gap: 0; margin-bottom: 40px; overflow: hidden; justify-content: space-between;}
.swiper__wrapper swiper-container {
   max-width: 50%; background: var(--bg);
  --swiper-navigation-color: #888;
  --swiper-navigation-size: 26px;
}
/* swiper-slide 하단 여백 → 이미지 아래 흰 strip에 페이지네이션 표시 */
.winners-page swiper-slide { padding-bottom: 34px; }
.banner-img { width: 100%; height: auto; object-fit: cover; display: block; }
.desc-img { flex: 1; background: var(--bg); display: flex; align-items: center; max-width: 48%;}
.desc-img img { width: 100%; height: auto; object-fit: contain; display: block; }

/* Swiper Web Component 공통 커스텀 */
swiper-container {
  --swiper-pagination-color: var(--orange);
  --swiper-pagination-bullet-inactive-color: #bbb;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-navigation-color: var(--orange);
  --swiper-navigation-size: 28px;
}

/* 정보입력 폼 */
.apply-form-intro { text-align: center; font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.apply-caution-box { background: #F5F5F5; border-radius: 8px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; }
.apply-caution-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.apply-caution-list { list-style: none; padding: 0; margin: 0; }
.apply-caution-list li { font-size: 13px; line-height: 1.8; padding-left: 14px; position: relative; }
.apply-caution-list li::before { content: '•'; color: var(--orange); position: absolute; left: 0; }
.apply-form-section { font-size: 16px; font-weight: 700; color: var(--orange); border-bottom: 1px solid var(--orange); padding-bottom: 8px; margin: 28px 0 16px; }
.apply-form-row   { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.apply-form-label { font-size: 14px; font-weight: 700; min-width: 100px; flex-shrink: 0; padding-top: 10px; }
.apply-form-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.apply-form-select { padding: 10px 36px 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: var(--white); -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F47920' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; max-width: 220px; cursor: pointer; outline: none; }
.apply-form-select:focus { border-color: var(--orange); }
.apply-form-note  { font-size: 12px; color: var(--orange); }
.apply-form-hint  { font-size: 12px; color: var(--orange); }
.apply-phone-wrap { display: flex; align-items: center; gap: 6px; }
.apply-phone-input { width: 88px; padding: 10px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; text-align: center; outline: none; }
.apply-phone-input:focus { border-color: var(--orange); }
.apply-phone-dash { color: var(--gray); }
.apply-text-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; }
.apply-text-input:focus { border-color: var(--orange); }
.apply-pw-input   { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; }
.mo-pw-hint { display: none; }
.apply-pw-input:focus { border-color: var(--orange); }

/* 완료 페이지 */
.apply-done-wrap  { text-align: center; padding: 60px 20px 40px; }
.apply-done-title { font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 16px; }
.apply-done-desc  { font-size: 16px; color: var(--text); margin-bottom: 40px; }

/* 접수 확인 타이틀 */
.apply-check-title {margin-top:45px; font-size: 22px; font-weight: 900; color: var(--orange); display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.apply-check-title img {
  margin: 3vh 0;
}
/* ════════════════════════════════════════
   PC  (841px 이상)
   ════════════════════════════════════════ */
@media (min-width: 841px) {
  .tab-nav a         { font-size: 21px; padding: 14px 24px; }

  .section           { max-width: 960px; padding: 48px 40px; }

  .schedule-grid     { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .award-grid        { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .subject-grid      { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .form-wrap         { padding: 40px 48px; }
  .step-bar          { gap: 4px; }
  .step-line         { width: 80px; }

  .winner-item       { padding: 20px 24px; }
  .winner-year-badge { min-width: 100px; padding: 12px 16px; }

  .modal-box         { max-width: 720px; }
  .alert-box         { min-width: 320px; padding: 32px 48px; }
}

/* ════════════════════════════════════════
   MO  (840px 이하)
   ════════════════════════════════════════ */
@media (max-width: 840px) {
  .apply-check-title img {
    margin: 0 0 3vh;
  }

  .apply-btns        { gap: 5%; padding: 0 16px; margin-top: 20px; margin-bottom: 50px;}
  .apply-btns a     {width: 40%; }

  .subject-btn-wrap  { padding: 0 16px; }
  .btn-subject-img   { max-width: 290px; width: 40% }

  .tab-nav-inner     { min-height: 72px; }
  .tab-nav a         { font-size: 15px; padding: 0 4px; }
  .tab-nav a.active  { border-radius: 12px 12px 0 0; }
  .mo-br             { display: inline; }

  .section           { padding: 24px 16px; }
  .section-title     { font-size: 17px; }

  .schedule-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .award-grid        { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .award-card .prize { font-size: 16px; }
  .subject-grid      { grid-template-columns: 1fr; gap: 10px; }

  .info-table th     { width: 80px; font-size: 13px; padding: 10px 10px; }
  .info-table td     { font-size: 13px; padding: 10px 10px; }

  .form-wrap         { padding: 20px 16px; border-radius: 12px; }
  .step-bar          { gap: 0; }
  .step-circle       { width: 38px; height: 38px; font-size: 10px; }
  .step-line         { width: 32px; }
  .step-label        { font-size: 11px; }

  .btn               { padding: 12px 20px; font-size: 14px; }

  .winner-item       { flex-direction: column; gap: 10px; }
  .winner-year-badge { display: flex; align-items: center; gap: 8px; min-width: unset; padding: 8px 12px; border-radius: 8px; }
  .winner-year-badge .year { font-size: 14px; display: inline; }

  .search-bar        { flex-wrap: wrap; }
  .search-bar select { width: 100%; }
  .search-bar input  { width: 100%; }
  .search-bar button { width: 100%; }

  .modal-box         { margin: 12px; border-radius: 12px; }
  .modal-body        { padding: 16px; }
  .modal-nav         { padding: 10px 16px; }

  .result-box        { padding: 32px 16px; }
  .result-box h2     { font-size: 18px; }

  .form-row          { flex-wrap: wrap; }

  .b-title { font-size: 13px !important; }
  .secret-tag { font-size: 13px !important; }
  .board-content { font-size: 12px !important;  }
  .qna-answer { font-size: 12px !important; }
  .qna-phone-wrap input{
    width: 28% !important;
    max-width: 90px;
  }
  .form-input, .qna-textarea { font-size:  12px; }
  .board-item .b-title { padding : 12px 8px; }


  .btn-write, .notice-select, .notice-search-input {
    font-size: 13px !important;
    height: 50px !important;
  }

  /* 지원하기 모바일 */
  .apply-page { padding: 36px 16px 60px; }
  .apply-coming-title { font-size: 30px; }
  .apply-period-wrap { flex-direction: column; gap: 10px; }
  .apply-closed-title { font-size: 20px; }
  .apply-step-circle { width: 68px; height: 68px; }
  .apply-step-circle .s-num { font-size: 18px; }
  .apply-step-line { width: 40px; }
  .apply-step-label { font-size: 12px; }
  .apply-lg-btn { padding: 13px 28px; font-size: 15px; }
  .apply-form-row { flex-direction: column; gap: 6px; }
  .apply-form-label { min-width: unset; padding-top: 0; }
  .apply-phone-input { width: 72px; }
  .apply-consent-check-row { flex-direction: column; align-items: flex-start; }


  .check-result-table { width: 100%; border-collapse: collapse; font-size: 10px; }

  /* winners mobile */
  .swiper__wrapper { flex-direction: column; }
  .swiper__wrapper swiper-container { flex: none; max-width: 100%; width: 100%; }
  .winners-page swiper-slide { padding-bottom: 28px; }
  .banner-img { width: 100%; height: auto; max-height: none; object-fit: contain; display: block; }
  .desc-img { max-width: 100%; justify-content: center; }
  .desc-img img { width: 100%; height: auto; }
  .wlabel { min-width: 50px; }
  .winners--title {width: 50%; }

  .apply-comming-soon {margin-top: 10vh; width: 65%; margin-bottom: 0vh}

  .mo-pw-hint {
    display: block;
    position: absolute;
    top: 7px;
    left: 13px;
    font-size: 11px;
    color: #aaa;
    pointer-events: none;
    line-height: 1.4;
    width: calc(100% - 26px);
  }
  #checkPassword::placeholder { color: transparent; }
  #password::placeholder      { color: transparent; }
  #qPassword::placeholder     { color: transparent; }

  #pwRow { flex-direction: column; align-items: stretch; gap: 6px; }
  #pwRow .qna-write-field { width: 100%; }
  #qPassword { padding-left: 8px; padding-right: 8px; }

}
@media (max-width: 500px) {
  .tab-nav-inner         { width: calc(100% - 20px); }
  .tab-nav a         { font-size: 12px; padding: 0 4px; }
}
