/* --- Featured Events List (Horizontal Row Style) --- */

.er-events-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.er-event-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
}

.er-event-row:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.er-event-row-img {
    width: 150px;
    height: 100px;
    position: relative;
    flex-shrink: 0;
}

.er-event-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.er-event-row-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    gap: 20px;
}

.er-event-row-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--accent);
    font-weight: 700;
}

.er-event-row-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.er-event-row-details p i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.er-event-row-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .er-event-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .er-event-row-img {
        width: 100%;
        height: 180px;
    }
    .er-event-row-info {
        width: 100%;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .er-event-row-date {
        align-self: flex-end;
    }
}

/* --- Event Schedule Row (New Style for Detail Page) --- */
.er-event-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.er-event-schedule-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.er-event-schedule-row:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.er-event-schedule-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #ef4444; /* Red indicator */
}

.er-event-schedule-date {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-right: 1px solid var(--border-light);
    flex-shrink: 0;
}

.er-event-schedule-date .day {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.er-event-schedule-date .month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.er-event-schedule-info {
    flex: 1;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.er-event-schedule-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.er-event-schedule-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-weight: 600;
}

.er-event-schedule-venue {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.er-event-schedule-actions {
    padding-right: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.er-event-schedule-actions i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .er-event-schedule-row {
        flex-direction: column;
        align-items: stretch;
    }
    .er-event-schedule-date {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 10px;
    }
    .er-event-schedule-info {
        padding: 15px;
    }
    .er-event-schedule-actions {
        padding: 0 15px 15px;
        justify-content: space-between;
    }
}
