.event-page {
    width: 100%;
    margin: 3.12rem auto;
    font-family: inherit;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
    gap: 1.25rem;
}

.event-card {
    border: 0.06rem solid var(--color-border);
    border-radius: 0.5rem;
    border-top: 0.25rem solid var(--color-primary);
    padding: 1.25rem;
    background: var(--color-white);
    box-shadow: 0 0.25rem 0.75rem var(--shadow-small);
}

.event-card-title {
    margin-top: 0;
    margin-bottom: 0.9rem;
    color: var(--color-text-primary);
    border-bottom: 0.06rem solid var(--color-border);
    padding-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.event-card-title a {
    color: inherit;
    text-decoration: none;
}

.event-card-title a:hover {
    color: var(--color-title-hover);
    text-decoration: underline;
}

.event-info {
    margin: 0;
}

.event-info dt {
    margin-top: 0.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.event-info dt:first-child {
    margin-top: 0;
}

.event-info dd {
    margin: 0.2rem 0 0 0;
    color: var(--color-text-secondary);
}

.event-info dd a {
    color: var(--color-href);
    text-decoration: none;
}

.event-info dd a:hover {
    text-decoration: underline;
}

.event-card > a {
    margin-top: 1rem;
    margin-right: 0.01rem;
    padding: 0.25rem 0.35rem;
    font-size: 0.85em;
    line-height: 1.2;
}

@media (max-width: 769px) {
    .event-page {
        margin: 2rem auto;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }
}
