@charset "utf-8";

:root {
  --sub-accent: #7450db;
  --sub-accent-dark: #5632b4;
  --sub-accent-hover-bg: rgba(86,50,180,.08);
}

.page-sub { background: #fff; }
.sub-tabs-dropdown__trigger { display: none; }

.sub-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  overflow: hidden;
  color: #fff;
  background: #071735 center 48%/cover no-repeat;
}

.sub-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,14,39,.83), rgba(9,27,60,.6) 52%, rgba(17,21,43,.72));
}

.sub-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding:48px 24px 32px;
  text-align: center;
}

.sub-hero__content>p { margin: 0 0 11px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.sub-hero__content h2 { margin: 0; font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1.2;}
.sub-breadcrumb { display: flex; align-items: center; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.72); font-size: 13px; }
.sub-breadcrumb li { display: flex; align-items: center; }
.sub-breadcrumb li+li::before { margin: 0 12px; color: rgba(255,255,255,.35); content: "/"; }
.sub-breadcrumb li[aria-current="page"] { color: #fff; font-weight: 600; }

.sub-util { position: relative; z-index: 10; width: 100%; margin-top: -56px; padding: 0 80px; }
.sub-util__inner { display: flex; align-items: stretch; width: min(1280px,100%); height: 56px; margin: 0 auto; color: #fff; background: rgba(12,18,38,.64); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sub-util__home { display: flex; flex: 0 0 56px; align-items: center; justify-content: center; color: #fff; background: #4c2aa4; font-size: 18px; }
.sub-util__dropdown { position: relative; width: 260px; }
.sub-util__dropdown:not(:last-of-type)::after { position: absolute; top: 50%; right: 0; width: 1px; height: 20px; background: rgba(255,255,255,.28); content: ""; transform: translateY(-50%); }
.sub-util__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; padding: 0 24px; color: #fff; font-size: 15px; font-weight: 600; }
.sub-util__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.sub-util__trigger i { color: rgba(255,255,255,.78); transition: transform .2s ease; }
.sub-util__dropdown.is-open .sub-util__trigger { color: #c8b5ff; }
.sub-util__dropdown.is-open .sub-util__trigger i { transform: rotate(180deg); }
.sub-util__menu { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; left: 0; visibility: hidden; min-width: 100%; margin: 0; padding: 6px; border: 1px solid #e6e6e6; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.sub-util__dropdown.is-open .sub-util__menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.sub-util__menu a { display: flex; padding: 10px 14px; border-radius: 6px; color: #333; font-size: 14px; transition: color .18s ease, background-color .18s ease; }
.sub-util__menu a:hover, .sub-util__menu a.is-active { color: #5632b4; background: rgba(86,50,180,.08); }
.sub-util__tools { display: flex; align-items: stretch; margin-left: auto; }
.sub-util__tools a { display: flex; align-items: center; justify-content: center; width: 52px; color: rgba(255,255,255,.82); font-size: 16px; }
.sub-util__tools a:hover { color: #fff; background: rgba(255,255,255,.08); }

.sub-layout { display: flex; align-items: flex-start; gap: 40px; width: min(1440px,100%); margin: 0 auto; padding: 64px 80px 50px; }
.lnb { flex: 0 0 260px; width: 260px; }
.lnb__head { padding: 26px 28px; color: #fff; background: linear-gradient(90deg,#172d84,#4b2ca7); }
.lnb__head-text { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.lnb__list { border: 1px solid #e6e6e6; border-top: 0; background: #fff; }
.lnb__item+.lnb__item { border-top: 1px solid #e6e6e6; }
.lnb__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 24px; color: #333; font-size: 16px; font-weight: 500; transition: color .2s ease, background .2s ease; }
.lnb__item.is-active .lnb__link, .lnb__link:hover { color: #5632b4; background: rgba(86,50,180,.06); font-weight: 700; }
.lnb__arrow { color: inherit; font-size: 14px; }

.sub-content { flex: 1 1 auto; min-width: 0; }
.sub-page-title { margin: 0 0 32px; padding-bottom: 20px; border-bottom: 1px solid #e6e6e6; color: #111; font-size: clamp(30px,2.4vw,40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.greeting { padding: 8px 0 0; }
.greeting__body { max-width: 970px; }
.greeting__body>p { margin: 0; color: #474747; font-size: 17px; line-height: 1.85; }
.greeting__body>p+p { margin-top: 20px; }
.greeting__lead { margin-bottom: 34px !important; padding-left: 16px; border-left: 4px solid #5632b4; color: #17213a !important; font-size: 24px !important; font-weight: 700; letter-spacing: -.03em; line-height: 1.5 !important; }
.greeting__emphasis { margin-top: 34px !important; color: #35207b !important; }
.greeting__emphasis strong { font-weight: 700; }
.sub-util__dropdown + .sub-util__dropdown::after { display: none; }
@media (max-width:1240px) {
  .sub-hero { min-height: 390px; }
  .sub-hero__content { padding-top: 75px; }
  .sub-util { padding-right: 30px; padding-left: 30px; }
  .sub-layout { width: min(100%,1020px); padding: 64px 30px 50px; }
  .lnb { display: none; }
}

@media (max-width:900px) {
  .greeting__body { max-width: none; }
}

@media (max-width:700px) {
  .sub-hero { min-height: 330px; }
  .sub-hero__content { padding-top: 62px; }
  .sub-hero__content h2 { font-size: 36px; }
  .sub-breadcrumb { margin-top: 18px; font-size: 12px; }
  .sub-util { margin-top: -58px; padding: 0 20px; }
  .sub-util__inner { height: 58px; padding: 0; }
  .sub-util__home { flex-basis: 54px; }
  .sub-util__dropdown { flex: 1 1 0; width: auto; min-width: 0; }
  
  .sub-util__trigger { padding: 0 14px; font-size: 13px; }
  .sub-util__menu a { padding: 10px 14px; font-size: 13px; }
  .sub-util__tools { display: none; }
  .sub-layout { width: 100%; padding: 48px 20px 50px; }
  .sub-page-title { margin-bottom: 26px; padding-bottom: 16px; font-size: 28px; }
  .greeting__lead { font-size: 21px !important; }
  .greeting__body>p { font-size: 16px; line-height: 1.8; }
  .greeting__body br { display: none; }
}

@media (max-width:440px) {
  .sub-hero__content h2 { font-size: 32px; }
  .greeting__lead { font-size: 20px !important; }
}

@media (max-width:600px) {
  .sub-tabs-dropdown { position: relative; margin: 0 0 24px; }
  .sub-tabs-dropdown__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--sub-accent); border-radius: 8px; color: var(--sub-accent-dark); background: #fff; font-size: 15px; font-weight: 500; transition: color .2s ease, background-color .2s ease; }
  .sub-tabs-dropdown__trigger:hover, .sub-tabs-dropdown.is-open .sub-tabs-dropdown__trigger { color: var(--sub-accent-dark); background: #f8f8f8; }
  .sub-tabs-dropdown__arrow { color: var(--sub-accent); font-size: 22px; opacity: .65; transition: opacity .2s ease, transform .2s ease; }
  .sub-tabs-dropdown__trigger:hover .sub-tabs-dropdown__arrow, .sub-tabs-dropdown.is-open .sub-tabs-dropdown__arrow { opacity: 1; }
  .sub-tabs-dropdown.is-open .sub-tabs-dropdown__arrow { transform: rotate(180deg); }
  .sub-tabs-dropdown .sub_tabs { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; left: 0; display: none; flex-direction: column; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--sub-accent); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); list-style: none; }
  .sub-tabs-dropdown.is-open .sub_tabs { display: flex; }
  .sub-tabs-dropdown .sub_tabs li { flex: none; border: 0; border-bottom: 1px solid #e6e6e6; }
  .sub-tabs-dropdown .sub_tabs li+li { margin-left: 0; }
  .sub-tabs-dropdown .sub_tabs li:last-child { border-bottom: 0; }
  .sub-tabs-dropdown .sub_tabs li a { display: block; justify-content: flex-start; height: auto; padding: 12px 16px; color: var(--sub-accent-dark); font-size: 15px; line-height: 1.4; text-align: left; }
  .sub-tabs-dropdown .sub_tabs li a:hover { background: var(--sub-accent-hover-bg); }
  .sub-tabs-dropdown .sub_tabs li.on, .sub-tabs-dropdown .sub_tabs li.subTab_sub_on, .sub-tabs-dropdown .sub_tabs li.active { z-index: auto; border-color: transparent; background: var(--sub-accent-hover-bg); }
  .sub-tabs-dropdown .sub_tabs li.on a, .sub-tabs-dropdown .sub_tabs li.subTab_sub_on a, .sub-tabs-dropdown .sub_tabs li.active a { color: var(--sub-accent-dark) !important; background: none; font-weight: 600; }
}

@media print {
  .site-header,
  .site-footer,
  .sub-hero,
  .sub-util,
  .lnb,
  #google_translate_element,
  .skiptranslate {
    display: none !important;
  }

  .sub-page,
  .sub-layout,
  .sub-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 스크롤 애니메이션으로 내용이 숨겨지는 현상 방지 */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 게시판 게시글 이미지 반응형 */
@media (max-width: 1240px) {
  .view_content img { width: 100% !important; height: auto !important; }
}