#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);
}

/* 메인 헤더 */

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}
@media (max-width: 767.98px) {
  .header-logo img {
    height: 50px !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: 100;
}

.center-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  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;
}

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

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

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

.dropdown-menu li a:hover {
  background: #282536;
  padding-left: 15px;
  padding-right: 15px;
}


/* common */

.text-keep-all {
  word-break: keep-all;
}
.text-custom-bg-dark {
  color: #fff !important;
  background-color: #282536 !important;
}

/* community */

.thumb-img.selected {
  border: 3px solid #007bff;
}

/* Bootstrap 기준 모바일 */

@media (max-width: 767.98px) {
  .seasonal-title-mobile {
    font-size: 1.2rem !important;
    color: #fff !important;
  }
}

/* art& gaeden */

.animated-zoom {
  animation: zoomIn 1s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* main video */

.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 모바일에서는 동영상 전체가 보이도록 */

@media (max-width: 767.98px) {
  .carousel-inner.ratio {
    aspect-ratio: 16/9;
    height: auto;
    min-height: 180px;
  }
}

@media (max-width: 767.98px) {
  .carousel-video {
    object-fit: contain;
    background: #000;
  }
}

.carousel-control-prev, .carousel-control-next {
  width: 5vw;
  min-width: 36px;
  height: 100%;
  top: 0;
  bottom: 0;
}

.carousel-indicators-custom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.carousel-indicators-custom button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background: #fff;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.carousel-indicators-custom button.active {
  opacity: 1;
  background: #ffd700;
}

/* portpolio */

.limit-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.limit-font-h2 {
  font-size: 1.4rem !important;
  font-weight: bold;
  word-break: keep-all;
}

@media (max-width: 767.98px) {
  .limit-text {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 767.98px) {
  .limit-font-h2 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 767.98px) {
  .caption-content > p {
    font-size: .9rem !important;
  }
}

