/*
Theme Name: Kadence Child
Theme URI: https://IhrDomain.de
Description: Ein Child Theme für das Kadence Theme.
Author: Ihr Name
Author URI: https://IhrDomain.de
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
*/

/* ❶ Global Reset - Sorgt dafür, dass normale Bilder im Text flach bleiben */
    img {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

/* ❷ Haupt-Beitragsbild (Beiträge & Seiten) */
    .bd-featured-image-wrapper,
    .entry-hero .featured-image,
    .kadence-thumbnail-wrapper,
    .post-thumbnail {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto 10px auto;
        overflow: visible !important;
        display: block !important;
    }

    .bd-featured-image-wrapper img,
    .wp-post-image,
    .entry-hero .featured-image img,
    .attachment-post-thumbnail {
        width: 100% !important;
        height: auto !important;
        max-height: 550px;
        object-fit: cover !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
        display: block !important;
    }

/* ❸ Google Maps & Spezielle Karten (Schatten bleibt hier erhalten) */
    iframe[src*="maps"],
    .bd-post-card img {
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
        margin-bottom: 20px !important;
    }

/* ❹ Footer Mobile Zentrierung */
    @media (max-width: 768px) {
        .footer-sitemap-style-wrapper,
        .footer-search-form,
        .footer-social-style-wrapper {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            margin: 0 auto !important;
            text-align: center !important;
        }
        .bd-featured-image-wrapper img, 
        .wp-post-image,
        .entry-hero .featured-image img {
            max-height: 250px !important;
        }
    }

/* ❺ Kommentarbereich Design */
    #respond.comment-respond {
        background: #ffffff !important;
        border: 2px solid #1105A5 !important;
        border-radius: 12px !important;
        padding: 30px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
        margin: 40px auto !important;
        max-width: 100% !important;
        border-top: none !important;
    }

    #respond textarea#comment {
        background-color: #f0f4ff !important;
        border: 1px solid #1105A5 !important;
        border-radius: 12px !important;
        padding: 30px 15px 15px 15px !important;
        color: #1105A5 !important;
        font-size: 16px !important;
        min-height: 180px !important;
        width: 100% !important;
    }

    #respond .form-submit input#submit {
        display: inline-block !important;
        background: #ffffff !important;
        border: 1px solid #1105A5 !important;
        border-radius: 8px !important;
        color: #1105A5 !important;
        font-weight: bold !important;
        padding: 12px 30px !important;
        cursor: pointer !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.8) !important;
        transition: all 0.3s ease !important;
    }

    #respond .form-submit input#submit:hover {
        transform: translateY(-5px) !important;
    }

/* ❻ Navigation Buttons */
    .bd-post-navigation { 
        clear: both; 
        margin-top: 60px !important;
    }


