/* ==========================================
   Sub Navigation
   ========================================== */
.sub-nav-wrapper { background: #EF5100; padding-top: 80px; }
.sub-nav-inner { max-width: 1400px; margin: 0 auto; }

.sub-nav {
    padding: 0 40px 26px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sub-nav::-webkit-scrollbar { display: none; }

.sub-nav-item {
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.3s;
    position: relative;
}

.sub-nav-item.regular::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: #FFC300;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sub-nav-item.regular:hover::after,
.sub-nav-item.regular.current::after { transform: scaleX(1); }

/* Mobile Sub Nav */
.mobile-sub-nav { display: none; background: #EF5100; padding: 80px 0 0; position: relative; }

.mobile-sub-nav-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 20px 15px;
    gap: 8px;
}

.mobile-sub-nav-scroll::-webkit-scrollbar { display: none; }

.mobile-sub-nav-item {
    color: #FFF;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
}

.mobile-sub-nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 8px;
    right: 8px;
    height: 4px;
    background: #FFC300;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mobile-sub-nav-item:hover::after,
.mobile-sub-nav-item.current::after { transform: scaleX(1); }

.mobile-sub-nav::after {
    content: '';
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, #EF5100);
    pointer-events: none;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .sub-nav { gap: 10px; }
    .sub-nav-item { padding: 10px 15px; font-size: 15px; }
}

@media (max-width: 900px) {
    .sub-nav { gap: 5px; }
    .sub-nav-item { padding: 8px 12px; font-size: 14px; }
    .sub-nav-item::after { left: 12px; right: 12px; }
}

@media (max-width: 768px) {
    .sub-nav-wrapper { display: none; }
    .mobile-sub-nav { display: block; }
}

@media (min-width: 1401px) {
    .sub-nav { padding: 0 0 26px; }
}
