

/* Start:/bitrix/templates/sobakaulybaka/components/bitrix/news.list/news_home/style.css?17369756524436*/
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0px 0px;
    grid-template-areas: "item1 item1 item1 item2 item2 item2" "item1 item1 item1 item3 item3 item3" "item1 item1 item1 item4 item4 item4";
}

.item1 {
    grid-area: item1;
}

.item2 {
    grid-area: item2;
}

.item3 {
    grid-area: item3;
}

.item4 {
    grid-area: item4;
}

@media all and (-ms-high-contrast:none) {
    .grid-container {
        display: -ms-grid;
        -ms-grid-columns: repeat(6, 1fr);
        -ms-grid-rows: repeat(3, 1fr);
    }

    .item1 {
        -ms-grid-row: 1;
        -ms-grid-row-span: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .item2 {
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        -ms-grid-column: 4;
        -ms-grid-column-span: 3;
    }

    .item3 {
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        -ms-grid-column: 4;
        -ms-grid-column-span: 3;
    }

    .item4 {
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        -ms-grid-column: 4;
        -ms-grid-column-span: 3;
    }
}

.news_item.item1 a.news_item_img {
    background-repeat: no-repeat !important;
    min-height: 207px;
    display: block;
    max-width: 540px;
    background-position: center !important;
    background-size: cover !important;
}

a.news_item_img {
    background-repeat: no-repeat !important;
    min-height: 132px;
    display: inline-block;
    max-width: 175px;
    width: 175px;
    background-position: center !important;
    background-size: cover !important;
    /* float: left; */
    /* display: block; */
    vertical-align: top;
    /* display: block; */
    /* text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    overflow: hidden;
}

.news_item span {
    background-color: #f0f5f7;
    /* padding: 20px 25px; */
    /* padding-right: 10px; */
    /* display: block; */
    /* padding: 30px; */
    height: 100%;
    float: right;
    max-width: calc(100% - 175px);
    width: 100%;
    display: inline-block;
    vertical-align: top;
    padding: 20px 25px;
}

.news_item.item1 span {
    background-color: #f0f5f7;
    /* padding: 20px 25px; */
    /* padding-right: 10px; */
    /* display: block; */
    padding: 30px;
    height: 51%;
    float: right;
    max-width: calc(100% - 0px);
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

.news_item.item1 a.news_item_img {
    background-repeat: no-repeat !important;
    min-height: 207px;
    display: block;
    max-width: 100%;
    width: 100%;
    background-position: center !important;
    background-size: cover !important;
    /* float: left; */
    /* display: block; */
    vertical-align: top;
    /* display: block; */
}

.news_item.item1 {
    margin-right: 15px;
}

.news_item.item2 {
    margin-left: 15px;
}

.news_item.item3 {
    margin-left: 15px;
}

.news_item.item4 {
    margin-left: 15px;
}

.grid-container.container.home_news {
    /* margin: 0; */
    /* padding: 0; */
    padding-top: 70px;
    padding-bottom: 70px;
}

.news_item {
    margin-bottom: 15px;
}

a.news_item_img img {
    transform: scale(1.3);
}

.news_item.item1 a.news_item_img img {
    transform: scale(1.0);
}

.news_item {
    width: 100%;
    display: block;
}

p.news_date {
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

p.news_name a {
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 991px) {
    .grid-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 0px 0px;
        grid-template-areas: "item1" "item2" "item3" "item4";
    }

    .news_item.item1 a.news_item_img img {
        transform: scale(1.0);
        width: 100%;
    }

    .news_item.item1 {
        margin-right: 0px;
        margin-bottom: 15px;
    }

    .news_item.item2 {
        margin-left: 0px;
        margin-bottom: 15px;
        /* margin-top: 15px; */
        max-height: 130px;
    }

    .news_item.item3 {
        margin-left: 0px;
        margin-bottom: 15px;
    }

    .news_item.item4 {
        margin-left: 1px;
        margin-bottom: 15px;
    }

    .news_item span {
        height: calc(175px - 40px);
    }

    .news_item.item1 span {
        height: calc(175px - 40px);
    }
}

/* End */


/* Start:/bitrix/templates/sobakaulybaka/components/bitrix/news.list/top3/style.css?17581898941735*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

	.hashtags {
		margin-top: 30px;
		color: #7f8c8d;
		font-style: italic;
		text-align: center;
	}
	
	/* Модальное окно */
	.modal {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.7);
		z-index: 1000;
		overflow: auto;
	}
	
	.modal-content {
		position: relative;
		background-color: #fff;
		margin: 5% auto;
		padding: 30px;
		width: 85%;
		max-width: 800px;
		border-radius: 10px;
		box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
		animation: modalopen 0.4s;
	}
	
	@keyframes modalopen {
		from {
			opacity: 0;
			transform: translateY(-60px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	.close {
		position: absolute;
		top: 15px;
		right: 20px;
		font-size: 28px;
		font-weight: bold;
		color: #aaa;
		cursor: pointer;
		transition: color 0.3s;
	}
	
	.close:hover {
		color: #333;
	}
	
	.modal-header {
		padding: 10px 0;
		border-bottom: 1px solid #eee;
		margin-bottom: 20px;
	}
	
	.modal-body {
		max-height: 70vh;
		overflow-y: auto;
		padding-right: 10px;
	}
	

	

	
	/* Адаптивность */
	@media (max-width: 768px) {

		
		.modal-content {
			width: 95%;
			margin: 10% auto;
			padding: 20px;
		}


	}
		button#conditionsBtn {
			margin: 0 auto;
			display: block;
			margin-bottom: 30px;
			max-width: max-content;
			border-radius: 15px;
			background: rgb(158, 34, 42);
			color: rgb(255, 255, 255) !important;
			font-size: 18px;
			font-weight: 700;
			line-height: 18px;
			text-align: center;
			text-transform: uppercase;
			padding: 15px 30px;
		}
/* End */
/* /bitrix/templates/sobakaulybaka/components/bitrix/news.list/news_home/style.css?17369756524436 */
/* /bitrix/templates/sobakaulybaka/components/bitrix/news.list/top3/style.css?17581898941735 */
