/* ===== BLOG HERO ===== */
.blog-hero {
    background-color: var(--bg-secondary);
    padding: 7rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero-inner {
    max-width: 700px;
}

.blog-hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
}

/* ===== BLOG POSTS SECTION ===== */
.blog-posts-section {
    background-color: var(--bg-primary);
    padding: 4rem 0 6rem;
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

/* ===== BLOG CARD ===== */
.blog-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(211, 47, 47, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.12);
}

.blog-card-inner {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-meta {
    margin-bottom: 0.85rem;
}

.blog-card-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-date i {
    color: var(--brand-red-light);
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--brand-red-light);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-red-light);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
    opacity: 0.85;
}

/* ===== BLOG PAGINATION ===== */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background-color: var(--brand-red-primary);
    border-color: var(--brand-red-primary);
    color: #fff;
}

/* ===== BLOG EMPTY STATE ===== */
.blog-empty {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-muted);
}

.blog-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.3;
}

/* ===== SINGLE POST HERO ===== */
.single-post-hero {
    background-color: var(--bg-secondary);
    padding: 7rem 0 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.single-post-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.single-post-hero-inner {
    max-width: 780px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-red-light);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.back-to-blog:hover {
    gap: 0.75rem;
    opacity: 0.8;
}

.single-post-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1.25rem;
}

.single-post-meta i {
    color: var(--brand-red-light);
    margin-right: 0.35rem;
}

.single-post-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1.15;
}

/* ===== SINGLE POST CONTENT ===== */
.single-post-content-section {
    background-color: var(--bg-primary);
    padding: 4rem 0 5rem;
}

.single-post-content {
    max-width: 720px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.single-post-content h2,
.single-post-content h3 {
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.single-post-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.single-post-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 720px;
}

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

    .blog-hero,
    .single-post-hero {
        padding-top: 5.5rem;
    }
}
