
/* ========================================
   BLOG STYLES v3
   ======================================== */

/* Push blog content below fixed header */
.blog .content-area,
.single-post .content-area,
.archive .content-area {
    padding-top: 80px;
}

/* Blog archive */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #1a202c;
}
.archive-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.5;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.post-grid article {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
/* Hide fallback image on archive cards */
.post-grid .post-thumbnail-link,
.post-grid .post-thumbnail-fallback {
    display: none;
}
.post-grid article .post-content {
    padding: 2rem;
}
.post-grid .entry-meta {
    color: #718096;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.post-grid .entry-title {
    font-size: 1.3rem;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    color: #1a202c;
}
.post-grid .entry-title a {
    color: inherit;
    text-decoration: none;
}
.post-grid .entry-summary {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.read-more {
    display: inline-flex;
    align-items: center;
    color: #1a56db;
    font-weight: 600;
    text-decoration: none;
}
.read-more span {
    margin-left: 0.25rem;
}
.no-posts {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin: 4rem 0;
    grid-column: 1 / -1;
}

/* Single post */
.entry-header {
    margin-bottom: 1.5rem;
}
.entry-header .post-thumbnail {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}
.entry-header .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.entry-header .post-thumbnail-fallback {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    height: 120px;
    background: #1a2744;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.entry-header .post-thumbnail-fallback .fallback-logo {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.entry-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.25;
    color: #1a202c;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.entry-meta {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.entry-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
}
.entry-content p {
    margin-bottom: 1.25rem;
}
.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}
.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 1.5rem 0 0.75rem;
}
.entry-content a {
    color: #1a56db;
    text-decoration: underline;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.entry-content ul,
.entry-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.entry-content li {
    margin-bottom: 0.5rem;
}

/* Post CTA box */
.post-cta {
    max-width: 720px;
    margin: 3rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}
.post-cta-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #1a202c;
}
.post-cta-desc {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}
.post-cta-link {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #1a2744;
    color: #d4a855;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}
.post-cta-link:hover {
    background: #1a56db;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.5rem;
    }
    .entry-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .entry-header .post-thumbnail-fallback {
        height: 100px;
    }
    .post-cta {
        margin: 2rem 1rem;
        padding: 1.5rem 1rem;
    }
}
