/* Blog: dunkler Text auf weissen Flaechen, damit der Kontrast auf dem Hintergrundbild stimmt. */

.static-page .blog-header {
    background-color: #ffffff;
    color: #363636;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.static-page .static-page-content .blog-header,
.static-page .static-page-content .blog-header .title,
.static-page .static-page-content .blog-header h1,
.static-page .static-page-content .blog-header h2,
.static-page .static-page-content .blog-header h3,
.static-page .static-page-content .blog-header p,
.static-page .static-page-content .blog-header .subtitle,
.static-page .static-page-content .blog-header span,
.static-page .static-page-content .blog-header .post-meta {
    color: #363636;
}

.static-page .static-page-content .blog-header .subtitle {
    color: #4a4a4a;
}

.static-page .static-page-content .blog-header .has-text-grey {
    color: #7a7a7a;
}

.static-page .card {
    background-color: #ffffff;
    color: #363636;
}

.static-page .static-page-content .card,
.static-page .static-page-content .card .title,
.static-page .static-page-content .card h1,
.static-page .static-page-content .card h2,
.static-page .static-page-content .card h3,
.static-page .static-page-content .card h4,
.static-page .static-page-content .card p,
.static-page .static-page-content .card li,
.static-page .static-page-content .card .content,
.static-page .static-page-content .card .label,
.static-page .static-page-content .card a:not(.button):not(.tag) {
    color: #363636;
}

.static-page .static-page-content .card .subtitle {
    color: #4a4a4a;
}

.static-page .static-page-content .card .has-text-grey,
.static-page .static-page-content .card .has-text-grey-light {
    color: #7a7a7a;
}

.static-page .static-page-content .card .blog-excerpt {
    color: #4a4a4a;
}

.static-page .card .media-content .title,
.static-page .card .media-content .subtitle {
    overflow-wrap: break-word;
    word-break: break-word;
}

.static-page .blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.static-page .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background-color: #f5f5f5;
    display: block;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

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

.blog-content .image-left {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    max-width: 40%;
}

.blog-content .image-right {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 40%;
}

.featured-image-inline {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-image-content {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.post-footer {
    border-top: 1px solid #eee;
    clear: both;
}

.static-page .static-page-content .related-posts > .title {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.65);
}

.static-page .static-page-content .notification,
.static-page .static-page-content .notification p {
    color: #363636;
}

.pagination-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
}

.static-page .pagination-link,
.static-page .pagination-previous,
.static-page .pagination-next,
.static-page .pagination-ellipsis {
    color: #363636;
}

@media (max-width: 768px) {
    .static-page .blog-header {
        padding: 2rem 1.25rem;
    }

    .columns {
        display: flex;
        flex-direction: column;
    }

    .column.is-8 {
        order: 2;
    }

    .column.is-4 {
        order: 1;
        margin-bottom: 2rem;
    }

    .blog-card-image {
        max-height: 200px;
    }
}
