/**
 * Public blog listing + single post styles (reference layout)
 */
.blog-hero {
    background: linear-gradient(135deg, #0d1e3d, #1a3a6b);
    padding: 3.5rem 1.5rem 2.75rem;
    text-align: center;
    color: #fff;
}
.blog-hero-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a84c;
    margin-bottom: 0.5rem;
}
.blog-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", serif;
}
.blog-hero p {
    opacity: 0.78;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

.blog-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}
.blog-breadcrumb {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}
.blog-breadcrumb a {
    color: #1d4ed8;
    text-decoration: none;
}

.blog-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    display: block;
}

.blog-cat {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
}
.blog-post-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    font-family: Georgia, "Times New Roman", serif;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}
.blog-meta i { color: #94a3b8; margin-right: 0.35rem; }

.blog-article {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    color: #374151;
    font-size: 1.02rem;
    line-height: 1.8;
}
.blog-article > p { margin: 0 0 1.25rem; }
.blog-article h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
}
.blog-article h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.blog-block { margin: 2rem 0; }
.blog-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.85rem;
}
.blog-why-item {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 1rem 0.65rem;
}
.blog-why-item i {
    display: block;
    font-size: 1.35rem;
    color: #1d4ed8;
    margin-bottom: 0.55rem;
}
.blog-why-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.blog-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(var(--blog-veh-cols, 4), minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}
.blog-vehicle-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 45, 106, 0.05);
    width: 100%;
    min-width: 0;
}
.blog-vehicle-card img {
    width: 100%;
    height: 88px;
    object-fit: contain;
    margin-bottom: 0.65rem;
}
.blog-vehicle-card strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.blog-vehicle-card p {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.blog-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
}
.blog-split-reverse { grid-template-columns: 1fr 1fr; }
.blog-split-media img,
.blog-inline-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}
.blog-inline-img { margin-top: 1rem; max-height: 200px; }
.blog-route-list,
.blog-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-route-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #eef2f7;
    font-weight: 600;
    color: #1e3a6b;
}
.blog-route-list i { color: #1d4ed8; }
.blog-tips-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.35rem;
    color: #1e3a6b;
    font-weight: 500;
}
.blog-tips-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #1d4ed8;
}

.blog-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    margin: 2.25rem 0 1.5rem;
}
.blog-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #1d4ed8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.blog-cta-body { flex: 1; min-width: 0; }
.blog-cta-body h3 { margin: 0 0 0.2rem; font-size: 1.05rem; color: #0f172a; }
.blog-cta-body p { margin: 0; font-size: 0.88rem; color: #64748b; }
.blog-cta-btn {
    background: #1d4ed8;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    white-space: nowrap;
}
.blog-cta-btn:hover { background: #1e3a8a; color: #fff; }

.blog-share {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
    font-size: 0.88rem;
    color: #64748b;
}
.blog-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #1e3a6b;
    text-decoration: none;
}
.blog-share a:hover { background: #1d4ed8; color: #fff; }

.blog-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}
.blog-pager a {
    display: block;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.blog-pager a:hover {
    border-color: #c7d7fe;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.08);
}
.blog-pager .lbl {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}
.blog-pager .ttl {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}
.blog-pager .next { text-align: right; }

.blog-related {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e8ecf2;
}
.blog-related h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
}
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.blog-related-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 45, 106, 0.1);
}
.blog-related-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.blog-related-card .body { padding: 0.9rem 0.95rem 1rem; }
.blog-related-card .cat {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.45rem;
}
.blog-related-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.55rem;
    min-height: 2.4em;
}
.blog-related-card .meta {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    gap: 0.65rem;
}

@media (max-width: 900px) {
    .blog-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-split,
    .blog-split-reverse { grid-template-columns: 1fr; }
    .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-cta { flex-wrap: wrap; }
}
@media (max-width: 1023px) {
    /* Mobile: same compact horizontal fleet scroll as homepage */
    .blog-vehicles .blog-vehicle-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0.1rem 0 0.35rem;
    }
    .blog-vehicles .blog-vehicle-grid::-webkit-scrollbar { display: none; }
    .blog-vehicles .blog-vehicle-card {
        flex: 0 0 130px;
        min-width: 130px;
        max-width: 130px;
        width: 130px;
        scroll-snap-align: start;
        padding: 0.35rem 0.35rem 0.55rem;
        border-radius: 12px;
        border: 1px solid #eef2f7;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }
    .blog-vehicles .blog-vehicle-card img {
        height: 88px;
        margin-bottom: 0.35rem;
        object-fit: contain;
        background: #f8fafc;
        border-radius: 8px;
    }
    .blog-vehicles .blog-vehicle-card strong {
        font-size: 0.72rem;
        font-weight: 700;
        margin-bottom: 0;
        line-height: 1.25;
    }
    .blog-vehicles .blog-vehicle-card p {
        display: none;
    }

    /* Keep full article readable on mobile */
    .blog-wrap {
        padding: 1.25rem 1rem 5.5rem;
        overflow-x: hidden;
        max-width: 100%;
    }
    .blog-hero {
        padding: 2rem 1rem 1.5rem;
    }
    .blog-hero h1 {
        font-size: 1.45rem;
    }
    .blog-post-title {
        font-size: 1.35rem;
        word-break: break-word;
    }
    .blog-article {
        font-size: 0.95rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
    .blog-article img,
    .blog-cover,
    .blog-split-media img,
    .blog-inline-img {
        max-width: 100%;
        height: auto;
    }
    .blog-article h2 {
        font-size: 1.15rem;
    }

    /* CTA: stack so headline + Book Now stay readable */
    .blog-cta {
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: start;
        gap: 0.75rem 0.85rem;
        padding: 1rem;
        margin: 1.75rem 0 1.25rem;
    }
    .blog-cta-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }
    .blog-cta-body {
        grid-column: 2;
    }
    .blog-cta-body h3 {
        font-size: 1rem;
        line-height: 1.3;
        word-break: break-word;
    }
    .blog-cta-body p {
        font-size: 0.82rem;
        line-height: 1.45;
    }
    .blog-cta-btn {
        grid-column: 1 / -1;
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        white-space: normal;
    }
}
@media (max-width: 560px) {
    .blog-pager { grid-template-columns: 1fr; }
    .blog-pager .next { text-align: left; }
    .blog-why-grid { grid-template-columns: 1fr 1fr; }
    .blog-related-grid { grid-template-columns: 1fr; }
}
