@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #faf8f6;         /* Creamy warm white background */
    --bg-surface: #ffffff;         /* Clean white surface */
    --bg-card: #ffffff;
    --border-color: #e2e8f0;       /* Soft border */
    --border-light: #f1f5f9;
    
    --color-brand: #1a365d;         /* Premium Deep Navy */
    --color-brand-dark: #0f223f;
    --color-brand-light: #2b6cb0;   /* Slate Blue */
    --color-brand-light-rgb: 43, 108, 176;
    
    --color-accent: #3182ce;        /* Royal Blue */
    --color-accent-hover: #2b6cb0;
    --color-accent-light: #ebf8ff;  /* Soft alert background */
    
    --text-primary: #2d3748;        /* Charcoal body text */
    --text-secondary: #4a5568;      /* Slate gray secondary text */
    --text-muted: #718096;          /* Muted meta text */
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-brand);
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 1.85rem;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.45rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

a {
    color: var(--color-brand-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-brand-dark);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.15rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-brand);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo .logo-biz {
    color: var(--color-brand-light);
}

.site-nav {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-brand-light);
    background-color: rgba(var(--color-brand-light-rgb), 0.06);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.45rem;
    color: var(--color-brand);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.nav-toggle:hover {
    color: var(--color-brand-light);
}

/* Premium archive button */
.archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--color-brand-light);
    color: #ffffff !important;
    padding: 0.85rem 2rem;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(43, 108, 176, 0.15), 0 2px 4px -1px rgba(43, 108, 176, 0.08);
}

.archive-btn:hover {
    background-color: var(--color-brand);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(43, 108, 176, 0.25), 0 4px 6px -2px rgba(43, 108, 176, 0.12);
}

.archive-btn i {
    transition: transform 0.2s ease;
}

.archive-btn:hover i {
    transform: translateX(3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #102a43 100%);
    color: #ffffff;
    padding: 5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #ffffff;
    font-size: 2.85rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search Box */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.35rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
    font-family: var(--font-body);
    border-radius: var(--radius-lg);
    outline: none;
    color: var(--text-primary);
}

.search-btn {
    background-color: var(--color-brand-light);
    color: #ffffff;
    border: none;
    padding: 0 1.5rem;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background-color: var(--color-brand);
}

/* Categories Grid */
.categories-section {
    padding: 3.5rem 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-brand-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-brand-light-rgb), 0.3);
}

.category-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(var(--color-brand-light-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-light);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.category-card:hover .category-icon-wrapper {
    background-color: var(--color-brand-light);
    color: #ffffff;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-brand);
}

.category-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.category-card-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Directory/Articles Grid */
.articles-section {
    padding: 2rem 0 4rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-brand-light-rgb), 0.2);
}

.article-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-meta a {
    color: var(--text-muted);
}

.article-meta a:hover {
    color: var(--color-brand-light);
}

.article-card h3 {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.article-card h3 a {
    color: var(--color-brand);
}

.article-card h3 a:hover {
    color: var(--color-brand-light);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.category-tag {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-brand-light);
    background-color: rgba(var(--color-brand-light-rgb), 0.06);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.read-more {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Main Layout (Split View for details & list pages) */
.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
    padding: 3rem 0 5rem;
}

.content-area {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1.15rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
    position: relative;
}

.sidebar-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-widget ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.sidebar-widget ul li a:hover {
    color: var(--color-brand-light);
    transform: translateX(3px);
}

.sidebar-widget ul li a i {
    color: var(--color-brand-light);
    font-size: 0.85rem;
    width: 1rem;
    text-align: center;
}

/* Sidebar Widget Custom Utilities */
.utility-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.utility-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    transition: var(--transition);
}

.utility-item:hover {
    border-color: var(--color-brand-light);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
}

.utility-item span {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.utility-item strong {
    color: var(--color-brand);
    font-family: var(--font-title);
    font-size: 0.95rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    padding: 0 !important;
}

.stats-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.stats-list li i {
    font-size: 0.95rem;
    width: 1.15rem;
    text-align: center;
}

/* Article Detail Styles */
.article-header {
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.article-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.article-meta-large span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Summary Bullets Box */
.summary-bullets-box {
    background-color: #faf9f6;
    border-left: 4px solid var(--color-brand-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
}

.summary-bullets-box h3 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-bullets-box ul {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-bullets-box ul li {
    font-size: 0.98rem;
    color: var(--text-secondary);
}

/* Rich Content Elements */
.article-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-brand);
}

.article-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-brand);
}

.article-content ul {
    list-style-type: disc;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content ol {
    list-style-type: decimal;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.article-content li > ul,
.article-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.article-content blockquote {
    background-color: var(--bg-primary);
    border-left: 4px solid var(--color-brand);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--color-brand);
}

.article-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 600;
}

/* Tables in Content */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

th, td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #faf8f6;
    color: var(--color-brand);
    font-weight: 700;
    font-family: var(--font-title);
}

tr:last-child td {
    border-bottom: none;
}

/* GFM Alert / Alert boxes */
.alert-box {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid;
}

.alert-title {
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.note-alert {
    background-color: #f7fafc;
    border-color: #4a5568;
    color: #2d3748;
}

.note-alert .alert-title {
    color: #4a5568;
}

.tip-alert {
    background-color: #ebf8ff;
    border-color: #3182ce;
    color: #2b6cb0;
}

.tip-alert .alert-title {
    color: #2b6cb0;
}

.alert-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footnotes */
.footnotes {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footnotes-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footnotes ol {
    padding-left: 1.25rem;
}

.footnotes li {
    margin-bottom: 0.5rem;
}

.backlink {
    color: var(--color-brand-light);
    margin-left: 0.25rem;
}

/* FAQ items */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* Category List view header */
.list-header {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.list-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.list-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.list-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.article-row-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-row-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-brand-light-rgb), 0.25);
}

@media (max-width: 768px) {
    .list-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.article-row-card h3 {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.article-row-card h3 a {
    color: var(--color-brand);
}

.article-row-card h3 a:hover {
    color: var(--color-brand-light);
}

.article-row-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.article-meta-row span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.read-more-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brand-light);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more-link:hover {
    color: var(--color-brand-dark);
}

/* Footer */
.site-footer {
    background-color: #0b1329;
    color: #e2e8f0;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-family: var(--font-title);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-brand-light);
    border-radius: var(--radius-sm);
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-col ul li a i {
    font-size: 0.8rem;
    color: var(--color-brand-light);
    transition: transform 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-col ul li a:hover i {
    transform: translateX(2px);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .sidebar {
        margin-top: 2rem;
    }
    
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        box-shadow: var(--shadow-md);
    }
    
    .site-nav.open {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.1rem;
    }
    
    h2 {
        font-size: 1.55rem;
    }
    
    .hero {
        padding: 3.5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.15rem;
    }
    
    .content-area {
        padding: 1.75rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .list-header {
        padding: 1.75rem;
    }
    
    /* Responsive stacked tables on mobile */
    .table-container {
        border: none;
        box-shadow: none;
        overflow-x: visible;
    }
    
    .table-container table, 
    .table-container thead, 
    .table-container tbody, 
    .table-container th, 
    .table-container td, 
    .table-container tr {
        display: block;
    }
    
    .table-container thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-container tr {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 1.25rem;
        padding: 0.5rem 0;
        box-shadow: var(--shadow-sm);
    }
    
    .table-container td {
        border: none;
        border-bottom: 1px solid var(--border-light);
        position: relative;
        padding: 0.75rem 1rem 0.75rem 45% !important;
        text-align: right;
        font-size: 0.9rem;
        white-space: normal;
    }
    
    .table-container td:last-child {
        border-bottom: none;
    }
    
    .table-container td::before {
        content: attr(data-label);
        position: absolute;
        top: 50%;
        left: 1rem;
        transform: translateY(-50%);
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--color-brand);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .search-wrapper {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: 0.5rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    
    .search-input {
        background: #ffffff;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }
    
    .search-btn {
        padding: 0.85rem;
        justify-content: center;
        border-radius: var(--radius-md);
    }
}

/* Article Call to Action (CTA) */
.article-cta {
    background: linear-gradient(135deg, #f4f9ff 0%, #ebf8ff 100%);
    border: 1px solid rgba(43, 108, 176, 0.12);
    border-left: 5px solid var(--color-brand-light);
    padding: 1.75rem;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px -3px rgba(43, 108, 176, 0.05);
}

.article-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(43, 108, 176, 0.12), 0 8px 10px -6px rgba(43, 108, 176, 0.08);
    border-color: rgba(43, 108, 176, 0.25);
}

.article-cta-icon {
    font-size: 2.5rem;
    color: var(--color-brand-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.article-cta:hover .article-cta-icon {
    transform: scale(1.1) rotate(-5deg);
}

.article-cta-content {
    flex-grow: 1;
}

.article-cta-content h4 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
    color: var(--color-brand);
    font-weight: 700;
}

.article-cta-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-brand-light);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(43, 108, 176, 0.1);
}

.article-cta-btn:hover {
    background-color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.25);
    text-decoration: none;
}

.article-cta-btn i {
    transition: transform 0.2s ease;
}

.article-cta-btn:hover i {
    transform: translate(2px, -2px);
}

@media (max-width: 768px) {
    .article-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .article-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
