﻿@charset "utf-8";

.page-sub {
  --sub-hero-height: 430px;
  --sub-util-height: 56px;
  --sub-content-max: 1440px;
  --sub-side-padding: 80px;
  --sub-accent: var(--primary);
  --sub-accent-soft: rgba(87, 52, 131, 0.08);
  --sub-accent-soft-light: rgba(87, 52, 131, 0.05);
  --sub-nav-accent: #e07a12;
  --sub-nav-accent-strong: #f5b233;
  --sub-nav-gradient: linear-gradient(90deg, #f28c1b 0%, #f5b233 100%);
  --sub-nav-soft: rgba(242, 140, 27, 0.1);
  --sub-nav-soft-light: rgba(242, 140, 27, 0.06);
  --sub-border: rgba(255, 255, 255, 0.12);
  --sub-panel-border: #e6e6e6;
  --sub-overlay: rgba(15, 15, 18, 0.52);
  --sub-text: #474747;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sub-hero {
  position: relative;
  height: var(--sub-hero-height);
  overflow: visible;
}

.sub-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 24, 0.26), var(--sub-overlay));
}

.sub-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 52px var(--sub-side-padding) 56px;
  text-align: center;
  color: #fff;
}

.sub-hero__title {
  margin: 0;
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.sub-hero__breadcrumb {
  margin-top: 14px;
}

.sub-hero__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.sub-hero__breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.sub-hero__breadcrumb-item + .sub-hero__breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.45);
}

.sub-hero__breadcrumb-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.sub-hero__breadcrumb-item[aria-current="page"] {
  color: var(--sub-nav-accent-strong);
  font-weight: 700;
}

.sub-util-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--sub-content-max);
  padding: 0 var(--sub-side-padding);
  transform: translateX(-50%);
}

.sub-util-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--sub-util-height);
  background: rgba(20, 20, 24, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
}

.sub-util-bar__left {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.sub-util-bar__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  background: var(--sub-nav-accent);
  color: #fff;
  font-size: 15px;
}

.sub-util-bar__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.sub-util-bar__dropdown:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

.sub-util-bar__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 190px;
  height: var(--sub-util-height);
  padding: 0 22px;
  color: #fff;
}

.sub-util-bar__label {
  white-space: nowrap;
}

.sub-util-bar__arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.sub-util-bar__dropdown.is-open .sub-util-bar__arrow {
  transform: rotate(180deg);
}

.sub-util-bar__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--sub-panel-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.sub-util-bar__dropdown.is-open .sub-util-bar__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-util-bar__menu a {
  display: block;
  padding: 10px 14px;
  color: #333;
  font-size: 14px;
  border-radius: 6px;
}

.sub-util-bar__menu a:hover,
.sub-util-bar__menu a.is-active {
  background: var(--sub-nav-soft);
  color: var(--sub-nav-accent);
}

.sub-util-bar__right {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.sub-util-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: var(--sub-util-height);
  color: #fff;
  font-size: 15px;
}

.sub-main {
  padding: 64px 0 100px;
}

.sub-main__inner {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: var(--sub-content-max);
  margin: 0 auto;
  padding: 0 var(--sub-side-padding);
}

.lnb {
  flex: 0 0 260px;
  width: 260px;
}

.lnb__head {
  padding: 26px 28px;
  background: var(--sub-nav-gradient);
  color: #fff;
}

.lnb__head-text {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.lnb__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--sub-panel-border);
  border-top: 0;
  background: #fff;
}

.lnb__item + .lnb__item {
  border-top: 1px solid var(--sub-panel-border);
}

.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;
}

.lnb__item.is-active .lnb__link {
  color: var(--sub-nav-accent);
  font-weight: 700;
  background: var(--sub-nav-soft-light);
}

.lnb__arrow {
  color: inherit;
  font-size: 14px;
}

.sub-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.sub-page-title {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  font-size: clamp(30px, 2.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: #111;
}

.sub-section + .sub-section {
  margin-top: 44px;
}

.sub-section__title {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--sub-accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #111;
}

.sub-text {
  color: var(--sub-text);
  font-size: 17px;
  line-height: 1.85;
}

.sub-text + .sub-text {
  margin-top: 12px;
}

.sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub-list li {
  position: relative;
  padding-left: 18px;
  color: var(--sub-text);
  font-size: 17px;
  line-height: 1.9;
}

.sub-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sub-accent);
}

.sub-table-wrap {
  overflow-x: auto;
}

.sub-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--sub-accent);
}

.sub-table th,
.sub-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--sub-panel-border);
  text-align: left;
  line-height: 1.7;
  font-size: 15px;
}

.sub-table th {
  width: 140px;
  background: #f7f4fb;
  color: #222;
  font-weight: 600;
}

@media (max-width: 1440px) {
  .sub-util-bar,
  .sub-main__inner,
  .sub-hero__content {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 1240px) {
  .lnb {
    display: none;
  }

  .sub-main__inner {
    display: block;
  }

  .sub-util-bar__right {
    display: none;
  }

  .sub-util-bar__left,
  .sub-util-bar__dropdown {
    flex: 1;
    min-width: 0;
  }

  .sub-util-bar__trigger {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sub-hero {
    height: 240px;
  }

  .sub-main {
    padding: 48px 0 72px;
  }

  .sub-page-title {
    margin-bottom: 26px;
    padding-bottom: 16px;
    font-size: 28px;
  }

  .sub-section__title {
    font-size: 20px;
  }

  .sub-text,
  .sub-list li {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .sub-util-bar,
  .sub-main__inner,
  .sub-hero__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sub-util-bar__inner {
    min-height: 50px;
  }

  .sub-util-bar__home {
    width: 48px;
  }

  .sub-util-bar__trigger {
    height: 50px;
    padding: 0 12px;
    gap: 8px;
    font-size: 14px;
  }

  .sub-util-bar__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sub-table th {
    width: 96px;
    padding: 12px;
  }

  .sub-table td {
    padding: 12px;
  }
}

/* sub_tabs — 데스크톱은 기존 탭, 트리거 숨김 */
.sub-tabs-dropdown__trigger {
  display: none;
}

/* sub_tabs(3뎁스) → 반응형(≤600px) 드롭다운 */
@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-panel-border);
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .sub-tabs-dropdown__trigger:hover,
  .sub-tabs-dropdown.is-open .sub-tabs-dropdown__trigger {
    color: var(--sub-nav-accent);
    background: #f8f8f8;
  }

  .sub-tabs-dropdown__arrow {
    font-size: 22px;
    color: var(--sub-nav-accent);
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 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;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--sub-nav-accent);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .sub-tabs-dropdown.is-open .sub_tabs {
    display: flex;
  }

  .sub-tabs-dropdown .sub_tabs li {
    flex: none;
    border: none;
    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: none;
  }

  .sub-tabs-dropdown .sub_tabs li a {
    display: block;
    height: auto;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    color: #1a1a1a;
    justify-content: flex-start;
  }

  .sub-tabs-dropdown .sub_tabs li a:hover {
    background: #f8f8f8;
  }

  .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: #f8f8f8;
  }

  .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 {
    font-weight: 600;
    color: var(--sub-nav-accent) !important;
    background: none;
  }
}

.sub-main .sub-main__inner table.tableBasic tr td.center img { display: inline-block; }

.board_view .view_content img {
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  display: block !important;
}