:root {
    --primary-color: #c084fc;
    --primary-hover: #a855f7;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #ffffff;
    --background-gray: #f8fafc;
    --border-light: #e5e7eb;
}

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-title, 
.section-descr {
    color: var(--text-dark);
}

.hs-title-1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.page-section.bg-gradient-gray-dark-1 {
    background: var(--background-light);
    padding: 100px 0 80px;
    position: relative;
}

.sermons-section {
    background-color: var(--background-light);
    padding: 80px 0;
    position: relative;
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.sermon-card {
    background: var(--background-light);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.sermon-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}

.sermon-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    flex-direction: column;
}

.video-placeholder::before {
    content: "🎥";
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sermon-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sermon-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sermon-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.sermon-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: right;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.empty-sermons {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.empty-sermons::before {
    content: "📖";
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.section-line-gradient {
    background: var(--primary-color);
    height: 3px;
    width: 60px;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.bg-dark-1, 
.bg-dark-2, 
.bg-gradient-dark-1, 
.bg-gradient-gray-dark-2 {
    background-color: var(--background-light) !important;
}

.light-content, 
.text-gray {
    color: var(--text-dark) !important;
}

@media (max-width: 1200px) {
    .sermons-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hs-title-1 {
        font-size: 2.5rem;
    }
    
    .sermons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .page-section.bg-gradient-gray-dark-1 {
        padding: 60px 0 50px;
    }
}

@media (max-width: 480px) {
    .hs-title-1 {
        font-size: 2rem;
    }
    
    .sermon-card-body {
        padding: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sermon-card:nth-child(1) { animation-delay: 0.1s; }
.sermon-card:nth-child(2) { animation-delay: 0.2s; }
.sermon-card:nth-child(3) { animation-delay: 0.3s; }
.sermon-card:nth-child(4) { animation-delay: 0.4s; }
.sermon-card:nth-child(n+5) { animation-delay: 0.5s; }
