/* 축제제 페이지 스타일 */
.submenu_current_title {display: none;}

/* ===== 축제별 배너 섹션 스타일 ===== */
.festival-banner-section {
    background: #ffffff;
    padding: 0px 0;
    position: relative;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.banner-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.banner-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color);
    margin: 20px auto 0;
}

.festival-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding: 0 20px;
}

.festival-banner-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.festival-banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: all 0.3s ease;
}

.festival-banner-card:hover .banner-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 2;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.btn-banner-more {
    padding: 10px 30px;
    border-radius: 0px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-banner-more.btn-banner-default {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-banner-more.btn-banner-default:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

.festival-banner-card:hover .btn-banner-more {
    transform: scale(1.05);
}

/* 축제 배너 반응형 디자인 */
@media (max-width: 1200px) {
    .festival-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .festival-banner-card {
        height: 350px;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .festival-banner-section {
        padding:60px 0 0px 0;
    }
    
    .banner-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .festival-banner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 0px;
    }
    
    .festival-banner-card {
        height: 300px;
    }
    
    .banner-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .btn-banner-more {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banner-section-title {
        font-size:1.3em;
    }
    
    .festival-banner-card {
        height: 280px;
    }
    
    .banner-title {
        font-size: 1.2rem;
    }
}

/* ===== 축제 서브메인 페이지 스타일 ===== */
.festival-submain {
    width: 100%;
}

/* 축제 히어로 섹션 */
.festival-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position:center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.festival-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgb(0 0 0 / 75%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 60px 60px;
    border-radius: 15px;
    max-width: 1000px;
    /* background: rgb(0 0 0 / 60%); */
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content .festival-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-content .festival-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-button-area {
    margin-top: 50px;
    text-align: center;
}

.btn-hero-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--color);
    border: 2px solid #000000;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.btn-hero-view:hover {
    background: #ffffff;
    color: var(--color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-hero-view i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-hero-view:hover i {
    transform: translateX(5px);
}

/* 메뉴 네비게이션 섹션 */
.festival-menu-section {
    background: #f5f5f5;
    padding: 40px 0;
}

.menu-section-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 13%;    
    margin: 0 10%;
    align-items: start;
}

.menu-section-title-area {
    position: sticky;
    top: 150px;
}

.menu-section-title-area .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: left;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.menu-card {
    background: #ffffff;
    border-radius: 0px;
    padding: 35px 30px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-card:hover::before {
    opacity: 0.05;
}

.menu-card-black {
    background: #464646;
    color: #ffffff;
}

.menu-card-green {
    background: #4A7B44;
    color: #ffffff;
}

.menu-card-purple {
    background: #3f3f3f;
    color: #ffffff;
}

.menu-card-brown {
    background: #634B34;
    color: #ffffff;
}

.menu-card-teal {
    background: #295B4F;
    color: #ffffff;
}

.menu-card-blue {
    background: #2C486F;
    color: #ffffff;
}

.menu-card-icon {
    width: 90px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.menu-card:hover .menu-card-icon {
    transform: scale(1.0);
    opacity: 1;
}

.menu-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.menu-card-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 교통 안내 링크 스타일 */
.traffic-link-item {
    margin-top: 10px;
}

.traffic-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.traffic-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.traffic-link i {
    font-size: 0.8rem;
}

/* 공지사항 리스트 스타일 */
.notice-list {
    margin-top: 15px;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.notice-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.notice-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 공지사항 및 축제 아카이빙 섹션 */
.notice-archive-section {
    padding: 80px 0;
    margin: auto 10%;
}

.notice-archive-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin: 0 auto;
    align-items: start;
}

.notice-area,
.archive-area {
    width: 100%;
}

.notice-area .section-title,
.archive-area .section-title,
.past-festival-layout .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 50px;
    position: relative;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notice-area .section-title::after,
.archive-area .section-title::after,
.past-festival-layout .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color);
    margin: 15px 0 0 0;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.archive-area-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.archive-area-layout .section-title {
    margin: 0;
}

.archive-area-layout .archive-tabs-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 15px; justify-content: flex-end;
}


.section-title-more:hover {
    color: #2c486f;
}

.section-title-more i {
    font-size: 1rem;
    line-height: 1;
}

.notice-board {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.notice-board-item {
    border-bottom: 1px solid #f0f0f0;
}

.notice-board-item:last-child {
    border-bottom: none;
}

.notice-board-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.notice-board-link:hover {
    background: #f8f9fa;
}

.notice-board-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}
.notice-board-title::before {
    content: '•';
}

.notice-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.notice-badge-important {
    background: #e74c3c;
    color: #ffffff;
}

.notice-board-date {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    margin-left: 20px;
}

.notice-more {
    text-align: center;
    margin-top: 30px;
}

.btn-notice-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--color);
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-notice-more:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-notice-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-notice-more:hover i {
    transform: translateX(3px);
}

/* 아카이빙 섹션 (기존 스타일 유지) */
.archive-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.archive-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
    position: relative;
}

.archive-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color);
    margin: 20px auto 0;
}

/* 아카이빙 갤러리 */
.archive-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.archive-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.archive-gallery-item:hover {
    transform: translateY(-5px);
}

.archive-gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.archive-gallery-image {
    position: relative;
    width: 100%;
    height: 165px;
    overflow: hidden;
    background: #e0e0e0;
    border-radius: 8px;
}

.archive-gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-gallery-item:hover .archive-gallery-image img {
    transform: scale(1.1);
}

.archive-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-gallery-item:hover .archive-gallery-overlay {
    opacity: 1;
}

.archive-gallery-title {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.archive-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.archive-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-card:hover .archive-image img {
    transform: scale(1.1);
}

.archive-year {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.archive-content {
    padding: 25px;
}

.archive-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.archive-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.archive-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.archive-info-item i {
    color: var(--color);
    width: 16px;
}

/* 내용이 없으면 아이콘과 함께 전체 archive-info-item 숨김 */
.archive-info-item:has(span:empty) {
    display: none;
}

.archive-info-item span:empty {
    display: none;
}

/* 서브메인 반응형 디자인 */
@media (max-width: 1200px) {
    .notice-archive-section, .past-festival-layout {margin: auto 5% !important;}
    .menu-section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 0 5%;
    }
    
    .menu-section-title-area {
        position: static;
        text-align: center;
    }
    
    .menu-section-title-area .section-title {
        text-align: center;
    }
    
    .notice-archive-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .section-title-more {
        margin-left: 10px;
    }
    
    .notice-area .section-title::after,
    .archive-area .section-title::after {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .archive-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .festival-subtitle {
        font-size: 1.2rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .archive-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .notice-board-link {
        padding: 15px 20px;
    }
    
    .notice-board-title {
        font-size: 1rem;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .festival-hero {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .festival-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .festival-description {
        font-size: 0.95rem;
    }
    
    .hero-button-area {
        margin-top: 35px;
    }
    
    .btn-hero-view {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .festival-menu-section {
        padding: 60px 0;
    }
    
    .menu-section-title-area .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card-icon {width: auto; height: auto; margin-bottom: 15px; justify-content: flex-start;font-size: 1.5rem;}
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card {
        padding: 30px 25px;
    }
    
    .menu-card-title {
        font-size: 1.3rem;
    }
    
    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .notice-item a {
        margin-right: 0;
        white-space: normal;
    }
    
    .notice-archive-section {
        padding: 60px 0;
    }
    
    .notice-area .section-title,
    .archive-area .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .archive-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .notice-board-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .archive-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .archive-gallery-title {
        font-size: 0.9rem;
    }
    .archive-area-layout {  gap: 0px;margin-bottom: 0px;}
    .archive-area-layout .archive-tabs-wrapper { width: 100%;}
}

@media (max-width: 480px) {
    .hero-content {
        padding: 40px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-button-area {
        margin-top: 30px;
    }
    
    .btn-hero-view {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .btn-hero-view i {
        font-size: 1rem;
    }

    .festival-menu-section {   padding: 60px 0; margin: auto 0%;    }
    
    .archive-section,
    .notice-archive-section {
        padding: 60px 0; margin: auto 5%;
    }
    
    .notice-archive-layout {
        gap: 40px;
    }
    
    .archive-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .notice-board-link {
        padding: 12px 15px;
    }
    
    .notice-board-title {
        font-size: 0.95rem;
    }
    
    .notice-board-date {
        font-size: 0.85rem;
    }
    
    .notice-area .section-title,
    .archive-area .section-title {
        font-size: 1.6rem;
    }
    
    .section-title-more {
        width: 28px;
        height: 28px;
    }
    
    .section-title-more i {
        font-size: 0.9rem;
    }
}

/* 검색 및 필터 섹션 */
.search-filter-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px;
    margin-bottom: 50px;
}

.filter-header {
    display: flex;
    align-items: center;
}

.total-count {
    display: flex;
    align-items: baseline;
    margin-right: 5px;
}

.count-number {
    font-weight: 700;
    color: var(--color);     
    margin: 0 3px;
}

.count-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.filter-header .page-info {
    color: var(--text-secondary);
    font-size: 0.9rem;    
    padding-right: 10px;
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* .search-box > .filter-options {
    width: 100%;
    order: -1;
} */

.search-box .search-input {
    flex: 1;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 14px;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    height: 40px;
    box-sizing: border-box;
    padding: 0 15px;
    line-height: 40px;
}

.search-box .search-input:focus {
    outline: none;
    border-color: var(--color);
    box-shadow: 0 0 0 3px rgba(27, 148, 211, 0.1);
}

.search-box .search-btn {
    padding: 0 20px;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
}

.search-box .search-btn:hover {
    background: var(--color);
    transform: translateY(0px);
}

.search-box .default-btn {
    width: min-content;
    padding: 0 15px;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius:15px var(--border-radius) var(--border-radius) 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .default-btn:hover {
    background: var(--color);
    transform: translateY(0px);
}
.search-box .filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-right: 15px;
}

.search-box .filter-select {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 15px center !important;
    background-size: 10px 10px !important;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    padding: 0px 40px 0px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-box .filter-select::-ms-expand {
    display: none;
}

.search-box .filter-select:hover {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 15px center !important;
    background-size: 10px 10px !important;
}

.search-box .filter-select:focus {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%232b6db0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 15px center !important;
    background-size: 10px 10px !important;
    border-color: var(--color);
}

.search-box .filter-select:focus {
    outline: none;
    border-color: var(--color);
}
.search-box .filter-select#categoryFilter {
    min-width: 190px;
}

/* 이벤트 그리드 */
.events-container {
    margin-bottom: 3rem;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.0rem;
}

/* 이벤트 카드 */
.event-card {
    /* border-radius: var(--border-radius); */
    overflow: hidden;
    /* box-shadow: var(--card-shadow); */
    transition: all 0.3s ease;
    position: relative;
    display: flex;    
    flex-direction: column;
    align-content: space-around;
    width: 18.4%;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.event-image {
    position: relative;
    width: 100%;
    max-height: 410px;
    min-height: 410px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height:100%;
    object-fit: fill;
    transition: all 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-status {
    min-width: 60px;
    text-align: center;
    position: absolute;
    top: 1.0rem;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white-color);
    text-transform: uppercase;
}

.event-status.ongoing {
    background: var(--end-color);
}

.event-status.completed {
    background: var(--text-secondary);
}

.event-status.planning, .event-status.scheduled {
    background: var(--color1);
}

.event-status.cancelled {
    background: var(--text-secondary);
}
.event-status.sold_out {
    background: var(--color1);
}

.event-priority {
    position: absolute;
    top: 1.5rem;
    left: 76px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    display: none;
}

.event-priority.featured {
    background: var(--color);
}

.event-priority.main {
    background: var(--color);
}

.event-content {
    padding: 1rem 0rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}


/* 이벤트 분야 (기획/대관) */
.event-field {
    display: inline-block;
    padding: 6px 16px;
    background: #feede2;
    color: #ed7d31;
    border-radius: 0px;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-field.rental {
    background: #fff3cd;
    color: #f39c12;
}

/* 카테고리별 색상 */
.event-category[data-category="PERFORMANCE"] {
    background: #e3f2fd;
    color: #1976d2;
}

.event-category[data-category="EXHIBITION"] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.event-category[data-category="FESTIVAL"] {
    background: #fff3e0;
    color: #f57c00;
}

.event-category[data-category="EVENT"] {
    background: #e8f5e8;
    color: #388e3c;
}

.event-category[data-category="EDUCATION"] {
    background: #fce4ec;
    color: #c2185b;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 25px;
}

.event-subtitle {
    color: #444444;
    padding: 10px 0px;
}

.event-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 내용이 없으면 아이콘과 함께 전체 info-item 숨김 */
.info-item:has(span:empty) {
    display: none;
}

.info-item span:empty {
    display: none;
}

.info-item i {
    width: 16px;
    margin-right: 8px;
    color: var(--color);
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: none;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-detail {
    padding: 10px 20px;
    background:var(--color);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    margin-right: 10px;
}

.btn-detail:hover {
    background: var(--color);
    transform: translateY(-1px);
}

.btn-bookmark {
    width: 32px;
    height: 32px;
    border: 2px solid #ecf0f1;
    background: #ffffff;
    border-radius: 50%;
    /* right: 0px; */
    /* position: absolute; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bookmark:hover {
    border-color: var(--success-color);
    color: var(--success-color);
}

.btn-bookmark.active {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #ffffff;
}

.btn-bookmark i {
    font-size: 1rem;
}

/* 페이지네이션 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ecf0f1;
    background: #ffffff;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
}

.page-btn:hover {
    border-color: var(--color);
    color: var(--color);
}

.page-btn.active {
    background: var(--color);
    border-color: var(--color);
    color: #ffffff;
}

.page-btn.prev,
.page-btn.next {
    width: 40px;
}



/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: fadeInUp 0.6s ease-out;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

/* 로딩 상태 */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 50%;
    border-top-color: var(--color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 포커스 스타일 */
.btn-detail:focus,
.search-btn:focus,
.filter-select:focus,
.page-btn:focus,
.btn-bookmark:focus {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
    .event-card {
        border: 2px solid var(--text-primary);
    }
    
    .event-status,
    .event-priority {
        border: 1px solid #ffffff;
    }
}

/* ===== 축제 상세 페이지 스타일 ===== */

/* 브레드크럼 */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb a {
    color: var(--color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* 축제 상세 컨테이너 */
.detail-container {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    top: 0px;
}

.event-detail-container {
    overflow: hidden;
}

/* 축제 헤더 */
.event-header {
    display: grid;
    grid-template-columns:1.0fr 4.5fr;
    gap: 6rem;
    padding: 40px 80px;
    border-top: 0px solid #444444;
    margin-bottom: 20px;
    background-size: cover !important;
}

.event-header.bg-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.event-header .event-header-title {
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 0px;
}

.event-detail-container .event-header .event-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 이미지 갤러리 */
.event-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    min-height: auto;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    box-shadow: 1px -1px 10px 0px rgb(83 83 83 / 76%);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 90px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--color);
}

/* 축제 정보 요약 */
.event-info-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #fff;
    position: relative;
}

.event-status-badge,
.event-priority-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white-color);
    text-transform: uppercase;
    align-self: flex-start;
}

.event-status-badge.ongoing {
    background: var(--end-color);
}

.event-priority-badge.featured {
    background: var(--success-color);
}

.event-info-summary.event-category {
    display: inline-block;
    padding: 6px 16px;
    background: #ecf0f1;
    color: var(--color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.0rem;
}

.meta-item i {
    width: 10px;
    color: var(--white-color);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 7px;
    opacity: 0.8;
}

.meta-item label {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--white-color);
    min-width: 60px;
    opacity: 0.8;
}

.meta-item span {
    line-height: 1.4;
}

.event-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 20px;
    bottom: 20px;
    position: absolute;
}

.btn-primary {
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0.5;
}

.btn-primary:hover {
    transform: translateY(-2px);
}


.btn-secondary,
.btn-share {
    padding:10px 30px;
    background: #ffffff;
    color: var(--color);
    border: 2px solid #ecf0f1;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover,
.btn-share:hover {
    color: var(--color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 탭 컨텐츠 */
.event-content-detail {
    border: 0px solid #d5d5d5;
    padding: 0px 5% 50px 5%;
    max-width: 1905px;
}

.content-tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid #ecf0f1;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--color);
}

.tab-btn.active {
    color: var(--color);
    border-bottom-color: var(--color);
}

.tab-content {
    padding: 30px 0px;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.content-section {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

#program .content-section {
    display: flex;
    gap: 2rem;
    flex-direction: row;
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.content-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0px;
}

.content-section img {
    max-width: 100%;
    /* max-width: 1400px !important;    
    margin: auto !important; */
    height: auto;
    margin: 1rem auto;
    display: block;
    box-sizing: border-box;
    object-fit: contain;
}
.content-section .program-note-item h4 {margin: 0rem 0px !important;}
.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.content-section li::before {
    content: '•';
    color: var(--color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-section li .btn_location {
    border: 1px solid var(--text-secondary);
    border-radius: 30px;
    padding: 5px 15px;
    color: var(--text-secondary);
}

.content-section #timetableImagesContainer img,
.content-section #layoutImagesContainer img,
.content-section #location img {max-width: 1400px !important; margin: auto !important;}

.content-section table{width:100%;border-collapse:collapse; min-width: 1000px;}
.content-section table.table_center{text-align: center;}
.content-section table th{background: #f7f7f7; border: 1px solid #ccc; border-top: 2px solid #323232; padding: 20px;text-align: center;white-space: nowrap;}
.content-section table th:first-child{border-left: none;}
.content-section table th:last-child{
    border-right: none;
    max-width: 100%;
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}
.content-section table td {font-size: 16px; border: 1px solid #ccc; padding: 20px; text-align: center;  white-space: normal !important;}
.content-section table td:first-child{border-left: none;}
.content-section table td:last-child{border-right: none;}
.content-section table td.left {text-align: left;}
.content-section table th.row_th{ border-top: 1px solid #ccc;}
.content-section table .top_border{ border-top: 2px solid #323232;}


/* 축제 상세 페이지 추가 스타일 */
.event-info-summary .submenu_current_title {
    display: none;
}

.event-info-summary .event-subtitle {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 0px;
    font-weight: 400;
}

.booking-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.booking-notice p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #6c757d;
}

.booking-notice i {
    color: #007bff;
    margin-right: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.btn-info:hover {
    background: #138496;
}


/* 일정표 스타일 */
.schedule-table {
    margin-top: 2rem;
}

.schedule-day {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.schedule-day h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color);
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-item .time {
    font-weight: 600;
    color: var(--color);
    font-size: 1rem;
}

.schedule-item .program {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.schedule-item .location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
}

/* 위치정보 스타일 */
.location-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.location-details h4, .location-details h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-container {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 후기 스타일 */
.reviews-container {
    margin-bottom: 2rem;
}

.review-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-rating {
    display: flex;
    gap: 0.1rem;
}

.review-rating i {
    color: #f39c12;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.review-write {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.review-write h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-input label {
    font-weight: 600;
    color: var(--text-primary);
}

.star-rating {
    display: flex;
    gap: 0.2rem;
}

.star-rating i {
    color: #ddd;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.star-rating i:hover,
.star-rating i.fas {
    color: #f39c12;
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
}

.review-form textarea:focus {
    outline: none;
    border-color: var(--color);
    box-shadow: 0 0 0 3px rgba(27, 148, 211, 0.1);
}

.btn-submit {
    padding: 12px 24px;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--color);
    transform: translateY(-2px);
}

/* 축제 소개 탭 스타일 */
.festival-highlights {
    margin: 2rem 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--color);
    margin-bottom: 1rem;
}

.highlight-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.festival-info {
    margin: 2rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-cards .info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}
.info-card p{color: #353535 !important;}
.info-cards .info-card i {
    font-size: 1.5rem;
    color: var(--color);
    margin-bottom: 1rem;
}

.info-cards .info-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-cards .info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 프로그램 안내 탭 스타일 */
.program-categories {
    margin: 2rem 0;
}

.program-category {
    margin-bottom: 3rem;
}

.program-detail-images .program-images-row img {max-width: 1000px !important;}

.program-category h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color);
}

.program-category h4 i {
    color: var(--color);
    margin-right: 0.5rem;
}

.program-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.program-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.program-item:hover {
    border-color: var(--color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.program-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.program-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.program-time {
    display: inline-block;
    background: var(--color);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 타임 테이블 탭 스타일 */
.timetable-container {
    margin: 1rem 0; 
}

.timetable-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 150px;
}

.day-btn {
    padding: 1rem 2rem;
    background: #ffffff;
    border: 1px solid #9d9d9d;
    /* border-bottom: none; */
    /* border-radius: var(--border-radius) var(--border-radius) 0 0; */
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-btn:hover {
    color: var(--color);
    border-color: var(--color);
    transform: translateY(1%);
}

.day-btn.active {
    color: var(--color);
    border-color: var(--color);
    background: #ffffff;
    transform: translateY(1px);
}

.timetable-content {
    position: relative;
    text-align: center;
}

.day-schedule {
    display: none;
}

.day-schedule.active {
    display: block;
}

.day-schedule h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-timeline {
    position: relative;
    padding-left: 2rem;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--color);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--color);
}

.timeline-time {
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color);
    background: #ffffff;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timeline-category {
    display: inline-block;
    background: #f8f9fa;
    color: var(--color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 오시는길 탭 스타일 */
.venue-info {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.venue-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.venue-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.transport-info, .parking-info {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.transport-info h4, .parking-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.transport-info h4 i, .parking-info h4 i {
    color: var(--color);
    margin-right: 0.5rem;
}

.transport-item, .parking-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.transport-item h5, .parking-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.transport-item p, .parking-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-map {
    background: var(--color);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-map:hover {
    background: var(--color);
    transform: translateY(-2px);
}

.accessibility-info {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.accessibility-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.accessibility-info h5 i {
    color: var(--color);
    margin-right: 0.5rem;
}

.accessibility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.accessibility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: #ffffff;
    border-radius: var(--border-radius);
}

.accessibility-item i {
    color: var(--color);
    font-size: 0.9rem;
}

.accessibility-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 후원사 소개 탭 스타일 */
.sponsor-categories {
    margin: 0rem 0;
}

.sponsor-category {
    margin-bottom: 3rem;
}

.sponsor-category h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.sponsor-category h4 i {
    margin-right: 0.5rem;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* 각 카테고리 별 그리드 폭 설정 */
.sponsor-grid-main {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.sponsor-grid-organizer {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) ;
}

.sponsor-grid-support {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.sponsor-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-item.main {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.sponsor-logo {
    margin-bottom: 1rem;
}

/* 스폰서 로고 영역 고정 크기 */
.sponsor-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-grid .sponsor-logo img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

.sponsor-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sponsor-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.sponsor-type {
    display: inline-block;
    background: var(--color);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sponsor-benefits {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}

.sponsor-benefits h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3f3f3f !important;
    margin-top: 0rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.benefit-item ｐ{color: #3f3f3f !important;}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--color);
    margin-bottom: 1rem;
}

.benefit-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sponsor-contact {
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.sponsor-contact h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.contact-info .contact-item {
        background: #ffffff;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
    }

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* 현재 진행중인 축제 포스터 메인 슬라이더 */
.current-festival-poster {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);    
    border-top: 1px solid #444;
}

.current-festival-poster::after {
    content: '';
    z-index: 5;
    position: absolute;
    bottom: -10px;
    left: 0;
    display: block;
    width: 100%;
    height: 123px;
    background: url(/resources/view/phcf/images/festival/bg_wave.png) 0 0 / 100% 100% no-repeat;
}

/* 데이터 없을 때: 영역 접고 하단 여백만 유지 */
.current-festival-poster.is-hidden-empty {
    height: 0;
    min-height: 0;
    overflow: hidden;
    margin-bottom: 48px;
    padding: 0;
    border: none;
}

.current-festival-poster.is-hidden-empty::after {
    display: none;
}

.main-festival-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-festival-slider {
    height: 100%;
}

.main-slider-item {
    padding: 0;
    height: 100vh;
    position: relative;
}

.main-festival-slider .slick-dots {
    bottom: 175px;
    z-index: 1;
}

/* 각 축제별 백그라운드 이미지는 인라인 스타일로 설정됨 */

.main-festival-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    z-index: 2;
}

.main-festival-image {
    width: 100%;
    height: 100%;
    position: relative;
    margin-right: 0;
    border-radius: 0;
    min-width: 100%;
    overflow: hidden;
    box-shadow: none;
}

.main-festival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.main-festival-info {
    position: absolute;
    top: 200px;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    max-width: 600px;
}

.main-festival-info-content {
    backdrop-filter: blur(0px);
    padding: 0px 20px;
}

.main-festival-badge {
    display: inline-block;
    background: var(--color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-festival-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-dday-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.main-festival-period {
    font-size: 1.3em;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

.btn-main-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color);
    margin-top: 10px;
}

.btn-main-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.main-festival-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detail-label {
    font-size: 1.21em;
    font-weight: bold;
    color: #ffffff;
    min-width: 80px;
    text-align: right;
    margin-right: 20px;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
}

.detail-value {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.6;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
}

.detail-value p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #ffffff;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
}

/* 축제 상세보기 버튼 */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color);
    color: white;
    padding: 12px 24px;
    border-radius: 0px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    border: none;
}

.btn-more:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-more i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(3px);
}



/* 메인 슬라이더 Slick 스타일 */
.main-festival-slider .slick-prev {
    left: 20px;
}

.main-festival-slider .slick-next {
    right: 20px;
}

/* 올해 축제 슬라이드 스타일 */
.current-year-festivals {
    margin: 40px 0 60px 0;
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.btn-detail-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background:#ffffff;
    color: #000000;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 25px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail-more:hover {
    background: var(--color);    
    color: #ffffff;
    transform: translateY(-2px);
}

.festival-slider-container {
    position: relative;
}

.slider-item {
    padding: 0px 10px;
}

.festival-poster {
    height: 100%;
    max-height: 460px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.festival-poster:hover {
    transform: scale(1.02);
}

.festival-poster img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: fill;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-start;
        align-items: flex-start;
    padding: 20px;
    color: white;
}

.festival-badge {
    display: inline-block;
    background: var(--end-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.festival-badge.ongoing {
    background: #28a745;
    color: white;
}

.festival-badge.completed {
    background: #6c757d;
    color: white;
}

.festival-badge.scheduled {
    background: #ffc107;
    color: #333;
}

.dday-badge {
    display: inline-block;
    background: #c63883;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.festival-title {
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
        text-align: center;
    }

.festival-date {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.festival-location {
    font-size: 1.1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.festival-description {
    font-size: 1.1em;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.95;
}

.festival-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Slick 슬라이더 커스텀 스타일 */
.slick-dots {
    position: relative;
    bottom: 0;
    margin-top: 30px;
    text-align: center;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    width: 25px;
    height: 12px;
    border-radius: 10px;
    background:#666666;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
}

.slick-dots li.slick-active {
    width: 25px;
}
.slick-dots li.slick-active button {
    background: var(--color);
}

.slick-dots li button:hover {
    background: var(--color);
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}


/* 반응형 디자인 */
@media (max-width:1400px) {
    .main-festival-content {
        padding: 0;
    }
    .festival-slider .slick-next {right: 20px;}
    .festival-slider .slick-prev {left: 20px; }
}

@media (max-width: 1024px) {        
    .section-header h2 {font-size: 1.5em;}

    .current-festival-poster {
        height: 100%;
        background: none;
    }    

    .current-festival-poster::after {display: none;}

    .main-slider-item {
        height: 100%;
        background-image: none !important;
    }
    
    .main-festival-slider .slick-dots {
        bottom: 30px;
    }
    .main-festival-content {
        padding: 0;
    }
    
    .main-festival-image {
        width: 100%;
        height: 100%;
        margin-right: 0;
        max-width: 100%;
        min-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-festival-content {
        padding: 0;
    } 
    .main-festival-image img {    height: 350px;}   
    
    .main-festival-image {
        width: 100%;
        height: 100%;
    }
    .current-year-festivals { margin: 0px 0 0px 0;    padding: 0px 0;}
    .main-festival-info {
        left: 20px;
        right: 20px;
        top: 100px;
        max-width: 100%;
    }
    
    .main-festival-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    
    .main-dday-badge {
        font-size: 0.95em;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .main-festival-period {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    
    .btn-main-detail {
        padding: 12px 24px;
        font-size: 1em;
        margin-top: 10px;
    }

    .festival-poster {max-height: 100% !important;}
    .festival-poster img {min-height: 100% !important;}
}

@media (max-width: 480px) {
    .main-festival-content {
        padding: 0;
    }
    
    .main-festival-image {
        width: 100%;
        height: 100%;
    }
}

/* 축제 목록 페이지 반응형 디자인 */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.3em;
    }
    
    .festival-title {
        font-size: 2em;
    }
    
    .poster-content {
        padding: 20px;
    }
    
    .festival-slider-container {
        margin: 0 20px; /* 모바일에서 여백 줄임 */
    }
    
    .slick-prev, .slick-next {
        /* display: none !important; 모바일에서 화살표 숨김 */
    }
}

/* 지난 축제 탭 스타일 */

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 1rem 0;
}

.history-card {
    display: flex;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.history-card:hover {
    transform: translateY(-5px);
}

.history-image {
    width:100%;
    height: auto;
    overflow: hidden;
}

.history-image img {
    margin: 0px;
    width: 100%;
    height: 100%;
    max-width: 400px;
    min-width: 300px;
    min-height: 400px;
    max-height: 400px;
    object-fit: fill;
    transition: transform 0.3s ease;
}


.history-info {
    padding: 0px 1rem;
    width: 100%;
}

.history-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 10px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.history-info h4:after{
    content: '';
    display: block;
    height: 1px;
    background: #e50000;
    width: 40px;
    height: 1px;
    margin: 10px 0;
}

.history-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-details p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.history-details strong {
    color: var(--color);
    font-weight: 600;
    margin-right: 0.5rem;
}

.history-navigation {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.history-navigation .btn {
    padding: 1rem 2rem;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.history-navigation .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.history-navigation .btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}



/* 반응형 디자인 */
@media (max-width: 1600px) {
    .event-card {
        width: 23%;
    } 
}

@media (max-width: 1300px) {
    .event-card {
        width: 31%;
    }   
}

@media (max-width: 950px) {
    .page-title {
        font-size: 2rem;
    }
    
    .search-filter-section {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-header {
        gap: 1rem;
        width: 100%;
    }
    
    .search-box {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }    
    .filter-options {
        flex-direction: column;
        width: 100%;
        gap: 5px !important;
        order: -1;
        margin-right: 0 !important;
    }
    
    .filter-select {
        width: 100%;
        font-size: 1rem;
    }
    
    /* 검색 input과 버튼들을 가로로 배치 */
    .search-box > .search-input,
    .search-box > .search-btn,
    .search-box > .default-btn {
        display: flex;
        align-items: center;
        margin-top: 15px;
    }
    
    .search-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 150px;
        border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
        padding: 0 15px !important;
        font-size: 1rem;
        margin-right: 0 !important;
        height: 40px !important;
        box-sizing: border-box !important;
        line-height: 40px !important;
    }
    
    .search-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        border-radius: 0 !important;
        padding: 0 1.2rem !important;
        font-size: 1rem;
        margin-left: 0 !important;
        margin-right: 0;
        height: 40px !important;
        box-sizing: border-box !important;
    }
    
    .default-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
        padding: 0 1rem !important;
        font-size: 1rem;
        margin-left: 0 !important;
        height: 40px !important;
        box-sizing: border-box !important;
    }
    
    .events-grid {
        gap: 1rem;
    }
    
    .event-card {
        width: 47%;
        height: auto;
        margin-bottom: 0px;
    }
    .event-image {max-height: 100%; min-height:auto;}
    .event-image img {min-height: 460px; max-height: 460px;}

    .event-content {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }
    
    .btn-detail {
        margin-right: 0;
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .btn-bookmark {
        align-self: center;
        width: 50px;
        height: 50px;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .page-btn.prev,
    .page-btn.next {
        width: 35px;
        height: 35px;
    }
    
    .page-btn i {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .search-filter-section {
        padding: 0rem;
        margin-bottom: 2rem;
    }
    
    .filter-header {
        gap: 0.5rem;
    }
    
    .count-number {
        font-size: 1.3rem;
    }
    
    .count-text {
        font-size: 0.9rem;
    }
    .filter-options {
        gap: 0.3rem !important;
    }
    
    .filter-select {
        /*padding: 0.7rem;*/
        font-size: 0.9rem;
    }
    
    .search-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 120px;
        border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
        padding: 0 12px !important;
        font-size: 0.9rem;
        height: 36px !important;
        box-sizing: border-box !important;
        line-height: 36px !important;
    }
    
    .search-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        border-radius: 0 !important;
        padding: 0 1rem !important;
        font-size: 0.9rem;
        height: 36px !important;
        box-sizing: border-box !important;
    }
    
    .default-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
        padding: 0 1rem !important;
        font-size: 0.9rem;
        margin-left: 0 !important;
        height: 36px !important;
        box-sizing: border-box !important;
    }
    
    .event-card {
        width: calc(50% - 0.5rem);
    }

    .events-grid {
        gap: 1rem;
    }
    .event-image img { min-height: 240px; max-height: 240px;}
        
    .event-content {
        padding: 0.8rem 0 0 0 ;
    }
    
    .event-title {
        font-size: 1rem;
        margin: 0.3rem 0;
    }
    
    .event-category-container {
        gap: 0.3rem;
    }
    
    .event-info-summary .event-category {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .event-field {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    
    .info-item {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        align-items: flex-start;
    }
    
    .info-item i {margin-top: 4px;}
    
    .event-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .event-actions {
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    
    .btn-detail {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .btn-bookmark {
        width: 45px;
        height: 45px;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .page-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .page-btn.prev,
    .page-btn.next {
        width: 30px;
        height: 30px;
    }
    
    .page-btn i {
        font-size: 0.7rem;
    }
}

/* 지난 축제 탭 반응형 디자인 */
@media (max-width: 1024px) {
    .history-info {
        padding: 1.2rem;
    }
    
    .history-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .history-details p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    
    .history-info {
        padding: 1rem;
    }
    
    .history-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .history-details p {
        font-size: 0.9rem;
    }
    
    .history-navigation {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .history-navigation .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .history-grid {
        gap: 1rem;
    }
    .history-card {
        flex-direction: column;
    }
    .history-image {width: 100%; max-height: 100%;}
    .history-image img {
        max-width: 100%;
        max-height: 100%;
        min-width: auto;
        min-height: auto;
    }
    .history-info {
        padding: 0.8rem;
    }
    
    .history-info h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .history-details p {
        font-size: 0.8rem;
    }
    
    .history-navigation .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        width: 100%;
    }
}

/* ===== 축제 상세 페이지 반응형 디자인 ===== */
@media (max-width: 1400px) {
    .event-header {
        grid-template-columns: 1fr 1.5fr;
        gap: 1.5rem;
        padding: 20px 10px;
    }
    .event-header .event-header-title { 
        font-size:1.5rem;
    }
    .event-content-detail {
        padding: 0px 20px;
    }
    .content-tabs {
        overflow-x: auto;
        gap: 0.5rem;
        justify-content: flex-start;
    } 
    .tab-btn {
        padding: 1rem 1rem; min-width: 160px;
    }  
    .timetable-nav {overflow-x: auto;  overflow-y: hidden; margin-bottom: 0rem;}
    .day-btn {min-width: auto;}
    
    /* 카카오맵 내부 이미지는 :not()으로 제외 */
    /* .content-section img:not(#kakaoMapContainer *) {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        object-fit: contain !important;
    } */
}

@media (min-width: 1025px) {
    .event-meta {
        padding-bottom: 100px;
    }
    
    .event-actions {
        margin-top: 30px;
        bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .event-header {
        grid-template-columns: 1fr;
    }
    .main-image {
        height: auto;
        max-height: 100%;
    }
    
    .thumbnail-images {
        gap: 0.3rem;
    }   
    .content-section {flex-direction: column !important;}
    .timetable-nav {flex-direction: row;}
    .event-actions {    bottom: auto;   position: relative;}
    
    /* 카카오맵 내부 이미지는 :not()으로 제외 */
    /* .content-section img:not(#kakaoMapContainer *) {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        object-fit: contain !important;
    } */
}

@media (max-width: 850px) {
    .event-priority {    
        left: 80px;
        right: auto;
    }
    
    .thumbnail {
        width: 60px;
        height: 70px;
    }
    
    .event-title {
        font-size: 1.4rem;
        line-height: 1.3;
        height: 60px;
    }
    
    .event-category-container {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .event-category {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    
    .event-field {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    
    .event-meta {
        gap: 0rem;
    }
    
    .meta-item {
        width: 100%;
        gap: 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .meta-item i {
        width: 18px;
        font-size: 1rem;
    }
    
    .event-actions {
        gap: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-share {
        padding: 10px 10px;
        font-size: 1rem;
        justify-content: center;
        flex: 1;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem 0.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .tab-content {
        padding: 1rem;
    }

    .day-btn {
        padding: 10px 1rem;
        min-width: auto;
        font-size: 0.9rem;
        letter-spacing: -2px;
    }

    .contact-info {grid-template-columns: repeat(2, 1fr);}
    
    .content-section h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .content-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .content-section li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }    
    
    
	.content-section table {
	      font-size: 0.9rem !important;
	      min-width: 600px !important;
	      width: auto !important;
	      display: table !important;
	  }
	  
	.content-section table th,
	.content-section table td {
	      padding: 10px 8px !important;
	      white-space: nowrap !important;
	}
	  
	.content-section table th {
	      font-size: 0.85rem !important;
	      background: #f5f5f5 !important;
	}
	  
	.content-section table td {
	  font-size: 0.85rem !important;
	}
}

@media (max-width: 650px) {
	.detail-container {
		max-width: 100% !important;
		overflow-x: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	.event-content-detail {
		padding: 0px 15px 50px 15px !important;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		margin: 0 !important;
	}
	
	.tab-content {
		padding: 20px 0px !important;
		overflow-x: hidden !important;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	#overview {
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		padding: 20px 0px !important;
		margin: 0 !important;
	}
	
	.content-section {
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
        gap: 0rem !important;
	}
	
}

@media (max-width: 480px) {
    .event-header {
        gap: 1rem;
        max-width: 100%;
    }
    
    .thumbnail-images {
        gap: 0.2rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 60px;
    }
    
    .event-title {
        font-size: 1.0rem;
        line-height: 1.2;
        height: 50px;
    }
    
    .event-info-summary .event-category-container {
        gap: 0.3rem;
        margin-bottom: 0.3rem;
    }
    
    .event-info-summary .event-category {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .event-info-summary .event-field {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
        
    .meta-item {
        gap: 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .meta-item i {
        width: 16px;
        font-size: 0.9rem;
    }
    .btn-primary,
    .btn-secondary,
    .btn-share {
        width: 33%;
        padding: 0.8rem;
        font-size: 0.9rem;
        flex: auto;
    }
    
    .content-tabs {
        gap: 0rem;
    }
    
    .tab-btn {
        padding: 0.6rem 0rem;
    }
    
    .tab-content {
        padding: 0.8rem;
    }
    
    .content-section h3 {
        font-size: 1rem;
        margin: 1rem 0 0.8rem 0;
    }
    
    .content-section p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .content-section li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        padding-left: 1rem;
    }    

    .program-list, .transport-info, .parking-info {gap: 1rem; }
    .program-item, .transport-item, .parking-item {width: 100%; margin-bottom: 0rem;}
    .contact-info {
        grid-template-columns: repeat(1, 1fr);
    }

    /* 모바일에서 일정표 반응형 */
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .schedule-item .time {
        font-size: 0.9rem;
        font-weight: 700;
    }
    
    .schedule-item .program {
        font-size: 0.9rem;
    }
    
    .schedule-item .location {
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* 모바일에서 위치정보 반응형 */
    .location-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .map-placeholder i {
        font-size: 2rem;
    }
}

/* 북마크 버튼 스타일 */
.btn-bookmark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-bookmark:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-bookmark i {
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.btn-bookmark.active {
    background: rgb(255 255 255 / 65%);
}

.btn-bookmark.active i {
    color: #e74c3c;
}

.btn-bookmark:hover i {
    color: #e74c3c;
}

.btn-bookmark:active {
    transform: scale(0.95);
}

/* 북마크 버튼 반응형 */
@media (max-width: 768px) {
    .btn-bookmark {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .btn-bookmark i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn-bookmark {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }
    
    .btn-bookmark i {
        font-size: 14px;
    }
}

html.color_change .festival-info,
html.color_change .festival-menu-section {background: #000000 !important;}

html.color_change .menu-section-title-area .section-title,
html.color_change .notice-area .section-title, 
html.color_change .archive-area .section-title,
html.color_change .archive-gallery-title
{color: #dddddd !important;}

/* 축제 페이지 나이트 모드 - 메뉴 카드 통일 스타일 */
html.color_change .menu-card,
html.color_change .menu-card-black,
html.color_change .menu-card-green,
html.color_change .menu-card-purple,
html.color_change .menu-card-brown,
html.color_change .menu-card-teal,
html.color_change .menu-card-blue {
    background: #1a1a1a !important;
    color: #dddddd !important;
    border: 1px solid #333333 !important;
}

html.color_change .menu-card:hover {
    background: #2a2a2a !important;
    border-color: #555555 !important;
}

html.color_change .menu-card-icon,
html.color_change .menu-card-title,
html.color_change .menu-card-description {
    color: #dddddd !important;
}

/* 축제 페이지 나이트 모드 - 히어로 버튼 스타일 */
html.color_change .btn-hero-view {
    background: #000000 !important;
    color: #dddddd !important;
    border: 2px solid #dddddd !important;
}

html.color_change .btn-hero-view:hover {
    background: #333333 !important;
    border-color: #dddddd !important;
}

/* 축제 페이지 나이트 모드 - 공지사항 및 아카이빙 섹션 */
html.color_change .notice-archive-section {
    background: #000000 !important;
    color: #dddddd !important;
}

html.color_change .notice-area,
html.color_change .archive-area {
    background: transparent !important;
    border: none !important;
}

html.color_change .notice-area .section-title::after,
html.color_change .archive-area .section-title::after {
    background: #dddddd !important;
}

html.color_change .section-subtitle {
    color: #cccccc !important;
}

/* 축제 페이지 나이트 모드 - 지난 축제 섹션 */
html.color_change .past-festival-section {
    background: #000000 !important;
    color: #dddddd !important;
}

html.color_change .past-festival-section .section-title {
    color: #dddddd !important;
}

/* 축제 페이지 나이트 모드 - history-navigation 버튼 보더 */
html.color_change .history-navigation .btn,
html.color_change .history-navigation .btn.btn-primary {
    border: 1px solid #dddddd !important;
}

/* 축제 페이지 나이트 모드 - fas fa-plus 아이콘 및 section-title-more */
html.color_change .section-title-more,
html.color_change .section-title-more i,
html.color_change .fas.fa-plus {
    color: #dddddd !important;
}

html.color_change .section-title-more:hover,
html.color_change .section-title-more:hover i {
    color: #cccccc !important;
}

/* 축제 페이지 나이트 모드 - archive-tabs */
html.color_change .archive-tabs {
    background: transparent !important;
}

html.color_change .archive-tab-btn {
    color: #656565 !important;
    background: transparent !important;
}

html.color_change .archive-tab-btn.active {
    color: #dddddd !important;
}

html.color_change .archive-tab-btn:hover {
    color: #dddddd !important;
}

html.color_change .archive-tab-btn i {
    color: inherit !important;
}

/* ============================================
   축제 아카이빙 탭 스타일
   ============================================ */

/* 아카이빙 탭 메뉴 */
.archive-tabs {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    width: 60%;
}

.archive-tab-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.archive-tab-btn i {
    font-size: 1.1rem;
}

.archive-tab-btn.active {
    color: #000000;
}

/* 아카이빙 탭 컨텐츠 */
.archive-tab-content {
    display: none;
}

.archive-tab-content.active {
    display: block;
}

/* 아카이빙 갤러리 날짜 */
.archive-gallery-date {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

/* 아카이빙 갤러리 오버레이 아이콘 스타일 개선 */
.archive-gallery-overlay i {
    font-size: 2rem;
    color: #ffffff;
    opacity: 0.9;
}

.archive-gallery-item:hover .archive-gallery-overlay i {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* ============================================
   축제 아카이빙 자료 탭 스타일
   ============================================ */

.archive-document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-document-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.archive-document-item:hover {
    border-color: #0e67a9;
    box-shadow: 0 4px 12px rgba(14, 103, 169, 0.15);
    transform: translateX(5px);
}

.archive-document-link {
    display: flex;
    align-items: center;
    padding:10px 10px;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.archive-document-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    flex-shrink: 0;
}

.archive-document-icon i {
    font-size: 1.5rem;
    color: #676767;
}

.archive-document-item:hover .archive-document-icon {
    background: rgba(14, 103, 169, 0.1);
}

.archive-document-info {
    flex: 1;
    min-width: 0;
}

.archive-document-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.archive-document-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #999;
}

.archive-document-date {
    display: flex;
    align-items: center;
}

.archive-document-size {
    display: flex;
    align-items: center;
}

.archive-document-download {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.archive-document-download i {
    font-size: 1.1rem;
    color: #666;
}

.archive-document-item:hover .archive-document-download {
    background: #0e67a9;
}

.archive-document-item:hover .archive-document-download i {
    color: #ffffff;
}

/* ============================================
   지난 축제 섹션 스타일
   ============================================ */

.past-festival-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-bottom: -5%;
}

.past-festival-layout {
    margin: 0 10%;
}

.past-festival-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.past-festival-section .section-title-more {
    font-size: 1rem;
    color: #0e67a9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.past-festival-section .section-title-more:hover {
    color: #000000;
    transform: translateX(5px);
}

/* 지난 축제 그리드 (기존 스타일 개선) */
.past-festival-section .history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.past-festival-section .history-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.past-festival-section .history-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.past-festival-section .history-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.past-festival-section .history-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.past-festival-section .history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.past-festival-section .history-card:hover .history-image img {
    transform: scale(1.1);
}

.past-festival-section .history-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 0.9rem;
}

.past-festival-section .history-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.past-festival-section .history-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.past-festival-section .history-details {
    flex: 1;
}

.past-festival-section .history-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.past-festival-section .history-details p strong {
    color: #333;
    font-weight: 600;
    margin-right: 6px;
}

.past-festival-section .history-navigation {
    text-align: center;
    margin-top: 40px;
}

.past-festival-section .history-navigation .btn {
    padding: 12px 32px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.past-festival-section .history-navigation .btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.past-festival-section .empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

.content-section .festival-slider li::before {
    display: none;
}
.content-section .festival-slider .slick-dots {margin-top: -50px;}

/* ============================================
   반응형 스타일
   ============================================ */

@media (max-width: 768px) {
    /* 아카이빙 탭 */
    .archive-tabs {
        flex-wrap: wrap;
        gap: 8px;
        width: 80%;
    }
    
    .archive-tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* 자료 목록 */
    .archive-document-link {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .archive-document-icon {
        width: 40px;
        height: 40px;
    }
    
    .archive-document-icon i {
        font-size: 1.2rem;
    }
    
    .archive-document-title {
        font-size: 0.9rem;
    }
    
    .archive-document-meta {
        font-size: 0.8rem;
        gap: 4px;
        height: 20px;
    }
    
    .archive-document-download {
        width: 36px;
        height: 36px;
    }
    
    /* 지난 축제 섹션 */
    .past-festival-section {
        padding: 40px 0;
        margin: auto 0%;
    }
    
    .past-festival-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .past-festival-section .history-grid {
        grid-template-columns:repeat(auto-fill, minmax(135px, 2fr));
        gap: 10px;
    }
    
    .past-festival-section .history-info {
        padding: 16px;
    }
    
    .past-festival-section .history-info h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* 아카이빙 탭 */
    .archive-tab-btn {
        padding: 8px 5px;
        font-size: 0.85rem;
    }
    
    .archive-tab-btn i {
        font-size: 1rem;
    }
    
    /* 자료 목록 */
    .archive-document-link {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .archive-document-icon {
        width: 36px;
        height: 36px;
    }
    
    .archive-document-icon i {
        font-size: 1rem;
    }
    
    .archive-document-title {
        font-size: 0.85rem;
    }
    
    /* 지난 축제 섹션 */
    .past-festival-section {
        padding: 30px 0;
    }
    
    .past-festival-section .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .past-festival-section .history-image {
        height: 200px;
    }
    
    .past-festival-section .history-info h4 {
        font-size: 15px; word-break: break-word;margin-bottom: 0px;
    }
    
    .past-festival-section .history-navigation .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}