/* 뉴스 페이지 스타일 */
.news-page {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 뉴스 헤더 */
.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.news-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 뉴스 필터 */
.news-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    margin: 0 10px 10px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 뉴스 카드 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    flex: 0 0 50%;
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card.featured .news-image img {
    height: 350px;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.news-tag.event {
    background-color: #ff6b6b;
}

.news-tag.exhibition {
    background-color: #20c997;
}

.news-tag.notice {
    background-color: #fd7e14;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-card.featured .news-content h2 {
    font-size: 28px;
}

.news-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #007bff;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-top: auto;
    position: relative;
    padding-right: 20px;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.news-card:hover .read-more::after {
    transform: translateX(5px);
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #ddd;
    background-color: transparent;
    border-radius: 50%;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #f0f0f0;
}

.pagination-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination-btn.next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

.pagination-separator {
    margin: 0 5px;
    color: #888;
}

/* 뉴스 상세 페이지 스타일 */
.news-detail {
    padding: 80px 0;
    background-color: #fff;
}

.news-detail .news-header {
    margin-bottom: 30px;
}

.news-detail .date {
    font-size: 16px;
    color: #777;
    margin-top: 5px;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.news-text {
    line-height: 1.7;
    color: #444;
    font-size: 16px;
}

.news-text h2 {
    font-size: 28px;
    color: #333;
    margin: 40px 0 20px;
}

.news-text h3 {
    font-size: 22px;
    color: #444;
    margin: 30px 0 15px;
}

.news-text p {
    margin-bottom: 20px;
}

.news-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.news-text li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #007bff;
}

.reservation-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.reservation-btn:hover {
    background-color: #0056b3;
}

/* 다른 소식 섹션 */
.more-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.more-news h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.more-news .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.news-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-thumbnail {
    height: 180px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-info {
    padding: 15px;
}

.news-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
}

.news-info .date {
    font-size: 14px;
    color: #777;
}

.view-all-btn {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    padding: 10px 25px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    width: fit-content;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #e1e1e1;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .news-card.featured {
        flex-direction: column;
    }
    
    .news-card.featured .news-image {
        flex: none;
    }
    
    .news-card.featured .news-image img {
        height: 250px;
    }
    
    .news-card.featured .news-content h2 {
        font-size: 22px;
    }
    
    .more-news .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .news-header h1 {
        font-size: 36px;
    }
    
    .news-header p {
        font-size: 16px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
        margin: 0 5px 10px;
    }
    
    .news-detail .news-header h1 {
        font-size: 28px;
    }
    
    .news-text h2 {
        font-size: 24px;
    }
    
    .news-text h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .news-page {
        padding: 60px 0;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-header h1 {
        font-size: 32px;
    }
    
    .news-content h2 {
        font-size: 18px;
    }
    
    .news-card.featured .news-content h2 {
        font-size: 20px;
    }
    
    .news-detail {
        padding: 50px 0;
    }
    
    .more-news .news-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-box {
        padding: 20px;
    }
} 