/*
 * Спецпроект Visa Destinations (Figma: New byChefs (Copy), страница chefs-visa).
 * Размеры в rem темы: 1rem = 10px макета (1920 на десктопе, 375 на мобильном).
 *
 * Шрифты как в макете: «Literata 60pt / 36pt» — вариативная Literata из темы с осью
 * opsz, курсив — статичный Literata Italic. Тексты, у которых в Figma включён обрез
 * по прописным (text-box-trim), обрезаются так же (text-box); для браузеров без
 * поддержки — компенсирующие отступы из метрик шрифтов (блок @supports not в конце).
 */
@font-face {
	font-family: 'Literata Opsz';
	src: url('../../fonts/Literata/Literata.ttf') format('truetype');
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Literata Opsz';
	src: url('../fonts/Literata/Literata-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
:root {
	--visa-sage: #A4B7AF;
	--visa-green: #679772;
	--visa-mint: #85B590;
	--visa-dark: #05130E;
	--visa-serif: 'Literata Opsz', Literata, serif;
	/* Узор «pattern» из макета: наклонные эллипсы цвета фона, в зазорах — зелёная полоса */
	--visa-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38.3' height='76.6' viewBox='0 0 38.3 76.6'%3E%3Cg fill='%2305130E'%3E%3Cellipse cx='0' cy='0' rx='20.6' ry='14' transform='rotate(-27 0 0)'/%3E%3Cellipse cx='38.3' cy='0' rx='20.6' ry='14' transform='rotate(-27 38.3 0)'/%3E%3Cellipse cx='19.15' cy='38.3' rx='20.6' ry='14' transform='rotate(-27 19.15 38.3)'/%3E%3Cellipse cx='0' cy='76.6' rx='20.6' ry='14' transform='rotate(-27 0 76.6)'/%3E%3Cellipse cx='38.3' cy='76.6' rx='20.6' ry='14' transform='rotate(-27 38.3 76.6)'/%3E%3C/g%3E%3C/svg%3E");
}

/* Обрез по прописным, как text-box-trim в Figma */
.visa-card-title,
.visa-banner-title,
.visa-privilege-num,
.visa-privilege-text,
.visa-tile-name,
.visa-tile-quote-text p,
.visa-tile-quote-text span,
.visa-hero-title,
.visa-hero-text {
	text-box: trim-both cap alphabetic;
}

/* Баннер и карточка спецпроекта. Под содержимым — шёлк с жидким следом курсора (visa-silk.js, WebGPU),
   пока он не готов или не поддерживается — CSS-градиент. Прежние переливание градиента и блик убраны */
.visa-card,
.visa-banner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	color: #fff;
}
.visa-silk {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s ease;
}
.visa-silk.is-on {
	opacity: 1;
}

/* Вырезы-«билет»: горизонтальная линия отрыва на высоте --visa-y */
.visa-card {
	-webkit-mask:
		radial-gradient(circle var(--visa-r) at 0 var(--visa-y), #0000 97%, #000 100%),
		radial-gradient(circle var(--visa-r) at 100% var(--visa-y), #0000 97%, #000 100%);
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle var(--visa-r) at 0 var(--visa-y), #0000 97%, #000 100%),
		radial-gradient(circle var(--visa-r) at 100% var(--visa-y), #0000 97%, #000 100%);
	mask-composite: intersect;
}
/* Вертикальная линия отрыва на позиции --visa-x */
.visa-banner {
	-webkit-mask:
		radial-gradient(circle var(--visa-r) at var(--visa-x) 0, #0000 97%, #000 100%),
		radial-gradient(circle var(--visa-r) at var(--visa-x) 100%, #0000 97%, #000 100%);
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle var(--visa-r) at var(--visa-x) 0, #0000 97%, #000 100%),
		radial-gradient(circle var(--visa-r) at var(--visa-x) 100%, #0000 97%, #000 100%);
	mask-composite: intersect;
}

/* ---------- Карточка на главной города (Figma 2376:5974) ---------- */
.visa-card {
	--visa-y: 13.8rem;
	--visa-r: 0.533rem;
	display: block;
	width: 50rem;
	min-height: 42rem;
	margin: -2rem 0 5.3rem;
	padding: 5.5rem 6.35rem 5.85rem;
	border-radius: 1rem;
	background: linear-gradient(144.6deg, #2B443A 13.5%, #172520 110.9%);
	text-align: center;
	text-decoration: none;
}
.visa-card-logo {
	display: block;
	width: 26.222rem;
	height: 4rem;
	margin: 0 auto;
}
.visa-card-line {
	position: absolute;
	left: 1.25rem;
	right: 1.25rem;
	top: calc(var(--visa-y) - 0.1rem);
	height: 0.2rem;
	background: radial-gradient(circle at center, #A4B7AF80 0.09rem, #0000 0.11rem) 0 0 / 0.546rem 0.2rem repeat-x;
}
.visa-card-title {
	display: block;
	margin-top: 9.9rem;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 400;
	font-size: 3.2rem;
	line-height: 120%;
}
.visa-card-more {
	display: block;
	margin-top: 3.947rem;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #99C9A4;
}

/* ---------- Список привилегий ---------- */
.visa-privileges {
	margin: 0;
	padding: 0;
	list-style: none;
}
.visa-privilege {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
}
.visa-privilege-num {
	flex: none;
	font-family: var(--visa-serif);
	font-style: italic;
	line-height: 150%;
	letter-spacing: 0.08em;
	color: var(--visa-green);
}
.visa-privilege-text {
	flex: 1;
	min-width: 0;
	font-family: Tenor Sans;
	line-height: 120%;
	color: var(--visa-sage);
}
.visa-privilege-text ul {
	display: block;
	margin: 0.6em 0 0;
	padding: 0 0 0 1.1em;
	list-style: disc;
}
.visa-privilege-text li {
	display: list-item;
	margin: 0.35em 0 0;
	padding: 0;
	list-style: disc;
}

/* ---------- Баннер привилегий на странице участника (Figma 2376:6277, 2376:6473) ---------- */
.section-restaurant-single:has(+ .section-visa) {
	padding-bottom: 4.7rem;
}
.section-visa {
	padding: 0 4.9rem 13.835rem 4.8rem;
}
.visa-banner {
	--visa-r: 1rem;
	--visa-x: calc(100% - 38.98rem);
	display: flex;
	min-height: 38.7rem;
	border-radius: 2rem;
	background: linear-gradient(113.4deg, #2B443A 10.9%, #172520 108.3%);
}
.visa-banner-main {
	flex: 1;
	min-width: 0;
	padding: 6.525rem 4rem 4.3rem 4.8rem;
}
.visa-banner-title {
	margin: 0;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 400;
	font-size: 5.1rem;
	line-height: 132%;
	letter-spacing: 0;
	color: #fff;
}
.visa-banner-list {
	display: flex;
	gap: 4rem;
	max-width: 131.2rem;
	margin-top: 5.741rem;
	padding-bottom: 1.6rem;
}
.visa-banner-list .visa-privilege {
	flex: 0 0 calc((100% - 8rem) / 3);
	gap: 1.2rem;
}
.visa-banner-list .visa-privilege-num {
	width: 2.6rem;
	font-size: 1.6rem;
}
.visa-banner-list .visa-privilege-text {
	font-size: 2.8rem;
}
.visa-banner-brand {
	position: relative;
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 38.98rem;
}
.visa-banner-brand::before {
	content: "";
	position: absolute;
	left: -0.1rem;
	top: 1.95rem;
	bottom: 1.95rem;
	width: 0.2rem;
	background: radial-gradient(circle at center, #A4B7AF80 0.09rem, #0000 0.11rem) 0 0 / 0.2rem 0.41rem repeat-y;
}
.visa-banner-logo {
	display: block;
	width: 22.878rem;
	height: 11.786rem;
}
.visa-banner-logo-mob {
	display: none;
}
.visa-banner-link .visa-banner-brand {
	justify-content: flex-start;
	padding-top: 7.537rem;
}
.visa-banner-more {
	position: relative;
	z-index: 2;
	margin-top: 7.913rem;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--visa-mint);
}
.visa-banner-more:hover {
	color: #fff;
}

/* ---------- Полоса «More about Visa Destinations» (Figma 2376:6837) ---------- */
.section-visa-more {
	padding: 3.534rem 10rem 0;
	background: var(--visa-dark);
}
.visa-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3.8rem;
	height: 13.4rem;
	border-radius: 1.2rem;
	box-shadow: inset 0 0 5.4rem #2F453D;
}
a.visa-more {
	text-decoration: none;
}
.visa-more-text,
.visa-more-logo {
	transition: opacity 0.3s;
}
@media (hover: hover) {
	a.visa-more:hover .visa-more-text,
	a.visa-more:hover .visa-more-logo {
		opacity: 0.7;
	}
}
.visa-more-text {
	font-family: Tenor Sans;
	font-size: 2rem;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--visa-sage);
}
.visa-more-logo {
	display: block;
	width: 28.037rem;
	height: 4.277rem;
}

/* ---------- Тёмные страницы: фон, шапка, подвал ---------- */
body.visapage {
	background: var(--visa-dark);
	color: #fff;
}
/* Попап cookie светлый, как на всём сайте: текст тёмный (#212121 темы), а не белый от body.visapage */
body.visapage .policy {
	color: #212121;
}
body.visapage .main {
	position: relative;
	z-index: 0;
	overflow-x: clip;
	background: var(--visa-dark);
}
body.visapage .header {
	background-color: var(--visa-dark);
}
body.visapage.transparent .header {
	background-color: transparent;
}
.header-logo-visa {
	display: flex;
	align-items: center;
	gap: 3.27rem;
	width: auto;
	height: 3.7rem;
}
.header-logo-visa img:first-child {
	width: 15.633rem;
	height: 3.325rem;
}
.header-logo-visa span {
	width: 0.1rem;
	height: 3.7rem;
	background: #fff;
}
.header-logo-visa img:last-child {
	width: 21.83rem;
	height: 3.33rem;
}
/* Страница спецпроекта: шапка закреплена (как везде в теме), в начале страницы — прозрачная
   и без логотипа (он крупно на первом экране); после прокрутки (body.scrolled, scripts.js)
   появляются фон и логотип byChefs | Visa Destinations */
.header-visa-campaign .header-logo-visa {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s;
}
body.scrolled .header-visa-campaign .header-logo-visa {
	opacity: 1;
	visibility: visible;
}
body.visapage.scrolled .header {
	background-color: var(--visa-dark);
}
.visa-list {
	scroll-margin-top: 14rem; /* шапка 10rem + 4rem воздуха */
}
/* Подвал: полоса #001c11 со «звёздным» узором (Figma «pattern») */
body.visapage .footer {
	background:
		var(--visa-pattern) 0 0 / 3.83rem 7.66rem,
		linear-gradient(180deg, #001c1133 0%, #001c11ed 100%),
		var(--visa-dark);
}
body.visapage .footer-text a {
	color: var(--visa-green);
}

/* ---------- Страница спецпроекта /visa/ (Figma 2376:6677) ---------- */
.visa-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 90rem;
	padding-top: 23.6rem;
	box-sizing: border-box;
	overflow: hidden;
	background: linear-gradient(177.4deg, #192722 1.2%, var(--visa-dark) 91.4%);
	text-align: center;
}
.visa-hero-glow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 89.33rem;
	height: 132.12rem;
	margin: -66.06rem 0 0 -34.31rem;
	background: url('../../img/visa/hero-glow.svg') center / 100% 100% no-repeat;
	transform: translate(0, -8rem) rotate(52deg);
	pointer-events: none;
}
.visa-hero > *:not(.visa-hero-glow) {
	position: relative;
}
.visa-hero-logos {
	/* разделитель — по центру экрана, логотипы разной ширины — по сторонам от него */
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	height: 17.512rem;
}
.visa-hero-bychefs {
	justify-self: end;
	width: 39.922rem;
	height: 8.491rem;
	margin-right: 9.01rem;
}
.visa-hero-divider {
	width: 0.2rem;
	height: 17.512rem;
	background: #fff;
}
.visa-hero-visa {
	justify-self: start;
	width: 32.445rem;
	height: 16.712rem;
	margin: -0.444rem 0 0 8.625rem;
}
.visa-hero-title {
	width: 79rem;
	margin: 11.69rem 0 0;
	font-family: Tenor Sans;
	font-weight: 400;
	font-size: 4.2rem;
	line-height: 120%;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}
.visa-hero-text {
	width: 94.8rem;
	margin: 6.42rem 0 0;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	color: var(--visa-sage);
}
.visa-hero-terms {
	color: inherit;
	text-decoration: underline dotted;
	text-underline-offset: 0.3em;
}
/* ссылка на PDF условий: при наведении точки гаснут, а линию рисует общий эффект ссылок (a.vu, visa-motion.css) */
a.visa-hero-terms {
	transition: text-decoration-color 0.3s;
}
@media (hover: hover) {
	a.visa-hero-terms.vu:hover {
		text-decoration-color: transparent;
	}
}
.visa-hero-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-left: 0.4rem;
	border-radius: 50%;
	vertical-align: -0.3rem;
	background: var(--visa-sage);
	font-family: var(--visa-serif);
	font-style: italic;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
	color: #303D38;
	text-box: none;
}
.visa-hero-down {
	position: absolute !important;
	left: 50%;
	bottom: 9.8rem;
	transform: translateX(-50%);
}
.visa-hero-down img {
	display: block;
	width: 6.597rem;
	height: 2.002rem;
}
.visa-list {
	display: flex;
	align-items: flex-start;
	gap: 5rem;
	padding: 0 10rem;
	background: var(--visa-dark);
}
.visa-list-col {
	display: flex;
	flex-direction: column;
	gap: 5rem;
	width: 54rem;
}

/* ---------- Плитка участника (Figma rest-new-tile) ---------- */
.visa-tile {
	display: flex;
	flex-direction: column;
	width: 100%;
	color: #fff;
}
.visa-tile a {
	text-decoration: none;
	color: inherit;
}
.visa-tile-image {
	display: block;
	flex: none;
	height: 37.714rem;
	border-radius: 1.2rem;
	overflow: hidden;
	background: #192722;
}
.visa-tile-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}
.visa-tile-image:hover img {
	transform: scale(1.03);
}
.visa-tile-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3.429rem;
	padding: 5.486rem 0 7.2rem;
}
.visa-tile-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.714rem;
	padding-bottom: 1.371rem;
}
.visa-tile-name {
	margin: 0;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 400;
	font-size: 4.8rem;
	line-height: 120%;
	letter-spacing: 0;
	color: #fff;
}
.visa-tile-meta {
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	color: var(--visa-green);
}
.visa-tile-chefs {
	display: flex;
	align-items: center;
	gap: 1.714rem;
	padding-top: 1.371rem;
}
.visa-tile-faces {
	display: flex;
	isolation: isolate;
}
/* Миниатюры шефов уже с зелёным овалом и вырезанным портретом — как компонент «face» */
.visa-tile-faces img {
	position: relative;
	display: block;
	width: 4.114rem;
	height: 4.114rem;
	margin-right: -1.131rem;
	object-fit: contain;
}
.visa-tile-faces img:nth-child(1) { z-index: 3; filter: drop-shadow(0.103rem 0.103rem 0 #00000040); }
.visa-tile-faces img:nth-child(2) { z-index: 2; filter: drop-shadow(0.103rem 0.103rem 0 #00000040); }
.visa-tile-faces img:last-child { margin-right: 0; }
.visa-tile-chosen {
	font-family: Tenor Sans;
	font-size: 2.057rem;
	line-height: 120%;
	color: var(--visa-sage);
}
.visa-tile-chosen b {
	font-weight: 400;
	color: #fff;
}
.visa-tile-list {
	display: flex;
	flex-direction: column;
	gap: 3.429rem;
	padding-bottom: 1.371rem;
}
.visa-tile-list:has(+ .visa-tile-quote) {
	padding-bottom: 0;
}
.visa-tile-list .visa-privilege {
	gap: 1.029rem;
	opacity: 0.8;
}
.visa-tile-list .visa-privilege-num {
	width: 2.229rem;
	font-size: 1.4rem;
}
.visa-tile-list .visa-privilege-text {
	font-size: 2.4rem;
}
.visa-tile-quote {
	position: relative;
	display: flex;
	gap: 1.714rem;
	padding: 4.114rem 0 1.371rem 3.257rem;
	border-top: 0.171rem dashed var(--visa-green);
}
.visa-tile-quote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3.943rem;
	width: 1.886rem;
	height: 1.39rem;
	background: url('../../img/visa/quote-mark.svg') center / contain no-repeat;
	transform: rotate(180deg);
}
.visa-tile-quote-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2.4rem;
	min-width: 0;
	opacity: 0.8;
}
.visa-tile-quote-text p {
	margin: 0;
	font-family: var(--visa-serif);
	font-style: italic;
	font-size: 2.4rem;
	line-height: 120%;
	color: #fff;
}
.visa-tile-quote-text span {
	display: block;
	font-family: Tenor Sans;
	font-size: 2.057rem;
	line-height: 120%;
	color: var(--visa-sage);
}
.visa-tile-quote-photo {
	flex: none;
	display: block;
	width: 10.286rem;
	height: 10.286rem;
	margin-top: -2.571rem;
	object-fit: contain;
}
.visa-tile-more {
	display: block;
	height: 6.514rem;
	box-sizing: border-box;
	padding-top: 4.114rem;
	border-top: 0.171rem dashed var(--visa-green);
	font-family: Tenor Sans;
	font-size: 2rem;
	line-height: 120%;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--visa-green) !important;
}
.visa-tile-more:hover {
	color: #fff !important;
}

/* ---------- Тёмная страница ресторана /visa/<slug>/ (Figma 2376:6414) ---------- */
/* Мягкое свечение справа вверху */
body.visapage .main::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 168.03rem;
	top: 29.05rem;
	width: 89.078rem;
	height: 131.729rem;
	margin: -65.865rem 0 0 -44.539rem;
	background: url('../../img/visa/glow-soft.svg') center / 100% 100% no-repeat;
	transform: rotate(52deg);
	pointer-events: none;
}
body.visapage .restaurant-single-images-slider-wrapper {
	border-radius: 1.2rem;
}
body.visapage .restaurant-single-image {
	height: 60.623rem;
}
/* До запуска slick (на DOMContentLoaded) все фото стояли столбиком, и на мобильном заголовок с описанием
   прыгали вверх, когда слайдер запускался: до запуска видно только первое фото */
body.visapage .restaurant-single-images-slider:not(.slick-initialized) > .restaurant-single-image:not(:first-child) {
	display: none;
}
/* место под точки (их вставляет slick при запуске) — заранее, чтобы текст под ними не сдвигался */
body.visapage .restaurant-single-images-slider-wrapper:not(.slides-1) + .slider-dots {
	min-height: 0.6rem;
}
body.visapage .restaurant-single-images-slider-wrapper + .slider-dots {
	margin-top: 2.9rem;
}
body.visapage .slider-dots ul {
	gap: 1.2rem;
}
body.visapage .slider-dots ul li button {
	background-color: var(--visa-green);
	opacity: 0.5;
}
body.visapage .slider-dots ul li.slick-active button {
	background-color: var(--visa-green);
	opacity: 1;
}
body.visapage .restaurant-single-info .restaraunts-link {
	margin-top: 2.758rem;
	margin-bottom: 2.841rem;
	font-size: 2.4rem;
	color: var(--visa-green);
}
body.visapage .restaurant-single-info h1,
body.visapage .restaurant-single-info h1 span {
	color: #fff;
}
body.visapage .restaurant-single-text,
body.visapage .restaurant-single-text p {
	color: var(--visa-sage);
}
body.visapage .restaurant-single-info .restaurant-single-text p {
	margin-bottom: 1.2rem;
}
body.visapage .restaurant-single-info .restaurant-single-text p:last-child {
	margin-bottom: 0;
}
body.visapage .section-restaurant-single:has(+ .section-visa) {
	padding-bottom: 7.7rem;
}
body.visapage .section-visa {
	padding-bottom: 10.835rem;
}
body.visapage .visa-banner {
	border-radius: 1.2rem;
}
/* Шефы и контакты */
body.visapage .restaurant-single-chefs h2,
body.visapage .restaurant-single-contacts h2 {
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 500;
	color: #fff;
}
body.visapage .restaurant-single-chefs h2 {
	margin-bottom: 6.38rem;
}
body.visapage .restaurant-single-chefs h2 span {
	margin-left: 1.07rem;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 36;
	font-weight: 400;
	color: var(--visa-sage);
	opacity: 0.5;
}
body.visapage .restaurant-single-chefs .chefs-list {
	gap: 8.6rem 4.7rem;
	margin-bottom: 5.8rem;
}
body.visapage .restaurant-single-chefs .chefs-list-item {
	width: calc((100% - 4.7rem) / 2);
}
body.visapage .restaurant-single-chefs .chefs-list-item-image {
	width: 16.9rem;
	height: 16.9rem;
	margin-bottom: 2.6rem;
}
body.visapage .chefs-list-item-name {
	color: #fff;
}
body.visapage .chefs-list-item-post,
body.visapage .chefs-list-item-description {
	color: var(--visa-sage);
	opacity: 0.6;
}
body.visapage .restaraunts-link,
body.visapage .chefs-link {
	color: var(--visa-green);
}
body.visapage .restaurant-single-chefs h2 span,
body.visapage .restaurant-single-contacts-info-item-title {
	color: var(--visa-green);
}
body.visapage .restaurant-single-chefs h2 span {
	color: var(--visa-sage);
}
body.visapage .restaurant-single-contacts-info-item-text {
	color: var(--visa-sage);
}
body.visapage .restaurant-single-contacts-info-item-text a {
	color: var(--visa-sage);
}
body.visapage .restaurant-single-contacts-info {
	margin-bottom: 6.4rem;
}
body.visapage .restaurant-single-contacts-map {
	border-radius: 1.2rem;
}
/* Ресторан вне рейтинга (Figma 4024:3581): без шефов и цитат — контакты слева, карта справа
   рядом с таблицей контактов (в макете на 8px ниже её верха, низ совпадает) */
body.visapage .section-restaraunts-info-external {
	padding-bottom: 5.4rem;
}
body.visapage .section-restaraunts-info-external .restaurant-single-contacts {
	display: grid;
	grid-template-columns: 74.5rem 75.4rem;
	column-gap: 21.1rem;
	align-items: start;
	width: 100%;
}
body.visapage .section-restaraunts-info-external .restaurant-single-contacts h2,
body.visapage .section-restaraunts-info-external .restaurant-single-contacts-info {
	grid-column: 1;
}
body.visapage .section-restaraunts-info-external .restaurant-single-contacts-info {
	margin-bottom: 0;
}
body.visapage .section-restaraunts-info-external .restaurant-single-contacts-info-item {
	width: calc((100% - 6.4rem) / 2);
}
body.visapage .section-restaraunts-info-external .restaurant-single-contacts-map {
	grid-column: 2;
	grid-row: 2;
	height: 39rem;
	margin-top: 0.8rem;
}
/* Цитаты шефов: та же раскладка, что в теме; шрифт, цвета и фон — из макета */
body.visapage .section-quotes {
	position: relative;
	background: transparent;
}
body.visapage .section-quotes::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -19.366rem;
	bottom: 0;
	background:
		var(--visa-pattern) 0 0 / 3.83rem 7.66rem,
		linear-gradient(180deg, #001c1100 0%, #001c1162 27.5%, #001c11 71.3%, #001c1179 100%);
	pointer-events: none;
}
body.visapage .quote:before {
	background-image: url('../../img/visa/quote-mark-big.svg');
}
body.visapage .quote-text {
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 36;
	color: #fff;
}
body.visapage .quote-chef-description {
	color: var(--visa-sage);
	opacity: 0.6;
}
/* «Explore more Restaurants» — участники без шефов и цитат (Figma 2376:6581) */
.section-visa-explore {
	background: transparent;
}
body.visapage .section-visa-explore {
	padding: 11.366rem 10rem 8.966rem;
}
body.visapage .section-visa-explore h2 {
	margin-bottom: 6.96rem;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 500;
	font-size: 7.2rem;
	line-height: 120%;
	letter-spacing: -0.05em;
	color: #fff;
}
body.visapage .section-visa-explore h2 span {
	display: block;
	margin-top: 2.36rem;
	font-family: Tenor Sans;
	font-weight: 400;
	font-size: 3.2rem;
	line-height: 120%;
	letter-spacing: 0;
	color: var(--visa-green);
}
.section-visa-explore .slick-track {
	display: flex !important;
}
.section-visa-explore .slick-slide {
	height: auto;
}
.section-visa-explore .recommended-list-item {
	display: flex !important;
	width: auto;
	height: auto;
	margin: 0 2.5rem;
	overflow: visible;
	border-radius: 0;
}
.section-visa-explore .recommended-list-item::before,
.section-visa-explore .recommended-list-item::after {
	display: none;
}
.section-visa-explore .visa-tile-more {
	margin-top: auto;
}
.section-visa-explore .slider-arrow-prev,
.section-visa-explore .slider-arrow-next {
	top: 17.346rem !important;
	transform: none !important;
}
.section-visa-explore .slider-arrow-prev {
	left: -4.38rem !important;
}
.section-visa-explore .slider-arrow-next {
	right: -6.02rem !important;
}
.section-visa-explore .slider-arrow-prev svg,
.section-visa-explore .slider-arrow-next svg {
	display: block;
	width: 1.62rem;
	height: 4.32rem;
}
body.visapage .section-visa-explore .recommended-list-slider-wrapper + .slider-dots {
	margin-top: 1.925rem;
}

/* ---------- Интро-прелоадер /visa/ ----------
   Эффект «Logo Reveal Loader» (effects.wnbrg.work/osmo/e/logo-reveal-loader): логотип #1F392F
   заливается белым слева направо, затем страница поднимается снизу. Разметка — template-parts/visa/intro.php,
   анимация — assets/new/js/visa-intro.js, показ решает скрипт в <head> (inc/visa.php). */
.visa-intro {
	display: none;
}
/* пока идёт интро, страница не прокручивается; если скрипт не запустился — всё снимается через 9 с */
html.visa-intro-on:not(.visa-intro-out) {
	overflow: hidden;
	animation: visa-intro-unlock 0s 9s forwards;
}
html.visa-intro-on .visa-intro {
	position: fixed;
	inset: 0;
	z-index: 100001; /* выше шапки и баннера cookie */
	display: grid;
	place-items: center;
	background: var(--visa-dark);
	color: #1F392F;
	animation: visa-intro-failsafe 0s 9s forwards;
}
@keyframes visa-intro-unlock {
	to { overflow: visible; }
}
@keyframes visa-intro-failsafe {
	to { visibility: hidden; }
}
.visa-intro-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.visa-intro-logo {
	position: relative;
}
/* логотип как в первом экране (byChefs | VISA Destinations), в половину его размера */
.visa-intro-lockup {
	display: flex;
	align-items: center;
}
.visa-intro-fill {
	position: absolute;
	inset: 0;
	color: #fff;
	clip-path: inset(0 100% 0 0);
}
.visa-intro-bychefs,
.visa-intro-visa {
	display: block;
	flex: none;
}
.visa-intro-bychefs {
	width: 19.961rem;
	height: 4.2455rem;
	margin-right: 4.505rem;
}
.visa-intro-divider {
	flex: none;
	width: max(1px, 0.1rem);
	height: 8.756rem;
	background: currentColor;
}
.visa-intro-visa {
	width: 16.2225rem;
	height: 8.356rem;
	margin: -0.222rem 0 0 4.3125rem;
}
@media (max-width: 576px) {
	/* мобильный логотип первого экрана, 3/4 размера */
	.visa-intro-bychefs {
		width: 9.2475rem;
		height: 1.9665rem;
		margin-right: 2.4368rem;
	}
	.visa-intro-divider {
		height: 4.7865rem;
	}
	.visa-intro-visa {
		width: 8.8418rem;
		height: 4.5675rem;
		margin: 0 0 0 2.349rem;
	}
}

/* ---------- Мобильная версия ---------- */
@media (max-width: 576px) {
	/* Карточка на главной (Figma 2376:6085) */
	.visa-card {
		--visa-y: 8.742rem;
		--visa-r: 0.533rem;
		width: 31.5rem;
		min-height: 28.5rem;
		margin: 0 0 4rem -0.2rem;
		padding: 3rem 2rem 4.06rem;
		border-radius: 0.8rem;
	}
	.visa-card-logo {
		width: 16.374rem;
		height: 2.498rem;
	}
	.visa-card-line {
		left: 1rem;
		right: 1.1rem;
		background-size: 0.41rem 0.2rem;
	}
	.visa-card-title {
		margin-top: 7rem;
		font-size: 2.4rem;
		line-height: 132%;
	}
	.visa-card-more {
		margin-top: 2.48rem;
		font-size: 1.2rem;
	}

	/* Баннер (Figma 2376:5684 — светлая, 2376:5789 — тёмная) */
	.section-restaurant-single:has(+ .section-visa) {
		padding-bottom: 4.4rem;
	}
	.section-visa {
		padding: 0 3rem 4.4rem;
	}
	.visa-banner {
		--visa-y: 8.742rem;
		--visa-r: 0.533rem;
		-webkit-mask:
			radial-gradient(circle var(--visa-r) at 0 var(--visa-y), #0000 97%, #000 100%),
			radial-gradient(circle var(--visa-r) at 100% var(--visa-y), #0000 97%, #000 100%);
		-webkit-mask-composite: source-in;
		mask:
			radial-gradient(circle var(--visa-r) at 0 var(--visa-y), #0000 97%, #000 100%),
			radial-gradient(circle var(--visa-r) at 100% var(--visa-y), #0000 97%, #000 100%);
		mask-composite: intersect;
		flex-direction: column;
		min-height: 0;
		border-radius: 1rem;
		background: linear-gradient(150deg, #2B443A 10%, #172520 110%);
	}
	.visa-banner-brand {
		display: contents;
	}
	.visa-banner-brand::before {
		display: none;
	}
	.visa-banner::before {
		content: "";
		position: absolute;
		left: 1rem;
		right: 1.1rem;
		top: calc(var(--visa-y) - 0.1rem);
		height: 0.2rem;
		background: radial-gradient(circle at center, #A4B7AF80 0.09rem, #0000 0.11rem) 0 0 / 0.41rem 0.2rem repeat-x;
	}
	.visa-banner-logo {
		display: none;
	}
	.visa-banner-logo-mob {
		display: block;
		order: -1;
		width: 16.374rem;
		height: 2.498rem;
		margin: 3rem auto 0;
	}
	.visa-banner-main {
		padding: 7.017rem 2.2rem 4.56rem;
	}
	.visa-banner-link .visa-banner-main {
		padding-bottom: 0;
	}
	.visa-banner-title {
		font-size: 2.4rem;
	}
	.visa-banner-list {
		flex-direction: column;
		gap: 2rem;
		margin-top: 3.767rem;
		padding-bottom: 0.8rem;
	}
	.visa-banner-list .visa-privilege {
		flex: none;
		gap: 0.6rem;
	}
	.visa-banner-list .visa-privilege-num {
		width: 1.3rem;
		font-size: 0.8rem;
	}
	.visa-banner-list .visa-privilege-text {
		font-size: 1.4rem;
	}
	.visa-banner-more {
		order: 2;
		height: 3.8rem;
		box-sizing: border-box;
		margin: 4.06rem 2.2rem 2.7rem;
		padding-top: 2.4rem;
		border-top: 0.1rem dashed var(--visa-green);
		font-size: 1.2rem;
		letter-spacing: 0.08em;
		text-align: left;
	}
	.visa-banner-more br {
		display: none;
	}

	/* Шапка тёмных страниц */
	.header-logo-visa {
		gap: 1.7rem;
		height: 1.97rem;
	}
	.header-logo-visa img:first-child {
		width: 8.34rem;
		height: 1.774rem;
	}
	.header-logo-visa span {
		height: 1.97rem;
	}
	.header-logo-visa img:last-child {
		width: 11.646rem;
		height: 1.777rem;
	}

	/* «More about» (Figma 2376:5602) */
	.section-visa-more {
		padding: 2.7rem 2.8rem 0.8rem;
	}
	.visa-more {
		flex-direction: column;
		gap: 1.6rem;
		border-radius: 0.8rem;
	}
	.visa-more-text {
		font-size: 1.4rem;
	}
	.visa-more-logo {
		width: 19.626rem;
		height: 2.994rem;
	}

	/* Подвал: разделитель сверху, как в макете */
	body.visapage .footer {
		position: relative;
		padding-top: 6rem;
		background:
			var(--visa-pattern) 0 0 / 3.83rem 7.66rem,
			linear-gradient(180deg, #001c1100 4.6%, #001c11 63.6%, #001c1100 108.9%),
			var(--visa-dark);
	}
	body.visapage .footer::before {
		content: "";
		position: absolute;
		left: 3rem;
		right: 3rem;
		top: 2rem;
		height: 0.1rem;
		background: #878E8B33;
	}
	body.visapage .footer-text a {
		color: #FFEED4;
	}

	/* Страница спецпроекта (Figma 2376:5554) */
	.visa-hero {
		height: 59rem;
		padding-top: 18.94rem;
		background: linear-gradient(166.5deg, #192722 8.1%, var(--visa-dark) 83.8%);
	}
	.visa-hero-glow {
		width: 41.75rem;
		height: 61.71rem;
		margin: -30.86rem 0 0 -18.7rem;
		transform: translate(0, -0.8rem) rotate(52deg);
	}
	.visa-hero-logos {
		height: 6.382rem;
	}
	.visa-hero-bychefs {
		width: 12.33rem;
		height: 2.622rem;
		margin-right: 3.249rem;
	}
	.visa-hero-divider {
		width: 0.1rem;
		height: 6.382rem;
	}
	.visa-hero-visa {
		width: 11.789rem;
		height: 6.09rem;
		margin: 0 0 0 3.132rem;
	}
	.visa-hero-title {
		width: 31rem;
		margin-top: 6.18rem;
		font-size: 2.1rem;
	}
	.visa-hero-text {
		width: 32.8rem;
		margin-top: 3.59rem;
		font-size: 1.4rem;
	}
	.visa-hero-info {
		width: 1.6rem;
		height: 1.6rem;
		font-size: 1rem;
		vertical-align: -0.2rem;
	}
	.visa-hero-down {
		bottom: 4rem;
	}
	.visa-hero-down img {
		width: 3.2rem;
		height: 0.9rem;
	}
	.visa-list {
		flex-direction: column;
		gap: 1.2rem;
		padding: 0 0 3.2rem;
		scroll-margin-top: 7.8rem; /* шапка 5.8rem + 2rem */
	}
	.visa-list-col {
		display: contents;
	}

	/* Плитка (Figma 2376:5598) */
	.visa-tile {
		padding: 0 3rem;
		box-sizing: border-box;
	}
	.visa-tile-image {
		height: 22rem;
		border-radius: 0.8rem;
	}
	.visa-tile-body {
		gap: 2rem;
		padding: 3.2rem 0 4.2rem;
	}
	.visa-tile-head {
		gap: 1rem;
		padding-bottom: 0.8rem;
	}
	.visa-tile-name {
		font-size: 3rem;
	}
	.visa-tile-meta {
		font-size: 1.4rem;
	}
	.visa-tile-chefs {
		gap: 1rem;
		padding-top: 0.8rem;
	}
	.visa-tile-faces img {
		width: 2.4rem;
		height: 2.4rem;
		margin-right: -0.66rem;
	}
	.visa-tile-faces img:nth-child(1),
	.visa-tile-faces img:nth-child(2) {
		filter: drop-shadow(0.06rem 0.06rem 0 #00000040);
	}
	.visa-tile-chosen {
		font-size: 1.2rem;
	}
	.visa-tile-list {
		gap: 2rem;
		padding-bottom: 0.8rem;
	}
	.visa-tile-list .visa-privilege {
		gap: 0.6rem;
	}
	.visa-tile-list .visa-privilege-num {
		width: 1.3rem;
		font-size: 0.8rem;
	}
	.visa-tile-list .visa-privilege-text {
		font-size: 1.4rem;
	}
	.visa-tile-quote {
		gap: 1rem;
		padding: 2.4rem 0 0.8rem 1.9rem;
		border-top-width: 0.1rem;
	}
	.visa-tile-quote::before {
		top: 2.3rem;
		width: 1.1rem;
		height: 0.811rem;
	}
	.visa-tile-quote-text {
		gap: 1.4rem;
	}
	.visa-tile-quote-text p {
		font-size: 1.4rem;
	}
	.visa-tile-quote-text span {
		font-size: 1.2rem;
	}
	.visa-tile-quote-photo {
		width: 6rem;
		height: 6rem;
		margin-top: -1.5rem;
	}
	.visa-tile-more {
		height: 3.8rem;
		padding-top: 2.4rem;
		border-top-width: 0.1rem;
		font-size: 1.2rem;
	}

	/* Тёмная страница ресторана (Figma 2376:5739) */
	body.visapage .main::before {
		left: 24.45rem;
		top: 36.73rem;
		width: 45.08rem;
		height: 63.882rem;
		margin: -31.941rem 0 0 -22.54rem;
	}
	body.visapage .restaurant-single-images-slider-wrapper {
		border-radius: 0.8rem;
	}
	body.visapage .restaurant-single-image {
		height: 27.5rem;
	}
	body.visapage .restaurant-single-images-slider-wrapper + .slider-dots {
		margin-top: 2.4rem;
	}
	body.visapage .slider-dots ul {
		gap: 0.6rem;
	}
	body.visapage .restaurant-single-info .restaraunts-link {
		margin-top: 5.4rem;
		margin-bottom: 3.22rem;
		font-size: 1.4rem;
		line-height: 120%;
	}
	body.visapage .restaurant-single-info h1 {
		font-family: var(--visa-serif);
		font-variation-settings: 'opsz' 60;
		font-weight: 400;
		font-size: 4rem; /* было 5.4rem: длинные названия занимали 4 строки */
		line-height: 110%;
		letter-spacing: -0.04em;
		margin-bottom: 2.4rem;
	}
	body.visapage .restaurant-single-text {
		opacity: 0.8;
		text-box: trim-both cap alphabetic;
	}
	body.visapage .section-restaurant-single:has(+ .section-visa) {
		padding-bottom: 5.4rem;
	}
	body.visapage .section-visa {
		padding-bottom: 5.4rem;
	}
	body.visapage .section-restaraunts-info {
		gap: 5.4rem;
	}
	body.visapage .restaurant-single-chefs h2,
	body.visapage .restaurant-single-contacts h2 {
		font-weight: 400;
		font-size: 3rem;
		line-height: 120%;
		letter-spacing: 0;
		text-box: trim-both cap alphabetic;
	}
	body.visapage .restaurant-single-contacts h2 {
		margin-bottom: 3.2rem;
	}
	body.visapage .restaurant-single-contacts-info {
		gap: 2rem;
		margin-bottom: 3.94rem;
	}
	body.visapage .restaurant-single-contacts-info-item-title {
		font-size: 1.4rem;
		letter-spacing: 0.01em;
	}
	body.visapage .restaurant-single-contacts-info-item-text {
		text-box: trim-both cap alphabetic;
	}
	body.visapage .restaurant-single-contacts-map {
		height: 22rem;
		border-radius: 0.8rem;
	}
	/* сайт в контактах в макете без обреза по прописным */
	body.visapage .restaurant-single-contacts-info-item-text:has(a:not([href^="tel:"])) {
		text-box: none;
	}
	/* Ресторан вне рейтинга (Figma 4024:3444): контакты и карта столбцом, без шефов и цитат */
	body.visapage .section-restaraunts-info-external {
		padding-bottom: 5.5rem;
	}
	body.visapage .section-restaraunts-info-external .restaurant-single-contacts {
		display: block;
	}
	body.visapage .section-restaraunts-info-external .restaurant-single-contacts-info {
		margin-bottom: 3.94rem;
	}
	body.visapage .section-restaraunts-info-external .restaurant-single-contacts-info-item {
		width: 100%;
	}
	body.visapage .section-restaraunts-info-external .restaurant-single-contacts-map {
		height: 22rem;
	}
	body.visapage .restaurant-single-chefs h2 {
		margin-bottom: 3.9rem;
	}
	body.visapage .restaurant-single-chefs h2 span {
		margin-left: 0;
		margin-top: 0.6rem;
		font-size: 2.1rem;
		line-height: 120%;
		letter-spacing: -0.03em;
		text-box: none;
	}
	body.visapage .restaurant-single-chefs .chefs-list {
		gap: 3.6rem 1.9rem;
		margin-bottom: 6.2rem;
	}
	body.visapage .restaurant-single-chefs .chefs-list-item {
		width: calc((100% - 1.9rem) / 2);
	}
	body.visapage .restaurant-single-chefs .chefs-list-item-image {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
		margin-bottom: 2.6rem;
	}
	body.visapage .restaurant-single-chefs .chefs-list-item-image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	body.visapage .chefs-list-item-name {
		font-size: 1.6rem;
	}
	/* Цитаты (Figma 2376:5851) */
	body.visapage .section-quotes {
		padding-top: 6.872rem;
		padding-bottom: 4.7rem;
	}
	body.visapage .quotes-wrapper.slides-1 + .slider-dots {
		display: none;
	}
	body.visapage .section-quotes::before {
		top: 0;
		background:
			var(--visa-pattern) 0 0 / 3.83rem 7.66rem,
			linear-gradient(180deg, #0a261b00 2%, #0a261b 57.2%, #0a261b 81.5%, #0a261b00 104.8%);
	}
	body.visapage .quote:before {
		top: -7.244rem;
	}
	body.visapage .quote {
		gap: 6.63rem;
	}
	body.visapage .quote-text {
		font-variation-settings: 'opsz' 60;
		font-size: 2.4rem;
		letter-spacing: 0;
		text-box: trim-both cap alphabetic;
	}
	/* «Explore more» (Figma 2376:5862) */
	body.visapage .section-visa-explore {
		padding: 6.4rem 0 3.5rem;
	}
	body.visapage .section-visa-explore h2 {
		margin-bottom: 4.1rem;
		padding: 0 3rem;
		font-weight: 400;
		font-size: 3rem;
		letter-spacing: 0;
		text-box: trim-both cap alphabetic;
	}
	body.visapage .section-visa-explore h2 span {
		margin-top: 1.2rem;
		font-size: 1.4rem;
		letter-spacing: 0.01em;
	}
	.section-visa-explore .slick-list {
		margin: 0;
	}
	.section-visa-explore .recommended-list-item {
		margin: 0;
	}
	.section-visa-explore .visa-tile {
		padding: 0 3rem;
	}
	body.visapage .section-visa-explore .recommended-list-slider-wrapper + .slider-dots {
		margin-top: 0;
	}
}

/* Браузеры без text-box: те же положения текста через отступы (метрики Literata и Tenor Sans) */
@supports not (text-box: trim-both cap alphabetic) {
	.visa-card-title { margin-top: calc(9.9rem - 0.3345em); margin-bottom: -0.1655em; }
	.visa-banner-title { margin-top: -0.3945em; margin-bottom: -0.2255em; }
	.visa-privilege-num { margin-top: -0.4845em; margin-bottom: -0.3155em; }
	.visa-privilege-text { margin-top: -0.235em; margin-bottom: -0.265em; }
	.visa-tile-name { margin-top: -0.3345em; margin-bottom: -0.1655em; }
	.visa-tile-quote-text p { margin-top: -0.3335em; margin-bottom: -0.1655em; }
	.visa-tile-quote-text span { margin-top: -0.235em; margin-bottom: -0.265em; }
	.visa-hero-title { margin-top: calc(11.69rem - 0.235em); margin-bottom: -0.265em; }
	.visa-hero-text { margin-top: calc(6.42rem - 0.235em); margin-bottom: -0.265em; }
	@media (max-width: 576px) {
		.visa-card-title { margin-top: calc(7rem - 0.3945em); margin-bottom: -0.2255em; }
		.visa-hero-title { margin-top: calc(6.18rem - 0.235em); }
		.visa-hero-text { margin-top: calc(3.59rem - 0.235em); }
	}
}

/* ---------- Языки спецпроекта (inc/visa.php: chefs_choice_visa_langs) ---------- */
/* Переключатель в шапке: языки спецпроекта, названия — на своих языках */
.language-menu-visa .language-list-wrapper {
	background-color: var(--visa-dark);
	border-color: #FFFFFF33;
}
.language-menu-visa .language-list {
	width: auto;
	min-width: 9rem;
	max-height: min(56rem, calc(100vh - 12rem));
	padding-right: 2.4rem;
	white-space: nowrap;
}
.language-menu-visa .language-list a {
	color: #fff;
}
.language-menu-visa .language-list a:hover,
.language-menu-visa .language-list a.active {
	color: var(--visa-green);
}
/* Арабский — справа налево: шапка зеркальна, список языков открывается от левого края кнопки */
[dir="rtl"] .language-menu-visa .language-list-wrapper {
	right: auto;
	left: 0;
}
[dir="rtl"] .language-menu-visa .language-list {
	padding: 1.2rem 2rem 1.2rem 2.4rem;
}
/* Телефоны и адреса сайтов пишутся слева направо и в арабском тексте */
[dir="rtl"] .restaurant-single-contacts-info-item-text a {
	direction: ltr;
	unicode-bidi: isolate;
}
/* Межбуквенный интервал разрывает арабскую вязь и верхнюю черту деванагари, а иероглифы сдвигает
   внахлёст, — в этих языках его нет */
:is(:lang(ar), :lang(hi), :lang(zh), :lang(ja), :lang(ko)) body.visapage :is(*, ::before, ::after) {
	letter-spacing: 0 !important;
}
@media (max-width: 576px) {
	.language-menu-visa .language-list {
		gap: 1.2rem;
		max-height: calc(100vh - 10rem);
		padding: 1rem 1.8rem 1rem 1.6rem;
	}
	.language-menu-visa .language-list a {
		font-size: 1.6rem;
	}
}

/* ---------- «How to use a privilege»: ссылка и как бронировать (Figma 4037:4984, 4037:4067, 4037:5681) ---------- */
/* Баннер: под привилегиями — ссылка на страницу ресторана «How to use a privilege» и подсказка */
.visa-banner-main {
	padding-bottom: 5.165rem;
}
.visa-banner-use {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3.02rem;
	margin-top: 1.9rem;
}
.visa-banner-howto {
	position: relative;
	z-index: 2;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--visa-mint);
}
.visa-banner-howto:hover {
	color: #fff;
}
.visa-banner-note,
.visa-tile-note {
	margin: 0;
	font-family: Tenor Sans;
	line-height: 120%;
	color: var(--visa-sage);
	opacity: 0.5;
	text-box: trim-both cap alphabetic;
}
.visa-banner-note {
	max-width: 74.5rem;
	font-size: 1.886rem;
}
/* Плитка на /visa/: подсказка в разметке последней, на десктопе встаёт под привилегии (перед цитатой) */
.visa-tile-body > .visa-tile-quote,
.visa-tile-body > .visa-tile-more {
	order: 1;
}
.visa-tile-note {
	padding-inline-start: 3.257rem;
	font-size: 1.886rem;
}
/* без цитаты у списка привилегий нижний отступ: подсказка встаёт вплотную к нему и забирает отступ себе */
.visa-tile-body:not(:has(.visa-tile-quote)) > .visa-tile-note {
	margin-top: -1.371rem;
	padding-bottom: 1.371rem;
}

/* ---------- Страница «How to use a privilege» /visa/<slug>/how-to-use-a-privilege/ (Figma 4037:5381) ---------- */
.section-visa-howto {
	position: relative;
	padding-bottom: 10rem;
}
.visa-howto {
	width: 112.6rem;
	max-width: calc(100% - 9.6rem);
	margin: 0 auto;
	padding-top: 8.121rem;
}
.visa-howto-back {
	display: inline-block;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--visa-green) !important;
}
.visa-howto-title {
	margin: 2.8rem 0 0;
	font-family: Fraunces;
	font-weight: 400;
	font-size: 9.6rem;
	line-height: 110%;
	letter-spacing: -0.04em;
	color: #fff;
}
.visa-howto-content {
	margin-top: 5.4rem;
	font-family: Tenor Sans;
	font-size: 2.4rem;
	line-height: 120%;
	color: var(--visa-sage);
}
.visa-howto-content > :first-child {
	margin-top: 0;
}
.visa-howto-content > :last-child {
	margin-bottom: 0;
}
.visa-howto-content h2,
.visa-howto-content h3 {
	margin: 5.4rem 0 5.4rem;
	font-family: var(--visa-serif);
	font-variation-settings: 'opsz' 60;
	font-weight: 500;
	font-size: 7.2rem;
	line-height: 110%;
	letter-spacing: -0.05em;
	color: var(--visa-green);
}
.visa-howto-content :is(h2, h3):has(+ :is(ul, p)) {
	margin-bottom: 4.2rem;
}
.visa-howto-content p {
	margin: 0 0 2.4rem;
}
.visa-howto-content a {
	color: var(--visa-green);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.visa-howto-content a:hover {
	color: #fff;
}
.visa-howto-content strong,
.visa-howto-content b {
	font-weight: 400;
	color: #fff;
}
/* Шаги: (1), (2)… как в списке привилегий. Строки — без обреза по прописным: отступы считаны с метрик
   Tenor Sans (те же, что у .visa-privilege-text в блоке @supports not), чтобы расстояния совпали с макетом */
.visa-howto-content ol {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	margin: 0;
	padding: 0 0 1.6rem;
	list-style: none;
	counter-reset: visa-step;
}
.visa-howto-content ol > li {
	display: block; /* в теме ul и li — flex: текст и ссылки внутри пункта склеивались без пробелов */
	position: relative;
	margin: -0.235em 0 -0.265em;
	padding-inline-start: 3.8rem;
	font-size: 2.8rem;
	counter-increment: visa-step;
}
.visa-howto-content ol > li::before {
	content: "(" counter(visa-step) ")";
	position: absolute;
	inset-inline-start: 0;
	top: calc(0.235 * 2.8rem - 0.4845 * 1.6rem);
	font-family: var(--visa-serif);
	font-style: italic;
	font-size: 1.6rem;
	line-height: 150%;
	letter-spacing: 0.08em;
	color: var(--visa-green);
}
.visa-howto-content ul {
	display: block;
	margin: 0 0 2.4rem;
	padding: 0;
	padding-inline-start: 3.6rem;
	list-style: disc;
}
.visa-howto-content ul > li {
	display: list-item;
	margin-bottom: 2.4rem;
	list-style: inherit;
}
.visa-howto-content ul > li:last-child {
	margin-bottom: 0;
}
.visa-howto-content li::marker {
	color: var(--visa-sage);
}
.section-visa-howto + .section-visa-explore {
	padding-top: 0;
}

@media (max-width: 576px) {
	/* баннер (Figma 4037:4063): под пунктирной линией */
	.visa-banner-main {
		padding-bottom: 4.56rem;
	}
	.visa-banner-use {
		gap: 1rem;
		margin-top: 1.2rem;
		padding-top: 2.4rem;
		align-self: stretch;
		border-top: 0.1rem dashed var(--visa-green);
	}
	.visa-banner-howto {
		font-size: 1.2rem;
		letter-spacing: 0.08em;
	}
	.visa-banner-note {
		max-width: none;
		font-size: 1.1rem;
	}
	/* плитка (Figma 4037:5726): подсказка — под «More about the venue» */
	.visa-tile-body > .visa-tile-quote,
	.visa-tile-body > .visa-tile-more {
		order: 0;
	}
	.visa-tile-note,
	.visa-tile-body:not(:has(.visa-tile-quote)) > .visa-tile-note {
		margin-top: -1rem;
		padding: 0;
		font-size: 1.2rem;
		opacity: 0.8;
	}

	/* страница (Figma 4037:4309) */
	.section-visa-howto {
		padding-bottom: 6.2rem;
	}
	.visa-howto {
		width: auto;
		max-width: none;
		margin: 0 3rem;
		padding-top: 6.2rem;
	}
	.visa-howto-back {
		font-size: 1.4rem;
	}
	.visa-howto-title {
		margin-top: 3.2rem;
		font-family: var(--visa-serif);
		font-variation-settings: 'opsz' 60;
		font-size: 5.4rem;
	}
	.visa-howto-content {
		font-size: 1.4rem;
	}
	.visa-howto-content h2,
	.visa-howto-content h3,
	.visa-howto-content :is(h2, h3):has(+ :is(ul, p)) {
		/* в макете обрезаны по прописным: отступы — с метрик Literata (как у .visa-tile-name) */
		margin: calc(5.4rem - 0.3345em) 0 calc(3.2rem - 0.1655em);
		font-weight: 400;
		font-size: 3rem;
		line-height: 120%;
		letter-spacing: 0;
	}
	.visa-howto-content > :is(h2, h3):first-child {
		margin-top: -0.3345em;
	}
	.visa-howto-content ol {
		gap: 2rem;
		padding-bottom: 0.8rem;
	}
	.visa-howto-content ol > li {
		padding-inline-start: 1.9rem;
		font-size: 1.4rem;
	}
	.visa-howto-content ol > li::before {
		top: calc(0.235 * 1.4rem - 0.4845 * 0.8rem);
		font-size: 0.8rem;
	}
	.visa-howto-content ul {
		margin: -0.235em 0 1.2rem;
		padding-inline-start: 2.1rem;
		opacity: 0.8;
	}
	.visa-howto-content ul > li {
		margin-bottom: 1.2rem;
	}
	.visa-howto-content ul:last-child {
		margin-bottom: -0.265em;
	}
	.visa-howto-content p {
		margin-bottom: 1.2rem;
	}
}

/* Браузеры без text-box: подсказки — на тех же местах (метрики Tenor Sans) */
@supports not (text-box: trim-both cap alphabetic) {
	.visa-banner-note,
	.visa-tile-note {
		margin-top: -0.235em;
		margin-bottom: -0.265em;
	}
	.visa-tile-body:not(:has(.visa-tile-quote)) > .visa-tile-note {
		margin-top: calc(-1.371rem - 0.235em);
	}
	@media (max-width: 576px) {
		.visa-tile-note,
		.visa-tile-body:not(:has(.visa-tile-quote)) > .visa-tile-note {
			margin-top: calc(-1rem - 0.235em);
		}
	}
}
