/**
 * Stories Category Archive — Styles
 *
 * Applica ai template taxonomy-philantrop_stories_category.php gli stessi stili
 * che philantrop_plugin.css applica al widget Elementor Stories, altrimenti
 * non caricato sulle pagine tassonomia.
 */

/* ===== Titoli: stessa scala del widget stories di philantrop_plugin.css ===== */
.philantrop_stories_wrapper .heading__title {
	margin-bottom: 30px;
	font-size: 32px;
}

@media only screen and (min-width: 992px) {
	.philantrop_stories_wrapper .heading__title {
		font-size: 40px;
	}
}

@media only screen and (min-width: 1200px) {
	.philantrop_stories_wrapper .heading__title {
		font-size: 50px;
	}
}

/* ===== Numeri contatore: nascosti (su cosa-vedere sono trasparenti via Elementor) ===== */
.philantrop_stories_wrapper .heading__pre-title {
	display: none;
}

/* ===== Margine sotto l'excerpt prima del tasto ===== */
.philantrop_stories_wrapper .philantrop_excerpt {
	margin-bottom: 48px;
}

/* ===== Spaziatura tra items (stessa del widget stories) ===== */
.philantrop_stories_wrapper .stories-item {
	margin-bottom: 150px;
}

/* ===== Posizionamento img-box (necessario per il layout corretto) ===== */
.philantrop_stories_wrapper .stories-item .img-box {
	padding-right: 5px;
	position: relative;
}

.philantrop_stories_wrapper .stories-item .img-box .img-box__img {
	position: relative;
	z-index: 5;
}

.philantrop_stories_wrapper .stories-item .img-box .img-box__img img {
	width: 100%;
}

.philantrop_stories_wrapper .stories-item .img-box .img-box__content {
	width: 100%;
	padding: 0 60px 50px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 7;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 1181px) {
	.philantrop_stories_wrapper .stories-item {
		margin-bottom: 100px;
	}
}

@media only screen and (max-width: 821px) {
	.philantrop_stories_wrapper .stories-item {
		margin-bottom: 80px;
	}

	.philantrop_stories_wrapper .philantrop_excerpt {
		margin-bottom: 38px;
	}
}

@media only screen and (max-width: 430px) {
	.philantrop_stories_wrapper .stories-item .img-box .img-box__content {
		padding: 0 20px 10px;
	}
}
