/* ==========================================================================
   VINTUSHTECH — ENGINEERING BLOG & INSIGHTS HUB STYLES
   Editorial Monochrome: True Black, Pure White, Layered Grays, Rich Typography
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: #000000;
    transition: width 0.1s ease;
}

/* ==========================================================================
   1. BLOG LIST / DIRECTORY HUB
   ========================================================================== */
.blog-hub-page {
    background-color: #ffffff;
    min-height: 100vh;
    padding-top: 110px;
    color: #18181b;
}

/* Hero Section */
.blog-hero-section {
    padding: 60px 20px 45px;
    background: #fafafa;
    border-bottom: 1px solid #f4f4f5;
    text-align: center;
}

.blog-hero-container {
    max-width: 860px;
    margin: 0 auto;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #18181b;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.blog-hero-badge i {
    color: #000000;
    font-size: 11px;
}

.blog-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #000000;
    margin: 0 0 16px;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.blog-hero-subtitle {
    font-size: 16.5px;
    color: #71717a;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 32px;
}

/* Search Field */
.blog-search-form {
    max-width: 580px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 100px;
    padding: 6px 8px 6px 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.search-input-group:focus-within {
    border-color: #000000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.search-icon {
    color: #a1a1aa;
    font-size: 14px;
    margin-right: 12px;
}

.search-field {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #000000;
    width: 100%;
}

.search-field::placeholder {
    color: #a1a1aa;
}

.search-clear-btn {
    color: #a1a1aa;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    padding: 0 10px;
}

.search-clear-btn:hover {
    color: #000000;
}

.search-submit-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit-btn:hover {
    background: #27272a;
}

/* Category Filter Bar */
.blog-filter-section {
    padding: 24px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f4f4f5;
    position: sticky;
    top: 70px;
    z-index: 20;
}

.blog-filter-container {
    max-width: 1240px;
    margin: 0 auto;
}

.filter-pills-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.filter-pills-scroll::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: #f4f4f5;
    color: #71717a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e4e4e7;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    color: #000000;
    border-color: #000000;
}

.filter-pill.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.pill-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 11px;
}

.filter-pill:not(.active) .pill-count {
    background: #e4e4e7;
    color: #18181b;
}

/* Post Cards Grid */
.blog-grid-section {
    padding: 60px 20px 80px;
}

.blog-grid-container {
    max-width: 1240px;
    margin: 0 auto;
}

.search-results-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 12px 18px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    font-size: 14px;
}

.clear-search-link {
    color: #000000;
    font-weight: 600;
    text-decoration: underline;
}

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

.blog-post-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    border-color: #d4d4d8;
}

.card-cover-wrapper {
    position: relative;
    width: 100%;
    height: 185px;
    background: #f4f4f5;
    overflow: hidden;
}

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

.blog-post-card:hover .card-cover-img {
    transform: scale(1.04);
}

.card-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
}

.card-cover-fallback i {
    font-size: 32px;
    color: #d4d4d8;
}

.card-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

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

.card-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #71717a;
    margin-bottom: 12px;
}

.meta-dot {
    color: #d4d4d8;
}

.card-heading {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.card-heading a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-heading a:hover {
    color: #3f3f46;
}

.card-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #71717a;
    margin: 0 0 22px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f4f4f5;
}

.card-author-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-monogram {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #18181b;
}

.card-read-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.card-read-action:hover {
    transform: translateX(3px);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
    max-width: 520px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 48px;
    color: #d4d4d8;
    margin-bottom: 20px;
}

.blog-empty-state h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 10px;
}

.blog-empty-state p {
    font-size: 15px;
    color: #71717a;
    line-height: 1.6;
    margin: 0 0 24px;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    border-radius: 100px;
    background: #000000;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: #27272a;
}

/* Bottom Hub Banner */
.blog-bottom-banner-section {
    padding: 0 20px 80px;
}

.bottom-banner-container {
    max-width: 1240px;
    margin: 0 auto;
}

.bottom-banner-card {
    background: #ffffff;
    color: #09090b;
    border: 1px solid #e4e4e7;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 50px 45px;
}

.banner-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #71717a;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.bottom-banner-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #09090b;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.bottom-banner-card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #52525b;
    max-width: 680px;
    margin: 0 0 30px;
}

.banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-banner-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #09090b;
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.btn-banner-primary:hover {
    background: #27272a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-banner-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f4f5;
    color: #09090b;
    border: 1px solid #e4e4e7;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-banner-secondary:hover {
    border-color: #09090b;
    background: #09090b;
    color: #ffffff;
}


/* ==========================================================================
   2. BLOG DETAIL / ARTICLE PAGE
   ========================================================================== */
.blog-detail-page-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding: 120px 0 100px;
    color: #18181b;
}

.blog-detail-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumbs Navigation */
.blog-breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
    padding: 8px 16px;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 100px;
    font-size: 13px;
    line-height: 1;
}

.blog-breadcrumbs a,
.blog-breadcrumbs .crumb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #52525b !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.blog-breadcrumbs a i,
.blog-breadcrumbs .crumb-pill i {
    font-size: 11px;
    color: #71717a !important;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover,
.blog-breadcrumbs .crumb-pill:hover {
    color: #09090b !important;
    background: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.blog-breadcrumbs a:hover i,
.blog-breadcrumbs .crumb-pill:hover i {
    color: #09090b !important;
}

.blog-breadcrumbs .crumb-sep {
    display: inline-flex;
    align-items: center;
    color: #a1a1aa;
    font-size: 10px;
}

.blog-breadcrumbs .crumb-pill.active {
    color: #09090b !important;
    font-weight: 600;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Header */
.article-header-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e4e4e7;
}

.header-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.badge-featured-tag i {
    color: #22c55e;
}

.article-hero-title {
    font-size: clamp(2.3rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #000000;
    line-height: 1.18;
    letter-spacing: -1.5px;
    margin: 0 0 16px;
}

.article-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #71717a;
    margin: 0 0 28px;
}

/* Meta Strip */
.article-meta-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 20px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #000000;
}

.author-role {
    font-size: 11.5px;
    color: #71717a;
}

.meta-divider {
    width: 1px;
    height: 30px;
    background: #e4e4e7;
}

.meta-stats-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-stat-item {
    font-size: 13px;
    color: #71717a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-actions-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    color: #18181b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-action-round:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Featured Cover Frame - Compact & Content Focused */
.article-featured-image-frame {
    margin-bottom: 34px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    background: #fafafa;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    position: relative;
}

.article-featured-img {
    width: 100%;
    height: 280px;
    max-height: 280px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.article-featured-image-frame:hover .article-featured-img {
    transform: scale(1.02);
}

/* Executive Summary Box */
.executive-summary-box {
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-left: 4px solid #000000;
    border-radius: 16px;
    padding: 26px 30px;
    margin-bottom: 45px;
}

.executive-summary-box .summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.executive-summary-box .summary-icon {
    font-size: 20px;
    color: #000000;
}

.executive-summary-box h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.executive-summary-box .summary-text {
    font-size: 15px;
    line-height: 1.7;
    color: #27272a;
    margin: 0;
}

/* Article Body Markdown Typography */
.article-body-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #27272a;
    margin-bottom: 50px;
}

/* Inline Images inside Article Body - Compact, Content-First & Interactive */
.article-body-content img {
    max-width: 580px;
    width: 85%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 28px auto 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e4e4e7;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.article-body-content img:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-body-content p > img + em,
.article-body-content p > em:only-child {
    display: block;
    text-align: center;
    font-size: 13.5px;
    color: #71717a;
    margin-top: 6px;
    margin-bottom: 26px;
    font-style: italic;
}

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

.article-body-content strong,
.article-body-content b {
    font-weight: 700;
    color: #000000;
}

.article-body-content em,
.article-body-content i {
    font-style: italic;
}

.article-body-content h1,
.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    color: #000000;
    font-weight: 800;
    margin: 42px 0 18px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.article-body-content h2 { font-size: 26px; border-bottom: 1px solid #f4f4f5; padding-bottom: 10px; }
.article-body-content h3 { font-size: 21px; }
.article-body-content h4 { font-size: 18px; }

.article-body-content ul,
.article-body-content ol {
    margin: 0 0 24px 28px;
}

.article-body-content li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.article-body-content blockquote {
    margin: 30px 0;
    padding: 20px 26px;
    background: #fafafa;
    border-left: 4px solid #000000;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #18181b;
}

.article-body-content hr {
    border: none;
    height: 1px;
    background: #e4e4e7;
    margin: 45px 0;
}

/* Markdown Tables Responsive Container */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.table-responsive table {
    width: 100%;
    min-width: 520px;
    margin: 0 !important;
    border: none !important;
    border-collapse: collapse;
}

.article-body-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    font-size: 14.5px;
}

.article-body-content th {
    background: #f4f4f5;
    color: #000000;
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid #e4e4e7;
    text-align: left;
    white-space: normal;
}

.article-body-content td {
    padding: 12px 16px;
    border: 1px solid #e4e4e7;
    color: #27272a;
    white-space: normal;
}

.article-body-content tr:nth-child(even) {
    background: #fafafa;
}

.article-body-content tr:hover {
    background: #f4f4f5;
}

/* Code Syntax & Blocks */
.article-body-content code {
    background: #f4f4f5;
    color: #000000;
    padding: 3px 7px;
    border-radius: 6px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    border: 1px solid #e4e4e7;
}

.article-body-content pre {
    background: #18181b;
    color: #ffffff;
    padding: 22px;
    border-radius: 14px;
    overflow-x: auto;
    margin: 28px 0;
}

.article-body-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Article Footer Bar */
.article-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid #e4e4e7;
    border-bottom: 1px solid #e4e4e7;
    margin-bottom: 50px;
}

.tags-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-tag {
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: #71717a;
}

.share-link-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    color: #18181b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-link-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Related Articles */
.related-articles-section {
    margin-bottom: 60px;
}

.related-header {
    margin-bottom: 24px;
}

.related-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #71717a;
    text-transform: uppercase;
}

.related-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin: 4px 0 0;
}

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

.related-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: #000000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.related-img-link {
    display: block;
    width: 100%;
    height: 140px;
    background: #f4f4f5;
    overflow: hidden;
}

.related-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 16px;
}

.related-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #71717a;
    display: block;
    margin-bottom: 6px;
}

.related-body h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.related-body h4 a {
    color: #000000;
    text-decoration: none;
}

.related-body h4 a:hover {
    color: #71717a;
}

.related-meta {
    font-size: 12px;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Article Consultation Banner */
.article-consultation-banner {
    background: #ffffff;
    color: #09090b;
    border: 1px solid #e4e4e7;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border-radius: 22px;
    padding: 45px 40px;
}

.consult-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #71717a;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.article-consultation-banner h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #09090b;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.article-consultation-banner p {
    font-size: 15px;
    line-height: 1.7;
    color: #52525b;
    max-width: 600px;
    margin: 0 0 28px;
}

.banner-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-banner-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #09090b;
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.btn-banner-black:hover {
    background: #27272a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-banner-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f4f5;
    color: #09090b;
    border: 1px solid #e4e4e7;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-banner-outline:hover {
    border-color: #09090b;
    background: #09090b;
    color: #ffffff;
}

/* Empty State */
.article-not-found {
    text-align: center;
    padding: 100px 20px;
}

.not-found-icon {
    font-size: 48px;
    color: #d4d4d8;
    margin-bottom: 20px;
}

.btn-back-hub {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 100px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .blog-hub-page {
        padding-top: 90px;
    }

    .blog-detail-page-wrapper {
        padding: 90px 0 60px;
    }

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

    .article-meta-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .meta-divider {
        display: none;
    }

    .meta-actions-group {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .bottom-banner-card,
    .article-consultation-banner {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .blog-detail-container {
        padding: 0 16px;
    }

    .article-hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.3rem);
        letter-spacing: -0.5px;
        line-height: 1.22;
        margin-bottom: 12px;
    }

    .article-hero-subtitle {
        font-size: 15.5px;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .article-featured-image-frame {
        border-radius: 12px;
        margin: 20px 0 28px;
    }

    .article-body-content {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .article-body-content h2 {
        font-size: 22px;
        margin: 32px 0 14px;
    }

    .article-body-content h3 {
        font-size: 19px;
        margin: 26px 0 12px;
    }

    .article-body-content pre {
        padding: 16px 14px;
        border-radius: 10px;
        font-size: 12.5px;
        margin: 20px 0;
    }

    .table-responsive {
        margin: 24px 0;
        border-radius: 10px;
    }

    .table-responsive table {
        min-width: 460px;
    }

    .article-body-content th,
    .article-body-content td {
        padding: 10px 12px;
        font-size: 13.5px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-banner-black,
    .btn-banner-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-detail-container {
        padding: 0 12px;
    }

    .blog-breadcrumbs {
        gap: 4px;
        margin-bottom: 20px;
    }

    .crumb-pill {
        font-size: 11.5px;
        padding: 4px 10px;
    }

    .article-meta-strip {
        padding: 12px 14px;
        gap: 12px;
    }

    .author-name {
        font-size: 13px;
    }

    .meta-stats-group {
        gap: 10px;
        font-size: 12px;
    }

    .article-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .share-group {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ==========================================================================
   Views Indicators & Interactive Lightbox Overlay
   ========================================================================== */
.meta-stat-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #18181b;
    font-weight: 600;
    background: #f4f4f5;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid #e4e4e7;
    font-size: 12.5px;
}

.meta-stat-views i {
    color: #000000;
}

.card-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #52525b;
    font-weight: 600;
    font-size: 12px;
}

.card-views i {
    color: #000000;
    font-size: 11px;
}

/* Interactive Image Lightbox Modal */
.blog-image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.blog-image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content-box {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: contain;
}

.lightbox-caption {
    color: #f4f4f5;
    font-size: 14px;
    margin-top: 14px;
    text-align: center;
    font-style: italic;
    max-width: 700px;
}

.lightbox-close-btn {
    position: absolute;
    top: -46px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .article-featured-img {
        height: 220px;
        max-height: 220px;
    }
    .article-body-content img {
        width: 95%;
        max-height: 240px;
    }
}

@media (max-width: 600px) {
    .article-featured-img {
        height: 180px;
        max-height: 180px;
    }
    .article-body-content img {
        width: 100%;
        max-height: 200px;
    }
}


/* Author Avatar Image (Replacing Monogram) */
.author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e4e4e7;
    background: #000000;
    flex-shrink: 0;
}

.author-avatar-img.author-favicon {
    object-fit: contain;
    padding: 6px;
    background: #000000;
}

/* Filter Pills - Top 5 & Newest 5 Styling */
.filter-pill-top i {
    color: #f97316;
}
.filter-pill-top.active i {
    color: #ffffff;
}

.filter-pill-newest i {
    color: #3b82f6;
}
.filter-pill-newest.active i {
    color: #ffffff;
}
