/* Shared footer from the original WT Tent HTML. */

/* Blocksy still outputs its footer template. Hide only that template, leaving
 * wp_footer() and all theme/plugin scripts intact. */
body.wsc-plugin-footer-active .ct-footer {
	display: none !important;
}

.wsc-site-footer {
	background: var(--wsc-footer-bg, #15171b);
	color: var(--wsc-footer-text, #b3b3b5);
	font-family: inherit;
	padding: 70px 0 30px;
}

.wsc-footer__wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

.wsc-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 40px;
	margin-bottom: 50px;
}

.wsc-footer__brand {
	display: inline-block;
	line-height: 0;
}

.wsc-footer__brand img {
	display: block;
	width: min(var(--wsc-footer-logo-width, 180px), 100%);
	height: auto;
}

.wsc-footer__about p {
	max-width: 340px;
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.65;
}

.wsc-footer__socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	max-width: 340px;
	margin-top: 18px;
}

.wsc-site-footer .wsc-footer__social-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--wsc-footer-heading, #fff);
	line-height: 1;
}

.wsc-footer__social-link svg {
	display: block;
}

.wsc-site-footer .wsc-footer__social-link:hover,
.wsc-site-footer .wsc-footer__social-link:focus-visible {
	border-color: var(--wsc-footer-hover, var(--theme-palette-color-1, #51a9dc));
	background: var(--wsc-footer-hover, var(--theme-palette-color-1, #51a9dc));
	color: var(--wsc-footer-bg, #15171b);
	transform: translateY(-2px);
}

.wsc-site-footer .wsc-footer__social-link:focus-visible {
	outline: 2px solid var(--wsc-footer-heading, #fff);
	outline-offset: 3px;
}

.wsc-footer__column h2 {
	margin: 0 0 18px;
	color: var(--wsc-footer-heading, #fff);
	font-size: var(--wsc-footer-heading-size, 16px);
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.35;
}

.wsc-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsc-footer__menu li + li {
	margin-top: 10px;
}

.wsc-site-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wsc-site-footer a:hover,
.wsc-site-footer a:focus-visible {
	color: var(--wsc-footer-hover, var(--theme-palette-color-1, #51a9dc));
}

.wsc-footer__menu a,
.wsc-footer__contact p {
	font-size: 14px;
}

.wsc-footer__contact p {
	display: flex;
	gap: 10px;
	margin: 0 0 10px;
	line-height: 1.55;
}

.wsc-footer__contact p a {
	color: var(--wsc-footer-text, #b3b3b5);
	font-weight: 400;
}

.wsc-footer__contact p a:hover,
.wsc-footer__contact p a:focus-visible {
	color: var(--wsc-footer-hover, var(--theme-palette-color-1, #51a9dc));
}

.wsc-footer__contact .wsc-footer__contact-row--address {
	align-items: flex-start;
}

.wsc-footer__contact-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--theme-palette-color-1, #0e7cc5);
}

.wsc-footer__contact-icon svg {
	display: block;
}

.wsc-footer__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 14px;
	padding: 12px 22px;
	border-radius: 10px;
	background: var(--theme-palette-color-1, #0e7cc5);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.wsc-footer__button:hover,
.wsc-footer__button:focus-visible {
	background: var(--theme-palette-color-2, #0567ad);
	color: #fff !important;
	transform: translateY(-2px);
}

.wsc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	line-height: 1.5;
}

.wsc-footer__legal,
.wsc-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.wsc-footer__legal {
	gap: 10px;
}

.wsc-footer__legal-links {
	gap: 0;
}

.wsc-footer__legal-links::before {
	margin: 0 10px;
	color: currentColor;
	content: "|";
}

.wsc-footer__legal-links a + a::before {
	margin: 0 10px;
	color: currentColor;
	content: "|";
}

@media (max-width: 1024px) {
	.wsc-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr;
	}

	.wsc-footer__contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.wsc-site-footer {
		padding-top: 54px;
	}

	.wsc-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
		margin-bottom: 38px;
	}

	.wsc-footer__about,
	.wsc-footer__contact {
		grid-column: 1 / -1;
	}

	.wsc-footer__brand img {
		width: min(var(--wsc-footer-logo-width, 180px), 160px);
	}

	.wsc-footer__bottom {
		flex-direction: column;
	}

	.wsc-footer__legal {
		align-items: flex-start;
	}
}
