.max-width {
    max-width: 1300px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.padding-0-2 {
    padding: 0 2%;
}

.navi-container {
    position: relative;
}

.navi-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0 var(--nav-padding);
    background: white;
    text-align: center;
}

.nav-item {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-item:hover .nav-link {
    background-color: var(--app-green);
    transition: all 0.1s ease;
}

.nav-link {
    display: block;
    width: 100%;
    position: relative;
    padding: 5px 20px;
    color: #000000;
    text-decoration: none;
    line-height: 3;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0s ease;
}

.nav-link:hover::after {
    opacity: 1;
}


.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0s, visibility 0s;
    z-index: 1000;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-inner {
    display: flex;
    gap: 28px;
    padding: 0px 14%;
}

.nav-dropdown-desc {
    flex: 0 0 15%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center; 
    
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
    padding-top: var(--nav-tb-padding);
    padding-bottom: var(--nav-tb-padding);
    padding-right: 50px;
    border-right: 1px solid #e5e7eb;
    
    text-align: left;
}

.nav-dropdown-desc p:first-child {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.nav-dropdown-desc p:nth-child(2) {
    font-size: 13px;
    font-weight: 400;
    color: #1F2937;
}

.nav-dropdown-links {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    align-content: center;
    row-gap: 18px;
    column-gap: 16px;
    padding-top: var(--nav-tb-padding);
    padding-bottom: var(--nav-tb-padding);
}

.nav-dropdown-links a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    white-space: normal;

    padding: 8px 20px;
    line-height: 1.4;

    min-height: calc(1.4em * 2); /* 2줄 높이 고정 */
    
    display: flex;
    align-items: center;
    margin: auto;

    border-radius: 6px;
}

.nav-dropdown-links a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #383b3e;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
}

/* 호버 시 전체적인 변화 */
.nav-dropdown-links a:hover {
    color: var(--app-green); /* 메인 초록색 */
    font-weight: 700;
    transform: translateX(8px); /* 오른쪽으로 살짝 이동 */
}

/* 화살표 아이콘 (가상 요소로 구현) */
.nav-dropdown-links a::before {
    content: "→"; /* 화살표 아이콘 */
    position: absolute;
    left: -15px; /* 평소에는 왼쪽 밖으로 숨김 */
    opacity: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--app-green);
    transition: all 0.2s ease;
}

/* 호버 시 화살표 나타남 */
.nav-dropdown-links a:hover::before {
    left: -5px; /* 안쪽으로 살짝 들어옴 */
    opacity: 1;
}

.swiper {
    width: 100%;
    height: 450px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 화살표 완전히 숨기기 */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* 페이지네이션 점도 숨기기 */
.swiper-pagination {
    display: none !important;
}

.tab-button {
    padding: 15px 40px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
  
.tab-button:hover {
    color: #333;
}
  
.tab-button.active {
    color: #000;
    font-weight: 600;
}
  
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--active-color);
}
  
.tab-content {
    display: none;
}
  
.tab-content.active {
    display: block;
    animation: fadeIn 0.2s;
}
  
@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

.page-title-bg {
    background-image: url('/images/test-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 찾기 탭 버튼 */
.find-tab-button {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
}
  
.find-tab-button:hover {
    color: #333;
}
  
.find-tab-button.active {
    color: #000;
    border-bottom: 3px solid var(--active-color);
}
  
/* 찾기 탭 컨텐츠 */
.find-tab-content {
    display: none;
}
  
.find-tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

.plyr {
    width: 100%;
    height: 100%;
}