/* Blog Styles */

/* Banner */
.page-banner {
    position: relative;
    height: 300px;
    margin-bottom: 50px;
}

.page-banner .archive-description {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Blog Listing */
.blog-listing {
    padding: 50px 0;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.post-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .post-thumbnail-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card .entry-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .entry-title a:hover {
    color: #E31837;
}

.blog-card .excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-card .read-more {
    text-align: center;
}

.blog-card .read-more .btn-default {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #E31837;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.blog-card .read-more .btn-default:hover {
    background-color: #c41530;
}

/* Grid Layout */
@media (min-width: 768px) {
    .blog-listing .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .blog-card {
        margin-bottom: 0;
    }
}

/* Pagination */
.pagination-wrapper {
    margin-top: 4rem;
    grid-column: 1 / -1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #E31837;
    border-color: #E31837;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Responsive */
@media (max-width: 767px) {
    .page-banner {
        height: 200px;
    }

    .blog-listing {
        padding: 30px 0;
    }

    .blog-card .entry-title {
        font-size: 1.25rem;
    }

    .blog-card-content {
        padding: 1rem;
    }
}

/* Single Blog Post Styles */
.single .site-main {
    padding: 60px 0;
}

.single .entry-header {
    margin-bottom: 2rem;
}

.single .featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.single .featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.single .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.single .entry-content p {
    margin-bottom: 1.5rem;
}

.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.single .entry-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.single .cat-links {
    font-size: 0.9rem;
    color: #666;
}

.single .cat-links a {
    color: #E31837;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single .cat-links a:hover {
    color: #333;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: #E31837;
}

@media (max-width: 768px) {
    .single .site-main {
        padding: 30px 0;
    }

    .single .entry-title {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-next {
        text-align: left;
    }
} 