/* Homepage Events Block - Modern Design */

/* Events Section */
.events-section {
    padding: 8px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

/* Event Card - Modern Design */
.event-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 36px 28px 28px 28px;
    min-width: 336px;
    max-width: 384px;
    width: 100%;
    min-height: 208px;
    max-height: 208px;
    height: 208px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.event-card:not(:last-child) {
    margin-right: 0;
}

.event-card:hover {
    box-shadow: 0 16px 48px rgba(255,107,53,0.13), 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-2px) scale(1.02);
}

.event-card:focus,
.event-card:active,
.event-card:focus-visible {
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border: none;
}

.event-card:focus {
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.event-card:focus-visible {
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.event-card:active {
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: scale(0.98);
}

/* Top colored line */
.event-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    border-radius: 28px 28px 0 0;
    z-index: 2;
}

.event-card-topline.upcoming {
    background: #FF6B35;
}

.event-card-topline.replay {
    background: #4A90E2;
}

/* Status badge */
.event-status-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 999px;
    margin: 0 auto 24px auto;
    background: #ff6b35;
    color: #fff;
    border: 2px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    transition: background 0.2s;
}

.event-card.replay .event-status-badge {
    background: #3887F6;
    color: #fff;
    border: 2px solid #3887F6;
}

/* Card title */
.event-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 18px;
    margin-top: 0;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

/* Card location */
.event-card-location {
    color: #888;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

/* Events title */
.events-title {
    font-size: 4rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
}

/* More events button */
.btn-more-events {
    display: inline-block;
    background: #3887F6;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 32px;
    text-decoration: none;
    margin-bottom: 50px;
    box-shadow: 0 4px 18px rgba(56,135,246,0.10);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-more-events:hover, .btn-more-events:focus {
    background: #2563b6;
    color: #fff;
    box-shadow: 0 8px 32px rgba(56,135,246,0.18);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

/* Remove text decoration from cards */
.event-card,
.event-card * {
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .event-card {
        min-width: 320px;
        max-width: 98vw;
        padding: 40px 18px 32px 18px;
    }

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

    .event-card-location {
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    .events-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .event-card {
        min-width: 0;
        width: 98vw;
        max-width: 98vw;
        padding: 18px 6vw 18px 6vw;
    }

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

    .event-card-location {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 80px 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .event-card {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding: 60px 0;
    }

    .event-card {
        padding: 30px 20px;
    }
}

/* Match auth footer link style for inline links in Advertisers description */
.advertisers-description a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.advertisers-description a:hover {
    color: #E55A2B;
    text-decoration: underline;
}
