/* ===== TourTrans Homepage Premium ===== */

.home.page .site-content {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.home.page .entry-header {
	display: none;
}

.home.page .entry-body {
	background: transparent;
	box-shadow: none;
	padding: 0;
	max-width: 100%;
}

.home.page .entry-content {
	width: 100%;
	max-width: 100%;
}

.home.page .entry-content > p:first-child {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

/* ===== SECTIONS ===== */

.tt-home-section {
	max-width: 1200px;
	margin: 44px auto 0;
	padding: 0 10px;
}

.tt-home-section__head {
	text-align: center;
	margin-bottom: 22px;
}

.tt-section-title {
	margin: 0 0 8px;
	font-size: 36px;
	line-height: 1.12;
	letter-spacing: -0.3px;
	color: #1b2433;
}

.tt-section-subtitle {
	max-width: 760px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.65;
	color: #66758a;
}

/* ===== POPULAR TRANSFERS ===== */

.tourtrans-home-transfers {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
}

.tourtrans-home-transfers .grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
	margin: 0 -10px;
}

.tourtrans-home-transfers .grid > article {
	width: 100%;
	padding: 10px;
	max-width: 270px;
	display: flex;
}

.tourtrans-home-transfers .card {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(22, 34, 51, 0.06);
	background: #ffffff;
	position: relative;
	transition: all .3s ease;
	overflow: hidden;
	border: 1px solid #edf1f5;
	display: flex;
	flex-direction: column;
}

.tourtrans-home-transfers .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(22, 34, 51, 0.10);
}

.tourtrans-home-transfers .card:hover .card__media img {
	transform: scale(1.06);
}

.tourtrans-home-transfers .card__media {
	display: block;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}

.tourtrans-home-transfers .card__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: all .35s ease;
}

.tourtrans-home-transfers .card__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.tourtrans-home-transfers .card__subtitle {
	font-size: 11px;
	color: #7a8899;
	text-transform: uppercase;
	font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial, sans-serif;
	letter-spacing: 1px;
	padding: 0;
	float: none;
	width: auto;
	margin-bottom: 10px;
	display: inline-block;
}

.tourtrans-home-transfers .card__title {
	font-size: 1.05em;
	line-height: 1.3;
	margin: 0 0 8px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	clear: both;
}

.tourtrans-home-transfers .card__title a {
	color: #1c2434;
	text-decoration: none;
}

.tourtrans-home-transfers .card__title a:hover {
	color: #1f4fa3;
}

.tourtrans-home-transfers .card__content {
	clear: both;
	font-size: 14px;
	line-height: 1.55;
	color: #5d6b7a;
}

.tourtrans-home-transfers .card__content p {
	margin: 0;
}

.tourtrans-home-transfers a:hover {
	text-decoration: none;
}

/* ===== WHY TOURTRANS ===== */

.tt-advantages {
	max-width: 1120px;
	margin: 55px auto;
	padding: 0 20px;
}

.tt-advantages .tt-section-title {
	text-align: center;
	margin-bottom: 26px;
}

.tt-advantages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.tt-adv-card {
	background: #fff;
	border: 1px solid #edf1f5;
	border-radius: 18px;
	padding: 22px 18px;
	text-align: center;
	box-shadow: 0 8px 22px rgba(20, 40, 80, 0.05);
	transition: all .25s ease;
}

.tt-adv-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(20, 40, 80, 0.08);
}

.tt-adv-icon {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 14px;
}

.tt-adv-card h3 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.35;
	font-weight: 700;
	color: #1c2434;
}

.tt-adv-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #66758a;
}

/* планшет */
@media (max-width: 1024px) {
	.tt-advantages-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.tt-adv-card {
		padding: 20px 16px;
	}

	.tt-adv-card h3 {
		font-size: 22px;
	}
}

/* телефон */
@media (max-width: 767px) {
	.tt-advantages {
		margin: 40px auto;
		padding: 0 15px;
	}

	.tt-advantages-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tt-adv-card {
		padding: 18px 16px;
		border-radius: 16px;
	}

	.tt-adv-icon {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.tt-adv-card h3 {
		font-size: 18px;
		margin-bottom: 8px;
	}

	.tt-adv-card p {
		font-size: 14px;
		line-height: 1.5;
	}
}

/* ===== HOW TO ORDER ===== */

.tt-how{
max-width:1100px;
margin:70px auto;
padding:0 20px;
text-align:center;
}

.tt-how-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
margin-top:30px;
}

.tt-how-step{
background:#fff;
border-radius:18px;
padding:28px 22px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.tt-how-number{
width:44px;
height:44px;
margin:0 auto 14px;
background:#1f4fa3;
color:#fff;
font-weight:700;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
}

.tt-how-step h3{
margin-bottom:8px;
font-size:18px;
}

.tt-how-step p{
font-size:15px;
color:#6b7280;
margin:0;
}

.tt-how-buttons{
margin-top:30px;
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

@media(max-width:900px){
.tt-how-grid{
grid-template-columns:1fr;
}
}

/* ===== FAQ BLOCK ===== */

.tt-faq{
	max-width: 1100px;
	margin: 70px auto;
	padding: 0 20px;
}

.tt-faq-head{
	text-align: center;
	margin-bottom: 28px;
}

.tt-faq-list{
	display: grid;
	gap: 14px;
}

.tt-faq-item{
	background: #ffffff;
	border: 1px solid #e7edf5;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(20, 40, 80, 0.05);
	overflow: hidden;
}

.tt-faq-item summary{
	list-style: none;
	cursor: pointer;
	padding: 20px 56px 20px 22px;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	color: #1c2434;
}

.tt-faq-item summary::-webkit-details-marker{
	display: none;
}

.tt-faq-item summary::after{
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: 400;
	color: #1f4fa3;
	line-height: 1;
}

.tt-faq-item[open] summary::after{
	content: "−";
}

.tt-faq-item p{
	margin: 0;
	padding: 0 22px 22px;
	font-size: 16px;
	line-height: 1.7;
	color: #66758a;
}

@media (max-width: 767px){
	.tt-faq{
		margin: 45px auto;
		padding: 0 15px;
	}

	.tt-faq-item summary{
		font-size: 16px;
		padding: 17px 46px 17px 18px;
	}

	.tt-faq-item p{
		padding: 0 18px 18px;
		font-size: 15px;
	}
}

/* SEO текст на главной */

.tt-seo-text{
max-width: 900px;
margin: 70px auto 0;
padding: 0 20px;
}

.tt-seo-text h2{
font-size: 34px;
margin-bottom: 18px;
}

.tt-seo-text h3{
font-size: 22px;
margin-top: 30px;
margin-bottom: 10px;
}

.tt-seo-text p{
font-size: 18px;
line-height: 1.7;
color:#4a5568;
margin-bottom: 18px;
}

/* ===== ADAPTIVE: home-only (tourtrans-home.css) ===== */

@media (min-width: 768px) {
	/* home transfers grid */
	.tourtrans-home-transfers .grid > article {
		width: 50%;
	}
}

@media (min-width: 1024px) {
	/* home transfers grid */
	.tourtrans-home-transfers .grid > article {
		width: 25%;
	}
}

@media (max-width: 991px) {
	/* home section title */
	.tt-section-title {
		font-size: 31px;
	}
}

@media (max-width: 767px) {
	/* home section */
	.tt-home-section {
		padding: 0 8px;
		margin-top: 34px;
	}

	.tt-section-title {
		font-size: 28px;
	}

	.tt-section-subtitle {
		font-size: 15px;
	}

	/* home transfers grid */
	.tourtrans-home-transfers .grid {
		margin: 0 -6px;
	}

	.tourtrans-home-transfers .grid > article {
		padding: 6px;
		max-width: 100%;
	}

	.tourtrans-home-transfers .card__body {
		padding: 14px 14px 16px;
	}
}
