/* Ghost Obfuscation Blog Styles */

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #e0e0e0;
    --code-bg: #f5f5f5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--accent-color);
}

.site-header h1 {
    font-size: 1.8rem;
    display: inline-block;
    margin-right: 2rem;
}

.site-header h1 a {
    color: white;
    text-decoration: none;
}

.site-header nav {
    display: inline-block;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.site-header nav a:hover,
.site-header nav a.active {
    opacity: 1;
}

/* Featured Article Link Wrapper */
.featured-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.featured-article-link:hover {
    transform: translateY(-2px);
}

/* Featured Article */
.featured-article {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem 0;
    position: relative;
}

.featured-article .badge {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-article h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.featured-article .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.featured-article .meta {
    opacity: 0.8;
}

/* Articles List */
.articles {
    margin: 3rem 0;
}

.articles h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.article-card {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.article-card:last-child {
    border-bottom: none;
}

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.article-card .subtitle {
    color: #666;
    margin-bottom: 0.8rem;
}

.meta {
    font-size: 0.9rem;
    color: #888;
}

.meta .separator {
    margin: 0 0.5rem;
}

/* Pagination */
.pagination {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

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

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header h1 {
        display: block;
        margin-bottom: 1rem;
    }
    
    .site-header nav {
        display: block;
    }
    
    .featured-article {
        padding: 2rem 1.5rem;
    }
    
    .featured-article h2 {
        font-size: 1.5rem;
    }
}

/* Featured and Article Images */
.featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: block;
}

/* Smaller thumbnail on blog list page */
.featured-article .featured-image {
    width: auto !important;
    max-width: 150px !important;
}

.article-thumbnail {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
}

