/*
Theme Name: Xopus Restored
Theme URI: https://xopus.org
Description: Xopus theme restored from Wayback Machine snapshot (May 2, 2024)
Version: 1.0
Author: Xopus Restoration
Author URI: https://xopus.org
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xopus
Domain Path: /languages
*/
/* Xopus Theme - Matching May 2, 2024 Wayback Machine Snapshot */

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

body {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
}

.header-banner {
    text-align: right;
    font-size: 12px;
    color: #999;
}

/* Navigation */
nav {
    background-color: #2a2a2a;
    padding: 15px 0;
    border-bottom: 2px solid #333;
}

nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #4CAF50;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Section Headers */
.section-header {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 12px 20px;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #e74c3c;
    border-radius: 2px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-image {
    width: 100%;
    height: 200px;
    background-color: #1a1a1a;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.category-badge.chrome {
    background-color: #FF6B6B;
    color: white;
}

.category-badge.firefox {
    background-color: #FF9F43;
    color: white;
}

.category-badge.css {
    background-color: #4ECDC4;
    color: white;
}

.category-badge.schemas {
    background-color: #6C5CE7;
    color: white;
}

.category-badge.fund {
    background-color: #A29BFE;
    color: white;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #ffffff;
}

.article-excerpt {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #666;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}

.read-more:hover {
    border-color: #999;
    color: #ffffff;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-section {
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-header {
    background-color: #e74c3c;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content ul {
    list-style: none;
}

.sidebar-content li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.sidebar-content li:last-child {
    border-bottom: none;
}

.sidebar-content a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar-content a:hover {
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #0f0f0f;
    color: #666;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
}
