/* Breadcrumb Navigation */
.breadcrumb-nav {
    position: absolute;
    top: 120px;
    left: max(4rem, env(safe-area-inset-left));
    right: max(0px, env(safe-area-inset-right));
    z-index: 10;
    padding: 0;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0;
    align-items: center;
    color: var(--sand);
    font-size: 0.875rem;
}
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-item:not(:last-child)::after {
    content: '/';
    opacity: 0.5;
    margin-inline: 0.5rem;
    line-height: 1;
}
.breadcrumb-link {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-link:hover {
    color: var(--pure-white);
}
.breadcrumb-link:focus-visible {
    outline: 3px solid var(--pure-white);
    outline-offset: 2px;
    border-radius: 2px;
}
.breadcrumb-current {
    color: var(--pure-white);
    font-weight: 600;
}

/* When breadcrumbs are moved below the hero */
.breadcrumb--below {
    position: static;
    max-width: 1200px;
    margin: 1.25rem auto 0;
    padding: 0 2rem;
}
.breadcrumb--below .breadcrumb-list { color: var(--gray-600); }
.breadcrumb--below .breadcrumb-link { color: var(--gray-600); }
.breadcrumb--below .breadcrumb-link:hover { color: var(--espresso); }
.breadcrumb--below .breadcrumb-current { color: var(--espresso); font-weight: 600; }

/* ===== ARTICLE BOTTOM NAV ===== */
.article-bottom-nav {
    max-width: 740px;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}
.abn-link {
    font-weight: 700;
    color: var(--warm-beige-dark);
    text-decoration: none;
}
.abn-link:hover { color: var(--espresso); }
.abn-spacer { flex: 1; }
.abn-nextprev { display: flex; gap: .75rem; }
.abn-nextprev .abn-link { white-space: nowrap; }

/* Bottom nav responsive wrapping */
@media (max-width: 520px) {
    .article-bottom-nav { flex-wrap: wrap; }
    .abn-nextprev { width: 100%; justify-content: flex-end; margin-top: 0.5rem; }
}

/* ===== HERO - CINEMATIC ===== */
.article-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--espresso);
}

/* Use dynamic viewport height when supported */
@supports (height: 100dvh) {
    .article-hero { height: 100dvh; }
}

/* Background image with parallax */
.hero-background {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 110%;
    overflow: hidden;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    will-change: transform;
}

/* Gradient overlays */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(60, 36, 21, 0.4) 0%,
        rgba(60, 36, 21, 0.5) 50%,
        rgba(60, 36, 21, 0.9) 80%,
        rgba(60, 36, 21, 1) 100%
    );
}

/* Content container */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6rem 4rem 4rem;
    z-index: 2;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Category badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 165, 116, 0.9);
    backdrop-filter: blur(10px);
    color: var(--pure-white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}
.category-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--pure-white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Title animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

/* Balanced title wrapping for evergreen browsers */
@supports (text-wrap: balance) {
    .article-title { text-wrap: balance; }
}

/* Meta information */
.article-meta {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 0.95rem;
    color: var(--sand);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* Progress indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-beige), var(--warm-beige-dark));
    z-index: 1001;
    transition: width 0.2s ease;
}

/* ===== ARTICLE LAYOUT ===== */
.article-layout {
    position: relative;
    background: var(--pure-white);
}

/* Sidebar navigation */
.article-sidebar {
    position: fixed;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.article-sidebar.visible {
    opacity: 1;
}

.sidebar-btn {
    width: 48px;
    height: 48px;
    background: var(--pure-white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}
.sidebar-btn:hover {
    border-color: var(--warm-beige);
    color: var(--warm-beige);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}
.sidebar-btn:focus-visible {
    outline: 3px solid var(--warm-beige);
    outline-offset: 2px;
}
.sidebar-btn svg {
    width: 20px;
    height: 20px;
}
/* Hide print button on narrower screens; show on extra-wide layouts */
.sidebar-btn[data-action="print"] { display: none; }
@media (min-width: 1440px) {
    .sidebar-btn[data-action="print"] { display: flex; }
}
/* Slight optical centering for X glyph */
.icon-x { transform: translateY(1px); }

/* Main content */
.article-container {
    max-width: 740px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* Article lead - dramatic */
.article-lead {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--espresso);
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 4rem;
}
.article-lead::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 6rem;
    color: var(--warm-beige);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Table of Contents - floating card */
.toc {
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(212, 165, 116, 0.03) 10px,
        rgba(212, 165, 116, 0.03) 20px
    );
    pointer-events: none;
}
.toc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.toc-icon {
    width: 40px;
    height: 40px;
    background: var(--warm-beige);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}
.toc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--espresso);
}
.toc-list {
    list-style: none;
    position: relative;
    z-index: 1;
}
.toc-item {
    margin-bottom: 1rem;
}
.toc-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}
.toc-link:hover {
    background: rgba(255,255,255,0.7);
    color: var(--warm-beige-dark);
    transform: translateX(5px);
}
.toc-link:focus-visible {
    outline: 3px solid var(--warm-beige);
    outline-offset: 2px;
}
.toc-link[aria-current="true"] {
    background: var(--pure-white);
    color: var(--warm-beige-dark);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.toc-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--warm-beige);
    min-width: 30px;
}
.toc-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Article content typography */
.article-content {
    color: var(--gray-800);
}
.article-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--espresso);
    margin: 4rem 0 1.5rem;
    line-height: 1.2;
    position: relative;
    padding-top: 2rem;
}
.article-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--warm-beige);
}
.article-content h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--espresso);
    margin: 3rem 0 1rem;
    line-height: 1.3;
}
.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.article-content p:empty {
  display: none;
}
.article-content ul, .article-content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}
.article-content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    position: relative;
}
.article-content strong {
    font-weight: 700;
    color: var(--espresso);
}
.article-lead a,
.article-content a {
    color: var(--warm-beige-dark);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}
.article-content a:hover {
    border-color: var(--warm-beige);
}
.article-content a:focus-visible {
    outline: 3px solid var(--warm-beige);
    outline-offset: 2px;
    border-radius: 2px;
}

.article-content h2[id],
.article-content h3[id] {
    scroll-margin-top: 120px;
}

/* Callout boxes - redesigned */
.callout {
    margin: 3rem 0;
    padding: 2rem 2rem 2rem 5rem;
    border-radius: 16px;
    position: relative;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}
.callout-icon {
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    width: 32px;
    height: 32px;
    background: var(--warm-beige);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}
.callout-icon svg {
    width: 18px;
    height: 18px;
}
.callout-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 0.75rem;
}
.callout p {
    margin-bottom: 0.75rem;
}
.callout p:last-child {
    margin-bottom: 0;
}

.callout.warning {
    background: rgba(220, 38, 38, 0.03);
    border-color: rgba(220, 38, 38, 0.2);
}
.callout.warning .callout-icon {
    background: var(--danger-red);
}

.callout.info {
    background: rgba(59, 130, 246, 0.03);
    border-color: rgba(59, 130, 246, 0.2);
}
.callout.info .callout-icon {
    background: var(--info-blue);
}

.callout.success {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.2);
}
.callout.success .callout-icon {
    background: var(--success-green);
}

/* Inline CTA - sophisticated */
.inline-cta {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-taupe) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}
.inline-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}
.inline-cta-content {
    position: relative;
    z-index: 1;
}
.inline-cta h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--pure-white);
}
.inline-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}
.inline-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--espresso);
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.inline-cta-btn:hover {
    background: var(--rich-brown);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.inline-cta-btn:focus-visible {
    outline: 3px solid var(--pure-white);
    outline-offset: 3px;
}

/* Legal Disclaimer */
.legal-disclaimer {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--gray-50);
    border-left: 4px solid var(--warm-beige);
    border-radius: 8px;
}
.legal-disclaimer h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 1rem;
}
.legal-disclaimer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Author section - premium */
.author-section {
    margin: 5rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.author-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
}
.author-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-taupe) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pure-white);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.author-avatar img {
    border-radius: 50%;
}

.author-info {
    flex: 1;
}
.author-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--espresso);
    margin-bottom: 0.25rem;
}
.author-title {
    font-size: 1rem;
    color: var(--warm-beige-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}
.author-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}
.author-links {
    display: flex;
    gap: 1rem;
}
.author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--pure-white);
    border-radius: 8px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.author-link:hover {
    background: var(--warm-beige);
    color: var(--pure-white);
    transform: translateY(-2px);
}
.author-link:focus-visible {
    outline: 3px solid var(--warm-beige);
    outline-offset: 2px;
}
.author-link svg {
    width: 16px;
    height: 16px;
}

/* Related articles - grid */
.related-section {
    padding: 5rem 4rem;
    background: var(--gray-50);
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}
.related-container {
    max-width: 1200px;
    margin: 0 auto;
}
.related-header {
    text-align: center;
    margin-bottom: 3rem;
}
.related-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}
.related-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.related-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: block;
    border: 1px solid var(--gray-200);
    position: relative;
}
.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-beige), var(--warm-taupe));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.related-card:hover::before {
    transform: scaleX(1);
}
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.related-card:focus-visible {
    outline: 3px solid var(--warm-beige);
    outline-offset: 2px;
}
.related-image {
    /* Use aspect-ratio for responsive, CLS-proof layout */
    aspect-ratio: 3/2;
    background: var(--sand);
    overflow: hidden;
    position: relative;
}
.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.related-card:hover .related-image img {
    transform: scale(1.08);
}
.related-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--espresso);
    color: var(--pure-white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.related-content {
    padding: 2rem;
}
.related-date {
    font-size: 0.875rem;
    color: var(--warm-beige-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.related-link-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--espresso);
    line-height: 1.3;
}

/* Final CTA */
.final-cta {
    padding: 6rem 4rem;
    background: var(--espresso);
    color: var(--pure-white);
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}
.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}
.final-cta h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1;
}
.final-cta p {
    font-size: 1.25rem;
    color: var(--sand);
    margin-bottom: 3rem;
    opacity: 0.9;
}
.final-cta-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--warm-beige);
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.final-cta-btn:hover {
    background: var(--warm-beige-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}
.final-cta-btn:focus-visible {
    outline: 3px solid var(--pure-white);
    outline-offset: 3px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-background img { transform: none !important; }
    .inline-cta::before { animation: none !important; }
    .category-badge::before { animation: none !important; }
}

/* Responsive */
@media (min-width: 1600px) {
    .article-sidebar { 
        left: calc(50% - 740px/2 - 80px); /* align with article column */
    }
}
@media (max-width: 1200px) {
    .article-sidebar {
        left: 2rem;
    }
}
@media (max-width: 1024px) {
    .article-sidebar {
        display: none;
    }
}
@media (max-width: 768px) {
    /*#navbar { padding: 1.5rem 2rem; }
    #navbar.scrolled { padding: 1rem 2rem; }*/
    /* Breadcrumb offset only when it sits inside the hero */
    .article-hero .breadcrumb-nav {
        top: 100px;
        left: 2rem;
        right: 2rem;
    }
    .breadcrumb-list {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    .article-hero { height: 70vh; min-height: 500px; }
    .hero-content { padding: 4rem 2rem 3rem; }
    .article-title { font-size: 2.5rem; }
    .article-meta { flex-wrap: wrap; gap: 1.5rem; }
    .article-container { padding: 3rem 1.5rem; }
    .article-lead { font-size: 1.25rem; padding-left: 3rem; }
    .article-content h2 { font-size: 1.75rem; }
    .article-content h3 { font-size: 1.375rem; }
    .article-content p { font-size: 1.0625rem; }
    .article-content h2[id],
    .article-content h3[id] { 
        scroll-margin-top: 80px; 
    }
    .author-content { flex-direction: column; align-items: center; text-align: center; }
    .related-grid { grid-template-columns: 1fr; }
    .inline-cta { padding: 2rem; }
    .inline-cta h3 { font-size: 2rem; }
    

}
@media (max-width: 360px) {
    .article-lead { padding-left: 2.5rem; }
    .article-lead::before { font-size: 4rem; top: -0.25rem; }
}

/* Print styles */
@media print {
    .article-sidebar, .inline-cta, .related-section, .final-cta, .reading-progress, .skip-link, .breadcrumb-nav, .article-bottom-nav { display: none !important; }
    .article-hero { height: auto; min-height: auto; page-break-after: always; }
    .article-content { font-size: 11pt; line-height: 1.5; }
    .article-content a { color: inherit; text-decoration: underline; }
    .callout, .toc, .author-section { break-inside: avoid; }
}


.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.single-post table,
table.table-checklist {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    overflow-x: auto;
    display: block;
}

.single-post table th,
.single-post table td,
table.table-checklist th,
table.table-checklist td {
    border: 1px solid #ccc;
    padding: 8px;
}
.single-post table tr.header
table.table-checklist tr.header {
    background-color: var(--success-light-green);
}

.single-post table tr.header-gray,
table.table-checklist tr.header-gray {
    background-color: var(--gray-100);
}

.single-post table tr.header-blue,
table.table-checklist tr.header-blue {
    background-color: rgba(59, 130, 246, 0.2);
}

.single-post .faq-item {
    padding: 0;
}

.single-post .faq-question {
    padding: 0;
}

.single-post .faq-grid {
    margin-top: 0;
}

/* Legacy article fallback */
.single-post .entry-content p,
.single-post .entry-content li{
  font-family:'Inter',sans-serif; font-size:1rem !important; line-height:1.7; color:#3C2415;
}
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3{
  font-family:'Bebas Neue',sans-serif; letter-spacing:.02em; margin:1.25rem 0 .5rem; color:#3C2415;
}
.single-post .entry-content h2,
.single-post .entry-content h2 span { 
    font-size:1.8rem !important; 
}
.single-post .entry-content h3,
.single-post .entry-content h3 span { 
    font-size:1.5rem !important; 
}

.single-post .entry-content ul,
.single-post .entry-content ol{ padding-left:1.25rem; margin:1rem 0; }
.single-post .entry-content img{ max-width:100%; height:auto; margin:1rem auto; border-radius:8px; }
.single-post .entry-content blockquote{
  border-left:4px solid #D4A574; background:#FFF; padding:.75rem 1.5rem; margin:1.5rem 0; color:#8B7355;
}

.single-post .entry-content h2 span,
.single-post .entry-content strong,
.single-post .entry-content strong span {
    color: var(--espresso) !important;
}

.single-post .entry-content figure {
    width: 100% !important;
}