/*
Theme Name: Praveen Associates Integration
Theme URI: https://www.praveenjandassociates.com/
Description: Integration theme to match main site header and footer.
Version: 2.0 (Merged Clean Version)
Author: Isha
*/

/* ================= HERO / HEADER ================= */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ================= GRID ================= */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================= BLOG CARD ================= */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* IMAGE */
.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

/* DATE BADGE */
.blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #D52C1F;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* CONTENT */
.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-title a {
    color: #222;
    text-decoration: none;
}

.blog-title a:hover {
    color: #D52C1F;
}

/* EXCERPT */
.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* BUTTON */
.read-more {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #D52C1F;
    color: #fff;
    border-color: #D52C1F;
}

/* ================= PAGINATION ================= */
.blog-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-numbers {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #444;
    margin: 0 5px;
    font-weight: 600;
}

.page-numbers:hover,
.page-numbers.current {
    background: #D52C1F;
    color: #fff;
    border-color: #D52C1F;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }
}

/* ================= SINGLE POST ================= */
.single-post-hero {
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.post-meta-top {
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta-top .post-date {
    margin-right: 15px;
    opacity: 0.8;
}

.post-meta-top .post-category a {
    color: #D52C1F;
    text-decoration: none;
}

.single-post-hero .post-title {
    font-size: 2.6rem;
    font-weight: 800;
    max-width: 1200px;
    min-width: 1200px;
    margin: 0 auto;
    line-height: 1.2;
}

.single-post-container {
    max-width: 850px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.premium-post-article .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.premium-post-article .entry-content p {
    margin-bottom: 25px;
}

.premium-post-article .entry-content h2,
.premium-post-article .entry-content h3 {
    margin: 40px 0 20px;
    color: #111;
}

.entry-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tags-title {
    font-weight: 700;
    margin-right: 10px;
    color: #888;
}

.post-navigation {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.post-navigation a {
    color: #D52C1F;
    text-decoration: none;
    transition: color 0.2s;
}

.post-navigation a:hover {
    color: #222;
}

/* ================= FIX FOR WRAPPER ================= */
#content-wrapper.row,
#main-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}