.events-posts {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

@media (max-width: 800px) {
  .events-posts {
    margin: 0;
    padding: 0;
  }
  .events-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .events-grid .post-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin: 0;
  }
}

.events-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.events-grid .post-card {
    flex: 0 0 calc(25% - 1.5rem);
    scroll-snap-align: start;
    min-width: 280px;
}

.post-card {
    background: #fff;
    border-radius: 1.2em;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.post-card .post-thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: none;
}

.post-card .post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card .post-content {
    padding: 1.2rem;
}

.post-card .post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .7rem;
    color: var(--color-accent);
    line-height: 1.2;
}

.post-card .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color .18s;
}

.post-card .post-title a:hover {
    color: #444;
}

.post-card .post-excerpt {
    color: #444;
    font-size: .97rem;
    margin: 0;
    line-height: 1.5;
}