/* Featured Posts Block Styles */
.featured-posts-block {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.featured-posts-archive {
    width: 100%;
}

/* Header Styles */
.featured-posts-header {
    text-align: center;
    margin-bottom: 40px;
}

.featured-posts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.featured-posts-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filters Styles */
.featured-posts-filters {
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-type-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    border-color: #007cba;
    color: #007cba;
    background: #f0f8ff;
}

.filter-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Results Info */
.featured-posts-results-info {
    margin-bottom: 30px;
}

.results-info {
    text-align: center;
}

.results-count {
    color: #666;
    font-size: 14px;
}

/* Grid Styles */
.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Card Styles - Reusing existing data-card styles */
.data-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.data-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.data-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.data-card:hover .data-card-image img {
    transform: scale(1.05);
}

.post-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 124, 186, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-card-content {
    padding: 24px;
}

.data-card-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.data-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.data-card-title a:hover {
    color: #007cba;
}

.data-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.data-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.data-meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.data-meta-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.data-view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #007cba;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.data-view-btn:hover {
    color: #005a87;
}

.data-view-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Pagination */
.featured-posts-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.featured-posts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.featured-posts-pagination .page-numbers:hover {
    border-color: #007cba;
    color: #007cba;
    background: #f0f8ff;
}

.featured-posts-pagination .page-numbers.current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.featured-posts-pagination .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

.featured-posts-pagination .page-numbers.dots:hover {
    border: none;
    background: none;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-posts-block {
        padding: 40px 0;
    }

    

    
    .featured-posts-title {
        font-size: 2rem;
    }
    
    .featured-posts-subtitle {
        font-size: 1rem;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-type-filters {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .data-card-content {
        padding: 20px;
    }
    
    .data-card-meta {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .featured-posts-title {
        font-size: 1.75rem;
    }
    
    .post-type-filters {
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}

