/* Slider Text */
.tf-slideshow .swiper-slide .box-title-slider {
    position: relative !important;
    display: inline-block !important;
    padding: 20px 30px !important;
    border-radius: 12px !important;
    /* background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.8) 100%) !important; */
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-width: 90% !important;
}

.tf-slideshow .swiper-slide .banner-subtitle {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 0.5px !important;
}

.tf-slideshow .swiper-slide .banner-title {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

@media screen and (max-width: 1024px) {
    .tf-slideshow .swiper-slide .banner-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .tf-slideshow .swiper-slide .banner-subtitle {
        font-size: 12px !important;
    }
    
    .tf-slideshow .swiper-slide .box-title-slider {
        padding: 16px 24px !important;
        max-width: 85% !important;
    }
}

@media screen and (max-width: 768px) {
    .tf-slideshow .swiper-slide .banner-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .tf-slideshow .swiper-slide .banner-subtitle {
        font-size: 11px !important;
    }
    
    .tf-slideshow .swiper-slide .box-title-slider {
        padding: 12px 20px !important;
        max-width: 90% !important;
    }
}

@media screen and (max-width: 480px) {
    .tf-slideshow .swiper-slide .banner-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    .tf-slideshow .swiper-slide .banner-subtitle {
        font-size: 10px !important;
    }
    
    .tf-slideshow .swiper-slide .box-title-slider {
        padding: 10px 16px !important;
        max-width: 95% !important;
    }
}

@media screen and (max-width: 375px) {
    .tf-slideshow .swiper-slide .banner-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    .tf-slideshow .swiper-slide .banner-subtitle {
        font-size: 9px !important;
    }
    
    .tf-slideshow .swiper-slide .box-title-slider {
        padding: 8px 12px !important;
        max-width: 98% !important;
    }
}

.tf-slideshow .box-btn-slider {
    margin-top: 16px;
}

.tf-slideshow .tf-btn {
    text-shadow: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tf-slideshow .tf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tf-slideshow .fade-item {
    transition: all 0.6s ease;
}

.tf-slideshow .swiper-slide-active .box-title-slider {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Business Partner Section Styles - chocolatebox.holyat.com inspired */
.business-partner-section {
    background: linear-gradient(135deg, #ecd6d3 0%, #f0e0dd 100%);
    position: relative;
}

.business-partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="partner-dots" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="%23d4b5b1" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23partner-dots)"/></svg>');
    pointer-events: none;
}

.partner-logo-item {
    background: #fff;
    border-radius: 12px;
    height: 100px;
    width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(220, 185, 181, 0.3);
    margin: 0 20px;
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 185, 181, 0.5);
}

.partner-logo-item .img-style {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.partner-logo-item img {
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(20%) opacity(0.8);
}

.partner-logo-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) opacity(1);
}

.partner-logo-item a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Partner Swiper Container */
.partner-swiper-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper navigation buttons */
.nav-prev-partners,
.nav-next-partners {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 185, 181, 0.5);
    border-radius: 50%;
    color: #8b6f6c;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-prev-partners:hover,
.nav-next-partners:hover {
    background: #fff;
    border-color: #8b6f6c;
    color: #6b4e4b;
    transform: translateY(-50%) scale(1.1);
}

.nav-prev-partners {
    left: -70px;
}

.nav-next-partners {
    right: -70px;
}

/* Swiper pagination */
.sw-pagination-partners .swiper-pagination-bullet {
    background: rgba(139, 111, 108, 0.3);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sw-pagination-partners .swiper-pagination-bullet-active {
    background: #8b6f6c;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo-item {
        height: 80px;
        width: 160px;
        margin: 0 auto;
    }
    
    .nav-prev-partners,
    .nav-next-partners {
        display: none !important;
    }

    .tf-sw-partners {
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
    }
    
    .tf-sw-partners .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px;
        transform: none !important;
    }
    
    .tf-sw-partners .swiper-slide {
        display: block !important;
        visibility: visible !important;
        width: calc(50% - 7.5px) !important;
        max-width: 160px;
        margin: 0;
        transform: none !important;
        transition: none !important;
    }
    
    /* 모바일에서 최소 높이 보장 */
    .business-partner-section {
        min-height: 250px;
        padding: 40px 0;
    }
    
    .partner-slider-wrapper {
        min-height: 120px;
    }
}

/* Animation for partners section */
.partner-slider-wrapper {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper container adjustments */
.tf-sw-partners {
    padding: 10px 0;
    overflow: visible;
    max-width: 1000px;
    margin: 0 auto;
}

.tf-sw-partners .swiper-slide {
    height: auto;
    width: auto !important;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.tf-sw-partners .swiper-wrapper {
    justify-content: center;
    align-items: center;
}

.tf-sw-partners .swiper-slide {
    /* width: calc(25% - 22.5px) !important; */
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .tf-sw-partners .swiper-slide {
        width: calc(33.333% - 20px) !important;
    }
}

@media (max-width: 768px) {
    .tf-sw-partners .swiper-slide {
        width: calc(50% - 15px) !important;
        max-width: 160px;
        margin: 0 auto;
    }

    .tf-sw-partners .swiper-wrapper {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* Section title styling to match chocolatebox */
.business-partner-section .heading {
    color: #181818;
    font-weight: 700;
    letter-spacing: 1px;
}

.business-partner-section .subheading {
    color: #8b6f6c;
    font-weight: 400;
}

/* News */
.news-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.news-img {
    width: 365px !important;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-contents {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    margin-bottom: 8px;
    height: 58px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.news-desc {
    line-height: 1.5;
    color: #555;
    height: 54px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-title {
    margin: 0 0 10px 0; 
    height: 44px; 
    overflow: hidden; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    line-height: 1.4; 
    font-weight: 600; 
    font-size: 15px;
}

.event-meta {
    flex: 1;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}

.event-calendar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

@media (max-width: 768px) {
    .event-card {
        height: 380px !important;
    }
    
    .event-image {
        height: 180px !important;
    }
    
    .event-title {
        font-size: 14px !important;
        height: 40px !important;
    }
    
    .meta-item {
        font-size: 12px !important;
    }
    
    .btn-event-detail {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 576px) {
    .event-card {
        height: 360px !important;
    }
    
    .event-image {
        height: 160px !important;
    }
    
    .event-content {
        padding: 12px !important;
    }
}

.event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.event-status {
    position: absolute; 
    top: 12px; 
    right: 12px; 
    background: rgba(255,255,255,0.95); 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: bold; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.event-content {
    flex: 1; 
    padding: 16px;
    background: white; 
    display: flex;
    flex-direction: column;
}

.event-noimage {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.event-map {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

.event-detail-btn {
    text-align: center;
    width: 100%;
    padding: 12px;
}

