/**
 * Tekro theme customizations.
 *
 * Добавляйте стили темы ниже. Этот файл загружается после основных стилей темы.
 */

/* Equal-height cards in initialized Owl Carousel sliders. */
.init-carousel-owl.owl-loaded .owl-stage {
	display: flex;
	align-items: stretch;
}

.init-carousel-owl.owl-loaded .owl-item {
	display: flex;
	height: auto;
}

.init-carousel-owl.owl-loaded .owl-item > * {
	width: 100%;
}

/* Gavias post carousel markup: .owl-item > .all > article > .post-block. */
.init-carousel-owl.owl-loaded .owl-item > .all,
.init-carousel-owl.owl-loaded .owl-item > .all > article {
	display: flex;
	width: 100%;
	height: 100%;
}

.init-carousel-owl.owl-loaded .owl-item > .all > article > .post-block {
	width: 100%;
}

/* Stretch icon-box content to the full height of an equalized carousel card. */
.init-carousel-owl.owl-loaded .icon-box-item-content {
	display: flex;
	align-items: stretch;
}

.init-carousel-owl.owl-loaded .icon-box-item-content > .icon-box-item-inner {
	flex: 1 1 auto;
	width: 100%;
}

.news-flex-column .elementor-widget-wrap {
	flex-direction: column;
}

.news-flex-height,
.art-flex-height {
	flex-grow: 1;
}

.news-flex-height .elementor-widget-container,
.art-flex-height .elementor-widget-container,
.art-flex-height .elementor-widget-container .elementor-posts-container  {
	height: 100%;
}

.art-flex-height .elementor-widget-container .elementor-posts-container .elementor-post__text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.news-flex-height .elementor-grid {
	display: flex;
    flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.news-main .post-block {
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
}

.news-main .post-block .entry-content {
	flex-grow: 1;
}