/* Blog styling - Light Theme */

/* Blog List Styles */
.blog-container {
    padding: 80px 0;
}

.blog-header {
    margin-bottom: 60px;
    text-align: center;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.blog-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Post */
.featured-post {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
}

.featured-post-content {
    padding: 25px;
}

.featured-label {
    display: inline-block;
    background-color: #ffcd00;
    color: #333;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.featured-post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.featured-post-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 0.9rem;
}

.featured-post-category {
    color: #555;
    font-weight: 500;
}

/* Post Cards */
.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.post-card-content {
    padding: 20px;
}

.post-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.post-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 0.85rem;
}

.post-card-category {
    color: #555;
}

.post-card-date {
    color: #888;
}

.read-time {
    display: inline-flex;
    align-items: center;
}

.read-time i {
    margin-right: 5px;
}

/* Single Post */
.single-post-container {
    padding: 60px 0;
}

.single-post-header {
    margin-bottom: 30px;
    text-align: center;
}

.single-post-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #333;
}

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #777;
    margin-bottom: 20px;
}

.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-top: 30px;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.single-post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

/* Categories */
.blog-categories {
    margin-bottom: 40px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-item {
    margin: 0;
}

.category-link {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-link:hover, .category-link.active {
    background-color: #ffcd00;
    color: #333;
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    gap: 5px;
}

.page-link {
    color: #555;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.page-item.active .page-link {
    background-color: #ffcd00;
    border-color: #ffcd00;
    color: #333;
}

.page-link:hover {
    background-color: #f8f9fa;
    color: #333;
}

/* Back button */
.back-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.back-button:hover {
    color: #ffcd00;
}

.back-button i {
    margin-right: 5px;
}

span {
    font-weight: 600 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-container, .single-post-container {
        padding: 40px 0;
    }
    
    .blog-title, .single-post-title {
        font-size: 2rem;
    }
} 