/*
Theme Name: Astra Child
Theme URI: https://roemertopf.de
Description: Ein Child Theme von Astra
Author: BD-8
Author URI: http://example.com
Template: astra
Version: 1.0.0
*/

/* Hier kommen deine CSS-Anpassungen */

/* Globals */
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { color: #fff !important; }

/* Header */
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, 
.ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, 
.ast-builder-menu-1 .current-menu-ancestor>.menu-link,
a:focus, a:hover,
.ast-builder-menu-1 .menu-item:hover {
	color: #b61e29 !important;
} 
.main-header-bar { border-bottom-width: 0px; }
.main-header-bar.ast-header-breadcrumb { background: rgba(0,0,0,.05);}
.ast-search-icon,
.ast-below-header-wrap .ast-grid-right-section { display: none;  }
.ast-header-search {
	width: 90%;
	max-width: 1280px;
}
.ast-header-search > div { width: 100%; }
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input { font-size: 16px !important;}

/* Single Post */
.ast-single-entry-banner {
	background: #fff;
}
.ast-single-entry-banner h1 {
    max-width: 960px;
    display: inline-block;
    margin: 0 auto;
    text-wrap: balance;
} 
.ast-single-entry-banner[data-post-type="post"] .post-thumb img, .ast-single-post-featured-section img {
	object-fit: cover;
	aspect-ratio: auto;
	max-width: 600px;
	border-radius: 9px;
}
.entry-content > .wp-block-columns { padding-left: 0; padding-right: 0; }

.site .ast-single-related-posts-container { padding: 0; }
.ast-related-posts-wrapper .ast-related-post { background: #f6f6f6; }
.ast-related-posts-wrapper .entry-header.related-entry-header,
.ast-related-posts-wrapper .ast-related-post-excerpt { padding: 0 10px; }
.ast-related-posts-wrapper .ast-related-post img { aspect-ratio: 16/9; object-fit:cover; }

/* Archive Kategorie */
body.archive .ast-archive-description { padding-left: 0; padding-right: 0; padding-bottom: 0;}
.ast-article-post .post-thumb-img-content img {
	object-fit: cover;
}

/* Home */
body.home .main-header-bar.ast-header-breadcrumb { display: none; }
body.home .slick-track .slick-slide .uagb-post__inner-wrap {
	aspect-ratio: 1/1;
	display: flex !important;
    align-items: flex-end;
    justify-content: center;
}
body.home .uagb-post-grid.uagb-post__items.is-carousel { padding: 0; }
body.home .uagb-post__image-position-background .uagb-post__image img { width: 100%; height: 100%; object-fit: cover; }
body.home .uagb-post__title.uagb-post__text { padding: 15px; text-align: center; }