/**
 * Footer — Personalizza → Footer.
 */

.taberna38-site-footer {
	padding-block: var(--taberna38-section-padding-y);
	background-color: var(--taberna38-color-accent);
	color: var(--taberna38-color-bg);
	position: relative;
}

.taberna38-site-footer a {
	color: inherit;
}

.taberna38-site-footer--has-top-image {
	padding-top: calc(var(--taberna38-section-padding-y) + 180px);
}

.taberna38-site-footer__top-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	pointer-events: none;
}

.taberna38-site-footer__top-image-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.taberna38-site-footer__container {
	padding-inline: var(--taberna38-container-padding-x);
}

.taberna38-site-footer__section--logo {
	margin-top: clamp(3rem, 8vw, 7.5rem);
	min-height: 1px;
}

.taberna38-site-footer__logo {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.taberna38-site-footer__section--bottom {
	margin-top: clamp(2rem, 5vw, 4rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid currentColor;
}

.taberna38-site-footer__legal-bar {
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	border-bottom: 1px solid currentColor;
}

.taberna38-site-footer__block {
	text-align: start;
}

.taberna38-site-footer__heading {
	margin: 0 0 0.75rem;
	font-family: var(--taberna38-font-title);
	font-size: 16px;
	font-weight: var(--taberna38-btn-font-weight);
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: uppercase;
	color: inherit;
}

.taberna38-site-footer__text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: inherit;
}

.taberna38-site-footer__text--intro {
	margin: 0;
}

.taberna38-site-footer__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.taberna38-site-footer__contacts-item {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
}

.taberna38-site-footer__contacts a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.taberna38-site-footer__social,
.taberna38-site-footer__menu--legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.taberna38-site-footer__menu a,
.taberna38-site-footer__social-link {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	text-decoration: none;
}

.taberna38-site-footer__menu a:hover,
.taberna38-site-footer__menu a:focus-visible,
.taberna38-site-footer__social-link:hover,
.taberna38-site-footer__social-link:focus-visible {
	opacity: 0.75;
}

.taberna38-site-footer__social {
	gap: 0.75rem;
}

.taberna38-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid currentColor;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.taberna38-site-footer__social-icon {
	display: block;
	width: 22px;
	height: 22px;
}

.taberna38-site-footer__logo-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.taberna38-site-footer__credits {
	padding-top: clamp(1.5rem, 3vw, 2rem);
	text-align: center;
}

.taberna38-site-footer__designed {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: inherit;
}

.taberna38-site-footer__designed-link {
	margin-inline-start: 0.25em;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.taberna38-site-footer__designed-link:hover,
.taberna38-site-footer__designed-link:focus-visible {
	opacity: 0.75;
}

@media (min-width: 768px) {
	.taberna38-site-footer__block--social {
		display: flex;
		justify-content: flex-end;
	}

	.taberna38-site-footer__block--social .taberna38-site-footer__nav {
		display: flex;
		justify-content: flex-end;
	}

	.taberna38-site-footer__block--legal {
		display: flex;
		justify-content: flex-end;
		text-align: end;
	}

	.taberna38-site-footer__block--legal .taberna38-site-footer__nav {
		display: flex;
		justify-content: flex-end;
	}

	.taberna38-site-footer__block--legal .taberna38-site-footer__menu--legal {
		justify-content: flex-end;
	}
}

@media (max-width: 767.98px) {
	.taberna38-site-footer--has-top-image {
		padding-top: calc(var(--taberna38-section-padding-y) + 180px);
	}

	.taberna38-site-footer__section--logo {
		margin-top: 3rem;
	}

	.taberna38-site-footer__menu--legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}
