/* Equus Events Frontend Styles */

/* Single Event Page */
.event-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.event-header {
    margin-bottom: 2rem;
}

.event-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.event-featured-image {
    margin-bottom: 2rem;
}

.event-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.event-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.event-meta {
    display: grid;
    gap: 1rem;
}

.event-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.meta-label {
    font-weight: 600;
    color: #333;
    min-width: 120px;
}

.meta-value {
    color: #666;
}

.event-link {
    color: #007cba;
    text-decoration: none;
}

.event-link:hover {
    text-decoration: underline;
}

.event-content {
    margin-bottom: 2rem;
}

.event-content h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
    color: #294F8C !important;
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

.event-register {
    background: #28a745;
}

.event-register:hover {
    background: #218838;
}

.event-back {
    background: #6c757d;
}

.event-back:hover {
    background: #545b62;
}

/* Events Archive Page */
.events-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.event-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.event-image {
    height: 216px;
    overflow: hidden;
}

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

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

.event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.event-title a {
    color: #294F8C;
    text-decoration: none;
}

.event-title a:hover {
    color: #007cba;
}

.event-meta-single {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.event-meta-single .meta-text {
    color: #86B955;
    font-size: 14px;
    font-weight: 400;
    display: inline;
}

.event-excerpt {
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
    flex-shrink: 1;
}

.no-events {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Pagination */
.navigation.pagination {
    text-align: center;
    margin-top: 2rem;
}

.nav-links {
    display: inline-flex;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #007cba;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-single {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .event-details {
        padding: 1.5rem;
    }
    
    .event-meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .meta-label {
        min-width: auto;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .event-single {
        padding: 0.5rem;
    }
    
    .event-title {
        font-size: 1.75rem;
    }
    
    .event-details {
        padding: 1rem;
    }
    
    .events-archive {
        padding: 1rem 0;
    }
    
    .archive-title {
        font-size: 2rem;
    }
} 