/*
 Theme Name:   Kadence ZHD
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Twenty Fifteen Child Theme
 Author:       VSlug.ru
 Author URI:   https://vslug.ru
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  kadence-zhd
*/

h2 {
	margin-top: 10px !important;
}

h3 {
	margin-top: 6px !important;
}


@media (max-width: 768px) {
	h1 {
		font-size: 26px !important;
		line-height: 1.33 !important;
	}
	
	h2 {
		font-size: 24px !important;
		line-height: 1.33 !important;
	}
}




.entry-content-wrap .uxie-tt-sched-widget,
.entry-content-wrap .uxie-tt-sched-widget--widest {
    max-width: initial !important;
}

.entry-content-wrap .uxie-tt-sched-trains {
/* 	border: 1px solid #d7d7d7 !important; */
}




.entry-hero.page-hero-section .entry-header {
    padding-top: 24px;
	padding-bottom: 24px;
}

.entry-hero.page-hero-section .entry-header {
    padding-top: 24px;
	padding-bottom: 24px;
}




.head-main-form .cascoon-root.cascoon-search-form {
	padding: 0px !important;
	margin-bottom: 8px !important;
}

@media (max-width: 768px) {
	.head-main-form {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
		
	.head-main-form .cascoon-root.cascoon-search-form {
		margin-bottom: 0px !important;
	}
}







.head-text {
	color: #fff;
	font-weight: 500;
    margin-top: 4px;
    margin-bottom: 24px;
	font-size: 18px;
}

@media (max-width: 768px) {
	.head-text {
		font-size: 16px;
		margin-top: 14px;
	}
}






.zhd-page-block {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.zhd-page-block .col-1 {
	background: #edf2f7;
	padding: 16px 24px;
	width: 50%;
}

.zhd-page-block .col-1 p {
	margin-top: 0px;
	margin-bottom: 8px;
}

.zhd-page-block .col-1 p:last-child {
	margin-bottom: 0px;
}

.zhd-page-block .col-2 {
	position: relative;
	width: 50%;
	background-image: url('https://zhd-poezd.ru/wp-content/uploads/2022/08/sky-train.jpg');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.zhd-page-block .col-2 p {
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    margin: 0px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: 700;
}

@media (max-width: 768px) {
	.zhd-page-block {
		display: block;
	}

	.zhd-page-block .col-1 {
		width: 100%;
	}
	
	.zhd-page-block .col-2 {
		width: 100%;
		min-height: 200px;
		margin-top: 24px;
	}
}






.site-top-footer-inner-wrap {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

#inner-wrap .content-area {
	margin-bottom: 2.5rem;
}


@media (max-width: 768px) {
	.site-top-footer-inner-wrap {
		grid-row-gap: 0px !important;
		padding-top: 24px !important;
		padding-bottom: 24px !important;
	}
	
	.site-top-footer-inner-wrap .footer-html,
	.site-top-footer-inner-wrap p {
		margin: 0px !important;
		font-size: 16px;
	}
}






/* Home page */

.single-content .home-popular {
	margin-top: 32px !important;
	margin-bottom: 24px !important;
}

.single-content .home-plus {
	margin-bottom: 24px !important;
}







/* Блок с картинкой по высоте колонки */
.test-image .wp-container-2 > .wp-block-cover {
	height: 100%;
}

.test-image .wp-container-1 {
	background: #edf2f7;
	padding: 16px 24px;
	text-align: justify;
}

.test-image .wp-container-1 p {
	margin-bottom: 8px;
}



/* @media (max-width: 768px) {
	h2 {
		margin-top: 8px !important;
	}
} */

.grid-city {
	display: flex;
    flex-wrap: wrap;
	margin-bottom: 24px;
}

.grid-city a {
	width: 33.33%;
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	.grid-city a {
		width: 100%;
		margin-bottom: 8px;
	}
}


/* Пагинация для направлений */

.cities-pagination {
	list-style: none;
    margin: 0px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.cities-pagination li {
	display: inline-block;
}

.cities-pagination li a {
	padding: 4px;
    background: #edf2f7;
    border-radius: 8px;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.cities-pagination li.pass,
.cities-pagination li.active {
	padding: 4px;
    background: #edf2f7;
    border-radius: 8px;
    height: 36px;
    width: 36px;
	min-width: 36px;
	display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 768px) {
	.cities-pagination li a,
	.cities-pagination li.pass,
	.cities-pagination li.active {
		height: 32px;
		width: 32px;
		min-width: 32px;
	}
}


.cities-pagination li.active {
    background: #b20303;
	color: #fff;
}