/* TM24 footer: light palette, widgets and responsive navigation.
 * The background still comes from Theme Options (secondary color). */
/* TM24 — тёмный текст светлого футера */
.footer,
.footer p,
.footer li,
.footer span,
.footer small,
.footer address,
.footer .contact-widget span {
	color: var(--tm24-neutral-text-strong, #242424);
}

.footer strong,
.footer label,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
	color: var(--tm24-neutral-text-heading, #333333);
}

.footer a {
	color: #173f78;
	text-decoration: none;
}

.footer a:hover,
.footer a:focus {
	color: var(--tm24-theme-action-hover, #356cad);
}

.footer .contact-widget .cw-address::before,
.footer .contact-widget .cw-phone::before,
.footer .contact-widget .cw-cell::before {
	color: var(--tm24-neutral-text-heading, #333333);
}

.footer .footer-bottom {
	border-top: 1px solid rgba(35, 76, 143, 0.13);
}

.footer button,
.footer input[type="submit"],
.footer .button,
.footer .button1  {
	color: #ffffff;
}

/* footer widget */
.footer-custom-wiget {
	max-width: 180px;
	margin: 0 auto;
}
.footer .footer-custom-wiget li:before { display: none; }
.footer .widget .footer-custom-wiget li { border-bottom: transparent 1px solid; }
.footer-custom-wiget img:hover { cursor: pointer; }

.footer-wiget-socials {
	list-style: none;
	display: flex;
	justify-content: space-between;
}

.footer .footer-wiget-socials img { border-radius: 0; }

.footer-driver-page { padding: 0; }

.tm24-footer-links {
	display: flex;
	margin: 0;
	padding: 0;

	align-items: flex-start;
	flex-direction: column;
	gap: 10px;

	font-size: 14px;
	line-height: 20px;
}

.tm24-footer-links__group {
	display: flex;
	align-items: flex-start;
	gap: 2px 16px;
}

.tm24-footer-links__group--airports,
.tm24-footer-links__group--legal {
	flex-direction: column;
}

.tm24-footer-links__group--general {
	flex-wrap: wrap;
}

.tm24-footer-link {
	display: inline-flex;
	margin: 0;
	padding: 6px 0;

	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	text-decoration: none;

	border-radius: 4px;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.tm24-footer-link:hover,
.tm24-footer-link:focus {
	text-decoration: underline;
}

.tm24-footer-link--primary {
	font-weight: 700;
}

.tm24-footer-link--legal {
	font-size: 13px;
}

@media (max-width: 600px) {
	.tm24-footer-links {
		gap: 9px;
	}

	.tm24-footer-links__group {
		width: 100%;
		flex-direction: column;
		gap: 1px;
	}

	.tm24-footer-link {
		display: flex;
		width: 100%;
		box-sizing: border-box;
	}
}

/* Footer sections use h2 without changing their visual hierarchy. */
.footer .footer-widget-title {
	font-size: 14px;
	line-height: 1;
	font-weight: 400;
	margin: 0 0 25px;
	padding: 0;
	text-transform: uppercase;
}
