/* =====================================================
   Event Display — List View  [ed_event_list]
   Matches the screenshot layout exactly.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');

.ed-list-wrap {
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    color: #1a1919;
    max-width: 100%;
}

.ed-list-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 15px;
}

/* ── Horizontal rule between months ──────────────── */
.ed-list-divider {
    border: none;
    border-top: 1px solid #d8d8d8;
    margin: 0 0 32px;
}

/* ── Month group: big label left, events right ────── */
.ed-list-group {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    align-items: flex-start;
}

/* ── Month label: bold black, huge ───────────────── */
.ed-list-month {
    width: 200px;
    flex-shrink: 0;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: #1a1919;
    padding-top: 2px;
    font-family: 'Source Sans 3', system-ui, sans-serif;
}

/* ── Events column ────────────────────────────────── */
.ed-list-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Single event row ─────────────────────────────── */
.ed-list-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ── Cover image: 16:9, fixed width ──────────────── */
.ed-list-img {
    width: 290px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* ── Info block ───────────────────────────────────── */
.ed-list-info {
    flex: 1;
}

/* ── Event name ───────────────────────────────────── */
.ed-list-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.25;
    color: #1a1919;
}

/* ── Date/time line — gold/orange brand color ─────── */
.ed-list-dates {
    font-size: 14px;
    font-weight: 700;
    color: #c99844;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* ── Description ──────────────────────────────────── */
.ed-list-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.55;
    margin: 0 0 14px;
}

/* ── Register button — outline pill style ─────────── */
.ed-list-btn {
    display: inline-block;
    border: 1px solid #c0c0c0;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333 !important;
    text-decoration: none !important;
    padding: 7px 20px;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
}

.ed-list-btn:hover {
    background: #f0f0f0;
    border-color: #aaa;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
    .ed-list-month { width: 140px; font-size: 38px; }
    .ed-list-img   { width: 220px; }
}

@media (max-width: 680px) {
    .ed-list-group { flex-direction: column; gap: 16px; }
    .ed-list-month { width: auto; font-size: 32px; }
    .ed-list-row   { flex-direction: column; }
    .ed-list-img   { width: 100%; aspect-ratio: 16 / 9; }
}

/* ── View All footer ──────────────────────────────── */
.ed-list-footer {
    text-align: right;
    margin-top: 8px;
    padding-bottom: 8px;
}

.ed-list-view-all {
    font-size: 14px;
    color: #999 !important;
    text-decoration: none !important;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    transition: color 0.15s;
}

.ed-list-view-all:hover {
    color: #c99844 !important;
    text-decoration: underline !important;
}

/* ── Registration Closed ──────────────────────────── */
.ed-list-btn-closed {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
    padding: 7px 20px;
    cursor: not-allowed;
    opacity: 0.7;
    line-height: 1;
}
