/* ============================================
   Blog Styles — f-cmo.co.uk
   ============================================ */

/* ---- Blog Header ---- */
.blog-header {
    padding-top: 140px;
    padding-bottom: 60px;
}

.blog-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    max-width: 680px;
}

/* ---- Blog Listing ---- */
.blog-listing {
    padding-bottom: 120px;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-card {
    display: block;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.blog-card:first-child {
    border-top: 1px solid var(--gray-200);
}

.blog-card:hover {
    padding-left: 16px;
}

.blog-card:hover .blog-card-title {
    color: var(--accent);
}

.blog-date {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--gray-500);
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 12px;
    transition: color var(--transition);
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 640px;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
}

/* ---- Blog Post ---- */
.post-header {
    padding-top: 140px;
    padding-bottom: 40px;
}

.post-header .container {
    max-width: 720px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.post-meta time {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--gray-500);
}

.post-meta .post-reading-time {
    font-size: 13px;
    color: var(--gray-400);
}

.post-meta .post-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-400);
}

.post-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
}

/* ---- Post Content ---- */
.post-content {
    padding-bottom: 80px;
}

.post-content .container {
    max-width: 720px;
}

.post-body h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-body h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.post-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.post-body p strong {
    color: var(--gray-900);
    font-weight: 600;
}

.post-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 24px;
    margin: 32px 0;
}

.post-body blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-600);
}

.post-body ul, .post-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.post-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body a:hover {
    color: var(--accent-hover);
}

/* ---- Post CTA ---- */
.post-cta {
    padding: 60px 0;
    border-top: 1px solid var(--gray-200);
}

.post-cta .container {
    max-width: 720px;
}

.post-cta-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
}

.post-cta-box h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.post-cta-box p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ---- Post Navigation ---- */
.post-nav {
    padding: 40px 0 120px;
}

.post-nav .container {
    max-width: 720px;
}

.post-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    transition: color var(--transition);
}

.post-nav a:hover {
    color: var(--accent-hover);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .blog-card {
        padding: 28px 0;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .post-cta-box {
        padding: 32px 24px;
    }
}
