@charset "utf-8";

.page-sub {
  --sub-hero-height: 300px;
  --sub-util-height: 56px;
  --sub-content-max: 1440px;
  --sub-accent: var(--orange);
  --sub-accent-dark: #d45c38;
  --sub-accent-hover-bg: #fff4ef;
  --sub-content-color: #474747;
  --color-overlay: rgba(0, 0, 0, 0.5);
}


.sub-content img { margin:  0 auto;}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sub-hero {
  position: relative;
  box-sizing: border-box;
  width: min(calc(100% - 128px), var(--wide));
  height: 300px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 20px;
}

.sub-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sub-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-overlay);
  pointer-events: none;
}

.sub-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sub-hero__inner {
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.sub-hero__title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.sub-hero__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.sub-util-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #fff;
}

.sub-util-bar__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--sub-content-max);
  min-height: 56px;
  margin: 0 auto;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
}

.sub-util-bar__left {
  display: flex;
  align-items: stretch;
}

.sub-util-bar__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  border-right: 1px solid #e6e6e6;
  color: #333;
  font-size: 18px;
}

.sub-util-bar__home:hover {
  color: var(--orange);
}

.sub-util-bar__dropdown {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  border-right: 1px solid #e6e6e6;
}

.sub-util-bar__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  gap: 12px;
  color: var(--sub-content-color);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-util-bar__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sub-util-bar__trigger:hover,
.sub-util-bar__dropdown.is-open .sub-util-bar__trigger {
  color: var(--navy);
  background: var(--sub-accent-hover-bg);
}

.sub-util-bar__arrow {
  color: var(--orange);
  font-size: 24px;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sub-util-bar__trigger:hover .sub-util-bar__arrow,
.sub-util-bar__dropdown.is-open .sub-util-bar__arrow {
  opacity: 1;
}

.sub-util-bar__dropdown.is-open .sub-util-bar__arrow {
  transform: rotate(180deg);
}

.sub-util-bar__menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  z-index: 20;
  display: none;
  margin: 5px 0 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--navy);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  list-style: none;
}

.sub-util-bar__dropdown.is-open .sub-util-bar__menu {
  display: block;
}

.sub-util-bar__menu a {
  display: block;
  padding: 10px 20px;
  color: var(--sub-content-color);
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-util-bar__menu a:hover,
.sub-util-bar__menu a.is-active {
  color: var(--orange);
  background: var(--sub-accent-hover-bg);
}

.sub-util-bar__right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  padding: 0 10px;
  gap: 8px;
  border-left: 1px solid #e6e6e6;
}

.sub-util-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #555;
  font-size: 16px;
}

.sub-util-bar__btn:hover {
  color: var(--orange);
  background: rgba(240, 123, 83, 0.08);
}

.sub-main {
  padding: 40px 0 96px;
  background: #fff;
}

.sub-main__inner {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: var(--sub-content-max);
  margin: 0 auto;
  gap: 48px;
}

.sub-content {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.lnb {
  flex: 0 0 260px;
  width: 260px;
}

.lnb__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 20px 16px;
  overflow: hidden;
  background: var(--navy);
  border-radius: 5px 5px 0 0;
  text-align: center;
}

.lnb__head-text {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.lnb__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lnb__item {
  border-bottom: 1px solid #e6e6e6;
}

.lnb__item:last-child {
  border-bottom: 0;
}

.lnb__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 18px;
  gap: 12px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.lnb__item.is-active .lnb__link {
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}

.lnb__item:not(.is-active) .lnb__link:hover {
  color: var(--orange);
  background: rgba(240, 123, 83, 0.06);
}

.sub-page-title {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  color: #111;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.sub-tabs-dropdown__trigger {
  display: none;
}

.sub-section + .sub-section {
  margin-top: 40px;
}

.sub-section__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sub-section__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--orange);
  content: "";
}

.sub-text {
  margin: 0 0 16px;
  color: #444;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

.sub-list {
  margin: 0 0 24px;
  padding-left: 1.1em;
  color: #444;
  line-height: 1.75;
}

.sub-table-wrap {
  overflow-x: auto;
}

.sub-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
}

.sub-table th,
.sub-table td {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

.sub-table tbody th {
  background: #f8f8f8;
  font-weight: 500;
}

.greeting__lead {
  margin-bottom: 34px !important;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  color: var(--navy) !important;
  font-size: 24px !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.5 !important;
}

.greeting__emphasis {
  margin-top: 34px !important;
  color: var(--navy) !important;
}

@media (max-width: 1510px) {
  .sub-util-bar {
    padding-right: 30px;
    padding-left: 30px;
  }

  .sub-main__inner {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 1380px) {
  .sub-hero {
    width: calc(100% - 64px);
  }
}

@media (max-width: 1240px) {
  .sub-hero {
    height: 220px;
  }

  .sub-util-bar__right {
    display: none;
  }
}

@media (max-width: 1100px) {
  .sub-util-bar__left {
    flex: 1;
    min-width: 0;
  }

  .sub-util-bar__dropdown {
    width: auto;
    flex: 1;
    min-width: 0;
    border-right: 0;
  }
}

@media (max-width: 1024px) {
  .sub-main__inner {
    flex-direction: column;
    gap: 32px;
  }

  .lnb {
    display: none;
  }

  .sub-util-bar__trigger {
    padding: 0 16px;
    font-size: 15px;
  }

  .sub-util-bar__arrow {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .sub-hero {
    width: calc(100% - 40px);
  }
}

@media (max-width: 768px) {
  .sub-util-bar__inner {
    min-height: 48px;
  }

  .sub-util-bar__home {
    width: 48px;
    flex-shrink: 0;
  }

  .sub-util-bar__dropdown {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .sub-util-bar__trigger {
    min-height: 48px;
    padding: 0 12px;
    gap: 8px;
    font-size: 14px;
  }

  .sub-util-bar__arrow {
    font-size: 18px;
  }

  .sub-main {
    padding: 32px 0 72px;
  }

  .sub-page-title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .greeting__lead {
    font-size: 21px !important;
  }
}

@media (max-width: 640px) {
  .sub-hero {
    width: calc(100% - 30px);
  }
}

@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 #dfdfdf;
    border-radius: 8px;
    color: #1a1a1a;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .sub-tabs-dropdown__trigger:hover,
  .sub-tabs-dropdown.is-open .sub-tabs-dropdown__trigger {
    color: var(--sub-accent-dark);
    background: var(--sub-accent-hover-bg);
  }

  .sub-tabs-dropdown__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sub-tabs-dropdown__arrow {
    color: var(--sub-accent);
    font-size: 22px;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.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, 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;
    background: #fff;
  }

  .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: #1a1a1a;
    background: #fff;
    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,
  .sub-util-bar,
  .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; }
}