.custom-events-archive-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cea-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.cea-row:last-child {
    border-bottom: none !important;
}

.cea-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Base Desktop Layout (4 cols) */
.cea-col-name { width: 44%; }
.cea-col-location { width: 20%; }
.cea-col-date { width: 20%; }
.cea-col-status { width: 16%; }

.cea-event-name a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Tablet Layout (still 4 cols mostly, or slight wrapping if tight) */
@media (max-width: 1024px) {
    .cea-row { padding: 15px 0; }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .cea-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 0;
    }
    
    .cea-col-name,
    .cea-col-location,
    .cea-col-date,
    .cea-col-status {
        width: 100%;
        text-align: left !important;
    }
}
