/* Antigravity  - Light Theme */
 
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');
 
:root {
    --ag-bg: #ffffff;
    --ag-bg-alt: #f8f9fa;
    --ag-text: #202124;
    --ag-text-muted: rgba(32, 33, 36, 0.6);
    --ag-accent: #202124;
    --ag-card-bg: #f8f9fa;
    --ag-border: rgba(0, 0, 0, 0.1);
    --ag-btn-bg: #202124;
    --ag-btn-text: #ffffff;
    --ag-icon-opacity: 0.08;
}
 
body.antigravity-theme {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ag-bg);
    color: var(--ag-text);
    -webkit-font-smoothing: antialiased;
}
 
/* Hero Section */
.ag-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ag-bg);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
 
/* Floating Icons Grid */
.ag-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 40px;
    padding: 60px;
    opacity: var(--ag-icon-opacity);
    z-index: 0;
}
 
.ag-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ag-text);
    font-size: 28px;
}
 
/* Hero Content */
.ag-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin-top: -290px;
}
 
.ag-hero-title {
    font-size: 72px;
    font-weight: 400;
    line-height: 2.05;
    margin-bottom: 24px;
    color: var(--ag-text);
    letter-spacing: -2px;
}
 
.ag-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--ag-text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
 
/* Buttons */
.ag-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}
 
.ag-btn-primary {
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
 
.ag-btn-primary:hover {
    opacity: 0.85;
}
 
.ag-btn-secondary {
    background: transparent;
    color: var(--ag-text);
    padding: 16px 32px;
    border: 1px solid var(--ag-border);
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
 
.ag-btn-secondary:hover {
    border-color: var(--ag-text);
}
 
/* Blog Container */
.ag-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}
 
/* Section Title */
.ag-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ag-text-muted);
    margin-bottom: 48px;
}
 
/* Featured Card */
.ag-featured-card {
    background: var(--ag-card-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 64px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
 
.ag-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
 
.ag-featured-card-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
 
.ag-featured-card-content {
    padding: 40px;
}
 
.ag-featured-card-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 16px;
}
 
.ag-featured-card-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--ag-text);
    line-height: 1.2;
}
 
.ag-featured-card-excerpt {
    font-size: 16px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
 
.ag-featured-card-link {
    color: var(--ag-text);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
 
.ag-featured-card-link:hover {
    text-decoration: underline;
}
 
/* Blog Grid */
.ag-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
 
.ag-blog-card {
    background: var(--ag-card-bg);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
 
.ag-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
 
.ag-blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
 
.ag-blog-card-content {
    padding: 24px;
}
 
.ag-blog-card-meta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 12px;
}
 
.ag-blog-card-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--ag-text);
    line-height: 1.3;
}
 
.ag-blog-card-excerpt {
    font-size: 14px;
    color: var(--ag-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}
 
.ag-blog-card-link {
    color: var(--ag-text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}
 
.ag-blog-card-link:hover {
    text-decoration: underline;
}
 
/* Article Page */
.ag-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}
 
.ag-article-header {
    margin-bottom: 48px;
}
 
.ag-article-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 24px;
}
 
.ag-article-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--ag-text);
}
 
.ag-article-author {
    font-size: 16px;
    color: var(--ag-text-muted);
    margin-bottom: 16px;
}
 
.ag-article-excerpt {
    font-size: 20px;
    color: var(--ag-text-muted);
    line-height: 1.6;
}
 
.ag-article-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
}
 
.ag-article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ag-text);
}
 
.ag-article-content h2 {
    font-size: 32px;
    font-weight: 400;
    margin-top: 56px;
    margin-bottom: 24px;
    color: var(--ag-text);
}
 
.ag-article-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--ag-text);
}
 
.ag-article-content p {
    margin-bottom: 24px;
}
 
.ag-article-content ul,
.ag-article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}
 
.ag-article-content li {
    margin-bottom: 8px;
}
 
.ag-article-content code {
    background: var(--ag-card-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.9em;
}
 
.ag-article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 24px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
}
 
.ag-article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
 
.ag-article-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}
 
.ag-article-content .image-caption {
    text-align: center;
    font-size: 14px;
    color: var(--ag-text-muted);
    margin-top: -20px;
    margin-bottom: 32px;
}
 
.ag-article-content blockquote {
    border-left: 4px solid var(--ag-text);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--ag-text-muted);
}
 
.ag-article-content a {
    color: #1a73e8;
    text-decoration: none;
}
 
.ag-article-content a:hover {
    text-decoration: underline;
}
 
/* Article Section Divider */
.ag-article-divider {
    height: 1px;
    background: var(--ag-border);
    margin: 80px 0;
}
 
/* GitHub Link */
.ag-github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    padding: 16px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 32px;
    transition: opacity 0.2s;
}
 
.ag-github-link:hover {
    opacity: 0.85;
}
 
.ag-github-link i {
    font-size: 20px;
}
 
/* Presentation Viewer */
.ag-presentation-viewer {
    background: var(--ag-card-bg);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
}
 
.ag-presentation-viewer h3 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--ag-text);
    font-weight: 400;
}
 
.ag-slide-viewer {
    text-align: center;
}
 
.ag-slide-viewer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
 
.ag-slide-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}
 
.ag-slide-btn {
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s;
}
 
.ag-slide-btn:hover {
    opacity: 0.85;
}
 
.ag-slide-btn:disabled {
    background: var(--ag-border);
    color: var(--ag-text-muted);
    cursor: not-allowed;
}
 
.ag-slide-counter {
    color: var(--ag-text-muted);
    font-size: 14px;
}
 
/* Responsive */
@media (max-width: 768px) {
    .ag-hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .ag-hero-subtitle {
        font-size: 16px;
    }
    
    .ag-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .ag-featured-card-title {
        font-size: 28px;
    }
    
    .ag-featured-card-image {
        height: 250px;
    }
    
    .ag-article-title {
        font-size: 32px;
    }
    
    .ag-floating-icons {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        padding: 20px;
        gap: 20px;
    }
    
    .ag-floating-icon {
        font-size: 20px;
    }
}

/* =============================================
   Article Pages — Combined Inline CSS
   (news-combined, news-combined-ge, ki-artikel, ai-articles)
   ============================================= */

/* Articles Page Layout */
.articles-page {
    background: var(--ag-bg);
    min-height: 100vh;
    padding-top: 80px;
}
.articles-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Back Link */
.back-link {
    color: var(--ag-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: sticky;
    top: 90px;
    z-index: 100;
    background: var(--ag-bg);
    padding: 10px 0;
}
.back-link:hover {
    gap: 12px;
    color: var(--ag-accent-hover);
}

/* Article Navigation Sidebar (news-combined variant) */
.article-nav {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 320px;
    background: var(--ag-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 100;
    border: 2px solid var(--ag-border);
    transition: right 0.3s ease;
}
.article-nav.open {
    right: 20px;
}

/* Menu Toggle Button — hidden on desktop */
.menu-toggle-btn {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 50px;
    height: 50px;
    background: var(--ag-accent);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
}
.menu-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}
.menu-toggle-btn i {
    color: white;
    font-size: 20px;
}
.menu-toggle-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Overlay — hidden on desktop */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Article Nav Headings & Items */
.article-nav h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: var(--ag-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-nav-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    color: var(--ag-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.article-nav-item:hover {
    background: var(--ag-accent);
    color: white;
    border-left-color: white;
    transform: translateX(-3px);
}
.article-nav-item.active {
    background: var(--ag-accent);
    color: white;
    border-left-color: white;
    font-weight: 600;
}

/* Article Nav — Mobile Slide-in */
@media (max-width: 1200px) {
    .article-nav {
        display: none;
        right: -340px;
    }
    .article-nav.open {
        display: block;
        position: fixed;
        right: 0;
        top: 0;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        border-radius: 0;
        padding: 100px 20px 30px 20px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    .menu-toggle-btn {
        display: flex;
    }
    .nav-overlay {
        display: block;
    }
}

/* Article Section */
.article-section {
    margin-bottom: 80px;
    padding-top: 20px;
    scroll-margin-top: 100px;
}
.article-section:last-child {
    margin-bottom: 40px;
}
.article-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--ag-border), transparent);
    margin: 60px 0;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}
.article-category {
    background: var(--ag-accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}
.article-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0;
    line-height: 1.2;
}

/* Article Featured Image */
.article-featured-image {
    width: 70%;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--ag-text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}
.article-meta i {
    margin-right: 6px;
    color: var(--ag-accent);
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ag-text);
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 35px 0 20px;
    color: var(--ag-text);
}
.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--ag-text);
}

/* Opinion Box */
.opinion-box {
    background: var(--ag-card-bg);
    border-left: 4px solid var(--ag-accent);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}
.opinion-box h4 {
    margin: 0 0 15px 0;
    color: var(--ag-accent);
    font-size: 20px;
    font-weight: 600;
}
.opinion-box p {
    margin: 0;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
}

/* Article Author — news-combined variant (border-top/bottom layout) */
.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--ag-border);
    border-bottom: 1px solid var(--ag-border);
    margin-bottom: 30px;
}

/* Article Author Avatar — initials circle (news-combined) */
.article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

/* Article Author Info (news-combined) */
.article-author-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.article-author-info span {
    color: var(--ag-text-muted);
    font-size: 14px;
}

/* Author Avatar — img-based (ki-artikel / ai-articles variant) */
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--ag-accent);
    flex-shrink: 0;
}

/* Author Info (ki-artikel / ai-articles variant) */
.author-info h3 {
    margin: 0 0 5px 0;
    color: var(--ag-text);
    font-size: 22px;
}
.author-info .author-role {
    color: var(--ag-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.author-info p {
    margin: 0;
    color: var(--ag-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Antigravity Theme Header Override */
.antigravity-theme header {
    background: transparent !important;
}

/* =============================================
   Blog Article Pages — Combined Inline CSS
   (y_article-* and z_article-* files)
   ============================================= */

/* Single Article Page Layout */
.article-page {
    padding-top: 100px;
}
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Article Subtitle */
.article-subtitle {
    font-size: 22px;
    color: var(--ag-text-muted);
    font-weight: 400;
    margin-bottom: 20px;
}

/* Article Content — extended blog styles */
.article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.article-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 14px 0;
    color: var(--ag-text);
}
.article-content blockquote {
    background: var(--ag-card-bg);
    padding: 24px 30px;
    border-left: 4px solid var(--ag-accent);
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}
.article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 30px 0;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}
.article-content code {
    background: var(--ag-card-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}
.article-content pre code {
    background: transparent;
    padding: 0;
}
.article-content ul, .article-content ol {
    margin: 24px 0;
    padding-left: 30px;
}
.article-content li {
    margin-bottom: 12px;
}
.article-content strong {
    color: var(--ag-accent);
    font-weight: 600;
}

/* Article CTA Box */
.article-cta {
    background: var(--ag-card-bg);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
}
.article-cta h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
}
.article-cta p {
    margin: 0 0 25px 0;
    color: var(--ag-text-muted);
}
.article-cta a {
    display: inline-block;
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.article-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

/* Alert Boxes */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}
.warning-box strong {
    display: block;
    margin-bottom: 8px;
}
.success-box {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}
.info-box {
    background: #e8f0fe;
    border-left: 4px solid #1a73e8;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}
.info-box.warning {
    background: #fef7e0;
    border-left-color: #f9ab00;
}
.info-box p {
    margin: 0;
    color: #202124;
}
.info-box strong {
    display: block;
    margin-bottom: 8px;
    color: #1a73e8;
}

/* GitHub Link Button */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #24292e;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin: 30px 0;
    transition: all 0.3s ease;
    font-weight: 500;
}
.github-link:hover {
    background: #0366d6;
    transform: translateY(-2px);
    color: white;
}
.github-link i {
    font-size: 20px;
}

/* Phase Header / Content (tutorial-style articles) */
.phase-header {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px 12px 0 0;
    margin-top: 40px;
    margin-bottom: 0;
    font-weight: 500;
}
.phase-content {
    background: var(--ag-card-bg);
    padding: 24px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 30px;
}

/* Architecture Diagram (self-correcting AI article) */
.architecture-diagram {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--ag-border);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}
.architecture-item {
    display: inline-block;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 600;
}
.architecture-arrow {
    display: inline-block;
    color: var(--ag-accent);
    font-size: 24px;
    margin: 0 10px;
}

/* Code Block with Syntax Highlighting (docker/n8n/pixtral articles) */
.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}
.code-block .comment {
    color: #6a9955;
}
.code-block .keyword {
    color: #569cd6;
}
.code-block .string {
    color: #ce9178;
}
.code-block .property {
    color: #9cdcfe;
}
.code-block .number {
    color: #b5cea8;
}
.inline-code {
    background: #f1f3f4;
    color: #d93025;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
}

/* Node Config & Stack List (docker/n8n articles) */
.node-config {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #e8eaed;
}
.node-config strong {
    color: #1a73e8;
}
.stack-list {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 8px;
    margin: 20px 0;
}
.stack-list ul {
    margin: 0;
    padding-left: 20px;
}

/* =============================================
   Newsletter List Pages (news.php, news-ge.php)
   ============================================= */

/* Single Column Newsletter Layout */
.ag-newsletter-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.ag-newsletter-item {
    display: flex;
    gap: 24px;
    background: var(--ag-card-bg);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--ag-border);
}
.ag-newsletter-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--ag-accent);
}
.ag-newsletter-image {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.ag-newsletter-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ag-newsletter-meta {
    color: var(--ag-text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}
.ag-newsletter-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 12px 0;
    line-height: 1.3;
}
.ag-newsletter-link {
    color: var(--ag-accent);
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 768px) {
    .ag-newsletter-item {
        flex-direction: column;
    }
    .ag-newsletter-image {
        width: 100%;
        height: 200px;
    }
}
