/* =========================================================================
   [MAIN] Notice Section Style
   ========================================================================= */
.main-notice-section {
    background: #f8f9fa !important;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    padding: 0 !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
    height: 80px !important; /
    display: block !important; 
}

.main-notice-section .content-wrap {
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
}

.notice-container {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 60px !important;
}

.notice-label {
    flex-shrink: 0;
    padding-right: 15px;
    margin-right: 15px;
    border-right: 1px solid #ddd;
    font-weight: 800;
    font-size: 16px !important; 
    color: #111 !important;
    white-space: nowrap;
    letter-spacing: -0.5px;
    display: flex !important;
    align-items: center !important;
    height: 20px !important;
}

.notice-rolling-wrap {
    flex: 1 !important;
    height: 60px !important;
    overflow: hidden !important;
}

.notice-rolling {
    width: 100% !important;
    height: 60px !important;
    overflow: hidden !important;
}

.notice-rolling .swiper-wrapper {
    height: 100% !important;
}

.notice-rolling .swiper-slide {
    display: flex !important;
    align-items: center !important;
    height: 60px !important;
    width: 100% !important;
}

.notice-rolling a {
    font-size: 16px !important;
    font-weight: 500;
    color: #333 !important;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    letter-spacing: -0.5px;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.notice-rolling a:hover {
    color: var(--primary-red) !important;
}

.notice-more {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    height: 60px !important;
}

.main-notice-section .notice-more .btn-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.main-notice-section .notice-more .btn-more .arrow {
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.main-notice-section .notice-more .btn-more:hover {
    color: var(--primary-red) !important;
    background: transparent !important;
}

.main-notice-section .notice-more .btn-more:hover .arrow {
    transform: translateX(5px) !important;
}

@media screen and (max-width: 768px) {
    .main-notice-section {
        height: auto !important;
        padding: 15px 0 !important;
    }
    .main-notice-section .content-wrap {
        height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .notice-container {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: auto !important;
        gap: 10px 0 !important;
    }
    .notice-label {
        order: 1 !important;
        font-size: 15px !important;
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        height: 30px !important;
        flex: 0 0 auto !important;
    }
    .notice-more {
        order: 2 !important;
        height: 30px !important;
        margin-left: 0 !important;
        flex: 0 0 auto !important;
    }
    .notice-rolling-wrap {
        order: 3 !important;
        width: 100% !important;
        height: 30px !important;
        border-top: 1px solid #eee !important;
        padding-top: 5px !important;
        flex: 0 0 100% !important;
    }
    .notice-rolling {
        height: 30px !important;
    }
    .notice-rolling .swiper-slide {
        height: 30px !important;
    }
    .notice-rolling a {
        font-size: 14px !important;
        line-height: 30px !important;
        height: 30px !important;
    }
}
