/**
Theme Name: Astra Child
Description: Child theme for Astra.
Author: Lenokers
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

.product-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-breadcrumbs__item,
.product-breadcrumbs__separator {
	margin: 0;
}

/**
 * Keep native WordPress category archives aligned with the compact Elementor
 * hero used by Blog. These archives are rendered by Astra, not Theme Builder.
 */
body.category .site-content {
	background: #fff;
}

body.category .site-content > .ast-container {
	display: block;
	max-width: none;
	padding: 0;
}

body.category .ast-archive-description {
	margin: 0;
	padding: 44px max(24px, calc((100vw - 1200px) / 2));
	background: #f4f7fa;
}

body.category .ast-archive-title {
	max-width: 1200px;
	margin: 0 auto;
	font-family: 'Outfit';
	font-size: clamp(34px, 4vw, 60px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.035em;
	color: #0b1728;
	overflow-wrap: anywhere;
}

body.category #primary {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 20px 80px;
}

body.category .ast-row {
	margin: 0;
}

body.category .ast-article-post {
	margin: 0;
	padding: 0;
	background: transparent;
}

body.category .ast-article-post .ast-article-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	padding: 0;
	border: 1px solid #dfe5eb;
	background: #fff;
}

body.category .ast-article-post .post-content {
	display: contents;
}

body.category .ast-blog-featured-section {
	grid-column: 1;
	grid-row: 1 / span 5;
	margin: 0;
}

body.category .ast-blog-featured-section img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

body.category .entry-title,
body.category .entry-header,
body.category .ast-excerpt-container,
body.category .ast-read-more-container {
	grid-column: 2;
	margin-right: 40px;
	margin-left: 40px;
}

body.category .entry-title {
	align-self: end;
	margin-top: 40px;
	font-size: 34px;
	line-height: 1.15;
}

body.category .ast-read-more-container {
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	body.category .ast-archive-description {
		padding: 36px 24px;
	}

	body.category #primary {
		padding: 44px 24px 64px;
	}

	body.category .ast-article-post .ast-article-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body.category .ast-blog-featured-section {
		grid-column: 1;
		grid-row: auto;
	}

	body.category .ast-blog-featured-section img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	body.category .entry-title,
	body.category .entry-header,
	body.category .ast-excerpt-container,
	body.category .ast-read-more-container {
		grid-column: 1;
		margin-right: 28px;
		margin-left: 28px;
	}

	body.category .entry-title {
		margin-top: 28px;
		font-size: 28px;
	}

	body.category .ast-read-more-container {
		margin-bottom: 28px;
	}

	/*
	 * The single-post hero is an Elementor Theme Builder V3 template.
	 * Its desktop featured-image width (49%) otherwise survives after the
	 * flex row wraps, producing a narrow, vertically stretched image.
	 */
	.elementor-2421 .elementor-element.elementor-element-6659819 {
		width: 100%;
		max-width: 100%;
		--container-widget-width: 100%;
	}

	.elementor-2421 .elementor-element.elementor-element-6659819 img {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
}
