/*
Theme Name: GitHub Blog Theme
Theme URI: https://github.blog
Description: A WordPress theme inspired by the GitHub blog design, featuring clean typography, modern layout, and developer-friendly aesthetics.
Author: Your Name
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - GitHub Blog Color Palette */
:root {
    --color-fg-default: #1f2328;
    --color-fg-muted: #656d76;
    --color-fg-subtle: #6e7781;
    --color-canvas-default: #ffffff;
    --color-canvas-subtle: #f6f8fa;
    --color-border-default: #d1d9e0;
    --color-border-muted: #d8dee4;
    --color-accent-fg: #0969da;
    --color-accent-emphasis: #0969da;
    --color-success-fg: #1a7f37;
    --color-attention-fg: #9a6700;
    --color-danger-fg: #d1242f;
    
    /* Typography */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Breakpoints */
    --breakpoint-sm: 544px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1012px;
    --breakpoint-xl: 1280px;
}

/* Base Styles */
body {
    font-family: var(--font-stack);
    color: var(--color-fg-default);
    background-color: var(--color-canvas-default);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1012px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--space-4);
    color: var(--color-fg-default);
}

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

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

a {
    color: var(--color-accent-fg);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
.site-header {
    background: var(--color-canvas-default);
    border-bottom: 1px solid var(--color-border-default);
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.site-logo {
    width: 32px;
    height: 32px;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.site-title a {
    color: var(--color-fg-default);
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-fg-default);
    font-weight: 500;
    padding: var(--space-2) 0;
    text-decoration: none;
    position: relative;
}

.main-navigation a:hover {
    color: var(--color-accent-fg);
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.search-form input[type="search"] {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    font-size: 0.875rem;
    background: var(--color-canvas-subtle);
    width: 200px;
}

.search-form input[type="search"]:focus {
    outline: 2px solid var(--color-accent-emphasis);
    outline-offset: -1px;
    border-color: var(--color-accent-emphasis);
}

.search-form button {
    background: var(--color-accent-emphasis);
    color: white;
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.search-form button:hover {
    background: #0860ca;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: block;
    background: none;
    border: 1px solid var(--color-border-default);
    padding: var(--space-2);
    border-radius: 6px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Main Content */
.site-main {
    padding: var(--space-8) 0;
}

/* Blog Post Grid */
.posts-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1012px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Post Card */
.post-card {
    border: 1px solid var(--color-border-default);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    background: var(--color-canvas-default);
}

.post-card:hover {
    box-shadow: 0 8px 24px rgba(31, 35, 40, 0.12);
    border-color: var(--color-border-muted);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: var(--space-5);
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.post-card-title a {
    color: var(--color-fg-default);
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--color-accent-fg);
}

.post-card-excerpt {
    color: var(--color-fg-muted);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
    color: var(--color-fg-subtle);
}

.post-card-meta .author {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.post-card-meta .author img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Single Post Styles */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: var(--space-8);
    text-align: center;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-fg-subtle);
    font-size: 0.875rem;
}

.post-meta .author-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.post-meta .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.post-content {
    line-height: 1.7;
    font-size: 1.125rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: var(--space-6) 0;
}

.post-content pre {
    background: var(--color-canvas-subtle);
    padding: var(--space-4);
    border-radius: 8px;
    overflow-x: auto;
    font-family: var(--font-mono);
    border: 1px solid var(--color-border-default);
}

.post-content code {
    font-family: var(--font-mono);
    background: var(--color-canvas-subtle);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Footer */
.site-footer {
    background: var(--color-canvas-subtle);
    border-top: 1px solid var(--color-border-default);
    padding: var(--space-12) 0 var(--space-8);
    margin-top: var(--space-16);
}

.footer-content {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1012px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-fg-default);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    color: var(--color-fg-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-section ul li a:hover {
    color: var(--color-accent-fg);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-default);
    padding-top: var(--space-6);
    text-align: center;
    color: var(--color-fg-subtle);
    font-size: 0.875rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-8) 0;
}

.pagination a,
.pagination span {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-fg-default);
    background: var(--color-canvas-default);
    min-width: 44px;
    text-align: center;
}

.pagination a:hover {
    background: var(--color-canvas-subtle);
    text-decoration: none;
}

.pagination .current {
    background: var(--color-accent-emphasis);
    color: white;
    border-color: var(--color-accent-emphasis);
}

/* Sidebar */
.sidebar {
    background: var(--color-canvas-subtle);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--color-border-default);
}

.widget {
    margin-bottom: var(--space-6);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-fg-default);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border-muted);
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget ul li a {
    color: var(--color-fg-default);
    text-decoration: none;
    font-size: 0.875rem;
}

.widget ul li a:hover {
    color: var(--color-accent-fg);
}

/* Newsletter Signup Widget */
.newsletter-signup {
    background: linear-gradient(135deg, #0969da 0%, #0550ae 100%);
    color: white;
    padding: var(--space-6);
    border-radius: 12px;
    text-align: center;
}

.newsletter-signup h3 {
    color: white;
    margin-bottom: var(--space-3);
}

.newsletter-signup p {
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--space-2);
    flex-direction: column;
}

.newsletter-form input[type="email"] {
    padding: var(--space-3);
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
}

.newsletter-form button {
    background: white;
    color: var(--color-accent-emphasis);
    border: none;
    padding: var(--space-3);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

@media (min-width: 480px) {
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input[type="email"] {
        flex: 1;
    }
}

/* Categories and Tags */
.post-categories,
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.category-link,
.tag-link {
    background: var(--color-canvas-subtle);
    color: var(--color-fg-muted);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--color-border-default);
}

.category-link:hover,
.tag-link:hover {
    background: var(--color-accent-emphasis);
    color: white;
    border-color: var(--color-accent-emphasis);
    text-decoration: none;
}

/* Layout Classes */
.two-column {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 1012px) {
    .two-column {
        grid-template-columns: 2fr 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-fg-muted);
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Comments */
.comments-area {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border-default);
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--color-canvas-subtle);
    border-radius: 8px;
    border: 1px solid var(--color-border-default);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--color-fg-subtle);
}

/* Single Post Specific Styles */
.post-featured-image {
    margin: var(--space-8) 0;
    text-align: center;
}

.post-featured-image img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(31, 35, 40, 0.08);
}

.post-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border-default);
}

.post-navigation-wrapper {
    margin-bottom: var(--space-8);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
}

.post-navigation a {
    flex: 1;
    padding: var(--space-4);
    border: 1px solid var(--color-border-default);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-fg-default);
    background: var(--color-canvas-subtle);
    transition: all 0.2s ease;
}

.post-navigation a:hover {
    border-color: var(--color-accent-emphasis);
    background: white;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--color-fg-muted);
    margin-bottom: var(--space-1);
}

.nav-title {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-canvas-subtle);
    border-radius: 12px;
    border: 1px solid var(--color-border-default);
}

.author-bio .author-avatar {
    flex-shrink: 0;
}

.author-bio .author-avatar img {
    border-radius: 50%;
}

.author-bio .author-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-fg-default);
}

.author-bio .author-description {
    color: var(--color-fg-muted);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.author-links {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.author-links a {
    color: var(--color-accent-fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.author-links a:hover {
    text-decoration: underline;
}

/* Blog Intro (Homepage) */
.blog-intro {
    text-align: center;
    margin-bottom: var(--space-12);
    padding: var(--space-8) 0;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-fg-default);
}

.blog-description {
    font-size: 1.25rem;
    color: var(--color-fg-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-4);
}

.footer-links a {
    color: var(--color-fg-subtle);
    text-decoration: none;
    font-size: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-accent-fg);
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-fg-default);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--space-2);
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.social-link:hover {
    background: var(--color-canvas-default);
    text-decoration: none;
}

.social-link svg {
    flex-shrink: 0;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tag-cloud .tag-link {
    font-size: 0.75rem;
}

/* Sidebar Enhancements */
.widget .post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-fg-subtle);
    margin-top: var(--space-1);
}

.widget .post-count {
    color: var(--color-fg-subtle);
    font-size: 0.75rem;
    margin-left: var(--space-1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--color-canvas-default);
    border-bottom: 1px solid var(--color-border-default);
    padding: var(--space-4);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(31, 35, 40, 0.12);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid var(--color-border-muted);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    padding: var(--space-3) 0;
    color: var(--color-fg-default);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu ul li a:hover {
    color: var(--color-accent-fg);
}

.mobile-menu-open {
    overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    background: var(--color-accent-emphasis);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(31, 35, 40, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0860ca;
    transform: translateY(-2px);
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* Copy Code Button */
.copy-code {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: var(--color-canvas-default);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    padding: var(--space-1) var(--space-2);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-fg-muted);
    transition: all 0.2s ease;
    opacity: 0;
}

pre:hover .copy-code {
    opacity: 1;
}

.copy-code:hover {
    background: var(--color-canvas-subtle);
    color: var(--color-fg-default);
}

/* Form Messages */
.form-message {
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: var(--color-success-fg);
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: var(--color-danger-fg);
    border: 1px solid #fecaca;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: var(--space-12) 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-illustration {
    margin-bottom: var(--space-8);
    opacity: 0.7;
}

.error-search {
    margin: var(--space-8) 0;
    display: flex;
    justify-content: center;
}

.error-search .search-form {
    width: 100%;
    max-width: 400px;
}

.error-search .search-form input[type="search"] {
    width: 100%;
}

.helpful-links {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-8);
    text-align: left;
}

@media (min-width: 768px) {
    .helpful-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.link-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-fg-default);
}

.link-section ul {
    list-style: none;
}

.link-section ul li {
    margin-bottom: var(--space-2);
}

.link-section ul li a {
    color: var(--color-fg-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.link-section ul li a:hover {
    color: var(--color-accent-fg);
    text-decoration: underline;
}

/* Comment Form Styles */
.comment-form.github-style {
    background: var(--color-canvas-subtle);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--color-border-default);
}

.comment-form.github-style h3 {
    margin-bottom: var(--space-6);
    color: var(--color-fg-default);
}

.comment-form.github-style p {
    margin-bottom: var(--space-4);
}

.comment-form.github-style label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--color-fg-default);
    font-size: 0.875rem;
}

.comment-form.github-style .required {
    color: var(--color-danger-fg);
}

.comment-form.github-style input[type="text"],
.comment-form.github-style input[type="email"],
.comment-form.github-style input[type="url"],
.comment-form.github-style textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: var(--font-stack);
    background: var(--color-canvas-default);
    transition: border-color 0.2s ease;
}

.comment-form.github-style input[type="text"]:focus,
.comment-form.github-style input[type="email"]:focus,
.comment-form.github-style input[type="url"]:focus,
.comment-form.github-style textarea:focus {
    outline: 2px solid var(--color-accent-emphasis);
    outline-offset: -1px;
    border-color: var(--color-accent-emphasis);
}

.comment-form.github-style textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form.github-style .submit {
    background: var(--color-accent-emphasis);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.comment-form.github-style .submit:hover {
    background: #0860ca;
}

/* Comments Navigation */
.comment-navigation {
    margin: var(--space-6) 0;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
    margin-right: var(--space-4);
}

.comment-navigation a {
    color: var(--color-accent-fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

/* Search Suggestions */
.search-suggestions {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--color-canvas-subtle);
    border-radius: 12px;
    border: 1px solid var(--color-border-default);
}

.search-suggestions h3 {
    margin-bottom: var(--space-4);
    color: var(--color-fg-default);
}

.search-suggestions ul {
    list-style: none;
}

.search-suggestions ul li {
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border-muted);
}

.search-suggestions ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.search-suggestions ul li a {
    color: var(--color-fg-default);
    text-decoration: none;
    font-size: 0.875rem;
}

.search-suggestions ul li a:hover {
    color: var(--color-accent-fg);
}

/* Page Header Enhancements */
.page-header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border-default);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-fg-default);
}

.archive-description {
    color: var(--color-fg-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.archive-description p {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .post-title {
        font-size: 1.875rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: var(--space-2);
        text-align: left;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }
    
    .search-form {
        display: none;
    }
    
    .search-form.mobile-search {
        display: flex;
        width: 100%;
        margin-top: var(--space-4);
    }
    
    .search-form.mobile-search input[type="search"] {
        width: 100%;
    }
    
    .header-actions {
        gap: var(--space-2);
    }
    
    .site-header {
        position: relative;
    }
    
    .mobile-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 73px);
        overflow-y: auto;
    }
}
