/* ========================= */
/* Single Beitrag */
/* ========================= */
.motto-label {
    font-size: 1rem;
    letter-spacing: 0;
    white-space: nowrap;
}

.kch-single-post {
    background: #ffffff;
    border: 1px solid #eadfbc;
    border-top: 5px solid #a00000;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

.single-post-header {
    background: linear-gradient(135deg, #ffffff 0%, #fff8df 100%);
    border-bottom: 1px solid #f0e2b4;
    padding: 2rem 2rem 1.4rem;
}

.single-post-category {
    background: #ffd700;
    border-radius: 4px;
    color: #1e2428;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.65rem;
    text-decoration: none;
    text-transform: uppercase;
}

.single-post-category:hover {
    background: #a00000;
    color: #ffffff;
}

.single-post-title {
    color: #a00000;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
    margin: 0;
}

.single-post-lead {
    color: #4c4c4c;
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1rem 0 0;
    max-width: 760px;
}

.single-post-meta {
    color: #666666;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.94rem;
    gap: 0.7rem 1rem;
    margin-top: 1.15rem;
}

.single-post-meta span,
.single-post-meta a {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
}

.single-post-meta a {
    color: #a00000;
    font-weight: 700;
    text-decoration: none;
}

.single-post-meta a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.single-post-featured {
    background: #ffffff;
    margin: 0;
    padding: 2rem 2rem 0;
}

.single-post-featured-img {
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 560px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.single-post-featured figcaption {
    color: #6f6f6f;
    font-size: 0.9rem;
    margin-top: 0.65rem;
    text-align: center;
}

.single-post-content {
    color: #2f2f2f;
    font-size: 1.08rem;
    line-height: 1.82;
    padding: 2rem;
}

.single-post-content > *:last-child {
    margin-bottom: 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #a00000;
    font-weight: 800;
    letter-spacing: 0;
    margin-top: 2rem;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.15rem;
}

.single-post-content a {
    color: #a00000;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.single-post-content a:hover {
    color: #ff6600;
}

.single-post-content img {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.single-post-content blockquote {
    background: #f8f8f8;
    border-left: 4px solid #ffd700;
    border-radius: 0 8px 8px 0;
    color: #444444;
    font-size: 1.05rem;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
}

.single-post-content .wp-block-buttons {
    margin: 2rem 0 0;
}

.single-post-content .wp-block-button__link[href*="/pgc_simply_gallery/"],
.single-post-content .wp-block-button__link[href*="/galerie/"] {
    align-items: center;
    background: #a00000;
    border: 2px solid #ffd700;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(160, 0, 0, 0.22);
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 0.55rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.single-post-content .wp-block-button__link[href*="/pgc_simply_gallery/"]::before,
.single-post-content .wp-block-button__link[href*="/galerie/"]::before {
    content: "\f03e";
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.single-post-content .wp-block-button__link[href*="/pgc_simply_gallery/"]:hover,
.single-post-content .wp-block-button__link[href*="/galerie/"]:hover {
    background: #ffd700;
    box-shadow: 0 14px 28px rgba(160, 0, 0, 0.18);
    color: #1e2428;
    transform: translateY(-2px);
}

.single-post-share {
    align-items: center;
    background: linear-gradient(135deg, #fffdf4 0%, #ffffff 58%, #f7f7f7 100%);
    border: 1px solid #eadfbc;
    border-left: 5px solid #ffd700;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: space-between;
    margin: 1.5rem 2rem 0;
    padding: 1rem 1.1rem;
}

.single-post-share-heading {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 230px;
}

.single-post-share-icon {
    align-items: center;
    background: #a00000;
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.single-post-share-label {
    color: #1e2428;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
}

.single-post-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.single-share-button {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    box-shadow: 0 9px 18px rgba(0, 0, 0, 0.13);
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    gap: 0.55rem;
    justify-content: center;
    min-height: 46px;
    min-width: 150px;
    padding: 0.72rem 1.05rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.single-share-button i {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.single-share-button:hover {
    color: #ffffff;
    filter: saturate(1.08);
    box-shadow: 0 13px 26px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.single-share-whatsapp {
    background: linear-gradient(135deg, #19b95a 0%, #25d366 100%);
}

.single-share-facebook {
    background: linear-gradient(135deg, #155ec3 0%, #1877f2 100%);
}

.single-post-footer {
    border-top: 1px solid #eeeeee;
    margin: 0 2rem;
    padding: 1.2rem 0 0;
}

.single-post-tags {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-post-tags span {
    color: #555555;
    font-weight: 800;
}

.single-post-tags a {
    background: #f5f5f5;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    color: #a00000;
    font-size: 0.9rem;
    padding: 0.28rem 0.55rem;
    text-decoration: none;
}

.single-post-tags a:hover {
    background: #ffd700;
    color: #1e2428;
}

.single-post-navigation {
    border-top: 1px solid #eeeeee;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2rem;
    padding-top: 1.5rem;
}

.single-post-navigation .nav-previous,
.single-post-navigation .nav-next {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 1rem;
}

.single-post-navigation .nav-next {
    text-align: right;
}

.single-post-navigation span {
    color: #777777;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.single-post-navigation a {
    color: #a00000;
    font-weight: 800;
    text-decoration: none;
}

.single-post-navigation a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.single-related-posts {
    margin-top: 2rem;
}

.single-section-heading {
    margin-bottom: 1rem;
}

.single-section-heading span {
    color: #a00000;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.single-section-heading h2 {
    color: #1e2428;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0.15rem 0 0;
}

.related-post-card {
    height: 100%;
}

.related-post-link {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    color: inherit;
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-link:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-post-thumb {
    background: #f5f5f5;
    display: block;
    height: 145px;
    overflow: hidden;
}

.related-post-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.related-post-body {
    display: block;
    padding: 0.9rem;
}

.related-post-body time {
    color: #777777;
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.related-post-body strong {
    color: #a00000;
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

.single-post-sidebar .widget {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .single-post-title {
        font-size: 2rem;
    }

    .single-post-sidebar {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .motto-label {
        white-space: normal;
    }

    .single-post-header,
    .single-post-content {
        padding: 1.35rem;
    }

    .single-post-featured {
        padding: 1.35rem 1.35rem 0;
    }

    .single-post-title {
        font-size: 1.75rem;
    }

    .single-post-lead {
        font-size: 1rem;
    }

    .single-post-navigation {
        grid-template-columns: 1fr;
        margin: 1.35rem;
    }

    .single-post-navigation .nav-next {
        text-align: left;
    }

    .single-post-footer {
        margin: 0 1.35rem;
    }

    .single-post-share {
        align-items: stretch;
        flex-direction: column;
        margin: 1.35rem 1.35rem 0;
        padding: 1rem;
    }

    .single-post-share-heading {
        min-width: 0;
    }

    .single-post-share-buttons,
    .single-share-button {
        width: 100%;
    }

    .single-share-button {
        justify-content: center;
    }
}
