/**
 * News Page Styles (Exhibitions)
 * 
 * Clean, professional layout for listing exhibition events.
 * Focuses on readability and clear calls to action.
 */

/* Container */
.news-page-container {
    padding-bottom: 80px;
    background: #fff;
    min-height: 80vh;
}

/* Page Header */
.news-header {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #e9ecef;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 16px 0;
}

.news-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary, #666);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Title */
.event-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color, #0073aa);
    display: inline-block;
}

.news-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Event Card (List View Style) */
.event-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Event Image */
.event-image {
    width: 350px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

/* Date Badge on Image */
.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.date-month {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #0073aa);
}

.date-year {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Event Content */
.event-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.status-upcoming {
    background: #e3f2fd;
    color: #1976d2;
}

.status-past {
    background: #f5f5f5;
    color: #757575;
}

.event-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color, #0073aa);
    stroke-width: 2px;
}

.detail-label {
    font-weight: 600;
    margin-right: 4px;
    color: #333;
}

/* Action Button */
.event-action {
    margin-top: auto;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.event-btn:hover {
    background: var(--primary-color, #0073aa);
    transform: translateY(-2px);
    color: #fff;
    /* Ensure text color stays white */
}

/* Responsive */
@media (max-width: 900px) {
    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        height: 240px;
    }

    .event-content {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .news-title {
        font-size: 2rem;
    }

    .event-details {
        grid-template-columns: 1fr;
    }
}