/*
Theme Name: NTV Minimal News Theme
Description: Minimales WordPress-Theme im n-tv.de Stil - stabil und fehlerfrei
Author: WordPress Developer
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: ntv-minimal
*/

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

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #e60000;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    background: #e60000;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 24px;
    border-radius: 3px;
}

.logo:hover {
    color: #fff;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-navigation a {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 0;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 30px 0;
    min-height: 400px;
}

.content-area {
    background: #fff;
}

/* Articles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.article-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

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

.article-content {
    padding: 15px;
}

.article-category {
    display: inline-block;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 10px;
}

.article-category.politik { background: #e60000; }
.article-category.wirtschaft { background: #27ae60; }
.article-category.sport { background: #3498db; }
.article-category.wissen { background: #9b59b6; }

.article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 13px;
    color: #555;
}

/* Sidebar */
.widget-area {
    background: #fff;
}

.widget {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
}

.widget-title {
    background: #f8f8f8;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.widget-content {
    padding: 20px;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-bottom {
    text-align: center;
    color: #bdc3c7;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
}

