/*
Theme Name: School Theme
Theme URI: https://example.com/school-theme
Description: Ein einfaches, modernes WordPress-Theme für Schulen mit vollständiger Blog-Beitragsansicht
Author: School Theme Developer
Author URI: https://example.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: education, school, blog, responsive, simple
Text Domain: school-theme
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
}

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

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.site-branding {
    padding: 30px 0;
    text-align: center;
}

.site-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.site-title a {
    color: #2c3e50;
}

.site-description {
    font-size: 1.1em;
    color: #7f8c8d;
    font-style: italic;
}

/* Navigation */
.main-navigation {
    background-color: #3498db;
    padding: 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background-color: #2980b9;
}

/* Content Area */
.site-content {
    padding: 40px 0;
    min-height: 500px;
}

.content-area {
    width: 70%;
    float: left;
    padding-right: 40px;
}

/* Posts - Vollständige Anzeige */
.post {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.entry-header {
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

.entry-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.entry-title a {
    color: #2c3e50;
}

.entry-title a:hover {
    color: #3498db;
}

.entry-meta {
    font-size: 0.9em;
    color: #7f8c8d;
}

.entry-meta a {
    color: #7f8c8d;
}

.posted-on,
.byline,
.cat-links,
.comments-link {
    margin-right: 15px;
}

.posted-on::before,
.byline::before,
.cat-links::before {
    content: "• ";
    margin-right: 5px;
}

/* Entry Content - Vollständiger Inhalt */
.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #2c3e50;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.entry-content ul,
.entry-content ol {
    margin-left: 30px;
    margin-bottom: 1.5em;
}

.entry-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
    font-size: 0.9em;
    color: #7f8c8d;
}

.tags-links {
    margin-top: 10px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 3px;
    color: #2980b9;
}

.page-numbers.current,
.page-numbers:hover {
    background-color: #3498db;
    color: #fff;
}

/* Sidebar */
.sidebar {
    width: 30%;
    float: right;
}

.widget {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

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

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

.footer-widgets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-widget {
    width: 30%;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 15px;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.9em;
}

/* Comments */
.comments-area {
    background-color: #fff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.comment {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.comment-author {
    font-weight: bold;
    color: #2c3e50;
}

.comment-meta {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area,
    .sidebar {
        width: 100%;
        float: none;
        padding-right: 0;
    }
    
    .header-image {
        height: 200px;
    }
    
    .site-title {
        font-size: 2em;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .footer-widgets {
        flex-direction: column;
    }
    
    .footer-widget {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}