/**
 * Custom Events Calendar CSS
 * Save this as: /css/custom-events.css in your theme directory
 */



/* =============================================================================
   EVENT CARD
   ============================================================================= */

.event-card {
    display: flex;
        align-items: center;
    column-gap: 50px;    
    overflow: hidden;
       padding-bottom: 60px;
    transition: all 0.3s ease;
    position: relative;
}


/* =============================================================================
   EVENT IMAGE
   ============================================================================= */

.event-image-container {
    position: relative;
     align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.event-image {
    position: relative;
    height: 100%;
    overflow: hidden;
       
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 40px;
    aspect-ratio: 16 / 9;
}

/* Image Placeholder */
.event-image-placeholder {
    height: 300px;
    background-color: #f3f4f6;
    display: table;
    width: 100%;
}


/* =============================================================================
   EVENT CONTENT
   ============================================================================= */
 .event-content {
           align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
    }


/* =============================================================================
   DATE AND TIME
   ============================================================================= */

.event-datetime {
    color: #373347;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .08px;
}



/* =============================================================================
   EVENT TITLE
   ============================================================================= */

.event-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
}


.event-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title-link:hover {
    color: #374151;
}

/* =============================================================================
   EVENT DESCRIPTION
   ============================================================================= */

.event-description {
   color: #363636;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
    margin-top: 17px;
    margin-bottom: 35px;
}



/* =============================================================================
   EVENT ACTION BUTTON
   ============================================================================= */

.event-action {
    margin-top: auto;
}

.event-btn {
       background-color: #ffa958;
    border: 3px solid #b95b18;
    color: #373347;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "Poppins";
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 10px;
    padding-right: 32px;
    padding-bottom: 10px;
    padding-left: 32px;
    transition: all 0.5s ease;
        border-radius: 100px !important;
        text-decoration: none;
}

.event-btn:hover {
   background-color: #ffffff;
}


/* =============================================================================
   PAGINATION
   ============================================================================= */

.events-pagination {
    text-align: center;
      margin-top: 50px;
    margin-bottom: 35px;
}

.pagination-wrapper {
    display: inline-block;
}

.pagination-item {
    display: inline-block;
    margin: 0 4px;
}

.pagination-current,
.pagination-number,
.pagination-next,
.pagination-prev {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
    color: #373347;
}

/* Current Page */
.pagination-current {
    background: transparent;
    color: #373347;
    border: 2px solid #ffa958;
}

/* Regular Page Numbers */
.pagination-number {
    background: transparent;
    color: #373347;
    border: 2px solid transparent;
}

.pagination-number:hover {
    background: transparent;
    color: #373347;
    border: 2px solid #ffa958;
}

/* Pagination Arrows */
.pagination-next,
.pagination-prev {
   background: transparent;
    color: #373347;
    border: 2px solid transparent;
}

.pagination-next:hover,
.pagination-prev:hover {
    background: transparent;
    color: #373347;
    border: 2px solid #ffa958;
}

/* =============================================================================
   NO RESULTS
   ============================================================================= */

.events-no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-content {
    background: #f9fafb;
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    color: #9ca3af;
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.no-results-text {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* =============================================================================
   PAST EVENTS AND FEATURED EVENTS
   ============================================================================= */
   /* Past Event Overlay Styles */
.past-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
        border-radius: 40px;
}

/* Show overlay on hover */
.event-image-container:hover .past-event-overlay {
    opacity: 1;
}

/* Past Event Badge */
.past-event-badge {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* Alternative: Always visible overlay (remove hover effect) */
.past-event-overlay.always-visible {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

/* Alternative: Corner badge style */
.past-event-overlay.corner-badge {
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
    display: block;
}

.corner-badge .past-event-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Make sure image container is relative positioned */
.event-image-container {
    position: relative;
    overflow: hidden;
}

/* Ensure featured badge stays on top */
.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.featured-text {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .past-event-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .corner-badge .past-event-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .featured-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
}
/* =============================================================================
   MOBILE RESPONSIVE
   ============================================================================= */
@media (max-width: 991.98px) {
    .event-card{
        flex-direction: column;
            row-gap: 50px;
    }
    .event-card {
        margin-bottom: 10px;
    }
}
@media (max-width: 767px) {
    .events-container {
        padding: 0 15px;
    }
    
    
    
   
    
    
    
    
    
    .pagination-current,
    .pagination-number,
    .pagination-next {
        width: 36px;
        height: 36px;
        line-height: 34px;
        font-size: 13px;
        margin: 0 2px;
    }
}
