

/* Start:/local/templates/travel/components/bitrix/news/blog/style.css?179451030016640*/
/* ==========================================================================
   Блог bash-tour.ru — стили списка статей и страницы статьи.
   Шаблон компонента news «blog»: Битрикс подключает этот файл сам, после стилей шаблона travel;
   использует его переменные (--color-main и др.), .container, .title, .breadcrumbs.
   Все свои классы начинаются с blog_.
   ========================================================================== */

/* Фон страниц блога — светло-серый, как в макете */
body:has(.blog_main),
body:has(.blog_article) {
	background-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Шапка списка: картинка, заголовок, поиск, рубрики
   -------------------------------------------------------------------------- */
.main.blog_main .container {
	max-width: 824px;
}
.main.blog_main .text {
	min-height: auto;
	margin-top: 0;
	padding: 144px 0 100px;
}
.main.blog_main .breadcrumbs ul {
	justify-content: center;
	margin-bottom: 25px;
}
.main.blog_main .title {
	margin-bottom: 20px;
}

.blog_search {
	position: relative;
	width: 100%;
	margin: 0 0 35px;
}
.blog_search input[type="text"] {
	width: 100%;
	height: 60px;
	padding: 0 70px 0 30px;
	border: 0;
	border-radius: 10px;
	background: var(--color-white);
	box-shadow: 0 4px 6.6px rgba(0, 0, 0, 0.25);
	font: 500 18px 'Inter', sans-serif;
	color: var(--color-black);
	outline: none;
}
.blog_search input[type="text"]::placeholder {
	color: var(--color-gray);
}
.blog_search button {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: 100%;
	padding: 0;
	border: 0;
	background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z' stroke='%239E9E9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M21 21L16.65 16.65' stroke='%239E9E9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") no-repeat center;
	cursor: pointer;
}

.blog_tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
}
.blog_tabs a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 19px;
	border: 1px solid var(--color-white);
	border-radius: 45px;
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
	color: var(--color-white);
}
.blog_tabs a:hover,
.blog_tabs a.active {
	background: var(--color-white);
	color: var(--color-main);
}

/* --------------------------------------------------------------------------
   Карточка статьи (в сетке, в слайдере и первая на странице статьи)
   -------------------------------------------------------------------------- */
.blog_card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 230px;
	height: 100%;
	padding: 20px;
	border-radius: 10px;
	overflow: hidden;
	color: var(--color-white);
	background: var(--color-light);
	isolation: isolate;
}
.blog_card_image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	-moz-transition: transform 0.4s ease;
	-o-transition: transform 0.4s ease;
	-webkit-transition: transform 0.4s ease;
	transition: transform 0.4s ease;
}
.blog_card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(41, 44, 51, 0.72) 18%, rgba(0, 0, 0, 0) 60%);
	z-index: -1;
}
a.blog_card:hover {
	color: var(--color-white);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
a.blog_card:hover .blog_card_image {
	transform: scale(1.04);
}
.blog_card_tag {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	height: 30px;
	padding: 0 19px;
	border-radius: 45px;
	background: var(--color-white);
	font-weight: 500;
	font-size: 13px;
	color: var(--color-main);
}
.blog_card_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 16px;
}
.blog_card_meta span {
	display: flex;
	align-items: center;
	white-space: nowrap;
}
.blog_card_meta span::before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	background: no-repeat center;
}
.blog_card_meta .date::before {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10.6667 2V4.4M5.33333 2V4.4M2 6.8H14M3.33333 3.2H12.6667C13.403 3.2 14 3.73726 14 4.4V12.8C14 13.4627 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.4627 2 12.8V4.4C2 3.73726 2.59695 3.2 3.33333 3.2Z' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}
.blog_card_meta .time::before {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='6.67' stroke='white'/%3e%3cpath d='M8 4V8L10.6667 9.33333' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}
.blog_card_title {
	max-width: 356px;
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.33;
	letter-spacing: 0.04em;
	text-transform: none;
	color: inherit;
}

/* --------------------------------------------------------------------------
   Сетка статей: 3 колонки, 1-я карточка большая, 6-я и 9-я — высокие.
   Раскладка задаётся порядковым номером, отдельные классы статьям не нужны.
   -------------------------------------------------------------------------- */
.blog_list {
	padding: 15px 0 0;
}
.blog_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 230px;
	grid-auto-flow: dense;
	gap: 20px;
}
.blog_grid .blog_card:nth-child(13n+1) {
	grid-column: span 2;
	grid-row: span 2;
	padding: 30px;
}
.blog_grid .blog_card:nth-child(13n+1) .blog_card_title {
	max-width: 650px;
	font-size: 20px;
}
.blog_grid .blog_card:nth-child(13n+6),
.blog_grid .blog_card:nth-child(13n+9) {
	grid-row: span 2;
}
.blog_empty {
	padding: 40px 0;
	font-size: 18px;
	text-align: center;
	color: var(--color-gray);
}

/* Постраничная навигация */
.blog_pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0;
	margin: 50px 0 0;
	list-style: none;
}
.blog_pagination a,
.blog_pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 45px;
	height: 45px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--color-white);
	font-size: 18px;
	color: var(--color-black);
}
.blog_pagination a:hover {
	color: var(--color-main);
}
.blog_pagination .active {
	background: var(--color-second);
}
.blog_pagination .prev,
.blog_pagination .next {
	min-width: 24px;
	margin: 0 20px;
	background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18.5L9 12.5L15 6.5' stroke='%239E9E9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") no-repeat center;
	font-size: 0;
}
.blog_pagination .next {
	transform: rotate(180deg);
}
.blog_pagination a.prev:hover,
.blog_pagination a.next:hover {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18.5L9 12.5L15 6.5' stroke='%23303030' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Страница статьи
   -------------------------------------------------------------------------- */
.blog_article .breadcrumbs {
	grid-area: crumbs;
	min-width: 0;
}
.blog_article .breadcrumbs ul {
	margin-bottom: 0;
}
.blog_article .breadcrumbs li:last-child {
	min-width: 0;
}
.blog_article .breadcrumbs li:last-child span {
	max-width: 460px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.blog_article_row {
	display: grid;
	grid-template-columns: minmax(0, 907fr) minmax(0, 289fr);
	grid-template-areas:
		"crumbs crumbs"
		"head side"
		"body .";
	gap: 35px 21px;
}
.blog_article_head {
	grid-area: head;
	min-height: 439px;
	padding: 30px;
}
.blog_article_head .blog_card_tag {
	top: 30px;
	right: 30px;
}
.blog_article_head .blog_card_meta {
	margin-bottom: 15px;
	font-size: 15px;
	line-height: 18px;
}
.blog_article_head .blog_card_title {
	max-width: 815px;
	font-size: 25px;
	text-align: left;
}
.blog_article_body {
	grid-area: body;
	padding: 40px;
	border-radius: 10px;
	background: var(--color-white);
}

/* Содержание (собирается скриптом из заголовков h2 статьи) */
.blog_toc {
	padding: 30px 40px;
	margin: 0 0 40px;
	border-radius: 10px;
	background: #f8f8f8;
}
.blog_toc_title {
	margin: 0 0 10px;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.5;
	color: var(--color-gray);
}
.blog_toc ol {
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: toc;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
}
.blog_toc li {
	padding: 7px 0;
	counter-increment: toc;
}
.blog_toc li::before {
	content: counter(toc) ". ";
}
.blog_toc a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.blog_toc li:hover,
.blog_toc a:hover {
	color: var(--color-main);
}

/* Текст статьи: оформляются обычные теги из визуального редактора Битрикса */
.blog_text {
	font-size: 15px;
	line-height: 1.5;
}
.blog_text > *:first-child {
	margin-top: 0;
}
.blog_text > *:last-child {
	margin-bottom: 0;
}
.blog_text h2 {
	margin: 40px 0 25px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.2;
	text-transform: none;
	scroll-margin-top: 110px;
}
.blog_text h3 {
	margin: 25px 0 15px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	text-transform: none;
}
.blog_text p {
	margin: 0 0 22px;
}
.blog_text a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.blog_text a:hover {
	color: var(--color-main);
}
.blog_text img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 457px;
	margin: 35px 0;
	border-radius: 10px;
	object-fit: cover;
}
.blog_text ul,
.blog_text ol {
	padding: 0;
	margin: 0 0 22px;
	line-height: 1.3;
}
.blog_text ul {
	list-style: none;
}
.blog_text ol {
	padding-left: 20px;
}
.blog_text li {
	margin: 0 0 10px;
}
.blog_text ul li {
	position: relative;
	padding-left: 19px;
}
.blog_text ul li::before {
	content: "";
	position: absolute;
	top: 0.65em;
	left: 0;
	width: 9px;
	height: 9px;
	margin-top: -4.5px;
	border-radius: 50%;
	background: var(--color-main);
}
.blog_text blockquote {
	position: relative;
	padding: 0 0 0 19px;
	margin: 25px 0;
	font-style: italic;
	line-height: 1.4;
}
.blog_text blockquote::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 4px;
	border-radius: 10px;
	background: var(--color-main);
}
.blog_text blockquote p {
	margin: 0;
}

.blog_share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
	margin: 40px 0 0;
	font-weight: 500;
	font-size: 18px;
	color: var(--color-gray);
}
.blog_share_links {
	display: flex;
	gap: 8px;
}
.blog_share_links a {
	display: block;
	width: 30px;
	height: 30px;
}
.blog_share_links a:hover {
	opacity: 0.75;
}
.blog_share_links img {
	display: block;
	width: 100%;
	height: 100%;
}

/* Популярные статьи */
.blog_popular {
	grid-area: side;
	align-self: start;
	padding: 30px 20px 15px;
	border-radius: 10px;
	background: var(--color-white);
}
.blog_popular_title {
	margin: 0 0 5px;
	font-weight: 600;
	font-size: 15px;
	text-transform: uppercase;
	color: var(--color-gray);
}
.blog_popular ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.blog_popular li + li {
	border-top: 1px solid #e2e7eb;
}
.blog_popular a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.14;
}
.blog_popular a:hover {
	color: var(--color-main);
}
.blog_popular img {
	flex: 0 0 59px;
	width: 59px;
	height: 59px;
	border-radius: 5px;
	object-fit: cover;
}

/* Блок «Вам может понравиться» */
.blog_more {
	padding-top: 120px;
}
.blog_slider .swiper-slide {
	height: 230px;
}
.blog_slider .swiper-navigations {
	margin-top: 20px;
}
.blog_slider .swiper-pagination {
	display: none;
}

/* --------------------------------------------------------------------------
   Планшет
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.blog_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.blog_article_row {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"crumbs"
			"head"
			"body"
			"side";
		gap: 30px;
	}
	.blog_article_head {
		min-height: 360px;
	}
	.blog_more {
		padding-top: 70px;
	}
}

/* --------------------------------------------------------------------------
   Телефон
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.main.blog_main .text {
		padding: 137px 0 70px;
	}
	.main.blog_main .breadcrumbs ul {
		margin-bottom: 20px;
		font-size: 13px;
	}
	.main.blog_main .title {
		margin-bottom: 25px;
	}
	.blog_search {
		margin-bottom: 25px;
	}
	.blog_search input[type="text"] {
		height: 48px;
		padding: 0 50px 0 15px;
		font-size: 15px;
	}
	.blog_search button {
		width: 50px;
	}
	.blog_tabs a {
		height: 34px;
		padding: 0 25px;
	}

	.blog_list {
		padding: 50px 0 40px;
	}
	.blog_grid {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: minmax(230px, auto);
	}
	.blog_grid .blog_card:nth-child(n) {
		grid-column: auto;
		grid-row: auto;
		padding: 20px;
	}
	.blog_card_tag {
		top: 15px;
		right: 15px;
	}
	.blog_card_meta {
		margin-bottom: 15px;
	}
	.blog_card_title,
	.blog_grid .blog_card:nth-child(13n+1) .blog_card_title,
	.blog_article_head .blog_card_title {
		font-size: 15px;
	}
	.blog_card:not(.blog_article_head) .blog_card_title {
		padding-right: 15px;
	}
	.blog_pagination {
		margin-top: 40px;
	}
	.blog_pagination a,
	.blog_pagination span {
		min-width: 35px;
		height: 35px;
		font-size: 15px;
	}
	.blog_pagination .prev,
	.blog_pagination .next {
		min-width: 14px;
		margin: 0 8px;
		background-size: 18px;
	}
	.blog_pagination .mobile_hide {
		display: none;
	}

	.blog_article .breadcrumbs ul {
		font-size: 13px;
	}
	.blog_article .breadcrumbs li:last-child span {
		max-width: 100%;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.blog_article_row {
		gap: 20px;
	}
	.blog_article_head {
		min-height: 230px;
		padding: 20px;
	}
	.blog_article_head .blog_card_tag {
		top: 15px;
		right: 15px;
	}
	.blog_article_head .blog_card_meta {
		font-size: 13px;
		line-height: 16px;
	}
	.blog_article_body {
		padding: 20px;
	}
	.blog_toc {
		padding: 25px 15px;
	}
	.blog_toc_title {
		margin-bottom: 15px;
		font-size: 18px;
	}
	.blog_toc ol {
		font-size: 15px;
		line-height: 1.5;
	}
	.blog_toc li {
		padding: 8px 0;
	}
	.blog_toc li::before {
		content: none;
	}
	.blog_text h2 {
		margin: 40px 0 25px;
		font-size: 20px;
	}
	.blog_text h3 {
		font-size: 15px;
	}
	.blog_text p {
		margin-bottom: 20px;
	}
	.blog_text img {
		margin: 30px 0;
	}
	.blog_share {
		flex-direction: column;
		align-items: flex-start;
	}
	.blog_share_links {
		gap: 15px;
	}
	.blog_share_links a {
		width: 40px;
		height: 40px;
	}
	.blog_more {
		padding-top: 60px;
	}
	.blog_slider .swiper-navigations {
		display: none;
	}
	.blog_slider .swiper-pagination {
		position: static;
		display: block;
		margin: 20px 0 0;
	}
	.blog_slider .swiper-slide {
		width: 320px;
		max-width: 88vw;
	}
}

/* Ссылка в тексте «ничего не нашлось» */
.blog_empty a {
	text-decoration: underline;
	color: var(--color-main);
}

/* End */
/* /local/templates/travel/components/bitrix/news/blog/style.css?179451030016640 */
