/* Blog pages – listing & article (load after styles.css + theme-variant.css) */

body.blog-page {
    background: var(--white, #fff);
    font-family: var(--font-family, 'Poppins', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════
   ARTICLE PAGE — Premium layout
   ══════════════════════════════════════════ */

.blog-main--article {
    position: relative;
    padding-bottom: 0;
}

.blog-main--article .main,
body.blog-page .blog-main--article {
    background: #f0f4f8;
    padding-bottom: 4rem;
}

/* Reading progress */
.blog-read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 9999;
    background: linear-gradient(90deg, #0d9488, #2563eb, #14b8a6);
    box-shadow: 0 0 12px rgba(13, 148, 136, 0.5);
    transition: width 0.1s linear;
    pointer-events: none;
}

/* Cinematic masthead */
.blog-masthead {
    position: relative;
    min-height: clamp(320px, 52vh, 480px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-masthead-media {
    position: absolute;
    inset: 0;
}

.blog-masthead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transform: scale(1.02);
}

.blog-masthead-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.25) 100%),
        linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, transparent 50%);
}

.blog-masthead-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.5rem 1.25rem 3.5rem;
}

.blog-masthead-inner {
    max-width: 860px;
    margin: 0 auto;
}

.blog-masthead-inner h1 {
    font-size: clamp(1.85rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 0 0 0.85rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.blog-masthead-deck {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 640px;
    font-weight: 400;
}

.blog-back-link--light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(8px);
}

.blog-back-link--light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.blog-meta-pill--light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
}

.blog-masthead .blog-tag {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Jump navigation */
.blog-jump-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.85rem 1.25rem;
    max-width: 900px;
    margin: -1.75rem auto 0;
    position: relative;
    z-index: 5;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-jump-nav::-webkit-scrollbar {
    display: none;
}

.blog-jump-link {
    flex-shrink: 0;
    padding: 0.5rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.blog-jump-link:hover {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
    text-decoration: none;
}

/* Premium article card — overlaps masthead */
.blog-post-container--premium {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
    position: relative;
    z-index: 4;
}

.blog-article-card--premium {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    margin-top: 0.5rem;
}

/* Trust bar */
.blog-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.blog-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f766e;
}

.blog-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    background: #0d9488;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
}

/* ══════════════════════════════════════════
   SHARED — Hero, back link, tags
   ══════════════════════════════════════════ */

body.blog-page .main:not(.blog-main--article) {
    background: linear-gradient(180deg, var(--light-blue, #ccfbf1) 0%, var(--gray-50, #f8fafc) 280px, var(--white, #fff) 520px);
    padding-bottom: var(--spacing-16, 4rem);
    min-height: 60vh;
}

.blog-hero {
    padding: var(--spacing-10, 2.5rem) var(--spacing-4, 1rem) var(--spacing-8, 2rem);
    text-align: center;
}

.blog-hero--index {
    max-width: 720px;
    margin: 0 auto;
}

.blog-hero--index h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-900, #0f172a);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.blog-hero--index p {
    font-size: var(--font-size-lg, 1.15rem);
    color: var(--gray-600, #475569);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

.blog-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.blog-hero-top .blog-back-link {
    margin-bottom: 0;
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.blog-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.85rem;
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600, #475569);
    box-shadow: var(--shadow-sm);
}

.blog-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--dark-blue, #0f766e), var(--primary-blue, #0d9488));
    color: var(--white, #fff);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-lg, 1rem);
    color: var(--dark-blue, #0f766e);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm, 0.9rem);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.blog-back-link:hover {
    border-color: var(--primary-blue, #0d9488);
    background: var(--light-blue, #ccfbf1);
    box-shadow: var(--shadow-md);
    transform: translateX(-3px);
    text-decoration: none;
}

/* ══════════════════════════════════════════
   INDEX — Blog listing grid
   ══════════════════════════════════════════ */

.blog-index-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-4, 1rem) var(--spacing-8, 2rem);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-6, 1.5rem);
}

.blog-card {
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-xl, 1.25rem);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-5px);
}

.blog-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 118, 110, 0.92);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.blog-card-body {
    padding: 1.5rem 1.6rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.7rem;
}

.blog-card-body h2 a {
    color: var(--gray-800, #1e293b);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-body h2 a:hover {
    color: var(--primary-blue, #0d9488);
}

.blog-card-body p {
    font-size: var(--font-size-sm, 0.9rem);
    color: var(--gray-600, #475569);
    line-height: 1.7;
    margin: 0 0 1.1rem;
    flex: 1;
}

.blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--font-size-sm, 0.9rem);
    font-weight: 600;
    color: var(--primary-blue, #0d9488);
    text-decoration: none;
    transition: gap 0.2s;
}

.blog-card-read:hover {
    gap: 0.55rem;
    text-decoration: none;
}

/* ══════════════════════════════════════════
   ARTICLE — Prose & components
   ══════════════════════════════════════════ */

.blog-post-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--spacing-4, 1rem) var(--spacing-8, 2rem);
}

.blog-article-card {
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-xl, 1.25rem);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.blog-post-content {
    padding: 2.25rem 2.5rem 2.5rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #334155;
}

.blog-article-card--premium .blog-post-content {
    padding: 2rem 2.5rem 2.25rem;
}

.blog-post-content > p {
    margin-bottom: 1.3rem;
}

/* TL;DR — featured callout */
.blog-tldr {
    position: relative;
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 1.5rem 1.65rem 1.5rem 4.5rem;
    border-radius: 1rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.1);
    overflow: hidden;
}

.blog-tldr::before {
    content: '⚡';
    position: absolute;
    left: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
}

.blog-tldr::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.blog-tldr p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #1e293b;
    position: relative;
}

.blog-tldr strong {
    color: #0f766e;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Headings */
.blog-post-content h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 3rem;
    margin-bottom: 1.1rem;
    padding: 0 0 0.75rem 1rem;
    border-bottom: none;
    border-left: 4px solid #0d9488;
    letter-spacing: -0.025em;
    line-height: 1.25;
    scroll-margin-top: 5rem;
}

.blog-post-content h2:first-of-type {
    margin-top: 0.5rem;
}

.blog-post-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f766e;
    margin-top: 1.85rem;
    margin-bottom: 0.65rem;
    line-height: 1.4;
}

/* Inline images */
.blog-inline-image {
    margin: 2rem 0 2.25rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.blog-inline-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.blog-inline-image figcaption,
.blog-image-caption {
    padding: 0.9rem 1.25rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-style: italic;
}

/* Step cards */
.blog-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.75rem 0 2.25rem;
}

.blog-step {
    position: relative;
    padding: 1.35rem 1.5rem 1.35rem 4.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.25s ease;
}

.blog-step:hover {
    border-color: #0d9488;
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.12);
    transform: translateX(4px);
}

.blog-step-num {
    position: absolute;
    left: 1.35rem;
    top: 1.35rem;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.blog-step h3 {
    margin: 0 0 0.5rem !important;
    font-size: 1.08rem !important;
    color: #0f172a !important;
}

.blog-step p {
    margin: 0 0 0.65rem;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
}

.blog-step p:last-child {
    margin-bottom: 0;
}

/* Benefits grid */
.blog-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.85rem;
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 2rem !important;
}

.blog-benefits-grid li {
    padding: 1.15rem 1.2rem !important;
    padding-left: 1.2rem !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.blog-benefits-grid li::before {
    display: none !important;
}

.blog-benefits-grid li:hover {
    transform: translateY(-3px);
    border-color: #0d9488;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.blog-benefits-grid li strong {
    display: block;
    color: #0f766e;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Lists */
.blog-post-content ul:not(.blog-benefits-grid),
.blog-post-content ol {
    margin: 1rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.blog-post-content ul:not(.blog-benefits-grid) li,
.blog-post-content ol li {
    position: relative;
    margin: 0.7rem 0;
    padding-left: 1.6rem;
    line-height: 1.75;
}

.blog-post-content ul:not(.blog-benefits-grid) li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #0d9488, #2563eb);
    border-radius: 50%;
}

.blog-post-content strong {
    color: #0f172a;
    font-weight: 600;
}

.blog-post-content a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(13, 148, 136, 0.35);
    transition: color 0.2s;
}

.blog-post-content a:hover {
    color: #0f766e;
}

.blog-post-content code {
    display: inline-block;
    max-width: 100%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.86em;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    word-break: break-all;
    color: #1e293b;
}

/* Tables */
.blog-post-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.75rem 0;
    font-size: 0.9rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.blog-post-content th,
.blog-post-content td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.blog-post-content th {
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-content tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.blog-post-content tbody tr:hover td {
    background: #ecfdf5;
}

.blog-post-content tr:last-child td {
    border-bottom: none;
}

/* FAQ accordion */
.blog-faq-block {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.blog-faq-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog-faq-header h2 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-align: center;
    font-size: 1.65rem !important;
}

.blog-faq-intro {
    margin: 0 auto;
    max-width: 520px;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.blog-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.blog-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-faq-item:hover {
    border-color: rgba(13, 148, 136, 0.35);
}

.blog-faq-item[open] {
    border-color: #0d9488;
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.12);
}

.blog-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    line-height: 1.45;
    transition: color 0.2s, background 0.2s;
    user-select: none;
}

.blog-faq-question::-webkit-details-marker {
    display: none;
}

.blog-faq-question::after {
    content: '';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: #f0fdfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") center / 1rem no-repeat;
    border-radius: 50%;
    border: 1px solid #99f6e4;
    transition: transform 0.3s ease, background 0.2s;
}

.blog-faq-item[open] .blog-faq-question {
    color: #0f766e;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border-bottom: 1px solid #ccfbf1;
}

.blog-faq-item[open] .blog-faq-question::after {
    transform: rotate(180deg);
    background-color: #0d9488;
    border-color: #0d9488;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

.blog-faq-question:hover {
    color: #0d9488;
}

.blog-faq-answer {
    padding: 0 1.25rem 1.15rem;
    animation: blogFaqOpen 0.3s ease;
}

.blog-faq-answer p {
    margin: 0.85rem 0 0;
    padding: 0 0 0 1rem;
    border-left: 3px solid #5eead4;
    font-size: 0.96rem;
    line-height: 1.75;
    color: #475569;
}

.blog-faq-answer a {
    color: #0d9488;
    font-weight: 600;
}

.blog-faq-answer code {
    font-size: 0.88em;
}

@keyframes blogFaqOpen {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium CTA */
.blog-cta {
    margin: 0 2.5rem 2.5rem;
    padding: 2.25rem 2.5rem;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #2563eb 100%);
    border-radius: 1.25rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta--premium {
    margin: 0;
    border-radius: 0;
    padding: 2.75rem 2.5rem;
    box-shadow: none;
}

.blog-cta-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta--premium::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    color: #fff;
    position: relative;
    letter-spacing: -0.02em;
}

.blog-cta p {
    font-size: 1rem;
    opacity: 0.94;
    margin-bottom: 1.5rem;
    line-height: 1.65;
    position: relative;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta-btn {
    display: inline-block;
    background: #fff;
    color: #0f766e;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.95rem 2.25rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    position: relative;
}

.blog-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

/* ══════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════ */

[data-theme="dark"] body.blog-page {
    background: #0f172a;
}

[data-theme="dark"] body.blog-page .blog-main--article,
[data-theme="dark"] body.blog-page .main:not(.blog-main--article) {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 320px);
}

[data-theme="dark"] .blog-article-card--premium {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .blog-trust-bar {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: #334155;
}

[data-theme="dark"] .blog-trust-item {
    color: #5eead4;
}

[data-theme="dark"] .blog-jump-link {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .blog-jump-link:hover {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff;
}

[data-theme="dark"] .blog-post-content {
    color: #cbd5e1;
}

[data-theme="dark"] .blog-tldr {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: #334155;
}

[data-theme="dark"] .blog-tldr p {
    color: #e2e8f0;
}

[data-theme="dark"] .blog-post-content h2 {
    color: #f1f5f9;
    border-left-color: #14b8a6;
}

[data-theme="dark"] .blog-post-content h3 {
    color: #5eead4;
}

[data-theme="dark"] .blog-step {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: #334155;
}

[data-theme="dark"] .blog-step h3 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .blog-step p {
    color: #94a3b8;
}

[data-theme="dark"] .blog-benefits-grid li {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .blog-benefits-grid li strong {
    color: #5eead4;
}

[data-theme="dark"] .blog-faq-block {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
}

[data-theme="dark"] .blog-faq-intro {
    color: #94a3b8;
}

[data-theme="dark"] .blog-faq-item {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .blog-faq-item[open] {
    border-color: #0d9488;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .blog-faq-question {
    color: #e2e8f0;
}

[data-theme="dark"] .blog-faq-item[open] .blog-faq-question {
    color: #5eead4;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-bottom-color: #334155;
}

[data-theme="dark"] .blog-faq-answer p {
    color: #94a3b8;
    border-left-color: #0d9488;
}

[data-theme="dark"] .blog-faq-question::after {
    background-color: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .blog-back-link--light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .blog-meta-pill--light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .blog-card,
[data-theme="dark"] .blog-article-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .blog-card-body h2 a {
    color: #f1f5f9;
}

[data-theme="dark"] .blog-card-body p {
    color: #94a3b8;
}

[data-theme="dark"] .blog-hero--index h1 {
    color: #f1f5f9;
}

[data-theme="dark"] .blog-hero--index p {
    color: #94a3b8;
}

[data-theme="dark"] .blog-back-link {
    background: #1e293b;
    border-color: #334155;
    color: #5eead4;
}

[data-theme="dark"] .blog-post-content code {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .blog-post-content th {
    background: linear-gradient(135deg, #334155, #475569);
}

[data-theme="dark"] .blog-post-content tbody tr:nth-child(even) td {
    background: #0f172a;
}

[data-theme="dark"] .blog-post-content th,
[data-theme="dark"] .blog-post-content td {
    border-color: #334155;
}

[data-theme="dark"] .blog-inline-image {
    border-color: #334155;
}

[data-theme="dark"] .blog-inline-image figcaption {
    background: #0f172a;
    border-color: #334155;
    color: #64748b;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    .blog-masthead {
        min-height: clamp(280px, 48vh, 400px);
    }

    .blog-masthead-content {
        padding: 2rem 1rem 2.75rem;
    }

    .blog-jump-nav {
        margin-top: -1.25rem;
        padding: 0.65rem 1rem;
    }

    .blog-post-container--premium {
        padding: 0 0.85rem 1.5rem;
    }

    .blog-article-card--premium {
        border-radius: 1.15rem;
    }
}

@media (max-width: 640px) {
    .blog-post-content,
    .blog-article-card--premium .blog-post-content {
        padding: 1.5rem 1.25rem 1.75rem;
        font-size: 1rem;
    }

    .blog-trust-bar {
        padding: 1rem 1.25rem;
        gap: 0.5rem;
    }

    .blog-trust-item {
        font-size: 0.78rem;
    }

    .blog-tldr {
        padding: 1.25rem 1.2rem 1.25rem 3.5rem;
    }

    .blog-tldr::before {
        left: 1rem;
        font-size: 1.25rem;
    }

    .blog-step {
        padding: 1.1rem 1rem 1.1rem 3.75rem;
    }

    .blog-step-num {
        left: 1rem;
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    .blog-benefits-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta--premium {
        padding: 2rem 1.35rem;
    }

    .blog-post-content table {
        font-size: 0.78rem;
        min-width: 400px;
    }

    .blog-post-content h2 {
        font-size: 1.3rem;
        margin-top: 2.25rem;
    }

    .blog-faq-block {
        padding: 1.35rem 1rem;
        margin-top: 2rem;
    }

    .blog-faq-question {
        padding: 1rem;
        font-size: 0.92rem;
    }

    .blog-faq-question::after {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .blog-masthead-content {
        padding-bottom: 4.5rem;
    }

    .blog-jump-nav {
        margin-top: -2.25rem;
    }

    .blog-article-card--premium {
        margin-top: 0;
    }
}
