/**
 * Rivertickets site footer — continuity with rivertickets.ru (tm-block-black / tm-footer).
 */
.rt-site-footer {
	--rt-footer-bg: #3e4145;
	--rt-footer-link: #8b8e94;
	--rt-footer-link-hover: #ffffff;
	--rt-footer-title: #ffffff;
	--rt-footer-muted: #c8cacd;
	--rt-footer-green: #33b71d;
	--rt-footer-green-hover: #2a9a18;
	font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
	background: var(--rt-footer-bg);
	color: var(--rt-footer-link);
	margin-top: auto;
}

.rt-site-footer a {
	text-decoration: none;
	color: inherit;
}

.rt-site-footer__inner {
	padding: 2rem 0 1.5rem;
}

/* --- Link columns --- */
.rt-site-footer__columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.rt-site-footer__columns {
		grid-template-columns: repeat(3, 1fr);
	}
}

.rt-site-footer__col-title {
	margin: 0 0 0.85rem;
	font-size: 1.0625rem;
	font-weight: 400;
	color: var(--rt-footer-title);
	line-height: 1.35;
}

.rt-site-footer__col-title--newsletter {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.rt-site-footer__newsletter-hint {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	border: 1px solid var(--rt-footer-link);
	font-size: 0.6875rem;
	line-height: 1;
	color: var(--rt-footer-link);
	cursor: help;
}

.rt-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-site-footer__links li + li {
	margin-top: 0.35rem;
}

.rt-site-footer__links a {
	font-size: 0.8125rem;
	color: var(--rt-footer-link);
	transition: color 0.15s ease;
}

.rt-site-footer__links a:hover,
.rt-site-footer__links a:focus-visible {
	color: var(--rt-footer-link-hover);
}

/* --- Newsletter stub --- */
.rt-site-footer__newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: stretch;
}

.rt-site-footer__newsletter-input {
	flex: 1 1 10rem;
	min-width: 0;
	padding: 0.45rem 0.65rem;
	border: 1px solid #5a5d62;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font-size: 0.8125rem;
	line-height: 1.35;
}

.rt-site-footer__newsletter-input:focus {
	outline: 2px solid var(--rt-footer-green);
	outline-offset: 1px;
	border-color: var(--rt-footer-green);
}

.rt-site-footer__newsletter-btn {
	flex: 0 0 auto;
	padding: 0.45rem 0.85rem;
	border: none;
	border-radius: 3px;
	background: var(--rt-footer-green);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.rt-site-footer__newsletter-btn:hover,
.rt-site-footer__newsletter-btn:focus-visible {
	background: var(--rt-footer-green-hover);
}

.rt-site-footer__newsletter-msg {
	flex: 1 1 100%;
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	color: var(--rt-footer-muted);
}

.rt-site-footer__newsletter-msg.is-error {
	color: #ffb4b4;
}

/* --- Contact bar --- */
.rt-site-footer__bar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem 1.5rem;
	padding: 1.25rem 0 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

@media (min-width: 768px) {
	.rt-site-footer__bar {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
		text-align: center;
	}

	.rt-site-footer__bar-col--logo {
		text-align: left;
		padding-top: 1rem;
	}
}

.rt-site-footer__bar-col img {
	max-width: 100%;
	height: auto;
}

.rt-site-footer__logo {
	display: block;
	width: auto;
	max-width: min(100%, 280px);
	height: auto;
	max-height: 52px;
}

@media (max-width: 991px) {
	.rt-site-footer__logo {
		max-height: 36px;
		max-width: min(100%, 180px);
	}
}

.rt-site-footer__phone {
	display: inline-block;
	font-size: 1.0625rem;
	color: var(--rt-footer-title);
	margin-bottom: 0.25rem;
}

.rt-site-footer__phone:hover,
.rt-site-footer__phone:focus-visible {
	color: var(--rt-footer-link-hover);
}

.rt-site-footer__hours,
.rt-site-footer__address {
	font-size: 0.8125rem;
	color: var(--rt-footer-link);
	line-height: 1.45;
}

.rt-site-footer__email {
	display: inline-block;
	font-size: 1.0625rem;
	color: var(--rt-footer-title);
	margin-bottom: 0.25rem;
}

.rt-site-footer__email:hover,
.rt-site-footer__email:focus-visible {
	color: var(--rt-footer-link-hover);
}

/* --- Copyright + apps --- */
.rt-site-footer__bottom {
	text-align: center;
	padding-top: 0.5rem;
}

.rt-site-footer__copyright {
	font-size: 0.8125rem;
	color: var(--rt-footer-title);
	line-height: 1.55;
	margin-bottom: 1rem;
}

.rt-site-footer__copyright a {
	color: var(--rt-footer-title);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rt-site-footer__copyright a:hover,
.rt-site-footer__copyright a:focus-visible {
	color: var(--rt-footer-link-hover);
}

.rt-site-footer__apps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	align-items: center;
}

.rt-site-footer__apps img {
	height: auto;
	max-width: 135px;
	vertical-align: middle;
}

body.has-rt-site-footer > footer.container-footer.footer {
	display: none;
}
