#main-content {
    background-color: var(--club-rgba-20) !important;
    min-height: 100svh;
}
.attps-match-list-wrap {
    /* background: linear-gradient(180deg, var(--attps-match-bg), var(--attps-match-bg)); */
    padding: 1px 0;
    /* border-radius: 15px */
}

.event-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px
}

.event-title-name {
    font-family: 'euclid-circular-a', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0
}

.events-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, 300px);
    margin: 20px;
    justify-content: flex-start
}

.event-card {
    height: 400px;
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out
}

.event-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .2)
}

.event-card-image {
    width: 100%;
    height: 220px
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.event-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.event-card-content h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    padding-bottom: 0 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis
}

.event-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding-bottom: 0 !important
}

.event-details i {
    color: var(--attps-match-accent);
    margin-right: 8px
}

.empty-msg {
    margin: 20px;
    color: #666;
    font-style: italic
}

.past-events .event-card {
    opacity: .88;
    filter: grayscale(.8)
}

@media(max-width:680px) {
    .events-grid {
        grid-template-columns: 1fr;
        margin-inline: 20px
    }

    .event-card {
        max-width: none
    }
}