/* style.css - Public Blog Styles */



.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    object-fit: cover;
}



.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    display: none;
}

.card-title {
    font-size: 1.0rem;
    margin-bottom: 1rem;
    color: #23282d;
    font-weight: 600;
    line-height: 1.3;
}

.card-description {
    color: #646970;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-tags {
    display: none;
}

.tag {
    background: #f0f0f1;
    color: #646970;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #646970;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    fill: #646970;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a, 
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.pagination .current {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 3rem;
    color: #646970;
    background: white;
    border-radius: 4px;
}

.no-posts a {
    color: #2271b1;
    text-decoration: none;
}

.no-posts a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
         justify-content: space-between;
    align-items: center;
}
    }

/* Filters */
.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    margin-bottom: 2rem;
}

.filter-section {
    margin-bottom: 1rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 0.9rem;
    color: #646970;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f0f0f1;
}

.filter-btn.active {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}