/* New York Times Newspaper Style - Grayscale Only */
/* ALSO INCLUDES: Modern Documentation Styles */

/* Modern Documentation Styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark-theme {
    --bg-color: #111827;
    --surface-color: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --border-color: #374151;
}

/* Documentation Layout */
.docs-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    max-width: calc(100vw - 280px);
}

/* Navigation Styles */
.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.nav-menu h3 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2rem 0 1rem 0;
}

.nav-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.nav-list a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.nav-list a:hover {
    background: var(--primary-color);
    color: white;
}

/* Content Styles */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    color: white;
}

.performance-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Code Blocks */
.code-block {
    background: #1a1a1a;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1rem 0;
}

.code-block pre {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: auto;
}

/* Mermaid diagrams */
.mermaid {
    text-align: center;
    margin: 2rem 0;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 0.5rem;
}

/* Original Newspaper Styles (preserved) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #000;
    background-color: #f8f8f8;
    padding: 20px;
}

.newspaper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

/* Header/Masthead */
.masthead {
    text-align: center;
    border-bottom: 4px solid #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.publication-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.buy-slonana-btn {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 8px 16px;
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-slonana-btn:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.newspaper-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 4px;
    margin: 15px 0;
    text-transform: uppercase;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 15px 0;
}

.tagline {
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
    color: #333;
}

.divider {
    height: 3px;
    background-color: #000;
    margin: 20px 0;
}

/* Main Content */
.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Headline Section */
.headline-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 30px;
}

.main-story .headline {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #000;
}

.main-story .subheading {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
}

.lead {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-indent: 20px;
}

.story-content p {
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 20px;
    font-size: 14px;
    line-height: 1.7;
}

/* Sidebar */
.sidebar {
    border-left: 2px solid #000;
    padding-left: 20px;
}

.box-story {
    border: 2px solid #000;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.box-story h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-story ul {
    list-style: none;
    padding-left: 0;
}

.box-story li {
    font-size: 12px;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.box-story li:before {
    content: "▪";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Three Column Section */
.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 30px;
}

.column h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
}

.column h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 10px 0;
    color: #333;
}

.column p {
    font-size: 13px;
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.6;
}

.column ul {
    margin: 10px 0;
    padding-left: 20px;
}

.column li {
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.column strong {
    font-weight: bold;
    color: #000;
}

/* Roadmap Section */
.roadmap-section {
    background-color: #f5f5f5;
    border: 3px solid #000;
    padding: 30px;
    margin: 30px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.roadmap-subtitle {
    font-size: 16px;
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.roadmap-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.roadmap-phase {
    border: 1px solid #666;
    padding: 20px;
    background-color: #fff;
}

.roadmap-phase h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.roadmap-phase ul {
    list-style: none;
    padding-left: 0;
}

.roadmap-phase li {
    font-size: 13px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.roadmap-phase li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.technical-innovation {
    background-color: #fff;
    border: 2px solid #000;
    padding: 20px;
    margin-top: 20px;
}

.technical-innovation h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.technical-innovation p {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: justify;
}

.technical-innovation ul {
    padding-left: 20px;
}

.technical-innovation li {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Technical Deep Dive Section */
.tech-section {
    background-color: #f9f9f9;
    border: 3px solid #000;
    padding: 30px;
    margin: 30px 0;
}

.tech-subtitle {
    font-size: 16px;
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.tech-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.tech-article-large h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.tech-lead {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-indent: 20px;
    line-height: 1.6;
}

.code-example-box {
    border: 2px solid #666;
    padding: 15px;
    margin: 15px 0;
    background-color: #fff;
}

.code-example-box h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-snippet {
    background-color: #f5f5f5;
    padding: 10px;
    margin: 8px 0;
    font-family: "Courier New", monospace;
    font-size: 11px;
    border-left: 3px solid #000;
    line-height: 1.4;
}

.code-snippet code {
    display: block;
    white-space: pre-wrap;
    word-break: break-all;
}

.benchmark-table {
    border: 2px solid #000;
    background-color: #fff;
    padding: 15px;
    margin: 15px 0;
}

.benchmark-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.benchmark-row:last-child {
    border-bottom: none;
}

.benchmark-row .metric {
    font-weight: bold;
}

.benchmark-row .value {
    font-family: "Courier New", monospace;
    color: #333;
}

.tech-article-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-box {
    border: 2px solid #000;
    padding: 15px;
    background-color: #fff;
}

.tech-box h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-box ul {
    list-style: none;
    padding-left: 0;
}

.tech-box li {
    font-size: 12px;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.tech-box li:before {
    content: "▪";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Architecture Section */
.architecture-section {
    background-color: #f6f6f6;
    border: 3px solid #000;
    padding: 30px;
    margin: 30px 0;
}

.arch-subtitle {
    font-size: 16px;
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.architecture-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
}

.arch-main h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.arch-lead {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-indent: 20px;
    line-height: 1.6;
}

.optimization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.optimization-item {
    border: 1px solid #666;
    padding: 15px;
    background-color: #fff;
}

.optimization-item h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.optimization-item p {
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
}

.component-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.component {
    border: 2px solid #333;
    padding: 15px;
    background-color: #fff;
}

.component h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.component ul {
    list-style: none;
    padding-left: 0;
}

.component li {
    font-size: 12px;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.component li:before {
    content: "▸";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.arch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.performance-chart {
    border: 2px solid #000;
    padding: 15px;
    background-color: #fff;
}

.performance-chart h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-item {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.chart-label {
    font-size: 11px;
    font-weight: bold;
}

.chart-bar {
    height: 12px;
    background-color: #000;
}

.chart-bar.full {
    width: 100%;
}

.chart-bar.partial {
    width: 75%;
}

.chart-bar.tiny {
    width: 20%;
}

.chart-value {
    font-size: 10px;
    font-family: "Courier New", monospace;
    text-align: right;
}

.memory-usage, .compatibility-matrix {
    border: 2px solid #000;
    padding: 15px;
    background-color: #fff;
}

.memory-usage h4, .compatibility-matrix h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.memory-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    padding: 3px 0;
    border-bottom: 1px dotted #ccc;
}

.memory-item:last-child {
    border-bottom: none;
    font-weight: bold;
}

.platform-item {
    font-size: 12px;
    margin-bottom: 5px;
    color: #333;
}

/* Case Studies Section */
.case-studies-section {
    background-color: #f9f9f9;
    border: 2px solid #333;
    padding: 25px;
    margin: 25px 0;
}

.case-studies-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.large-case h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.large-case h4 {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    color: #333;
}

.case-lead {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    text-indent: 20px;
    line-height: 1.6;
}

.case-details {
    margin-bottom: 20px;
}

.case-metric {
    border-left: 3px solid #000;
    padding-left: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.deployment-config {
    border: 1px solid #666;
    padding: 15px;
    background-color: #fff;
}

.deployment-config h5 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.config-highlight {
    font-size: 12px;
    font-family: "Courier New", monospace;
    line-height: 1.6;
    background-color: #f5f5f5;
    padding: 10px;
    border-left: 3px solid #333;
}

.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-case {
    border: 2px solid #000;
    padding: 12px;
    background-color: #fff;
}

.small-case h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.small-case p {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: justify;
}

.case-stats {
    font-size: 10px;
    font-family: "Courier New", monospace;
    background-color: #f5f5f5;
    padding: 6px;
    border-left: 2px solid #333;
    line-height: 1.4;
}

/* Developer Section */
.developer-section {
    background-color: #f8f8f8;
    border: 2px solid #333;
    padding: 25px;
    margin: 25px 0;
}

.developer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.developer-story h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.developer-story h4 {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
}

.install-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.install-method {
    border: 1px solid #666;
    padding: 15px;
    background-color: #fff;
}

.install-method h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.install-code, .config-code {
    background-color: #f5f5f5;
    padding: 12px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    border-left: 3px solid #333;
    line-height: 1.5;
}

.install-code code, .config-code code {
    display: block;
    white-space: pre-wrap;
}

.configuration-example {
    border: 1px solid #666;
    padding: 15px;
    background-color: #fff;
}

.configuration-example h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.developer-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dev-tip-box {
    border: 2px solid #000;
    padding: 12px;
    background-color: #fff;
}

.dev-tip-box h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-tip-box ul {
    list-style: none;
    padding-left: 0;
}

.dev-tip-box li {
    font-size: 11px;
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

.dev-tip-box li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.dev-tip-box code {
    font-family: "Courier New", monospace;
    background-color: #f0f0f0;
    padding: 1px 3px;
    font-size: 10px;
}

/* Bottom Stories */
.bottom-stories {
    border-top: 2px solid #000;
    padding-top: 20px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.small-story {
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fafafa;
}

.small-story h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.small-story p {
    font-size: 12px;
    line-height: 1.6;
    text-align: justify;
}

/* Footer */
.newspaper-footer {
    margin-top: 40px;
    border-top: 3px solid #000;
    padding-top: 20px;
}

.footer-divider {
    height: 1px;
    background-color: #666;
    margin-bottom: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-section h5 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 11px;
    margin-bottom: 3px;
    color: #333;
}

.copyright {
    text-align: center;
    font-size: 10px;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

/* Theory Section */
.theory-section {
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    padding: 30px 25px;
    margin: 40px 0;
    background-color: #f9f9f9;
}

.theory-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
    color: #666;
}

.theory-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.theory-main h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.theory-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: justify;
}

.theory-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.theory-item {
    border: 2px solid #333;
    padding: 15px;
    background-color: #fff;
}

.theory-item h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.theory-item p {
    font-size: 11px;
    line-height: 1.5;
    text-align: justify;
}

.key-results {
    border: 3px solid #000;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 25px;
}

.key-results h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.math-formula {
    font-family: "Times New Roman", serif;
    font-size: 13px;
    margin: 8px 0;
    padding: 8px;
    background-color: #f5f5f5;
    border-left: 4px solid #333;
    line-height: 1.4;
}

.math-formula strong {
    color: #000;
    font-weight: bold;
}

.paper-access {
    text-align: center;
    padding: 20px;
    border: 2px solid #000;
    background-color: #fff;
}

.theory-paper-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.theory-paper-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.paper-note {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.theory-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theory-box {
    border: 2px solid #000;
    padding: 15px;
    background-color: #fff;
}

.theory-box h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.theory-box ul {
    list-style: none;
    padding-left: 0;
}

.theory-box li {
    font-size: 11px;
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

.theory-box li:before {
    content: "∘";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newspaper {
        padding: 20px;
    }
    
    .newspaper-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .publication-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .buy-slonana-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .headline-section {
        grid-template-columns: 1fr;
    }
    
    .three-column {
        grid-template-columns: 1fr;
    }
    
    .roadmap-content {
        grid-template-columns: 1fr;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .theory-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .theory-highlights {
        grid-template-columns: 1fr;
    }
    
    .developer-content {
        grid-template-columns: 1fr;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .developer-content {
        grid-template-columns: 1fr;
    }
    
    .architecture-content {
        grid-template-columns: 1fr;
    }
    
    .case-studies-content {
        grid-template-columns: 1fr;
    }
    
    .optimization-grid {
        grid-template-columns: 1fr;
    }
    
    .component-details {
        grid-template-columns: 1fr;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .main-story .headline {
        font-size: 24px;
    }
    
    .tech-article-large h3 {
        font-size: 20px;
    }
    
    .install-methods {
        gap: 15px;
    }
    
    .code-snippet, .install-code, .config-code {
        font-size: 10px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .newspaper {
        padding: 15px;
    }
    
    .newspaper-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .tech-section, .developer-section, .architecture-section, .case-studies-section, .theory-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .section-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .code-snippet, .install-code, .config-code {
        font-size: 9px;
        padding: 6px;
    }
    
    .optimization-item, .install-method, .configuration-example {
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: #fff;
        padding: 0;
    }
    
    .newspaper {
        box-shadow: none;
        max-width: none;
        padding: 20px;
    }
    
    .roadmap-section {
        page-break-inside: avoid;
    }
}

/* ASCII Charts Styling */
.ascii-charts {
    border: 3px solid #000;
    padding: 20px;
    background-color: #fff;
    margin: 25px 0;
}

.ascii-charts h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.ascii-chart {
    margin-bottom: 25px;
    border: 1px solid #333;
    background-color: #fafafa;
    padding: 15px;
}

.ascii-chart h5 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
}

.ascii-chart pre {
    font-family: "Courier New", "Monaco", "Lucida Console", monospace;
    font-size: 10px;
    line-height: 1.2;
    color: #000;
    background-color: #fff;
    border: 1px solid #999;
    padding: 12px;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}

.ascii-charts-sidebar {
    border: 2px solid #000;
    padding: 15px;
    background-color: #fff;
    margin-top: 20px;
}

.ascii-charts-sidebar .ascii-chart {
    margin-bottom: 15px;
    border: 1px solid #666;
    background-color: #f9f9f9;
    padding: 10px;
}

.ascii-charts-sidebar .ascii-chart:last-child {
    margin-bottom: 0;
}

.ascii-charts-sidebar .ascii-chart h5 {
    font-size: 11px;
    margin-bottom: 8px;
}

.ascii-charts-sidebar .ascii-chart pre {
    font-size: 9px;
    padding: 8px;
}

/* Responsive ASCII Charts */
@media (max-width: 768px) {
    .ascii-chart pre {
        font-size: 8px;
        padding: 8px;
    }
    
    .ascii-charts-sidebar .ascii-chart pre {
        font-size: 7px;
        padding: 6px;
    }
    
    .ascii-charts {
        padding: 15px;
    }
    
    .ascii-chart {
        padding: 10px;
    }
}