.church-events-slider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.church-events-slider {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #dbeafe);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
}

.slider-track {
    display: flex;
    gap: 20px;
    padding: 10px;
    width: fit-content;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.event-slide {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    flex-grow: 0;
}

.event-slide.featured {
    transform: scale(1.05);
    z-index: 10;
}

.event-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    height: 380px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    box-sizing: border-box;
}

.event-image {
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #3b82f6;
}

.event-meta p {
    margin: 4px 0;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-description {
    flex: 1;
    margin: 8px 0 15px 0;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-link {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none !important;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    border: 2px solid #3b82f6 !important;
    cursor: pointer;
    display: block;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.event-link:hover,
.event-link:focus,
.event-link:active,
.event-link:visited {
    background: #ffffff !important;
    color: #1e293b !important;
    text-decoration: none !important;
    border: 2px solid #3b82f6 !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.slider-controls {
    text-align: center;
    margin-top: 20px;
}

.slider-btn {
    background: white;
    border: 2px solid #3b82f6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 15px;
    cursor: pointer;
    font-size: 20px;
    color: #3b82f6;
}

.church-events-calendar {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 20px auto;
    border: 1px solid #e2e8f0;
    max-width: 1200px;
}

.church-events-calendar h3 {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #3b82f6;
}

.events-list {
    display: grid;
    gap: 18px;
}

.event-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border-left: 5px solid #3b82f6;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-item h4 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
}

.event-item p {
    margin: 6px 0;
    color: #475569;
    font-weight: 500;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    max-width: 1200px;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .church-events-slider-container {
        padding: 0 15px;
    }
    
    .church-events-slider {
        width: 100%;
    }
    
    .slider-track {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .event-slide {
        min-width: 280px;
        max-width: 280px;
    }
    .event-card {
        height: 360px;
        padding: 16px;
    }
    .church-events-slider {
        padding: 16px;
    }
    
    .church-events-calendar {
        margin: 20px 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .church-events-slider-container {
        padding: 0 10px;
    }
    
    .slider-track {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .event-slide {
        min-width: 260px;
        max-width: 260px;
    }
    .event-card {
        height: 340px;
        padding: 14px;
    }
    .event-content h3 {
        font-size: 1.1rem;
    }
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin: 0 10px;
    }
    
    .church-events-calendar {
        margin: 20px 10px;
        padding: 16px;
    }
}