  /* Blog Section Styles */
.homepage-blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.homepage-blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.homepage-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(29, 78, 216, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.homepage-blog-card:hover::before {
    opacity: 1;
}

.blog-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.homepage-blog-card:hover .blog-image-container img {
    transform: scale(1.08);
}

.blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.blog-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.blog-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.blog-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.homepage-blog-card:hover .blog-category::before {
    left: 100%;
}

.category-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.category-recent {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.category-general {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.category-child-protection {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.category-survivor-stories {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.category-prevention {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-blog-card:hover .blog-title {
    color: #2563eb;
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    color: #9ca3af;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
}

.blog-read-more:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateX(5px);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .homepage-blog-card {
        margin-bottom: 20px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.125rem;
    }
    
    #homepage-blog-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    #homepage-blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Events Section Styles */
.homepage-event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.homepage-event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.homepage-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(37, 99, 235, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.homepage-event-card:hover::before {
    opacity: 1;
}

.event-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.homepage-event-card:hover .event-image-container img {
    transform: scale(1.08);
}

.event-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #3b82f6;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.event-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 16px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 3;
    min-width: 80px;
}

.event-date-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.event-date-day {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

.event-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.event-upcoming {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.event-past {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin: 60px 0 12px 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-event-card:hover .event-title {
    color: #2563eb;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail-item i {
    width: 16px;
    color: #3b82f6;
}

.event-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    width: 100%;
    justify-content: center;
}

.event-read-more:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.event-read-more i {
    transition: transform 0.3s ease;
}

.event-read-more:hover i {
    transform: translateX(3px);
}

.event-category {
    display: inline-block;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.event-time-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
}

.event-time-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.event-time-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

.no-events-message {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .homepage-event-card {
        margin-bottom: 20px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-title {
        font-size: 1.125rem;
        margin-top: 50px;
    }
    
    #homepage-events-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-date-badge {
        min-width: 70px;
        padding: 10px 14px;
    }
    
    .event-date-day {
        font-size: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    #homepage-events-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


gradient-overlay {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
        }
        
        .post-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .post-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        
        .shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        
        .tag-badge {
            background: linear-gradient(45deg, #3B82F6, #8B5CF6);
            color: white;
        }
        
        .read-more-btn {
            background: linear-gradient(45deg, #3B82F6, #6366F1);
            transition: all 0.3s ease;
        }
        
        .read-more-btn:hover {
            background: linear-gradient(45deg, #2563EB, #4F46E5);
            transform: translateX(4px);
        }
        
        .loading-pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }