html {
  height: 100%;
  width: 100%;
}

body {
  display: table;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.row {
  display: table-row;
  height: 75%;
  background-color: #282828;
  text-align: center;
}

.h1 {
  font-size: 54px;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to right, #FFFFFF 0%, #FF6600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 100px;
}

/* Bilder */
.cover-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Autor-Bereich */
.author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.author-details {
    flex: 1;
}

.author-name {
    margin: 0;
    font-weight: bold;
    color: var(--primary);
}

.author-bio {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.publish-date {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Content Styling */
.content {
    margin: 2rem 0;
}

.content h3 {
    margin-top: 2rem;
    color: var(--primary);
}

.content h4 {
    margin-top: 1.5rem;
    color: var(--primary);
}

.content ul {
    margin-left: 1.5rem;
}

.content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--muted);
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
}

article {
    margin-bottom: 3rem;
}

.grid {
    gap: 2rem;
}

/* Bilder im Content */
.content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

/* Debug-Hilfe für Bilder */
img[src="undefined"], 
img[src="null"], 
img:not([src]),
img[src=""] {
    display: none;
}

/* Blog Liste */
.blog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.blog-preview {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--card-background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.blog-preview-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-preview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-preview h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--muted);
    flex-wrap: wrap;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-image-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.blog-date {
    color: var(--muted);
}

.blog-excerpt {
    margin: 1rem 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-preview-content a {
    margin-top: auto;
}

/* Responsive Design */
@media (min-width: 768px) {
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Optional: Für größere Bildschirme */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}
