/* Blog-spezifische Styles */

/* Blog-Grid Layout für Artikel-Karten */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Einzelne Blog-Karte */
.blog-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Icon/Emoji oben in der Karte */
.blog-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Meta-Informationen (Kategorie + Datum) */
.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

/* Kategorie-Badge */
.blog-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Datum */
.blog-date {
    color: #888;
    display: flex;
    align-items: center;
}

/* Artikel-Titel */
.blog-card h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Preview-Text */
.blog-preview {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Footer der Karte mit Autor und Button */
.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Autor-Name */
.blog-author {
    color: #888;
    font-size: 0.9rem;
}

/* Weiterlesen-Button */
.read-more-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===== Vollständige Artikel-Ansicht ===== */

/* Zurück-Button */
.back-to-blog {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-blog:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(-5px);
}

/* Artikel-Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

/* Großes Icon im Artikel */
.article-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    max-width: 350px;
}

/* Artikel-Titel */
.article-header h1 {
    font-size: 2.5rem;
    margin: 20px 0;
}

/* Artikel-Meta (Autor, Datum) */
.article-meta {
    display: inline-block;
    justify-content: center;
    gap: 10px;
    color: #888;
    margin-top: 15px;
}

/* Artikel-Inhalt Container */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Überschriften im Artikel */
.article-content h2 {
    color: #667eea;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Absätze im Artikel */
.article-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}