@charset "UTF-8";
/* Icon library: Material Symbols */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24..48,400,0,0');
/* =========================================================
   Template: page-graduate-school.php
   Scope: 좌측 내비 + 본문 섹션 + 가이드 스타일
 
/* sticky 방해 제거 + 중첩 스크롤 제거 */
.pg-body,.pg-body .ee-container{overflow:visible}
.site_wrap,.site-content-contain,#content,#primary{overflow:visible !important;transform:none !important;contain:none !important}

@media(max-width:1024px){
  .doubled-wrapper{grid-template-columns:1fr}
  .dw-left{position:static;top:auto}
}

/* Mobile: hide left nav, make right 100% */
@media (max-width: 1199px){
  .doubled-wrapper{grid-template-columns:1fr !important}
  .dw-left{display:none !important}
  .dw-right{grid-column:1 / -1 !important; width:100% !important; max-width:100% !important; margin:0 !important}
}
@media (max-width: 640px){
  .doubled-wrapper{grid-template-columns:1fr !important}
  .dw-left{display:none !important}
  .dw-right{grid-column:1 / -1; width:100% !important}
}

/* --- Fix: CTA + Section Figure overflow --- */

/* CTA button size (unified across pages) */

.page-title,.sub-page-title {border:none !important;}

/* Ensure long words/links do not overflow */
.admission-section, .admission-section *{word-wrap:break-word;overflow-wrap:anywhere}

/* 가이드 본문 */
.admission-guide { line-height: 1.8; color: #333; }
.admission-guide  .cta-top{display:block; position:relative}
.admission-guide  .cta-top .section-figure{margin:12px 0 0; }
.admission-guide  .cta-top .section-figure img{display:block;width:100%;max-width:100%;height:auto}
.admission-guide  .cta-top .ee-btn{position:absolute; top:70%; left:50%; transform:translate(-50%, -50%)}


.admission-section { margin-bottom: 3em; }
.admission-section h3 { font-size: 1.5em; color: #444; margin: 2em 0 1em; padding-bottom: 0.5em; border-bottom: 1px solid #eee; border:none}
.admission-section h4 { font-size: 1.3em; color: #444; margin: 1.5em 0 0.8em; border:none}
.admission-section h5 { font-size: 1.1em; color: #444; margin: 1.2em 0 0.5em; }
.program-section h4 { position: relative; padding-left: 14px; }
.program-section h4::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: #c8005f; border-radius: 50%; transform: translateY(-50%); }
.program-section h5 { position: relative; padding-left: 10px; }
.program-section h5::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 3px; height: 3px; background: #c8005f; border-radius: 50%; transform: translateY(-50%); opacity: 0.85; }
.admission-links { list-style: none; padding-left: 0; }
.admission-links li { margin-bottom: 0.5em; }
.admission-links a { color: #c8005f; text-decoration: none; }
.admission-links a:hover { text-decoration: underline; }
.program-section { padding: 1.5em; border-radius: 8px; }
.subject-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5em 2em; padding-left: 1.2em; }
.subject-list li { position: relative; padding-left: 1.2em; }
.subject-list li:before { content: '•'; position: absolute; left: 0; color: #c8005f; }
.program-details { padding: 1.2em 1.5em; border-radius: 6px; margin: 1em 0; }
.program-details li { margin-bottom: 0.5em; position: relative; padding-left: 1.2em; }
.program-details li:before { content: '•'; position: absolute; left: 0; color: #c8005f; }
.note { color: #666; font-style: italic; margin: 1em 0 0.5em; }

/* Subject boxes: icon + label cards */
.subject-boxes { 
  list-style: none; 
  padding: 0; 
  margin: 0.5em 0 1em; 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
  gap: 12px; 
}
.subject-boxes li { 
  position: relative; 
  padding: 12px 14px; 
  border: 1px solid #e6e6e6; 
  border-radius: 10px; 
  background: #fff; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  min-height: 48px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
/* override bullet from .subject-list */
.subject-boxes li { padding-left: 50px; font-size: 0.85rem }
.subject-boxes li:before { 
  /* Use Material Symbols as icon */
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  content: 'menu_book';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; 
  height: 28px; 
  flex: 0 0 28px; 
  margin: 0px 5px;
  border-radius: 8px; 
  background-color: rgba(200,0,95,0.08);
  border: 1px solid rgba(200,0,95,0.25);
  color: #c8005f;
}

/* Distinct icons by section and order */
/* Masters (일반석사과정) */
#gs-masters .subject-boxes li:nth-child(1)::before { content: 'bolt'; }
#gs-masters .subject-boxes li:nth-child(2)::before { content: 'wifi'; }
#gs-masters .subject-boxes li:nth-child(3)::before { content: 'waves'; }
#gs-masters .subject-boxes li:nth-child(4)::before { content: 'tune'; }
#gs-masters .subject-boxes li:nth-child(5)::before { content: 'memory'; }
#gs-masters .subject-boxes li:nth-child(6)::before { content: 'power'; }
#gs-masters .subject-boxes li:nth-child(7)::before { content: 'developer_board'; }

/* Integrated (필기시험) */
#gs-integrated .subject-boxes li:nth-child(1)::before { content: 'bolt'; }
#gs-integrated .subject-boxes li:nth-child(2)::before { content: 'wifi'; }
#gs-integrated .subject-boxes li:nth-child(3)::before { content: 'waves'; }
#gs-integrated .subject-boxes li:nth-child(4)::before { content: 'tune'; }
#gs-integrated .subject-boxes li:nth-child(5)::before { content: 'memory'; }
#gs-integrated .subject-boxes li:nth-child(6)::before { content: 'power'; }
#gs-integrated .subject-boxes li:nth-child(7)::before { content: 'developer_board'; }
#gs-integrated .subject-boxes li:nth-child(8)::before { content: 'functions'; }
#gs-integrated .subject-boxes li:nth-child(9)::before { content: 'neurology'; }

/* PhD (필기시험) */
#gs-phd .subject-boxes li:nth-child(1)::before { content: 'bolt'; }
#gs-phd .subject-boxes li:nth-child(2)::before { content: 'wifi'; }
#gs-phd .subject-boxes li:nth-child(3)::before { content: 'waves'; }
#gs-phd .subject-boxes li:nth-child(4)::before { content: 'power'; }
#gs-phd .subject-boxes li:nth-child(5)::before { content: 'memory'; }
#gs-phd .subject-boxes li:nth-child(6)::before { content: 'developer_board'; }
#gs-phd .subject-boxes li:nth-child(7)::before { content: 'functions'; }
#gs-phd .subject-boxes li:nth-child(8)::before { content: 'neurology'; }

@media (max-width: 640px){
  .subject-boxes { grid-template-columns: repeat(2, 1fr); }
}
