/* ============================================================
   IQ Limousine — Luxury Blog & Editorial Styling (blog.css)
   Scoped to .blog-hub, .article-page, and .blog-component
   ============================================================ */

/* ---- Blog Hero Section ---- */
.blog-hero {
    position: relative;
    padding: 140px 0 60px;
    background: radial-gradient(circle at 50% 20%, rgba(180, 139, 50, 0.12) 0%, rgba(10, 10, 10, 0.98) 70%), #0a0a0a;
    border-bottom: 1px solid rgba(180, 139, 50, 0.2);
    text-align: center;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(180, 139, 50, 0.15);
    border: 1px solid rgba(180, 139, 50, 0.35);
    border-radius: 30px;
    color: var(--color-gold, #b48b32);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.blog-hero-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(34px, 5vw, 56px);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-wrap: balance;
}

.blog-hero-desc {
    max-width: 680px;
    margin: 0 auto 30px;
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--color-gold, #b48b32);
}

.breadcrumbs span.separator {
    color: #555;
}

.breadcrumbs span.current {
    color: var(--color-gold, #b48b32);
    font-weight: 500;
}

/* Category Filter Bar */
.blog-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    padding: 8px 20px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold, #b48b32);
    color: #000;
    border-color: var(--color-gold, #b48b32);
    font-weight: 600;
}

/* ---- Blog Section & Cards Grid ---- */
.blog-section {
    padding: 70px 0 90px;
    background: #0d0d0d;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(180, 139, 50, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 4px 15px rgba(180, 139, 50, 0.12);
}

.blog-card-img-wrap {
    position: relative;
    width: 100%;
    height: 230px;
    background: #000;
    overflow: hidden;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-gold, #b48b32);
    border: 1px solid rgba(180, 139, 50, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 14px;
}

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

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 12px;
}

.blog-card-meta i {
    color: var(--color-gold, #b48b32);
    margin-right: 4px;
}

.blog-card-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 12px;
    text-wrap: balance;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--color-gold, #b48b32);
}

.blog-card-excerpt {
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold, #b48b32);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
    gap: 12px;
}

/* ============================================================
   Single Article Detail Page
   ============================================================ */
.article-page {
    background: #0a0a0a;
    padding: 130px 0 90px;
    color: #e5e5e5;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category-badge {
    display: inline-block;
    background: rgba(180, 139, 50, 0.15);
    border: 1px solid rgba(180, 139, 50, 0.35);
    color: var(--color-gold, #b48b32);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.article-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(32px, 4.5vw, 50px);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    text-wrap: balance;
}

.article-meta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 20px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 0.88rem;
    color: #999;
}

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

.article-meta-item i {
    color: var(--color-gold, #b48b32);
}

/* Featured Hero Image */
.article-hero-img-wrap {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(180, 139, 50, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.article-hero-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Table of Contents */
.article-toc {
    background: #121212;
    border: 1px solid rgba(180, 139, 50, 0.3);
    border-left: 4px solid var(--color-gold, #b48b32);
    border-radius: 8px;
    padding: 24px;
    margin: 35px 0;
}

.article-toc-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-toc-title i {
    color: var(--color-gold, #b48b32);
}

.article-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.article-toc-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.94rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-toc-list a:hover {
    color: var(--color-gold, #b48b32);
    transform: translateX(4px);
}

/* Article Content Body */
.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #d6d6d6;
}

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

.article-body strong {
    color: #ffffff;
}

.article-body a {
    color: var(--color-gold, #b48b32);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: #e6c278;
}

.article-body h2 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(24px, 3vw, 32px);
    color: #ffffff;
    margin: 45px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body h3 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.45rem;
    color: #e5e5e5;
    margin: 32px 0 16px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 26px 22px;
    padding: 0;
}

.article-body li {
    margin-bottom: 10px;
}

.article-lead {
    font-size: 1.22rem;
    line-height: 1.7;
    color: #f0f0f0;
    font-weight: 400;
    margin-bottom: 28px;
}

/* Callout Box */
.article-callout {
    display: flex;
    gap: 18px;
    background: #141414;
    border: 1px solid rgba(180, 139, 50, 0.35);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.callout-icon {
    font-size: 1.8rem;
    color: var(--color-gold, #b48b32);
    flex-shrink: 0;
}

.callout-content h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
}

.callout-content p {
    color: #bbb;
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Article Figures & Visuals */
.article-figure {
    margin: 36px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(200, 157, 82, 0.2);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.article-figure img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.article-figure:hover img {
    transform: scale(1.015);
}

.article-figure figcaption {
    padding: 12px 18px;
    background: rgba(18, 18, 18, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: italic;
}

.article-figure figcaption::before {
    content: "✦";
    color: var(--color-gold, #b48b32);
    font-size: 0.85rem;
    font-style: normal;
}

/* Tables in Articles */
.article-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    background: #121212;
}

.article-table th {
    background: #1a1a1a;
    color: var(--color-gold, #b48b32);
    font-weight: 600;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(180, 139, 50, 0.3);
}

.article-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.article-table tr:last-child td {
    border-bottom: none;
}

/* Author Box */
.author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 50px 0 35px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-gold, #b48b32);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.author-info p.author-role {
    color: var(--color-gold, #b48b32);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.author-info p.author-bio {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Single Article FAQs */
.article-faqs {
    margin: 50px 0;
    background: #121212;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
}

.article-faqs h3 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}

.article-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.article-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-faq-q {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-faq-a {
    color: #aaa;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Related Posts Section */
.related-posts-section {
    padding: 60px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-posts-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

/* Blog In-Article & Bottom CTA */
.blog-cta {
    background: linear-gradient(135deg, #141414 0%, #1f1a10 100%);
    border: 1px solid rgba(180, 139, 50, 0.35);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin: 50px 0 20px;
}

.blog-cta h3 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 14px;
}

.blog-cta p {
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-blog-gold {
    background: var(--color-gold, #b48b32);
    color: #000;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    border: 1px solid var(--color-gold, #b48b32);
}

.btn-blog-gold:hover {
    background: #c59b3f;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 139, 50, 0.3);
}

.btn-blog-outline {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.btn-blog-outline:hover {
    border-color: var(--color-gold, #b48b32);
    color: var(--color-gold, #b48b32);
}
