/* =========================================================
   education-notice.css — 교육안내 페이지 전용 스타일
   (공통 디자인 토큰·컴포넌트는 common.css 재사용)
   ========================================================= */

/* 히어로 : 외부 이미지 파일 사용, 이미지 미로드 시에도 네이비 배경 유지 */
.page-hero{
  position:relative;overflow:hidden;color:#fff;
  background-color:var(--navy-deep);
  background-image:
    linear-gradient(100deg,rgba(16,33,52,.88) 0%,rgba(18,38,58,.68) 45%,rgba(16,33,52,.40) 100%),
    url("../images/education-notice-hero.webp");
  background-size:cover;background-position:center 45%;
}
.page-hero::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:44px 44px;opacity:.3;pointer-events:none;
}
.page-hero .wrap{position:relative;z-index:2;padding:56px 24px 60px;}
.page-hero .eyebrow{display:inline-block;font-size:14px;letter-spacing:.14em;color:#bcd6ec;font-weight:600;margin-bottom:14px;border-left:3px solid var(--gold);padding-left:12px;}
.page-hero h1{text-shadow:0 2px 14px rgba(0,0,0,.45);font-size:44px;line-height:1.25;font-weight:800;letter-spacing:-.02em;margin-bottom:14px;}
.page-hero .lead{text-shadow:0 1px 10px rgba(0,0,0,.4);font-size:17px;line-height:1.65;color:#dce8f3;font-weight:400;max-width:640px;}

#noticesec{padding-top:70px;}

/* 안내 리스트 영역 */
.notice-box{max-width:860px;margin:0 auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;}
.notice-box .notice-head{background:var(--bg-soft);padding:16px 24px;font-size:13px;font-weight:700;color:var(--navy);letter-spacing:.02em;border-bottom:1px solid var(--line);}
.notice-list{list-style:none;margin:0;padding:0;}
.notice-list li{padding:16px 24px;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--ink);display:flex;justify-content:space-between;gap:16px;}
.notice-list li:last-child{border-bottom:none;}
.notice-list .n-date{color:var(--gray);font-size:13px;white-space:nowrap;}

/* 준비중 상태 */
.notice-empty{padding:70px 24px;text-align:center;}
.notice-empty svg{width:44px;height:44px;stroke:var(--line);fill:none;stroke-width:1.4;margin:0 auto 18px;display:block;}
.notice-empty h3{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:8px;}
.notice-empty p{font-size:14px;color:var(--gray);line-height:1.7;}

/* Q&A 아코디언 */
.faq-list{max-width:820px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item:first-child{border-top:1px solid var(--line);}
.faq-toggle{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:none;border:none;cursor:pointer;padding:20px 4px;text-align:left;
  font-size:15.5px;font-weight:700;color:var(--navy);
}
.faq-toggle .chevron{transition:transform .2s;flex-shrink:0;stroke:var(--blue);}
.faq-toggle[aria-expanded="true"] .chevron{transform:rotate(180deg);}
.faq-panel{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.faq-panel.open{max-height:260px;}
.faq-panel-inner{padding:0 4px 22px;font-size:14.5px;color:var(--gray);line-height:1.75;}

/* 상태 배지 (섹션 제목 위) */
.schedule-status-badge{
  display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.02em;
  color:var(--navy);background:#f6efe0;border:1px solid var(--gold);border-radius:20px;
  padding:6px 16px;margin-bottom:14px;
}

/* 일정 카드 목록 */
.schedule-list{max-width:900px;margin:0 auto;}
.schedule-card{
  display:flex;gap:36px;align-items:flex-start;
  padding:36px 0;border-bottom:1px solid var(--line);
}
.schedule-card:first-child{padding-top:0;}
.schedule-card:last-child{border-bottom:none;}

.schedule-img-placeholder{
  flex:0 0 35%;aspect-ratio:4/3;border:1.5px dashed var(--line);border-radius:10px;
  background:var(--bg-soft);display:flex;align-items:center;justify-content:center;
  text-align:center;padding:12px;
}
.schedule-img-placeholder span{font-size:13px;color:var(--gray);font-weight:600;}

.schedule-img{flex:0 0 35%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;}
.schedule-img img{width:100%;height:100%;object-fit:cover;display:block;}

.schedule-info{flex:1;min-width:0;}
.schedule-badge{
  display:inline-block;font-size:12px;font-weight:700;color:#3f8a5c;background:#eaf6ee;
  border-radius:20px;padding:4px 12px;margin-bottom:10px;
}
.schedule-info h3{font-size:20px;font-weight:700;color:var(--navy);margin-bottom:4px;overflow-wrap:break-word;}
.schedule-info h3 a{color:inherit;transition:color .2s;}
.schedule-info h3 a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px;}
.schedule-desc{font-size:14px;color:var(--gray);margin-bottom:16px;}

.schedule-body{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.schedule-body .schedule-dl{flex:1;min-width:220px;margin-bottom:0;}
.schedule-body .schedule-btn{flex:0 0 auto;}

.schedule-dl{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;}
.schedule-dl > div{display:flex;gap:10px;align-items:baseline;}
.schedule-dl dt{flex:0 0 64px;font-size:13.5px;font-weight:700;color:var(--navy);}
.schedule-dl dd{font-size:14px;color:var(--ink);line-height:1.6;white-space:nowrap;}

.schedule-btn{padding:12px 24px;font-size:14.5px;}

/* 신청 방법 안내 박스 */
.apply-steps{
  max-width:900px;margin:44px auto 0;background:var(--bg-soft);border-radius:12px;
  padding:26px 28px;text-align:center;
}
.apply-steps h3{font-size:15px;font-weight:700;color:var(--navy);margin-bottom:12px;}
.apply-flow{font-size:14.5px;font-weight:600;color:var(--ink);margin-bottom:10px;overflow-wrap:break-word;}
.apply-note{font-size:13.5px;color:var(--gray);line-height:1.7;}
.apply-note a{color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:2px;}

.schedule-more-link{text-align:center;margin-top:22px;font-size:13.5px;}
.schedule-more-link a{color:var(--gray);text-decoration:underline;text-underline-offset:2px;}
.schedule-more-link a:hover{color:var(--blue);}

@media (max-width:900px){
  .schedule-dl dd{white-space:normal;}
}
@media (max-width:700px){
  .schedule-card{flex-direction:column;gap:18px;padding:28px 0;}
  .schedule-img-placeholder,.schedule-img{flex:0 0 auto;width:100%;max-width:260px;aspect-ratio:4/3;margin:0 auto;}
  .schedule-dl > div{flex-direction:column;gap:2px;}
  .schedule-dl dt{flex:0 0 auto;}
  .schedule-dl dd{white-space:normal;}
  .schedule-body{flex-direction:column;align-items:stretch;gap:18px;}
  .schedule-body .schedule-btn{text-align:center;}
}

@media (max-width:560px){
  .page-hero .wrap{padding:40px 24px 44px;}
  .page-hero h1{font-size:30px;}
  .notice-list li{flex-direction:column;gap:4px;}
}
