#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #1d809f;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-nav {
  padding: 1rem 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.sidebar-nav .dropdown-menu {
  position: static !important;
  float: none;
  margin: 0;
  padding-left: 1rem;
  border: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-radius: 0.25rem;
}

.sidebar-nav .dropdown.show .dropdown-menu, .sidebar-nav .dropdown-menu.show {
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
  border-radius: 0.25rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

.sidebar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateX(4px);
}

.sidebar-nav .nav-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 메인 헤더 */

.bg-cover {
  background-size: cover;
  background-position: center;
  width: 100vw;
  min-height: 100vh;
}

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}
@media (max-width: 768px) {
    .header-logo img {
        height: 3rem !important;
    }
}
.masthead {
  position: relative;
}

.masthead-main {
  height: 100vh;
  min-height: 30rem;
  display: flex;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
}

/* 서브 헤더 */

.masthead-sub {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url('../../assets/img/bg-masthead.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.masthead-sub .page-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.masthead-sub .title-underline {
  width: 60px;
  height: 2px;
  background: white;
  margin: 0 auto 0.5rem;
  border: none;
}

.masthead-sub .page-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* 중앙 가로 메뉴 (웹/PC) */

.center-nav {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.center-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
}

.center-nav-item {
  margin: 0 1rem;
  position: relative;
}

.center-nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.center-nav-item a:hover {
  color: #f8f9fa;
}

/* 드롭다운 메뉴 스타일 (필요시) */

.center-nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 2;
}

.center-nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu li a {
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
}

.content-section {
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

/* common */

.text-keep-all {
  word-break: keep-all;
}


/* premium */

.nav-button-custom {
  background: #30bfeb !important;
}

.tab-content {
  width: 100% !important;
}

/* main premium */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* 태블릿 */
@media (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 모바일 */
@media (max-width: 576px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .mobile-only {
        display: block !important;
    }
}

/* 모바일이 아닐 때는 6번 이미지를 숨김 */
.gallery img.mobile-only  {
    display: none;
}

/* main-gallery */
/* active 상태일 때 테두리를 두껍게 표시 */
.thumb-img.active {
    border: 3px solid #fd790d !important; /* Bootstrap primary 색상 */
}

@media (max-width: 767.98px) {
  .section-bg {
    min-height: 410px !important;
  }
}

