/* VehiLink Blog / Updates — White theme (matches About & Products) */

body.blog-page {
    background: #ffffff;
}

body.blog-page .site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Shared hero / badge ────────────────────────────────────── */
.blog-hero {
    padding: 64px 0 48px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff0055;
    background: #fff5f8;
    border: 1px solid #ffd6e7;
    margin-bottom: 16px;
}

.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.blog-hero p {
    font-size: 17px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Listing grid ───────────────────────────────────────────── */
.blog-list-section {
    padding: 64px 0 88px;
    background: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(255, 0, 85, 0.12);
    border-color: #ffd6e7;
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf2f8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-img-placeholder {
    font-size: 48px;
    color: #ff0055;
    opacity: 0.6;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.blog-card-meta i {
    color: #ff0055;
    margin-right: 4px;
}

.blog-card-body h3 {
    font-size: 18px;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #ff0055;
    background: #fff5f8;
    border: 2px solid #ffd6e7;
    align-self: flex-start;
    transition: all 0.25s ease;
}

.blog-read-btn:hover {
    background: #ff0055;
    color: #fff;
    border-color: #ff0055;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    max-width: 480px;
    margin: 0 auto;
}

.blog-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff5f8;
    color: #ff0055;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.blog-empty h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 8px;
}

.blog-empty p {
    color: #64748b;
    font-size: 15px;
}

/* ── Article detail ─────────────────────────────────────────── */
.blog-article-section {
    padding: 48px 0 88px;
    background: #ffffff;
}

.blog-article-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #ff0055;
    margin-bottom: 28px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff5f8;
    border: 1px solid #ffd6e7;
    transition: all 0.2s ease;
}

.blog-back-link:hover {
    background: #ff0055;
    color: #fff;
}

.blog-article-header {
    margin-bottom: 32px;
}

.blog-article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 16px;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 14px;
    color: #64748b;
}

.blog-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-article-meta i {
    color: #ff0055;
}

.blog-article-featured {
    margin-bottom: 36px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.blog-article-featured img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.blog-article-featured-placeholder {
    height: 280px;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf2f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #ff0055;
    opacity: 0.5;
}

.blog-content-body {
    font-size: 17px;
    line-height: 1.85;
    color: #334155;
}

.blog-content-body p {
    margin-bottom: 1.25em;
}

.blog-content-body h2,
.blog-content-body h3,
.blog-content-body h4 {
    color: #0f172a;
    margin: 1.5em 0 0.75em;
    line-height: 1.3;
}

.blog-content-body ul,
.blog-content-body ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.blog-content-body li {
    margin-bottom: 0.5em;
}

.blog-content-body a {
    color: #ff0055;
    text-decoration: underline;
}

.blog-content-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1em 0;
}

.blog-content-body blockquote {
    border-left: 4px solid #ff0055;
    padding-left: 20px;
    margin: 1.5em 0;
    color: #64748b;
    font-style: italic;
}

/* Not found */
.blog-not-found {
    text-align: center;
    padding: 80px 24px;
    max-width: 480px;
    margin: 0 auto;
}

.blog-not-found h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 12px;
}

.blog-not-found p {
    color: #64748b;
    margin-bottom: 24px;
}

.blog-not-found-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: #ff0055;
}

.blog-not-found-btn:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.3);
}

@media (max-width: 576px) {
    .blog-hero { padding: 40px 0 32px; }
    .blog-list-section { padding: 40px 0 64px; }
    .blog-grid { grid-template-columns: 1fr; }
}
