.custom-event-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.custom-event-card {
    background: white;
    border: 1px solid #e5e5e5;
    width: calc(33.333% - 16px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.custom-event-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.custom-event-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    display: block;
}

.custom-event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-event-date {
    display: flex;
    color: #00BCD4;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-event-date .day {
    font-size: 32px;
    line-height: 1;
    display: block;
}

.custom-event-date .month {
    text-transform: uppercase;
    font-size: 14px;
}

.custom-event-date .time {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.custom-event-content .title {
    font-size: 17px;
    font-weight: 600;
    margin: 12px 0 8px;
    line-height: 1.3;
}

.custom-event-content .title a {
    text-decoration: none;
    color: #333;
}

.custom-event-content .title a:hover {
    color: #00bcd4;
}

.custom-event-content .excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: auto;
}

.custom-event-footer {
    margin-top: 20px;
}

.custom-event-footer .register-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: background 0.2s ease;
}

.custom-event-footer .register-btn:hover {
    background: #f5f5f5;
}

.custom-event-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.custom-event-card {
    width: 100%;
}

@media (min-width: 768px) {
    .custom-event-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .custom-event-card {
        width: calc(33.333% - 16px);
    }
}

