.hero-mobile-section {
    display: none;
    position: relative;
}

.hero-mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hero-mobile-slider {
    position: relative;
}
.hero-mobile-slider .slick-slide {
    padding: 0 !important;
}
.hero-mobile-slider .slick-slide > div {
    height: 100%;
}
.hero-mobile-slider .hero-mobile-slide {
    position: relative;
    border-radius: 0;
    height: 64vw;
    overflow: hidden;
    padding: 0 !important;
    background: transparent;
}
.hero-mobile-image {
    width: 100%;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.hero-mobile-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 12px;
    max-width: none;
    width: auto;
    height: auto;
}
.hero-mobile-inner .text-content {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    text-align: center;
}
.hero-mobile-inner .title {
    padding: 0 0 0;
    width: 100%;
    font-size: 24px;
    line-height: 1.22;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: normal;
}
.hero-mobile-inner .dates {
    width: 100%;
    font-size: 16px !important;
    line-height: 1.35 !important;
    color: #444;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    overflow-wrap: normal;
}
.hero-mobile-inner .description {
    font-size: 9px;
    line-height: 1.7;
    color: #333;
}
.hero-mobile-inner .btn {
    align-self: center;
    padding: 10px 18px;
    border-radius: 26px;
    border: 1px solid #707070;
    background: #fff;
    font-size: 9px;
    color: #000;
}
.hero-mobile-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.hero-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-mobile-toggle {
    margin-left:16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 26, 0.28);
    background: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-mobile-toggle:hover {
    border-color: #1a1a1a;
}
.hero-mobile-toggle::before,
.hero-mobile-toggle::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 14px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hero-mobile-toggle::before {
    left: 16px;
}
.hero-mobile-toggle::after {
    right: 16px;
}
.hero-mobile-toggle.is-paused::before {
    left: 50%;
    transform: translateX(-1px);
    width: 0;
    height: 0;
    border-left: 10px solid #1a1a1a;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    background: transparent;
}
.hero-mobile-toggle.is-paused::after {
    opacity: 0;
}
.hero-mobile-more {
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1;
}
.hero-mobile-more.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.hero-mobile-events {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hero-mobile-event {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    background: #f5f6fb;
}
.hero-mobile-event-date {
    font-size: 16px;
    font-weight: 700;
    color: #004579;
}
.hero-mobile-event h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 6px;
}
.hero-mobile-event p {
    font-size: 13px;
    color: #444;
}
/* ✅ 기본은 1430까지 */
.hero-wrap,
.hero-inner,
.hero-main-slider,
.hero-mobile-slider {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
}

/* ✅ 1680 이하에서는 좌우 여백만 살짝 주고 자연스럽게 줄어들게 */
@media (max-width: 1680px) {
  .hero-wrap,
  .hero-inner,
  .hero-main-slider,
  .hero-mobile-slider {
    max-width: 100%;
    padding: 0 20px;   /* 태블릿에서 좌우 여백 */
    box-sizing: border-box;
  }
}

@media (max-width: 1280px) {
    
    #hero-container {
        display: none;
    }
    .global-section {
        display: block;
    }
    .hero-mobile-section {
        display: block;
        background: #ffffff;
    }
    .hero-mobile-section .slick-dots {
        position: static;
        display: flex !important;
    }
    .hero-mobile-section .slick-dots li {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
    }
    .hero-mobile-section .slick-dots li.slick-active {
        background: #1a1a1a;
    }
    .hero-mobile-section .slick-dots button {
        display: none;
    }

}


@media (max-width: 768px) {
    .hero-mobile-slider .hero-mobile-slide {
        height: clamp(300px, 78vw, 420px);
    }

    .hero-mobile-more {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hero-mobile-inner {
        inset: 0;
        width: auto;
        padding: 0 20px !important;
        max-width: none;
        transform: none;
    }

    .hero-mobile-inner .title {
        width: 100%;
        font-size: 16px;
        line-height: 1.18;
        margin-bottom: 12px !important;
    }

    .hero-mobile-inner .dates {
        width: 100%;
        font-size: 16px !important;
        line-height: 1.28 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
  
    #hero-container {
        display: none;
    }
    .global-section {
        display: block;
    }
    .hero-mobile-section {
        display: block;
        background: #ffffff;
    }
    .hero-mobile-section .slick-dots {
        position: static;
        display: flex !important;
    }
    .hero-mobile-section .slick-dots li {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
    }
    .hero-mobile-section .slick-dots li.slick-active {
        background: #1a1a1a;
    }
    .hero-mobile-section .slick-dots button {
        display: none;
    }
}
