.event-list-section {
    padding: 60px 0 40px 0;
    background: #f8f9fa;
}

.event-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-list-layout {
    display: block;
    width: 100%;
}

.event-list-main,
.event-list-cards-container {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}


.event-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 12px;
}

.event-tab {
    padding: 13px 38px;
    border-radius: 24px 24px 0 0;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 1.13rem;
    border: 2px solid #e9ecef;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    top: 2px;
}

.event-tab.active, .event-tab:hover {
    background: #3399FF;
    color: #fff;
    border-color: #3399FF;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(51, 153, 255, 0.15);
}


.event-search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 38px;
    gap: 0;
}

.event-search-input {
    width: 420px;
    max-width: 90vw;
    padding: 18px 24px;
    border-radius: 28px 0 0 28px;
    border: 2px solid #e9ecef;
    font-size: 1.13rem;
    background: #fff;
    outline: none;
    transition: border 0.2s;
    font-weight: 500;
}

.event-search-input:focus {
    border-color: #FF6B35;
}

.event-search-btn {
    padding: 18px 36px;
    border-radius: 0 28px 28px 0;
    border: none;
    background: #FF6B35;
    color: #fff;
    font-weight: 700;
    font-size: 1.13rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
    letter-spacing: 0.5px;
}

.event-search-btn:hover {
    background: #e55a2b;
}

.event-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 28px;
    margin-top: 32px;
    letter-spacing: 1px;
}

.event-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.event-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #e9ecef;
    text-decoration: none;
    color: inherit;
}

.event-card:visited {
    color: inherit;
    text-decoration: none;
}

.event-card:focus {
    outline: none;

}

.event-card.live:hover {
    border-color: #FF6B35;
}

.event-card.live:focus {
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12), 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.event-card.upcoming:hover {
    border-color: #1565c0;
}

.event-card.upcoming:focus {
    box-shadow: 0 8px 32px rgba(21, 101, 192, 0.12), 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.event-card.archive:hover, .event-card.replay:hover {
    border-color: #b0b0b0;
}

.event-card.archive:focus {
    box-shadow: 0 8px 32px rgba(176, 176, 176, 0.12), 0 0 0 3px rgba(176, 176, 176, 0.12);
}

.event-card-type-bar {
    width: 8px;
    background: #3399FF;
    flex-shrink: 0;
}

.event-card-type-bar.live {
    background: #FF6B35;
}

.event-card-type-bar.upcoming {
    background: #1565c0;
}

.event-card-type-bar.archive, .event-card-type-bar.replay {
    background: #b0b0b0;
}

.event-card-content {
    display: flex;
    align-items: center;
    padding: 24px;
    flex: 1;
    gap: 20px;
}

.event-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.event-card:hover .event-card-logo {
    border-color: #e9ecef;
}

.event-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.event-card-logo i {
    font-size: 32px;
    color: #adb5bd;
}

.event-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-card-location {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.event-card-location i {
    color: #FF6B35;
    font-size: 14px;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 140px;
    flex-shrink: 0;
}

.event-card-date {
    background: #fff6f0;
    color: #FF6B35;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(51, 153, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 7px;
}

.event-card-date.live {
    background: #fff6f0;
    color: #FF6B35;
}

.event-card-date.upcoming {
    background: #e3f0fc;
    color: #1565c0;
}

.event-card-date.archive, .event-card-date.replay {
    background: #f0f0f0;
    color: #888;
}

.event-card-date i {
    margin-right: 6px;
    font-size: 1em;
}

.event-card-date.live i {
    color: #FF6B35;
}

.event-card-date.upcoming i {
    color: #1565c0;
}

.event-card-date.archive i, .event-card-date.replay i {
    color: #888;
}

.event-card-time {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card-time i {
    color: #FF6B35;
    font-size: 12px;
}

.event-card-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.event-card-owner img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #3399FF;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(51, 153, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.load-more-btn:hover {
    background: #2980b9;
    box-shadow: 0 6px 24px rgba(51, 153, 255, 0.3);
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-btn i {
    font-size: 14px;
}

.empty-state, .error-state, .loading-container {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(51, 153, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 520px;
    margin: 80px auto 80px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.empty-state-icon, .error-state-icon {
    font-size: 64px;
    margin-bottom: 24px;
    color: #FF6B35;
    opacity: 0.85;
    animation: empty-bounce 1.2s infinite alternate;
}

.empty-state h3, .error-state h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #FF6B35;
    letter-spacing: 0.5px;
}

.empty-state p, .error-state p {
    font-size: 1.08rem;
    color: #555;
    margin-bottom: 0;
}

@keyframes empty-bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

.loading-spinner {
    width: 64px;
    height: 64px;
    border: 7px solid #e9ecef;
    border-top: 7px solid #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
    display: inline-block;
}

.loading-headline {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #FF6B35;
    letter-spacing: 0.5px;
}

.loading-container p {
    font-size: 1.08rem;
    color: #555;
    margin-bottom: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .event-list-container {
        max-width: 98vw;
    }

    .event-card-content {
        padding: 20px;
        gap: 16px;
    }

    .event-card-logo {
        width: 70px;
        height: 70px;
    }

    .event-card-title {
        font-size: 1.15rem;
    }

    .event-card-meta {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .event-list-section {
        padding: 30px 0 20px 0;
    }

    .event-card {
        margin-bottom: 16px;
    }

    .event-card-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }

    .event-card-logo {
        width: 60px;
        height: 60px;
        align-self: center;
    }

    .event-card-info {
        width: 100%;
    }

    .event-card-meta {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }

    .event-card-date {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .event-card-owner {
        font-size: 0.85rem;
    }

    .event-card-owner img {
        width: 20px;
        height: 20px;
    }

    .load-more-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

.event-type-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #222;
    border-radius: 10px;
    padding: 14px 22px 10px 24px;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.event-type-header:first-child {
    margin-top: 0;
    padding-top: 0;
}

.event-type-header.live {
    color: #FF6B35;
}

.event-type-header.upcoming {
    color: #1565c0;
}

.event-type-header.archive, .event-type-header.replay {
    color: #b0b0b0;
}

.event-type-header i {
    font-size: 1.1em;
    margin-right: 6px;
}

.event-list-header {
    text-align: center;
    margin-top: 90px;
    margin-bottom: 18px;
}

.event-list-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #FF6B35;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: none;
}

.event-list-header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    text-align: center;
    text-shadow: none;
}

@media (max-width: 600px) {
    .event-list-header {
        margin-top: 60px;
    }

    .event-list-header h1 {
        font-size: 2.5rem;
    }

    .event-list-header p {
        font-size: 1rem;
    }
}

.event-list-main,
.event-filters-sidebar {
    margin-top: 0;
}

.event-filters-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 18px 32px;
    margin-bottom: 32px;
    margin-top: 18px;
    flex-wrap: wrap;
    position: sticky;
    top: 32px;
    z-index: 20;
    transition: box-shadow 0.2s;
}

body.scrolled .event-filters-bar {
    box-shadow: 0 8px 24px rgba(51, 153, 255, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group i {
    color: #FF6B35;
    font-size: 1.15rem;
    margin-right: 6px;
}

.filter-group input[type="text"] {
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 1rem;
    background: #f8f9fa;
    outline: none;
    transition: border 0.2s;
    min-width: 180px;
}

.filter-group input[type="text"]:focus {
    border-color: #FF6B35;
}

.event-type-group label {
    margin-right: 12px;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-type-group input[type="checkbox"] {
    accent-color: #FF6B35;
    margin-right: 4px;
}

@media (max-width: 900px) {
    .event-filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 14px 10px;
    }

    .filter-group input[type="text"] {
        min-width: 120px;
    }
}
