/**
 * Ubris Builder WP
 *
 * @author     Complianz System
 * @copyright  2025-2026 Complianz System
 * @license    GPL-2.0-or-later
 * @link       https://ubris-wordpress.fr/
 * @link       https://github.com/pierrecodeur/cursorwordpress
 */

.wpcursor-component.wpcursor-footer-site {
	--wpc-ft-pad: max(1.15rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--wpc-ft-ink: var(--wpcursor-ink, #210000);
	--wpc-ft-muted: #6b5e5a;
	--wpc-ft-cream: var(--wpcursor-cream, #f9f7f5);
	--wpc-ft-peach: var(--wpcursor-peach, #ffb347);
	--wpc-ft-orange: var(--wpcursor-orange, #f98700);
	--wpc-ft-red: var(--wpcursor-red, #ab1a19);
	--wpc-ft-gradient: var(--wpcursor-gradient, linear-gradient(90deg, #f98700 0%, #ab1a19 100%));
	background: var(--wpc-ft-cream);
	border-top: 1px solid #efe9e4;
	color: var(--wpc-ft-ink);
	font-family: var(--wpcursor-font-body, "Poppins", system-ui, sans-serif);
	margin: 0;
	padding: 3rem 0 2rem;
	width: 100%;
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-footer-site {
		--wpc-ft-pad: clamp(1.5rem, 4vw, 3.5rem);
		padding: 3.75rem 0 2.25rem;
	}
}

.entry-content > .wpcursor-component.wpcursor-footer-site {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-footer-site__inner {
	margin: 0 auto;
	max-width: 80rem;
	padding: 0 var(--wpc-ft-pad);
	width: 100%;
}

.wpcursor-footer-site__grid {
	display: grid;
	gap: 1.75rem 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.wpcursor-footer-site__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.wpcursor-footer-site__grid {
		justify-items: center;
		text-align: center;
	}

	.wpcursor-footer-site__brand {
		align-items: center;
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.wpcursor-footer-site__logo {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	.wpcursor-footer-site__logo-img {
		height: 2.15rem;
		max-width: min(9.5rem, 58vw);
	}

	.wpcursor-footer-site__about {
		margin-left: auto;
		margin-right: auto;
		max-width: 22rem;
	}

	.wpcursor-footer-site__socials {
		justify-content: center;
	}

	.wpcursor-footer-site__col {
		width: 100%;
	}

	.wpcursor-footer-site__links {
		justify-items: center;
	}

	.wpcursor-footer-site__newsletter-row {
		justify-content: center;
	}

	.wpcursor-footer-site__newsletter-btn {
		justify-content: center;
		min-width: 0;
		width: auto;
	}

	.wpcursor-footer-site__bottom {
		text-align: center;
	}
}

@media (min-width: 980px) {
	.wpcursor-footer-site__grid {
		grid-template-columns: minmax(12rem, 1.4fr) repeat(3, minmax(0, 0.9fr)) minmax(12rem, 1.15fr);
		gap: 1.5rem 1.1rem;
	}
}

.wpcursor-footer-site__logo {
	align-items: center;
	color: inherit;
	display: inline-flex;
	gap: 0.7rem;
	margin: 0 0 0.85rem;
	text-decoration: none;
}

.wpcursor-footer-site__logo:focus-visible {
	outline: 2px solid var(--wpc-ft-ink);
	outline-offset: 3px;
}

.wpcursor-footer-site__logo-img {
	display: block;
	height: 3.25rem;
	max-width: min(14rem, 100%);
	object-fit: contain;
	width: auto;
}

.wpcursor-footer-site__about {
	color: var(--wpc-ft-muted);
	font-size: 0.84rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	max-width: 18rem;
}

.wpcursor-footer-site__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-footer-site__social {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e7e1db;
	border-radius: 50%;
	color: var(--wpc-ft-ink);
	display: inline-flex;
	height: 2rem;
	justify-content: center;
	position: relative;
	text-decoration: none;
	width: 2rem;
}

.wpcursor-footer-site__social::before {
	background: currentColor;
	content: "";
	display: block;
	height: 0.85rem;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	width: 0.85rem;
}

.wpcursor-footer-site__social.is-facebook::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}

.wpcursor-footer-site__social.is-instagram::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6.5-.9a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6.5-.9a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z'/%3E%3C/svg%3E");
}

.wpcursor-footer-site__social.is-linkedin::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.5 8.5H3.7V21h2.8V8.5zM5.1 3A1.8 1.8 0 1 0 5.1 6.6 1.8 1.8 0 0 0 5.1 3zM20.3 21h-2.8v-6.1c0-1.7-.7-2.3-1.7-2.3s-1.6.8-1.6 2.4V21h-2.8V8.5h2.7v1.5c.5-.9 1.6-1.8 3.4-1.8 2.3 0 3.8 1.4 3.8 4.5V21z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.5 8.5H3.7V21h2.8V8.5zM5.1 3A1.8 1.8 0 1 0 5.1 6.6 1.8 1.8 0 0 0 5.1 3zM20.3 21h-2.8v-6.1c0-1.7-.7-2.3-1.7-2.3s-1.6.8-1.6 2.4V21h-2.8V8.5h2.7v1.5c.5-.9 1.6-1.8 3.4-1.8 2.3 0 3.8 1.4 3.8 4.5V21z'/%3E%3C/svg%3E");
}

.wpcursor-footer-site__social.is-x::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 3h4.2l4 5.7L16.8 3H21l-6.5 8.2L21.2 21h-4.2l-4.4-6.2L7.2 21H3l6.9-8.7L4 3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 3h4.2l4 5.7L16.8 3H21l-6.5 8.2L21.2 21h-4.2l-4.4-6.2L7.2 21H3l6.9-8.7L4 3z'/%3E%3C/svg%3E");
}

.wpcursor-footer-site__social:hover,
.wpcursor-footer-site__social:focus-visible {
	background: var(--wpc-ft-gradient);
	border-color: transparent;
	color: #ffffff;
}

.wpcursor-footer-site__heading {
	color: var(--wpc-ft-ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.wpcursor-footer-site__links {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-footer-site__links a {
	color: var(--wpc-ft-muted);
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.wpcursor-footer-site__links a:hover,
.wpcursor-footer-site__links a:focus-visible {
	color: var(--wpc-ft-red);
}

.wpcursor-footer-site__newsletter-lead {
	color: var(--wpc-ft-muted);
	font-size: 0.84rem;
	line-height: 1.5;
	margin: 0 0 0.85rem;
}

.wpcursor-footer-site__newsletter-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.wpcursor-footer-site__newsletter-btn {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e0dad4;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgb(33 0 0 / 0.05);
	color: var(--wpc-ft-ink);
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 700;
	gap: 0.45rem;
	justify-content: space-between;
	min-width: 11rem;
	padding: 0.7rem 0.95rem;
	text-decoration: none;
}

.wpcursor-footer-site__newsletter-btn:hover,
.wpcursor-footer-site__newsletter-btn:focus-visible {
	background: var(--wpc-ft-gradient);
	border-color: transparent;
	color: #ffffff;
}

.wpcursor-footer-site__bottom {
	border-top: 1px solid #efe9e4;
	margin-top: 2rem;
	padding-top: 1.1rem;
}

.wpcursor-footer-site__copy {
	color: var(--wpc-ft-muted);
	font-size: 0.78rem;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-footer-site .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

html.wpcursor-has-footer-site #colophon,
html.wpcursor-has-footer-site .site-footer,
html.wpcursor-has-footer-site .ast-footer-overlay,
html.wpcursor-has-footer-site footer.site-footer,
body.wpcursor-has-footer-site #colophon,
body.wpcursor-has-footer-site .site-footer,
body.wpcursor-has-footer-site .ast-footer-overlay,
body.wpcursor-has-footer-site footer.site-footer {
	display: none !important;
}

body.wpcursor-has-menu-bas-mobile .wpcursor-component.wpcursor-footer-site {
	padding-bottom: calc(2rem + 4.5rem);
}
