/* =========================================================
   BLOG — North Black Limousine
   ---------------------------------------------------------
   Shared stylesheet for blog.php (listing page) and every
   individual blog post page. Follows the same self-contained
   :root token pattern already used by every other stylesheet
   on this site (see css/quote-form.css), so the palette stays
   in sync without a shared global CSS file.
========================================================= */

:root {

    --blog-gold:  #F6C777;
    --blog-gold-dark: #B58A4A;

    --blog-black: #101010;
    --blog-card:  #171717;

    --blog-bg:    #E8D8C8;
    --blog-white: #F8F6F2;

    --blog-dark:  #171414;
    --blog-muted: #5F554E;

    --blog-border: rgba(58, 48, 46, 0.18);

}


/* =========================================================
   HERO (listing page + post pages share this hero shell)
========================================================= */

.blog-hero {

    position: relative;
    background-color: var(--blog-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 24px 90px;
    overflow: hidden;

}

.blog-hero-overlay {

    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16,16,16,0.55) 0%, rgba(16,16,16,0.88) 100%);

}

.blog-hero-inner {

    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;

}

.blog-hero-eyebrow {

    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;

}

.blog-hero-eyebrow-line {

    width: 36px;
    height: 1px;
    background: var(--blog-gold);
    display: inline-block;

}

.blog-hero-title {

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    color: var(--blog-white);
    margin: 0 0 18px;
    text-wrap: balance;

}

.blog-hero-title span {
    color: var(--blog-gold);
}

.blog-hero-description {

    color: rgba(248, 246, 242, 0.82);
    font-size: 17px;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;

}


/* =========================================================
   LISTING GRID
========================================================= */

.blog-listing-section {

    background: var(--blog-white);
    padding: 90px 24px 100px;

}

.blog-listing-wrap {

    max-width: 1240px;
    margin: 0 auto;

}

.blog-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;

}

.blog-card {

    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.blog-card:hover {

    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 16, 16, 0.12);

}

.blog-card-image {

    position: relative;
    height: 220px;
    overflow: hidden;

}

.blog-card-image img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;

}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-category {

    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--blog-black);
    color: var(--blog-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 2px;

}

.blog-card-content {

    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;

}

.blog-card-meta {

    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blog-muted);
    font-size: 13px;

}

.blog-card-meta i {
    color: var(--blog-gold-dark);
}

.blog-card-title {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.35;
    color: var(--blog-dark);
    margin: 0;

}

.blog-card-excerpt {

    color: var(--blog-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
    flex: 1;

}

.blog-card-readmore {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-black);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;

}

.blog-card-readmore i {

    font-size: 11px;
    transition: transform 0.25s ease;

}

.blog-card:hover .blog-card-readmore i {
    transform: translateX(4px);
}


/* Empty-state note for when more posts are still being added */

.blog-more-soon {

    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed var(--blog-border);
    border-radius: 4px;
    color: var(--blog-muted);
    font-size: 15px;

}


/* =========================================================
   ARTICLE PAGE
========================================================= */

.blog-article-section {

    background: var(--blog-white);
    padding: 90px 24px 40px;

}

.blog-article-wrap {

    max-width: 760px;
    margin: 0 auto;

}

.blog-article-meta {

    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--blog-muted);
    font-size: 14px;
    margin-bottom: 20px;

}

.blog-article-meta span {

    display: inline-flex;
    align-items: center;
    gap: 8px;

}

.blog-article-meta i {
    color: var(--blog-gold-dark);
}

.blog-article-category {

    display: inline-block;
    background: var(--blog-black);
    color: var(--blog-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 2px;

}

.blog-article-title {

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    color: var(--blog-dark);
    margin: 0 0 22px;
    text-wrap: balance;

}

.blog-article-hero-image {

    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 44px;
    display: block;

}


/* Article body typography */

.blog-article-body {

    color: var(--blog-dark);
    font-size: 17px;
    line-height: 1.9;

}

.blog-article-body p {
    margin: 0 0 24px;
}

.blog-article-body h2 {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    color: var(--blog-dark);
    margin: 48px 0 18px;
    line-height: 1.3;

}

.blog-article-body h3 {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    color: var(--blog-dark);
    margin: 36px 0 14px;
    line-height: 1.35;

}

.blog-article-body ul,
.blog-article-body ol {

    margin: 0 0 24px;
    padding-left: 22px;

}

.blog-article-body li {

    margin-bottom: 10px;
    line-height: 1.75;

}

.blog-article-body a {

    color: var(--blog-gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;

}

.blog-article-body a:hover {
    color: var(--blog-gold);
}

.blog-article-body strong {
    color: var(--blog-dark);
}

.blog-pullquote {

    border-left: 3px solid var(--blog-gold);
    background: var(--blog-bg);
    padding: 24px 28px;
    margin: 8px 0 32px;
    border-radius: 0 4px 4px 0;

}

.blog-pullquote p {

    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    color: var(--blog-dark);
    line-height: 1.6;

}


/* Pricing / comparison table reused inside article body */

.blog-article-body table {

    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 32px;
    font-size: 15px;

}

.blog-article-body th {

    text-align: left;
    background: var(--blog-black);
    color: var(--blog-gold);
    padding: 12px 16px;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;

}

.blog-article-body td {

    padding: 12px 16px;
    border-bottom: 1px solid var(--blog-border);
    color: var(--blog-dark);

}

.blog-article-body tr:nth-child(even) td {
    background: var(--blog-bg);
}


/* Checklist styling used inside article body */

.blog-checklist {

    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.blog-checklist li {

    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 15.5px;
    color: var(--blog-dark);
    line-height: 1.6;

}

.blog-checklist li i {

    color: var(--blog-gold-dark);
    margin-top: 3px;
    flex-shrink: 0;

}


/* Author / share bar */

.blog-article-footer-bar {

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--blog-border);
    border-bottom: 1px solid var(--blog-border);
    padding: 22px 0;
    margin: 44px 0;

}

.blog-author {

    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-muted);
    font-size: 14px;

}

.blog-author strong {
    color: var(--blog-dark);
}

.blog-back-link {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

}

.blog-back-link i {
    font-size: 12px;
}


/* In-article CTA box */

.blog-inline-cta {

    background: var(--blog-black);
    border-radius: 6px;
    padding: 40px 36px;
    text-align: center;
    margin: 8px 0 48px;

}

.blog-inline-cta h3 {

    font-family: Georgia, "Times New Roman", serif;
    color: var(--blog-white);
    font-size: 24px;
    margin: 0 0 10px;

}

.blog-inline-cta p {

    color: rgba(248, 246, 242, 0.78);
    font-size: 15px;
    margin: 0 0 22px;

}

.blog-inline-cta-buttons {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;

}

.blog-inline-cta-btn {

    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;

}

.blog-inline-cta-btn-primary {

    background: var(--blog-gold);
    color: var(--blog-black);

}

.blog-inline-cta-btn-primary:hover {
    background: #FFD58D;
}

.blog-inline-cta-btn-secondary {

    background: transparent;
    color: var(--blog-white);
    border: 1px solid rgba(248, 246, 242, 0.35);

}

.blog-inline-cta-btn-secondary:hover {
    border-color: var(--blog-gold);
    color: var(--blog-gold);
}


/* Related posts */

.blog-related-section {

    background: var(--blog-bg);
    padding: 70px 24px 90px;

}

.blog-related-wrap {

    max-width: 1240px;
    margin: 0 auto;

}

.blog-related-heading {

    text-align: center;
    margin-bottom: 40px;

}

.blog-related-heading .blog-hero-eyebrow {
    color: var(--blog-gold-dark);
}

.blog-related-heading h2 {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    color: var(--blog-dark);
    margin: 0;

}

.blog-related-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .blog-grid,
    .blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 680px) {

    .blog-hero {
        padding: 150px 20px 70px;
    }

    .blog-listing-section,
    .blog-article-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-grid,
    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-article-body {
        font-size: 16px;
    }

    .blog-inline-cta {
        padding: 32px 22px;
    }

    .blog-article-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }

}
