/* =========================
   AFISHA SHOW PAGE
========================= */

/* Hide ads on show pages */
.af-show-page .adsbygoogle,
.af-show-page ins.adsbygoogle,
.af-show-page .afisha-single-v2__ad-block,
.af-show-page .afisha-single-v2__affiliate-block,
body:has(.af-show-page) .adsbygoogle,
body:has(.af-show-page) ins.adsbygoogle,
body:has(.af-show-page) .google-auto-placed {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* Base */
.af-show-page {
	background: #fff;
	color: #111;
	padding-bottom: 82px;
}

.af-show-container {
	width: min(1080px, calc(100% - 40px));
	margin: 0 auto;
}

/* Hero */
.af-show-hero {
	padding: 28px 0 38px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.af-show-title {
	max-width: 900px;
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 36px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
}

/* Meta line */
.af-show-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0 0 26px;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: #555;
}

.af-show-meta span {
	display: inline-flex;
	align-items: center;
}

.af-show-meta span:not(:last-child)::after {
	content: "|";
	margin: 0 10px;
	color: #b5b5b5;
	font-weight: 400;
}

.af-show-meta-heart {
	color: #ff1f2d;
}

.af-show-meta a {
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid rgba(216, 31, 42, 0.45);
	background-image: linear-gradient(to top, rgba(216, 31, 42, 0.10) 0%, rgba(216, 31, 42, 0.10) 100%);
	background-repeat: no-repeat;
	background-size: 100% 0%;
	background-position: 0 100%;
	transition: color 0.2s ease, border-color 0.2s ease, background-size 0.2s ease;
}

.af-show-meta a:hover {
	color: #d81f2a;
	border-bottom-color: #d81f2a;
	background-size: 100% 45%;
}

/* Hero grid */
.af-show-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 34px;
	align-items: start;
}

/* Gallery */
.af-show-gallery {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 14px;
}

.af-show-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.af-show-thumb {
	display: block;
	width: 82px;
	height: 68px;
	padding: 0;
	border: 0;
	background: #f5f5f5;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.af-show-thumb:hover,
.af-show-thumb.is-active {
	opacity: 1;
}

.af-show-thumb:hover {
	transform: translateY(-2px);
}

.af-show-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.af-show-thumb:hover img,
.af-show-thumb.is-active img {
	transform: scale(1.06);
}

.af-show-gallery__main {
	background: #f7f7f7;
	overflow: hidden;
}

.af-show-gallery__main img {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.af-show-gallery__main:hover img {
	transform: scale(1.025);
}

/* =========================
   SHOW LEDE — PERFECT ALIGN WITH GALLERY
========================= */

.af-show-lede {
	margin-top: 18px;
	padding: 18px 22px;
	border-left: 3px solid #d81f2a;
	background: linear-gradient(to right, #fafafa, #ffffff);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15.5px;
	line-height: 1.55;
	font-style: italic;
	color: #111;
	box-shadow: 0 8px 22px rgba(0,0,0,.045);
}

/* TEXT RESET */
.af-show-lede p {
	margin: 0 0 10px;
}

.af-show-lede p:last-child {
	margin-bottom: 0;
}

/* ✅ DESKTOP ALIGNMENT (KEY FIX) */
@media (min-width: 901px) {

	.af-show-lede {
		margin-top: -140px; /* clean spacing BELOW image */
		width: calc(100% - 360px); /* keep alignment with gallery column */
		max-width: none;
		position: relative;
 	    z-index: 2;
	}
}

/* MOBILE */
@media (max-width: 900px) {

	.af-show-lede {
		width: 100%;
		margin-top: 18px;
		padding: 16px 18px;
		font-size: 15px;
		line-height: 1.5;
	}
}

/* =========================
   SHOW TICKET CARD — POSTER STYLE
========================= */

.afisha-ticket-box {
	position: sticky;
	top: 105px;
	width: 100%;
	max-width: 345px;
	margin-left: auto;
	background: #f7f1e8;
	border: 1px solid rgba(0,0,0,.12);
	box-shadow: 0 28px 70px rgba(0,0,0,.18);
	overflow: hidden;
	isolation: isolate;
	transform: rotate(0deg);
}

/* subtle inner paper texture */
.afisha-ticket-box::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 12%, rgba(0,0,0,.05), transparent 18%),
		linear-gradient(135deg, rgba(255,255,255,.35), rgba(0,0,0,.025));
	opacity: .45;
}

/* remove old holes */
.afisha-ticket-box::after,
.ticket-top::before,
.ticket-top::after,
.ticket-bottom::before,
.ticket-bottom::after {
	display: none !important;
}

/* TOP RED POSTER AREA */
.ticket-top {
	position: relative;
	z-index: 2;
	padding: 30px 30px 26px;
	background: linear-gradient(135deg, #e30613 0%, #b9000c 100%);
	color: #fff;
	border-radius: 0;
}

/* price row */
.ticket-price-row {
	position: relative;
	display: block;
	margin: 0 0 28px;
	padding-bottom: 26px;
	border-bottom: 1px solid rgba(255,255,255,.38);
}

.ticket-icon,
.ticket-btn-icon {
	display: none !important;
}

.ticket-label {
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #111;
}

.ticket-price strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 68px;
	line-height: .88;
	font-weight: 900;
	letter-spacing: -0.07em;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

/* remove SHOW/dots from red price area */
.ticket-price-row::before,
.ticket-price-row::after {
	display: none;
}

/* move SHOW/dots to beige info area */
.ticket-info-list::before {
	content: "";
	position: absolute;
	top: 24px;
	bottom: 24px;
	right: 28px;
	width: 4px;
	background: radial-gradient(circle, rgba(0,0,0,.36) 2px, transparent 2.5px) center top / 4px 12px repeat-y;
	pointer-events: none;
}

.ticket-info-list::after {
	content: "SHOW";
	position: absolute;
	top: 28px;
	right: 8px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .22em;
	color: rgba(0,0,0,.42);
	pointer-events: none;
}

/* divider between price and info */
.ticket-dots {
	position: relative;
	z-index: 3;
	height: 0;
	margin: 0;
	border: 0;
}

.ticket-dots::before {
	display: none;
}

/* WHITE INFO AREA inside same ticket */
.ticket-info-list {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0 -30px -26px;
	padding: 26px 30px 28px;
	background: #f7f1e8;
	color: #111;
    padding-right: 52px;
}

.ticket-info-item {
	display: grid;
	grid-template-columns: 118px 1fr;
	gap: 18px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid rgba(0,0,0,.16);
}

.ticket-info-item:first-child {
	padding-top: 0;
}

.ticket-info-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.ticket-info-item strong {
	display: block;
	margin: 0;
	font-size: 13px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #d81f2a;
}

.ticket-info-item span:not(.ticket-icon) {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.ticket-disabled {
	padding: 18px;
	background: #111;
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.af-show-page.is-closed .afisha-ticket-box {
	opacity: .85;
}

.af-show-status {
	margin-top: 10px;
	display: inline-block;
	padding: 6px 10px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* BLACK CTA STRIP */
.ticket-bottom {
	position: relative;
	z-index: 2;
	padding: 0;
	background: #111;
	color: #fff;
	border-radius: 0;
	overflow: hidden;
}

/* =========================

   Affiliate Disclaimer (Adjusted)

========================= */

.show-affiliate-disclaimer {

	padding: 12px 18px 14px;
	background: #f7f1e8;
	font-size: 10px;        /* smaller */
	line-height: 1.45;
	color: rgba(0,0,0,.58);
	border-top: 1px solid rgba(0,0,0,.06);
    background: #f6efe4; /* 1% warmer than main */

}

.show-affiliate-disclaimer a {

	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;

}

.show-affiliate-disclaimer a:hover {

	color: #d81f2a;

}

.ticket-btn {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 86px;
	align-items: center;
	width: 100%;
	min-height: 92px;
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	line-height: .95;
	font-weight: 900;
	letter-spacing: .08em;
	text-align: left;
	transition: background .22s ease, color .22s ease;
}

.ticket-btn span:not(.ticket-btn-icon) {
	display: block;
	padding: 0 0 0 28px;
}

/* clean vertical divider */
.ticket-btn::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 86px;
	width: 1px;
	background: rgba(255,255,255,.25); /* subtle, not red */
	z-index: 3;
}

/* arrow block (perfect edge alignment) */
.ticket-btn::after {
	content: "→";
	position: absolute;
	top: 0;
	right: 0;
	width: 86px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e30613;
	color: #111;
	font-family: Arial, sans-serif;
	font-size: 34px;
	line-height: 1;
	z-index: 2;
}

/* ensure text never overlaps divider */
.ticket-btn span {
	position: relative;
	z-index: 4;
	padding-left: 28px;
	padding-right: 100px; /* IMPORTANT: prevents overlap */
}

.ticket-btn:hover {
	background: #000;
	color: #fff !important;
}

.ticket-btn:hover::after {
	background: #fff;
	transform: translateX(0);
	color: #111;
}

.af-show-ticket-card {
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* mobile reset */
@media (max-width: 900px) {
	.afisha-ticket-box {
		transform: none;
		max-width: none;
	}
	.ticket-price strong {
		font-size: 58px;
	}
}

/* =========================
   BOTTOM STICKY CTA — POSTER STYLE
========================= */

.af-show-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: rgba(255,255,255,.96);
	border-top: 1px solid rgba(0,0,0,.10);
	box-shadow: 0 -8px 24px rgba(0,0,0,.08);
	transform: translateY(110%);
	opacity: 0;
	pointer-events: none;
	transition: transform .28s ease, opacity .28s ease;
}

.af-show-sticky-cta.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.af-show-sticky-cta__inner {
	width: min(1080px, calc(100% - 40px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto auto;
	align-items: center;
	gap: 26px;
	padding: 10px 0;
}

.af-show-sticky-cta__left strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.15;
	font-weight: 900;
	color: #111;
}

.af-show-sticky-cta__left span {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.2;
	color: #777;
}

.af-show-sticky-cta__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #555;
	white-space: nowrap;
}

.af-show-sticky-heart {
	color: #d81f2a;
}

.af-show-sticky-ticket-btn {
	display: grid;
	grid-template-columns: 150px 58px;
	align-items: stretch;
	min-height: 44px;
	background: #111;
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .06em;
	transition: transform .2s ease, background .2s ease;
}

.af-show-sticky-ticket-btn span {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	color: #fff;
}

.af-show-sticky-ticket-btn em {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e30613;
	color: #111;
	font-family: Arial, sans-serif;
	font-size: 24px;
	font-style: normal;
	line-height: 1;
	transition: background .2s ease, color .2s ease;
}

.af-show-sticky-ticket-btn:hover {
	background: #000;
	transform: translateY(-1px);
}

.af-show-sticky-ticket-btn:hover em {
	background: #fff;
	color: #111;
}

@media (max-width: 900px) {
	.af-show-sticky-cta__inner {
		width: min(100% - 24px, 720px);
		grid-template-columns: 1fr auto;
		gap: 14px;
	}
	.af-show-sticky-cta__meta {
		display: none;
	}
	.af-show-sticky-ticket-btn {
		grid-template-columns: 118px 46px;
		min-height: 42px;
		font-size: 13px;
	}
}

/* Main content */
.af-show-main {
	padding: 46px 0 36px;
}

.af-show-content-grid {
	display: block;
}

.af-show-content-grid--single {
	max-width: 760px;
}

.af-show-content {
	min-width: 0;
}

.af-show-intro {
	margin: 0 0 42px;
	padding: 26px 30px;
	border-left: 3px solid #d81f2a;
	background: #fafafa;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.7;
	font-style: italic;
	color: #111;
}

.af-show-intro p {
	margin: 0 0 14px;
}

.af-show-intro p:last-child {
	margin-bottom: 0;
}

.af-show-section {

	margin-bottom: 46px;
	padding-bottom: 0;
	border-bottom: none;

}

.af-show-section:last-child {
	margin-bottom: 0;
}

.af-show-section h2 {
	margin: 0 0 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #d81f2a;
}

.af-show-section h2::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-top: 10px;
	background: #ff1f2d;
}

.af-show-section h3 {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.25;
	font-weight: 800;
}

.af-show-richtext,
.af-show-tab {
	font-size: 17px;
	line-height: 1.85;
	color: #1a1a1a;
}

.af-show-richtext p,
.af-show-tab p {
	margin: 0 0 16px;
}

.af-show-richtext ul,
.af-show-tab ul,
.af-show-richtext ol,
.af-show-tab ol {
	margin: 0 0 18px 20px;
	padding: 0;
}

.af-show-richtext li,
.af-show-tab li {
	margin-bottom: 8px;
}

/* Editorial links */
.af-show-richtext a,
.af-show-tab a,
.af-show-inline-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(216, 31, 42, 0.45);
	background-image: linear-gradient(to top, rgba(216, 31, 42, 0.10) 0%, rgba(216, 31, 42, 0.10) 100%);
	background-repeat: no-repeat;
	background-size: 100% 0%;
	background-position: 0 100%;
	transition: color 0.2s ease, border-color 0.2s ease, background-size 0.2s ease;
}

.af-show-richtext a:hover,
.af-show-tab a:hover,
.af-show-inline-link:hover {
	color: #d81f2a;
	border-bottom-color: #d81f2a;
	background-size: 100% 45%;
}

/* =========================
   TABS — FIXED HEIGHT SHOW SECTION
========================= */

.af-show-tabs {
	border: 1px solid rgba(0, 0, 0, 0.10);
	background: #fff;
}

.af-show-tabs__nav {
	display: flex;
	background: #fafafa;
	border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.af-show-tabs__nav button {
	flex: 1;
	padding: 15px 18px;
	border: 0;
	border-right: 1px solid rgba(0, 0, 0, 0.10);
	background: transparent;
	color: #111;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.af-show-tabs__nav button:last-child {
	border-right: 0;
}

.af-show-tabs__nav button:hover {
	background: #f0f0f0;
	color: #d81f2a;
}

.af-show-tabs__nav button.is-active {
	background: #111;
	color: #fff;
}

.af-show-tab {
	display: none;
	height: 360px;
	padding: 28px;
	overflow-y: auto;
	font-size: 16px;
	line-height: 1.75;
	color: #1a1a1a;
}

.af-show-tab.is-active {
	display: block;
	animation: afShowTabFade 0.22s ease both;
}

@keyframes afShowTabFade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hide theatre box if template still outputs it */
.af-show-theatre-box {
	display: none !important;
}

/* FAQ */
.af-show-faq {
	border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.af-show-faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.af-show-faq__item button {
	width: 100%;
	padding: 20px 0;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #111;
	font-size: 18px;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease;
}

.af-show-faq__item button:hover {
	color: #d81f2a;
}

.af-show-faq__item button span {
	color: #d81f2a;
	font-size: 24px;
	line-height: 1;
	transition: transform 0.25s ease;
}

.af-show-faq__answer {
	max-height: 0;
	overflow: hidden;
	padding: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #444;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.af-show-faq__item.is-open .af-show-faq__answer {
	max-height: 500px;
	padding: 0 0 22px;
	opacity: 1;
}

.af-show-faq__item.is-open button span {
	transform: rotate(45deg);
}

/* =========================
   RELATED SHOWS — HORIZONTAL CAROUSEL
========================= */

.af-show-related {
	padding: 44px 0 48px;
	background: #fafafa;
}

/* Header row */
.af-related-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

/* Title */
.af-related-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.af-related-title a {
	position: relative;
	display: inline-block;
	color: inherit;
	text-decoration: none;
	transition: color .25s ease;
}

.af-related-title a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -7px;
	width: 36px;
	height: 2px;
	background: var(--color-accent-red);
	transition: width .35s ease;
}

.af-related-title a:hover {
	color: var(--color-accent-red);
}

.af-related-title a:hover::after,
.af-related-title a:focus::after {
	width: 100%;
}

/* Смотреть все */
.af-related-all-link {
	position: relative;
	display: inline-block;
	margin-bottom: 4px;
	color: #111;
	font-size: 12px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease;
}

.af-related-all-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 22px;
	height: 2px;
	background: var(--color-accent-red);
	transition: width .25s ease;
}

.af-related-all-link:hover {
	color: var(--color-accent-red);
}

.af-related-all-link:hover::after {
	width: 100%;
}

/* Carousel */
.af-show-related-carousel-wrap {
	position: relative;
}

.af-show-related-carousel-wrap::before,
.af-show-related-carousel-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 18px;
	width: 56px;
	z-index: 4;
	pointer-events: none;
}

.af-show-related-carousel-wrap::before {
	left: 0;
	background: linear-gradient(to right, #fafafa, rgba(250,250,250,0));
}

.af-show-related-carousel-wrap::after {
	right: 0;
	background: linear-gradient(to left, #fafafa, rgba(250,250,250,0));
}

.af-show-related-grid {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 0 4px 18px;
	scrollbar-width: none;
	cursor: grab;
}

.af-show-related-grid.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.af-show-related-grid::-webkit-scrollbar {
	display: none;
}

/* Card */
.af-show-related-card {
	position: relative;
	flex: 0 0 260px;
	height: 340px;
	scroll-snap-align: start;
	color: #fff;
	text-decoration: none;
	background: #111;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(0,0,0,.14);
	transition: transform .28s ease, box-shadow .28s ease;
}

.af-show-related-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease, opacity .35s ease;
}

.af-show-related-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.28) 60%, transparent),
		linear-gradient(to right, rgba(216,31,42,.24), transparent 52%);
	z-index: 1;
	transition: opacity .35s ease, transform .5s ease;
}

.af-show-related-card__label {
	position: absolute;
	left: 18px;
	top: 18px;
	z-index: 2;
	display: inline-flex;
	padding: 6px 10px;
	background: rgba(216, 31, 42, .95);
	color: #fff;
	font-size: 10px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.af-show-related-card h3 {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 800;
	color: #fff;
	transition: transform .28s ease;
}

.af-show-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 48px rgba(0,0,0,.20);
}

.af-show-related-card:hover img {
	transform: scale(1.08);
	opacity: .9;
}

.af-show-related-card:hover::after {
	opacity: .95;
	transform: scale(1.02);
}

.af-show-related-card:hover h3 {
	transform: translateY(-6px);
}

/* Arrows */
.af-related-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, transform .2s ease;
}

.af-related-arrow:hover {
	background: #d81f2a;
	transform: translateY(-50%) scale(1.06);
}

.af-related-arrow--prev {
	left: 8px;
}

.af-related-arrow--next {
	right: 8px;
}

/* Mobile */
@media (max-width: 900px) {
	.af-related-header {
		display: block;
	}
	.af-related-all-link {
		margin-top: 14px;
	}
	.af-show-related-card {
		flex-basis: 240px;
		height: 320px;
	}
	.af-related-arrow {
		display: none;
	}
}

/* =========================
   MOBILE OPTIMIZATION — FINAL
========================= */

@media (max-width: 900px) {

    /* ================= HERO ================= */

    .af-show-hero {
        padding: 16px 0 18px;
    }

    .af-show-title {
        font-size: 26px;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .af-show-meta {
        font-size: 10px;
        margin-bottom: 14px;
    }

    .af-show-hero__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* ================= GALLERY ================= */

    .af-show-gallery {
        grid-template-columns: 1fr;
    }

    .af-show-gallery__thumbs {
        flex-direction: row;
        overflow-x: auto;
    }

    .af-show-thumb {
        width: 70px;
        height: 60px;
        flex: 0 0 auto;
    }

    .af-show-gallery__main img {
        height: 260px;
    }

    /* ================= LEDE ================= */

    .af-show-lede {
        padding: 14px 16px;
        font-size: 14.5px;
        line-height: 1.5;
    }

    /* ================= TICKET CARD ================= */

    .afisha-ticket-box {
        position: relative;
        top: auto;
        margin: 0 auto;
        box-shadow: 0 12px 28px rgba(0,0,0,.12);
    }

    .ticket-top {
        padding: 20px 18px;
    }

    .ticket-price strong {
        font-size: 46px;
    }

    .ticket-info-list {
        padding: 18px 18px;
        padding-right: 40px;
    }

    .ticket-info-item {
        grid-template-columns: 100px 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .ticket-info-item span {
        font-size: 17px;
    }

    /* ================= CTA BUTTON ================= */

    .ticket-btn {
        min-height: 64px;
        font-size: 18px;
        grid-template-columns: 1fr 60px;
    }

    .ticket-btn::after {
        width: 60px;
        font-size: 24px;
    }

    .ticket-btn span {
        padding-left: 18px;
        padding-right: 70px;
    }

    /* ================= STICKY CTA (FIXED) ================= */

    .af-show-sticky-cta {
        height: 60px;
    }

    .af-show-sticky-cta__inner {
        grid-template-columns: 1fr auto;
        padding: 0 12px;
        gap: 10px;
    }

    .af-show-sticky-cta__left {
        display: none; /* REMOVE clutter */
    }

    .af-show-sticky-ticket-btn {
        grid-template-columns: 1fr 44px;
        min-height: 42px;
        font-size: 12px;
    }

    .af-show-sticky-ticket-btn span {
        padding: 0 10px;
    }

    /* ================= CONTENT ================= */

    .af-show-main {
        padding: 26px 0;
    }

    .af-show-section {
        margin-bottom: 30px;
    }

    .af-show-section h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .af-show-richtext,
    .af-show-tab {
        font-size: 15px;
        line-height: 1.6;
    }

    /* ================= TABS FIX ================= */

    .af-show-tab {
        height: auto !important;
        max-height: none;
        overflow: visible;
        padding: 18px;
    }

    .af-show-tabs__nav button {
        font-size: 12px;
        padding: 12px 8px;
    }

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

    .af-show-faq__item button {
        font-size: 16px;
        padding: 16px 0;
    }

    .af-show-faq__answer {
        font-size: 14px;
    }

    /* ================= RELATED ================= */

    .af-show-related {
        padding: 20px 0;
    }

    .af-show-related-card {
        flex-basis: 200px;
        height: 280px;
    }

    .af-show-related-card h3 {
        font-size: 15px;
    }
    
    /* smaller title */

    .af-related-title {

        font-size: 20px;

    }
    
    /* remove "Смотреть все" */

    .af-related-all-link {

        display: none;

    }

    /* REMOVE FADE EDGES */

    .af-show-related-carousel-wrap::before,

    .af-show-related-carousel-wrap::after {

        display: none;

    }

}

/* =========================
   MOBILE META SIMPLIFICATION
========================= */
@media (max-width: 900px) {

    .af-show-meta {

        display: flex;

        flex-wrap: nowrap;

        align-items: center;

        gap: 10px;

        font-size: 12px;

        overflow-x: auto;

        white-space: nowrap;

    }

    /* hide everything except rating + theatre */

    .af-show-meta span:not(:first-child):not(:last-child) {

        display: none;

    }

    .af-show-meta span:last-child {

        display: inline-flex !important;

    }

    .af-show-meta a {

        border-bottom: none;

        background: none;

    }

}

@media (max-width: 900px) {

    /* turn grid into vertical flow */
    .af-show-hero__grid {
        display: flex;
        flex-direction: column;
    }

    /* enforce order */
    .af-show-gallery {
        order: 1;
    }

    .af-show-lede {
        order: 2;
    }

    .afisha-ticket-box {
        order: 3;
        position: relative; /* disable sticky on mobile */
        top: auto;
    }

}

@media (max-width: 900px) {
    .afisha-ticket-box {
        position: relative !important;
    }
}
