.events-page {
    max-width: 960px;
    margin-inline: auto;
    padding: 40px 20px;
}

.events-header { margin-bottom: 28px; }
.events-home-link { display: inline-block; font-size: 1.8rem; font-weight: 800; text-decoration: none; }
.events-header h1 { margin-block: 16px 10px; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.events-header p { max-width: 65ch; color: var(--secondaryLabel); line-height: 1.6; }
.events-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.events-grid > li { min-width: 0; }
.event-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--separator);
    border-radius: 16px;
    background: var(--systemBackground);
    color: var(--label);
    text-decoration: none;
}
.event-card:hover {
    background: var(--secondarySystemBackground);
    color: var(--label);
    text-decoration: none;
}
.event-card:focus-visible { outline: 3px solid var(--game-widgets-light); outline-offset: 4px; }
.event-card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--tertiarySystemFill); }
.event-card-placeholder { display: grid; place-items: center; background: linear-gradient(130deg, var(--game-widgets-dark), var(--game-widgets-light)); color: white; font-size: 1.5rem; font-weight: bold; }
.event-card-info { padding: 18px 20px 22px; }
.event-card-info time { color: var(--secondaryLabel); font-size: 0.8rem; }
.event-card-info h2 { font-size: 1.2rem; line-height: 1.4; margin-top: 8px; overflow-wrap: anywhere; }
.events-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.events-pagination a { padding: 10px 14px; border: 1px solid var(--separator); border-radius: 10px; background: var(--systemBackground); }
.events-pagination span, .events-footer, .events-empty { font-size: 0.85rem; color: var(--secondaryLabel); }
.events-footer { margin-top: 40px; text-align: center; }
@media (max-width: 600px) {
    .events-page { padding: 24px 16px; }
    .events-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
