


/* ===== MINIMALIST PREMIUM EVENTS PAGE ===== */
/* Page Header */
.events-page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom: none;
    padding: 40px 0 50px;
    margin-bottom: 50px;
    border-radius: 16px;
    box-shadow: var(--primary-shadow, 0 3px 10px rgba(0, 0, 0, 0.45));
    position: relative;
    overflow: hidden;
}

/* Header pattern overlay */
.events-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.events-page-header .container {
    position: relative;
    z-index: 1;
}

.page-title-minimal {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.page-subtitle-minimal {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    padding-left: 70px;
}

.title-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.title-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.title-icon i {
    color: white;
}

.breadcrumb-minimal {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-minimal a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.breadcrumb-minimal a:hover {
    color: var(--secondary-color);
}

.breadcrumb-minimal span {
    color: #6c757d;
}

.breadcrumb-minimal .current {
    font-weight: 600;
    color: var(--text-color);
}

/* Main Container */
.events-main-container {
    padding: 0 15px 80px;
}

/* Toolbar */
.events-toolbar-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-box-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.30);
    border-radius: 12px;
    max-width: 350px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-box-simple:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
}

.search-box-simple i {
    color: #6c757d;
    font-size: 1.1rem;
}

.search-box-simple input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: var(--text-color);
}

.events-info-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.30);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.info-badge i {
    color: var(--primary-color);
}

.info-badge strong {
    color: var(--text-color);
}

.info-badge.upcoming {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 0, 123, 255), 0.1), rgba(var(--secondary-color-rgb, 108, 117, 125), 0.1));
    border-color: var(--primary-color);
}

/* Events Grid */
.events-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Event Card */
.event-card-clean {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

/* Neon Border */
.event-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.event-card-clean:hover .event-border {
    opacity: 1;
}

.event-card-clean:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(var(--primary-color-rgb, 0, 123, 255), 0.3);
}

.event-card-clean.past-event {
    opacity: 0.7;
}

.event-card-clean.past-event:hover {
    opacity: 0.85;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Card Image Box */
.card-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.card-img-clean {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.9);
}

.event-card-clean:hover .card-img-clean {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
}

/* Image Overlay - VIEW text */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 0, 123, 255), 0.6), rgba(var(--secondary-color-rgb, 108, 117, 125), 0.6));
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay::before {
    content: 'VIEW';
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 4px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-card-clean:hover .image-overlay {
    opacity: 1;
}

.event-card-clean:hover .image-overlay::before {
    transform: scale(1);
}

/* Event Badge */
.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 3;
}

.event-card-clean:hover .event-badge {
    transform: scale(1.2) rotate(360deg);
}

/* Card Body */
.card-body-clean {
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Event Header Row - Horizontal alignment */
.event-header-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.event-header-content {
    flex: 1;
    min-width: 0;
}

/* Event Date Box - Inline style */
.event-date-box {
    flex-shrink: 0;
    width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    text-align: center;
    padding: 10px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.date-day {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-top: 4px;
}

.card-title-clean {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Content */
.event-content {
    padding-left: 0;
}

.card-description-clean {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-clean {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* EVENT CTA BUTTON */
.event-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.event-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

.event-cta-text,
.event-cta-icon {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.event-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.event-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.event-cta:hover .event-cta-bg {
    transform: scale(1.1);
}

.event-cta:hover .event-cta-icon {
    background: white;
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.read-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-link i {
    transition: transform 0.3s ease;
}

.event-card-clean:hover .read-link {
    color: var(--secondary-color);
}

.event-card-clean:hover .read-link i {
    transform: translateX(5px);
}

/* Event Status Badge */
.event-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

    .event-status-badge.upcoming {
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    }

    .event-status-badge.past {
        background: #94a3b8;
        color: white;
    }

.event-meta-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

    .event-meta-group .meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        color: #6c757d;
        font-weight: 600;
    }

        .event-meta-group .meta-item i {
            color: var(--primary-color);
            font-size: 0.95rem;
        }

/* Empty State */
.empty-state-clean {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon-clean {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 0, 123, 255), 0.1), rgba(var(--secondary-color-rgb, 108, 117, 125), 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.empty-state-clean h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-state-clean p {
    color: #6c757d;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-toolbar-minimal {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-simple {
        max-width: 100%;
    }

    .events-info-badges {
        justify-content: center;
    }

    .events-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .event-date-box {
        width: 50px;
        padding: 8px 6px;
    }

    .date-day {
        font-size: 1.4rem;
    }

    .event-header-row {
        gap: 12px;
    }
}

.bx-shdw {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}