/* ===== BLOG-SPEZIFISCHE STYLES ===== */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 30px 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.8em;
    margin: 0;
    letter-spacing: 2px;
}

.blog-header .tagline {
    font-size: 1em;
    opacity: 0.7;
    margin-top: 5px;
    font-style: italic;
}

/* Blog Main Layout: Sidebar rechts */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Tile Grid – 3 Reihen × 2 Spalten */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-tile {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.blog-tile .tile-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e8ecf1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: #0f3460;
}

.blog-tile .tile-body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tile .tile-tags {
    margin-bottom: 8px;
}

.blog-tile .tile-tag {
    display: inline-block;
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 10px;
    background: #eef1ff;
    color: #0f3460;
    margin-right: 4px;
    font-weight: 600;
}

.blog-tile .tile-title {
    font-size: 1.1em;
    margin-bottom: 8px;
    flex: 1;
}

.blog-tile .tile-title a {
    color: #0f3460;
    text-decoration: none;
}

.blog-tile .tile-title a:hover {
    text-decoration: underline;
}

.blog-tile .tile-date {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 4px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar .widget {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar .widget h3 {
    font-size: 0.9em;
    color: #0f3460;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eef1ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Widget */
.logo-widget {
    text-align: center;
    padding: 30px 20px !important;
}

.logo-widget .logo-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
}

.logo-widget .logo-text {
    font-family: Georgia, serif;
    font-size: 1.1em;
    font-style: italic;
    color: #0f3460;
    line-height: 1.4;
}

/* Search Widget */
.search-widget input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
    box-sizing: border-box;
}

.search-widget input[type="text"]:focus {
    outline: none;
    border-color: #0f3460;
}

/* Tag Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-cloud a {
    display: inline-block;
    font-size: 0.8em;
    padding: 4px 10px;
    border-radius: 12px;
    background: #eef1ff;
    color: #0f3460;
    text-decoration: none;
    transition: background 0.2s;
}

.tag-cloud a:hover {
    background: #0f3460;
    color: white;
}

/* Archive Widget */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    margin-bottom: 6px;
}

.archive-list a {
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
}

.archive-list a:hover {
    color: #0f3460;
    text-decoration: underline;
}

/* Sidebar Footer Links */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 8px;
}

.sidebar-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
}

.sidebar-links a:hover {
    color: #0f3460;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
        position: static;
    }
    
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tile-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header h1 {
        font-size: 2em;
    }
}

/* ===== SEITEN-SPEZIFISCH ===== */

/* Blog-Artikel-Seite */
.blog-article {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-article h1 {
    font-size: 2em;
    color: #0f3460;
    margin-bottom: 10px;
}

.blog-article .meta {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-article .meta .tags a {
    color: #0f3460;
    text-decoration: none;
}

.blog-article .featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-article .image-attribution {
    font-size: 0.8em;
    color: #888;
    margin-top: -25px;
    margin-bottom: 30px;
    text-align: right;
}

/* News-Badge */
.news-badge {
    display: inline-block;
    background: #0f3460;
    color: white;
    font-size: 0.7em;
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* Article hero image */
.blog-article .article-hero {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-article .article-hero img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}
