/* Blog Section Styles - Modernized */

.blog-section {
    background: var(--color-white);
    padding: var(--space-md) 0;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.blog-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Blog Hero - Premium Gradient */
.blog-hero {
    background: linear-gradient(120deg, #1a1a2e 0%, #16213e 40%, #c47d17 100%);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(255, 138, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

.blog-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffda7f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.blog-hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-tight);
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.blog-hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filters */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    padding: 0 16px;
}

.blog-category-pill {
    background: #f1f3f5;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-category-pill:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.blog-category-pill.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

/* Blog Header */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.blog-heading {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-primary);
    color: var(--color-primary);
    position: relative;
    padding-bottom: var(--space-sm);
}

.blog-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.blog-view-all {
    font-size: var(--font-size-base);
    line-height: 1.5;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--color-primary);
    background: transparent;
}

.blog-view-all::after {
    content: '→';
    font-size: var(--font-size-lg);
    transition: transform 0.3s ease;
}

.blog-view-all:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.blog-view-all:hover::after {
    transform: translateX(4px);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

/* Blog Card */
.blog-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 138, 0, 0.3);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Blog Image */
.blog-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

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

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--color-primary);
    font-size: var(--font-size-xxxs);
    line-height: 1.2;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Blog Content */
.blog-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    font-weight: 500;
}

.blog-date::after {
    content: "•";
    margin: 0 8px;
    color: #dee2e6;
}

.blog-title {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    font-weight: 700;
    font-family: var(--font-family-primary);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--color-primary);
}

.blog-excerpt {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-read-more {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    align-self: flex-start;
}

.blog-read-more::after {
    content: '→';
    font-size: var(--font-size-base);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more {
    color: var(--color-primary-hover);
}

.blog-card:hover .blog-read-more::after {
    transform: translateX(4px);
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1280px) and (min-width: 769px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

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

    .blog-section {
        padding: var(--space-md) 0;
    }

    .blog-header {
        flex-direction: row;
        align-items: center;
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .blog-heading {
        font-size: var(--font-h3);
        padding-bottom: 8px;
        line-height: 1.15;
    }

    .blog-view-all {
        font-size: var(--font-size-sm);
        padding: 6px 12px;
    }

    .blog-grid,
    .blog-grid.blog-grid--2-cols {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: var(--space-md);
    }

    .blog-title {
        line-height: 1.15;
    }

    .blog-excerpt {
        line-height: 1.4;
    }
}

/* ============================================
   BLOG ARTICLE PAGE STYLES
   ============================================ */

/* Blog Article Page Layout */
.blog-article-page {
    background: #f8f9fa;
    padding: 40px 0 80px 0;
}

.blog-article-container {
    max-width: var(--content-width-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Article Header */
.article-header {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 12px;
}

.article-category {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.article-title {
    font-size: var(--font-h1);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-primary);
    color: var(--color-text-dark);
    margin-bottom: var(--space-xl);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.article-meta span::after {
    content: "•";
    margin-left: var(--space-lg);
    color: var(--color-text-light);
}

.article-meta span:last-child::after {
    content: "";
    margin-left: 0;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin-top: 16px;
    margin-bottom: 30px;
}

/* Legal Notice */
.legal-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
}

.legal-notice strong {
    color: #d9534f;
    font-size: 16px;
}

.legal-notice a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Table of Contents (Old Style - will be replaced with slots style) */
.table-of-contents {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 24px;
    margin-bottom: 30px;
    border-radius: var(--border-radius-md);
}

.table-of-contents h2 {
    font-size: 18px;
    margin: 0 0 16px 0;
    color: #0066cc;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #0066cc;
    text-decoration: none;
    font-size: 15px;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Article Content */
.article-content {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: var(--font-h2);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-dark);
    margin: var(--space-3xl) 0 var(--space-xl) 0;
    padding-top: var(--space-xl);
}

.article-content h3 {
    font-size: var(--font-h3);
    line-height: var(--line-height-normal);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-dark);
    margin: var(--space-2xl) 0 var(--space-lg) 0;
}

.article-content p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-dark);
    margin-bottom: var(--space-xl);
}

.article-content ul,
.article-content ol {
    margin: var(--space-lg) 0 var(--space-xl) var(--space-2xl);
}

.article-content li {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
}

.article-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Tip Box */
.tip-box {
    background: #fff8f0;
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    margin: 24px 0;
    border-radius: var(--border-radius-md);
}

.tip-box strong {
    color: var(--color-primary);
}

/* Example Box */
.example-box {
    background: #f0f9ff;
    border-left: 4px solid #0066cc;
    padding: 20px;
    margin: 24px 0;
    border-radius: var(--border-radius-md);
}

.example-box strong {
    color: #0066cc;
}

/* ===========================================
   DATA TABLES - For Guide Articles
   =========================================== */

/* Table Container/Wrapper */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    max-width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Generic Tables inside content-article */
.content-article table,
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    min-width: 400px;
    background: var(--color-white);
}

.content-article table thead,
.table-wrapper table thead {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.content-article table th,
.table-wrapper table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid var(--color-primary);
    white-space: nowrap;
}

.content-article table td,
.table-wrapper table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-text-dark);
    vertical-align: middle;
}

/* Alternating Row Colors */
.content-article table tbody tr:nth-child(even),
.table-wrapper table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* Row Hover Effect */
.content-article table tbody tr:hover,
.table-wrapper table tbody tr:hover {
    background: rgba(255, 138, 0, 0.05);
}

/* Bold/Highlight cells */
.content-article table td strong,
.table-wrapper table td strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Links inside tables */
.content-article table a,
.table-wrapper table a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.content-article table a:hover,
.table-wrapper table a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Tables */
@media (max-width: 768px) {
    .table-wrapper {
        margin: 16px 0;
        border-radius: var(--border-radius-sm);
    }

    .content-article table th,
    .table-wrapper table th,
    .content-article table td,
    .table-wrapper table td {
        padding: 10px 12px;
        font-size: var(--font-size-xs);
    }
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    max-width: 100%;
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-md);
    min-width: 480px;
    /* Minimum width to trigger scroll on small screens */
}

.comparison-table th {
    background: var(--color-primary);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

/* Sticky first column for mobile scrolling */
.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--color-white);
    z-index: 1;
}

.comparison-table th:first-child {
    background: var(--color-primary);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

.comparison-table td:first-child {
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.comparison-table tr:hover td:first-child {
    background: #f8f9fa;
}

/* Related Articles */
.related-articles {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
}

.related-articles h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.related-articles li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.related-articles a {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* Social Share */
.social-share {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    text-align: center;
}

.social-share h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition-fast);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn:hover {
    opacity: 0.9;
}

/* Article Back Link */
.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
}

.article-back-link:hover {
    text-decoration: underline;
}

/* Responsible Gambling Section (deprecated - use getting-help component) */
.responsible-gambling {
    background: #f8d7da;
    border-left: 4px solid #d9534f;
    padding: 24px;
    margin: 30px 0;
    border-radius: var(--border-radius-md);
}

.responsible-gambling h3 {
    color: #d9534f;
    margin-bottom: 12px;
}

/* ============================================
   BLOG ARTICLE - SLOTS STYLE TOC LAYOUT
   ============================================ */

/* TOC Section with Sticky Sidebar */
.toc-section {
    max-width: var(--content-max-width);
    margin: var(--space-lg) auto 0;
    padding: 0 var(--space-lg) var(--space-xl);
}

.toc-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Sticky TOC Navigation */
.toc-nav {
    position: sticky;
    top: 100px;
    /* Account for fixed header */
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* TOC Toggle Button (Hidden on Desktop) */
.toc-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.toc-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.toc-toggle .section-title {
    margin: 0;
    pointer-events: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.toc-toggle-icon {
    font-size: var(--font-size-base);
    color: var(--color-primary);
    transition: transform var(--transition-medium);
    pointer-events: none;
}

.toc-toggle[aria-expanded="true"] .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-nav .section-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
    font-weight: var(--font-weight-bold);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
    /* Override category-page.css counter */
}

.toc-list>li {
    margin-bottom: var(--space-md);
    counter-increment: none;
    /* Override category-page.css counter */
}

/* Remove numbers from TOC items */
.toc-list>li::before {
    content: none !important;
}

.toc-list>li>ol>li::before {
    content: none !important;
}

.toc-list>li>a {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    text-decoration: none;
    display: block;
    padding: var(--space-xs) 0;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    padding-left: var(--space-sm);
    margin-left: calc(var(--space-sm) * -1);
}

.toc-list>li>a:hover {
    color: var(--color-primary);
}

.toc-list>li>a.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: rgba(255, 138, 0, 0.05);
}

.toc-list>li>ol {
    list-style: none;
    padding-left: var(--space-md);
    margin-top: var(--space-xs);
    counter-reset: none;
    /* Override category-page.css counter */
}

.toc-list>li>ol>li {
    margin-bottom: var(--space-xs);
    counter-increment: none;
    /* Override category-page.css counter */
}

.toc-list>li>ol>li>a {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    display: block;
    padding: var(--space-xs) 0;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
    padding-left: var(--space-sm);
    margin-left: calc(var(--space-sm) * -1);
}

.toc-list>li>ol>li>a:hover {
    color: var(--color-primary);
}

.toc-list>li>ol>li>a.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: rgba(255, 138, 0, 0.05);
    font-weight: var(--font-weight-semibold);
}

/* Content Article within TOC Layout */
.content-article {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-width: 0;
}

.content-article h2 {
    font-size: var(--font-size-2xl);
    line-height: 1.3;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-dark);
    margin: var(--space-xl) 0 var(--space-md) 0;
    scroll-margin-top: 120px;
    /* For smooth scroll with fixed header */
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-dark);
    margin: var(--space-xl) 0 var(--space-md) 0;
    scroll-margin-top: 120px;
}

.content-article p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
}

.content-article ul,
.content-article ol {
    margin: var(--space-sm) 0 var(--space-md) var(--space-xl);
}

.content-article li {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.content-article a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.content-article a:hover {
    text-decoration: underline;
}

.content-article strong {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-dark);
}

/* ============================================
   RESPONSIVE - BLOG ARTICLE
   ============================================ */

/* Tablet View */
@media (max-width: 1280px) and (min-width: 769px) {
    .toc-content-wrapper {
        grid-template-columns: 240px 1fr;
        gap: var(--space-xl);
    }

    .toc-nav {
        padding: var(--space-lg);
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .blog-article-container {
        max-width: 100%;
    }

    .article-header {
        padding: 30px;
        margin-bottom: 12px;
    }

    .article-meta {
        margin-bottom: 8px;
    }

    .article-title {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
    }

    .article-content {
        padding: 30px;
    }

    .article-content h2 {
        font-size: var(--font-size-xl);
        line-height: 1.3;
    }

    .article-content h3 {
        font-size: var(--font-size-lg);
        line-height: 1.4;
    }

    .article-content p,
    .article-content li {
        font-size: var(--font-size-md);
        line-height: var(--line-height-relaxed);
    }

    .comparison-table {
        font-size: var(--font-size-xs);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }

    /* TOC becomes full width on mobile */
    .toc-section {
        padding: 0 var(--space-md) var(--space-2xl);
    }

    .toc-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .content-column,
    .content-article {
        min-width: 0;
        width: 100%;
    }

    .toc-nav {
        position: static;
        padding: var(--space-md) var(--space-lg);
        max-height: none;
        overflow: visible;
    }

    /* Mobile Collapsible TOC */
    .toc-toggle {
        display: flex !important;
        padding: var(--space-sm) 0;
        margin: 0;
    }

    .toc-toggle .section-title {
        font-size: var(--font-size-lg);
        margin: 0;
        padding: 0;
    }

    .toc-toggle-icon {
        font-size: var(--font-size-lg);
        margin: 0;
        padding: 0;
    }

    .toc-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-medium) ease-out;
    }

    .toc-list.expanded {
        max-height: 5000px;
        overflow-y: auto;
        padding-left: 0;
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }

    /* Mobile spacing - larger touch targets */
    .toc-list>li {
        margin-bottom: var(--space-sm);
    }

    .toc-list>li>a {
        padding: var(--space-sm) var(--space-xs);
        font-size: var(--font-size-base);
        line-height: 1.6;
        display: block;
    }

    .toc-list>li>ol {
        padding-left: var(--space-md);
        margin-top: var(--space-xs);
    }

    .toc-list>li>ol>li {
        margin-bottom: var(--space-xs);
    }

    .toc-list>li>ol>li>a {
        padding: var(--space-xs) var(--space-xs);
        font-size: var(--font-size-sm);
        line-height: 1.5;
        display: block;
    }

    /* Ensure active state styling works on mobile */
    .toc-list>li>a.active {
        color: var(--color-primary);
        border-left-color: var(--color-primary);
        background: rgba(255, 138, 0, 0.05);
    }

    .toc-list>li>ol>li>a.active {
        color: var(--color-primary);
        border-left-color: var(--color-primary);
        background: rgba(255, 138, 0, 0.05);
        font-weight: var(--font-weight-semibold);
    }

    .content-article {
        padding: var(--space-lg);
    }

    .content-article h2 {
        font-size: var(--font-size-xl);
        margin: var(--space-xl) 0 var(--space-md) 0;
    }

    .content-article h3 {
        font-size: var(--font-size-lg);
        margin: var(--space-lg) 0 var(--space-sm) 0;
    }
}