.event-manager {
    display: grid;
    gap: 20px;
}

.events-layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.events-layout-list .event-card {
    display: flex;
}

.events-layout-list .event-thumbnail {
    flex: 0 0 200px;
    margin-right: 20px;
}

.event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.event-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.event-thumbnail-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.event-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-type, .event-price {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.event-type {
    background: #007cba;
    color: white;
}

.event-price {
    background: #28a745;
    color: white;
}

.event-content {
    padding: 20px;
}

.event-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.event-title a {
    color: inherit;
    text-decoration: none;
}

.event-title a:hover {
    color: #007cba;
}

.event-meta {
    margin-bottom: 15px;
}

.event-date, .event-location {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #6c757d;
    font-size: 0.9rem;
}

.event-date .dashicons, .event-location .dashicons {
    margin-right: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.event-time {
    margin-left: 5px;
    font-weight: bold;
}

.event-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 10px;
}

.event-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.event-link:hover {
    background: #005a87;
    color: white;
}

.events-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    text-decoration: none;
    color: #007cba;
}

.page-numbers.current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.page-numbers:hover {
    background: #e9ecef;
}

/* Status indicators */
.event-status-upcoming .event-type {
    background: #17a2b8;
}

.event-status-ongoing .event-type {
    background: #28a745;
}

.event-status-past .event-type {
    background: #6c757d;
}

.event-status-cancelled .event-type {
    background: #dc3545;
}

@media (max-width: 768px) {
    .events-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .events-layout-list .event-card {
        flex-direction: column;
    }
    
    .events-layout-list .event-thumbnail {
        flex: none;
        margin-right: 0;
        margin-bottom: 15px;
    }
}