/*
Theme Name: Monastery
Author: stepan_1
Author URI:
Version: 1.0
Text Domain: monastery
*/

.header .item-social {
	display: flex;
    align-items: center;
    justify-content: center;
}

.item-calendar__day {
	min-width: 135px;
    max-width: 135px;
}

.date,
.item-document__date,
.news-block__content .badge,
.item-calendar__day-name {
  text-transform: lowercase;
}

.item-video-main__video {
	max-height: 100% !important;
}

.item-video-main--youtube.video-active .item-video-main__body,
.item-video-main--youtube.video-active .item-video-main__overlay {
  display: none;
}

.input-search__icon {
	width: 20px;
}

.news-block__content img {
	margin: 15px 0;
}

.text-block strong {
  font-weight: 600;
  color: var(--color-black);
}

.news-block__content--noborder {
  border-bottom: none;
}

.schedule-item__time {
  min-width: 40px;
}

.news-block__content a {
	text-decoration: underline;
	color: blue;
}

.item-calendar__text p {
	max-width: 800px;
	line-height: 1.5;
}

.item-calendar__text img {
	max-width: 200px;
	margin: 15px 0;
}

.developer-sign {
	text-decoration: underline;
}
.developer-sign:hover {
	text-decoration: none;
}

/* .news-items {
	grid-template-rows: repeat(2,minmax(0,1fr));
} */

.item-news__text {
	margin-top: 10px;
}

.church-symbol {
	position: absolute;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    top: 3px;
}

.item-news__body {
	--tw-gradient-from-position: -55%;
}

.item-calendar__title {
  text-transform: lowercase;
}

.item-news__title {
	line-height: 1.35;
}

.item-news__text {
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: 5em;
	margin-top: 0px;
}

.item-calendar__text {
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 5em;
}

.item-video h3 {
	line-height: 1.35;
}

.news-block {
	padding-bottom: 16px;
}

.news-block__actions {
	margin-bottom: 40px;
}

.news-block iframe {
	width: 100%;
    aspect-ratio: 2 / 1;
    height: 100%;
}

@media screen and (min-width: 1280px) {
	.news-items {
		grid-template-rows: repeat(2,minmax(0,1fr));
	}
	.news-gallery__grid {
		grid-template-columns: repeat(7,1fr);
	}
}

@media screen and (max-width: 768px) {
	.church-symbol {
		width: 120px;
	}
	.schedule-full,
	.news-items {
		height: auto;
	}
	.item-news__title {
		font-size: 14px;
	}
	.item-news__text {
		font-size: 12px;
		margin-top: 0;
	}
	.item-news__body {
		--tw-gradient-from-position: -40%;
	}
}
