/* ==========================================================================
   Enterprise CMS / Site Group Advanced CSS
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #0f172a;

    /* System Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Text Colors */
    --text-pure: #000000;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;

    /* Borders & Dividers */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;

    /* Layout & Spacing */
    --max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

img,
svg {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline-primary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-alt);
    color: var(--secondary);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon.circle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.logo-icon {
    width: 20px;
    height: 20px;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.logo-title.dark {
    color: #fff;
}

.site-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    height: 100%;
}

.nav-item {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item:hover,
.nav-item.active {
    color: var(--secondary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%, rgba(248, 250, 252, 0) 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 40px 0 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    background: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-icon.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.feature-icon.bg-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-icon.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   News & Articles Module
   ========================================================================== */
.news-section {
    padding: 60px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-divider {
    height: 4px;
    width: 48px;
    background: var(--primary);
    border-radius: 2px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.view-all-link:hover {
    gap: 8px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.card-image-wrap {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 ratio */
    background: var(--bg-alt);
    overflow: hidden;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: transform 0.5s ease;
}

.article-card:hover .card-image {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.card-body {
    padding: 24px;
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.article-card:hover .card-title {
    color: var(--primary);
}

.card-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary);
}

.author-avatar {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-avatar.lg {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.card-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-strong);
}

.empty-icon {
    color: var(--text-light);
    margin-bottom: 16px;
}

.empty-state h4 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
}

.cta-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.cta-desc {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* ==========================================================================
   Detail Page Structure
   ========================================================================== */
.article-detail-page {
    padding: 40px 0 80px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.article-main {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--secondary);
    font-weight: 500;
}

.article-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.8rem;
}

.post-stats {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-summary-block {
    background: var(--bg-alt);
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 32px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.content-formatted {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.content-formatted p {
    margin-bottom: 24px;
}

.content-formatted h2 {
    margin: 48px 0 24px;
    font-size: 1.75rem;
    color: var(--secondary);
    font-weight: 700;
}

.content-formatted code {
    background: var(--bg-alt);
    color: #d946ef;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.article-actions {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: var(--bg-alt);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 12px;
}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.widget-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-alt);
}

.widget-list li:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

.widget-list a {
    display: block;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}

.widget-list a:hover {
    color: var(--primary);
}

.widget-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.cta-widget {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
    text-align: center;
}

.cta-widget h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.cta-widget p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cta-widget input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #020617;
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-top {
    padding: 80px 0 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-desc {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #64748b;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #94a3b8;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .site-nav {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 24px;
    }
}

/* ==========================================================================
   Text-only List & Pagination
   ========================================================================== */
.text-only-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
    gap: 20px;
}

.text-card .card-body {
    padding: 32px 32px 24px;
}

.text-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.text-card .card-summary {
    font-size: 1.05rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.text-card .card-footer {
    padding: 20px 32px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.page-link:hover {
    background: var(--bg-alt);
    border-color: var(--border-hover);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
    background: transparent;
}

.page-link.border-0 {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .text-card .card-body {
        padding: 24px 20px 16px;
    }

    .text-card .card-footer {
        padding: 16px 20px;
    }
}

/* ==========================================================================
   Markdown Styles
   ========================================================================== */
.content-formatted h1 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    color: var(--secondary);
}

.content-formatted h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--secondary);
    font-weight: 600;
}

.content-formatted h4 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--secondary);
    font-weight: 600;
}

.content-formatted ul,
.content-formatted ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.content-formatted ul {
    list-style-type: disc;
}

.content-formatted ol {
    list-style-type: decimal;
}

.content-formatted li {
    margin-bottom: 8px;
}

.content-formatted blockquote {
    border-left: 4px solid var(--primary);
    padding: 8px 0 8px 24px;
    font-style: italic;
    color: var(--text-muted);
    margin: 24px 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-formatted pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 24px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.95em;
    line-height: 1.7;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-formatted pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.content-formatted img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.content-formatted hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.content-formatted table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 1rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.content-formatted th,
.content-formatted td {
    border: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
}

.content-formatted th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--secondary);
}

.content-formatted tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.5);
}