/*
Theme Name: Sozialdienst Astra Child
Description: Astra-Free compatibility layer for the Sozialdienst Germering archive layout.
Author: EsperoTech
Template: astra
Version: 0.1.1
Text Domain: sozialdienst-astra-child
*/

/*
 * Astra Pro previously rendered the news archive as one full-width row per
 * post. The child theme keeps that established contract while Astra Free owns
 * the surrounding site layout, typography, colours and responsive settings.
 */
.sozialdienst-blog-layout-3 {
	display: flex;
	align-items: stretch;
}

.sozialdienst-blog-layout-3 > .ast-blog-featured-section,
.sozialdienst-blog-layout-3 > .post-content {
	flex: 0 0 50%;
	max-width: 50%;
}

.sozialdienst-blog-layout-3 .post-thumb {
	position: relative;
}

.sozialdienst-blog-layout-3 > .post-content {
	padding-left: 2em;
}

.sozialdienst-blog-layout-3 .entry-title {
	font-weight: 500;
	line-height: 1.23;
}

.sozialdienst-blog-layout-3 .ast-excerpt-container {
	font-size: 0.8888889em;
}

.ast-separate-container .ast-grid-1 .sozialdienst-blog-layout-3 {
	padding: 0;
}

body.ast-blog-layout-3.ast-separate-container #primary {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.ast-separate-container .ast-grid-1 .ast-separate-posts {
	margin-bottom: 2em;
}

@media (min-width: 1201px) {
	.ast-separate-container .ast-grid-1 .ast-separate-posts {
		padding: 80px;
	}
}

@media (max-width: 1200px) {
	.ast-separate-container .ast-grid-1 .ast-separate-posts {
		padding: 1.5em 2.14em;
	}
}

@media (max-width: 921px) {
	body.ast-blog-layout-3.ast-separate-container #primary {
		margin-top: 1.5em;
		margin-bottom: 1.5em;
	}
}

@media (max-width: 768px) {
	.sozialdienst-blog-layout-3 {
		display: block;
	}

	.sozialdienst-blog-layout-3 > .ast-blog-featured-section,
	.sozialdienst-blog-layout-3 > .post-content {
		width: 100%;
		max-width: none;
		padding-left: 0;
	}
}

@media (max-width: 544px) {
	.ast-separate-container .ast-grid-1 .ast-separate-posts {
		padding-right: 1em;
		padding-left: 1em;
	}
}
