#section-3-6613 > .ct-section-inner-wrap{padding-right:0;padding-left:0}#div_block-5-6613{width:40%}#div_block-7-6613{width:60.00%;padding-left:60px;padding-right:70px}#div_block-8-6613{gap:20px;border-bottom-color:#707070;border-bottom-width:1px;border-bottom-style:solid;width:100%;flex-direction:row;display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px;padding-bottom:10px}#div_block-16-6613{padding-top:70px;padding-left:100px;padding-right:100px;padding-bottom:70px;background-color:#ffffff}#div_block-103-6613{padding-top:70px;padding-left:100px;padding-right:100px;padding-bottom:70px;background-color:#ffffff}#div_block-83-6613{width:100%;padding-top:70px;padding-bottom:70px;padding-left:100px;padding-right:100px;background-color:#f1f1f1}#div_block-89-6613{width:100%;padding-top:70px;padding-bottom:70px;padding-left:100px;padding-right:100px;background-color:#f1f1f1}@media (max-width:991px){#div_block-5-6613{flex-direction:column;display:flex;text-align:left}}@media (max-width:991px){#div_block-7-6613{display:flex;flex-direction:column;gap:20px;padding-left:0px;padding-right:0px;padding-top:20px}}@media (max-width:991px){#div_block-16-6613{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px}}@media (max-width:991px){#div_block-103-6613{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px}}@media (max-width:991px){#div_block-83-6613{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px}}@media (max-width:991px){#div_block-89-6613{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px}}@media (max-width:991px){#new_columns-4-6613> .ct-div-block{width:100% !important}}#new_columns-4-6613{padding-left:100px;padding-right:100px;padding-top:70px;padding-bottom:70px;background-color:#f1f1f1}@media (max-width:991px){#new_columns-4-6613{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px}}#headline-10-6613{font-size:0.9em}#headline-56-6613{margin-bottom:20px;font-size:35px;font-weight:700;letter-spacing:-0.5px}#code_block-99-6613{font-size:0.9em}#code_block-68-6613{unwrap:false}#code_block-98-6613{width:100%}#shortcode-108-6613{margin-top:30px}#_comments-93-6613{padding-left:0px;width:100%}.oxy-comments li.comment{padding:40px;background-color:white}.oxy-comments .comment-meta .comment-metadata a{color:rgba(0,0,0,0.5)}.oxy-comments .comment-meta .comment-author{border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:20px}.oxy-comments li.comment.even{background-color:#fafafa}.oxy-comments ol.comments-list > li.comment{margin-bottom:40px}.comment-reply-link{border:1px solid;padding:0.75em 1.5em;border-radius:2px;line-height:var(--oxy-small-line-height)}.oxy-comments .comment-meta .comment-author .avatar{border-radius:50%}.says,time{display:none}<?php// Random Blog Posts Query$random_posts = new WP_Query(array( 'post_type' => 'post','posts_per_page' => 4,// Anzahl der Posts 'orderby' => 'rand','post_status' => 'publish','post__not_in' => array(get_the_ID()),// Aktuellen Post ausschließen 'meta_query' => array( array( 'key' => '_thumbnail_id','compare' => 'EXISTS' // Nur Posts mit Beitragsbild ) )));if ($random_posts->have_posts()) :?> <div class="random-posts-wrapper"> <h3 class="random-posts-heading">Weitere Beiträge</h3> <div class="random-posts-grid"> <?php while ($random_posts->have_posts()) :$random_posts->the_post();?> <div class="random-post-item"> <a class="random-post-link" href="<?php the_permalink();?>"> <div class="random-post-image"> <?php $thumbnail_url = get_the_post_thumbnail_url(get_the_ID(),'medium');if ($thumbnail_url) : ?> <div class="random-post-image-container" style="background-image:url(<?php echo esc_url($thumbnail_url);?>);"></div> <?php else :?> <div class="random-post-image-placeholder"></div> <?php endif;?> </div> <h4 class="random-post-title"><?php the_title();?></h4> </a> </div> <?php endwhile;?> </div> </div><?php endif;wp_reset_postdata();?><style>.random-posts-wrapper{margin:3rem 0;padding:2rem 0;border-top:1px solid #e5e5e5}.random-posts-heading{font-size:1.8rem;color:#333;margin-bottom:2rem;text-align:center}.random-posts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;max-width:1200px;margin:0 auto}.random-post-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,0.1);transition:transform 0.3s ease,box-shadow 0.3s ease}.random-post-item:hover{transform:translateY(-5px);box-shadow:0 5px 20px rgba(0,0,0,0.15)}.random-post-link{display:block;text-decoration:none;color:inherit}.random-post-image{position:relative;width:100%;height:200px;overflow:hidden}.random-post-image-container{width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;transition:transform 0.3s ease}.random-post-item:hover .random-post-image-container{transform:scale(1.05)}.random-post-image-placeholder{width:100%;height:100%;background-color:#f0f0f0;background-image:repeating-linear-gradient( 45deg,#f5f5f5,#f5f5f5 10px,#f0f0f0 10px,#f0f0f0 20px );display:flex;align-items:center;justify-content:center;color:#999;font-size:0.9rem}.random-post-image-placeholder::after{content:"Kein Bild"}.random-post-title{padding:1.5rem;margin:0;font-size:1.1rem;line-height:1.4;color:#333;font-weight:600;transition:color 0.3s ease}.random-post-item:hover .random-post-title{color:#4eb0dd}@media (max-width:768px){.random-posts-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.random-post-image{height:150px}.random-post-title{padding:1rem;font-size:1rem}.random-posts-heading{font-size:1.5rem;margin-bottom:1.5rem}}@media (max-width:480px){.random-posts-grid{grid-template-columns:1fr}.random-posts-wrapper{margin:2rem 0;padding:1.5rem 0}}.random-posts-grid.compact{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.random-posts-grid.compact .random-post-image{height:150px}.random-posts-grid.compact .random-post-title{padding:1rem;font-size:1rem}#_posts_grid-107-6613 .oxy-read-more{font-size:0.8em;color:#4eb0dd}#_posts_grid-107-6613 .oxy-easy-posts-pages{text-align:center}@media (max-width:991px){#_posts_grid-107-6613 .oxy-post{width:50% !important}}@media (max-width:991px){#_posts_grid-107-6613 .oxy-post{width:100% !important}}