/* Country page - hero под прозрачным хедером, контент + меню справа */

body.single-country_page .te-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

body.single-country_page .te-main {
	padding: 0;
}

/* Хедер поверх тёмного hero */
body.single-country_page .te-site-header {
	color: #fff;
}

body.single-country_page .te-site-header .te-site-header__menu > li > a,
body.single-country_page .te-site-header .te-site-header__menu > li > a:hover,
body.single-country_page .te-site-header .te-site-header__menu > li.current-menu-item > a,
body.single-country_page .te-site-header .te-site-header__menu > li.current-menu-ancestor > a,
body.single-country_page .te-site-header .te-site-header__menu > li.current_page_item > a,
body.single-country_page.elementor-kit-13 .te-site-header .te-site-header__menu > li > a,
body.single-country_page .elementor-kit-13 .te-site-header .te-site-header__menu > li > a {
	color: #fff !important;
	opacity: 1;
}

body.single-country_page .te-site-header .te-site-header__menu > li > a:hover,
body.single-country_page .te-site-header .te-site-header__menu > li.current-menu-item > a,
body.single-country_page .te-site-header .te-site-header__menu > li.current-menu-ancestor > a,
body.single-country_page .te-site-header .te-site-header__menu > li.current_page_item > a {
	opacity: 0.75;
}

body.single-country_page .te-site-header__toggle-bar {
	background: #fff;
}

body.single-country_page .te-site-header__inner {
	align-items: center !important;
}

body.single-country_page .te-site-header__menu > li > a {
	display: inline-flex !important;
	align-items: center !important;
	line-height: 1 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.te-country-hero {
	position: relative;
	min-height: clamp(320px, 42vw, 430px);
	background-color: #1a1a1a;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
}

.te-country-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.te-country-hero__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: 1200px;
	min-height: inherit;
	margin: 0 auto;
	padding: 140px 24px 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	text-align: center;
}

.te-country-hero__title {
	margin: 0;
	font-family: var(--second-family), var(--font-family), system-ui, sans-serif;
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.02em;
	color: #fff;
	text-transform: none;
}

.te-country-hero__meta {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px 24px;
	width: 100%;
	max-width: 960px;
}

.te-country-hero__meta-col--left {
	justify-self: start;
	text-align: left;
}

.te-country-hero__meta-col--center {
	justify-self: center;
	text-align: center;
}

.te-country-hero__meta-col--right {
	justify-self: end;
	text-align: right;
}

.te-country-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.2;
}

.te-country-hero__meta-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.te-country-hero__meta-icon svg {
	display: block;
}

.te-country-hero__meta-text {
	font-weight: 600;
	white-space: nowrap;
}

/* Hero widgets - без подложек (перебиваем кэш/старый main.css) */
body.single-country_page .te-country-hero .te-current-weather,
body.single-country_page .te-country-hero .te-rate-pill,
body.single-country_page .te-country-hero .te-country-hero__meta-item {
	background: none !important;
	background-color: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

.te-country-page__body {
	background: #fff;
}

.te-country-page__inner {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.te-country-page__sections {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 64px;
}

.te-country-page__cta {
	width: 100%;
	max-width: 100%;
}

.te-country-page__elementor {
	width: 100%;
	max-width: 100%;
}

/* Elementor: только скрыть дубли hero - вёрстку не трогаем */
.te-country-page__elementor .elementor-element-cc6529a {
	display: none !important;
}

/* Старые слайдеры/карта - заменены нативными секциями article_type */
.te-country-page__elementor .elementor-element-580b1cc,
.te-country-page__elementor .elementor-element-108746e,
.te-country-page__elementor .elementor-element-85b93f1 {
	display: none !important;
}

@media (max-width: 960px) {
	.te-country-hero__meta {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.te-country-hero__meta-col--left,
	.te-country-hero__meta-col--center,
	.te-country-hero__meta-col--right {
		justify-self: center;
		text-align: center;
	}

	.te-country-page__inner {
		padding: 0;
	}

	.te-country-page__sections {
		padding: 0 16px 48px;
	}
}

@media (max-width: 768px) {
	.te-country-hero {
		background-attachment: scroll;
	}

	.te-country-hero__inner {
		padding-top: 110px;
		padding-bottom: 40px;
	}
}
