/* =====================================================
   Kedesa Public Footer
   ===================================================== */

/* The parent theme footer is replaced by the Kedesa-owned footer below. */
#footer {
	display: none !important;
}

.kedesa-site-footer {
	--kedesa-footer-bg: #050505;
	--kedesa-footer-bg-soft: #0b0b0c;
	--kedesa-footer-text: #f4f3ef;
	--kedesa-footer-muted: #c7c7c2;
	--kedesa-footer-gold: #e0b739;
	--kedesa-footer-gold-soft: rgba(224, 183, 57, 0.72);
	--kedesa-footer-border: rgba(224, 183, 57, 0.42);
	background:
		radial-gradient(circle at 22% 28%, rgba(224, 183, 57, 0.08) 0%, rgba(224, 183, 57, 0.02) 22%, transparent 50%),
		linear-gradient(180deg, var(--kedesa-footer-bg-soft) 0%, var(--kedesa-footer-bg) 22%, var(--kedesa-footer-bg) 100%);
	color: var(--kedesa-footer-text);
	font-size: 15px;
	line-height: 1.65;
	position: relative;
	z-index: 2;
	overflow: hidden;
}

.kedesa-site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(224, 183, 57, 0.06) 0, rgba(224, 183, 57, 0) 16%, rgba(224, 183, 57, 0) 84%, rgba(224, 183, 57, 0.06) 100%),
		radial-gradient(circle at top center, rgba(224, 183, 57, 0.05) 0%, transparent 50%);
	opacity: 0.55;
}

.kedesa-footer__topline {
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(224, 183, 57, 0.9) 50%, transparent 100%);
}

.kedesa-footer__container {
	position: relative;
	width: min(1220px, calc(100% - 56px));
	margin: 0 auto;
}

.kedesa-footer__grid {
	display: grid;
	grid-template-columns: minmax(300px, 1.42fr) repeat(3, minmax(155px, 0.78fr));
	gap: 0;
	padding: 44px 0 36px;
	align-items: start;
}

.kedesa-footer__brand,
.kedesa-footer__nav {
	position: relative;
	min-width: 0;
}

.kedesa-footer__brand {
	padding: 2px 42px 0 0;
	max-width: 440px;
}

.kedesa-footer__brand-link {
	display: block;
	width: min(100%, 430px);
	aspect-ratio: 3.05 / 1;
	position: relative;
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
}

.kedesa-footer__logo {
	position: absolute;
	left: 0;
	top: -48%;
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0;
	box-shadow: none;
	filter: none;
	opacity: 1;
}

.kedesa-footer__copy {
	max-width: 410px;
	margin-top: 16px;
}

.kedesa-footer__description {
	margin: 0;
	color: var(--kedesa-footer-muted);
	font-size: 16px;
	line-height: 1.72;
}

.kedesa-footer__description + .kedesa-footer__description {
	margin-top: 14px;
}

.kedesa-footer__contact-email {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	color: var(--kedesa-footer-gold) !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: color 160ms ease, transform 160ms ease;
}

.kedesa-footer__contact-email span {
	font-size: 17px;
	line-height: 1;
}

.kedesa-footer__contact-email:hover,
.kedesa-footer__contact-email:focus-visible {
	color: #f1cb58 !important;
	transform: translateY(-1px);
}

.kedesa-footer__nav {
	padding: 8px 0 0 44px;
	margin-left: 18px;
}

.kedesa-footer__nav::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: linear-gradient(180deg, rgba(224, 183, 57, 0) 0%, rgba(224, 183, 57, 0.85) 10%, rgba(224, 183, 57, 0.85) 90%, rgba(224, 183, 57, 0) 100%);
}

.kedesa-footer__nav h2 {
	margin: 0 0 20px;
	color: var(--kedesa-footer-gold);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
}

.kedesa-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kedesa-footer__nav li {
	margin: 0;
	padding: 0;
}

.kedesa-footer__nav li + li {
	margin-top: 11px;
}

.kedesa-footer__nav a {
	display: inline-block;
	color: #f0efeb !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.48;
	text-decoration: none !important;
	transition: color 150ms ease, transform 150ms ease;
}

.kedesa-footer__nav a:hover,
.kedesa-footer__nav a:focus-visible {
	color: var(--kedesa-footer-gold) !important;
	transform: translateX(2px);
}

.kedesa-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 66px;
	padding: 18px 0 20px;
	border-top: 1px solid rgba(224, 183, 57, 0.2);
	color: #d0d0cb;
	font-size: 13px;
}

.kedesa-footer__bottom p {
	margin: 0;
	color: inherit;
	font-size: inherit;
}

.kedesa-footer__bottom-links {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}

.kedesa-footer__bottom-links span {
	color: var(--kedesa-footer-gold-soft);
}

.kedesa-footer__bottom-links a {
	color: #e5e5df !important;
	text-decoration: none !important;
	transition: color 150ms ease;
}

.kedesa-footer__bottom-links a:hover,
.kedesa-footer__bottom-links a:focus-visible {
	color: var(--kedesa-footer-gold) !important;
}

@media (max-width: 1160px) {
	.kedesa-footer__container {
		width: min(100% - 44px, 1220px);
	}

	.kedesa-footer__grid {
		grid-template-columns: minmax(250px, 1.22fr) repeat(3, minmax(145px, 0.82fr));
	}

	.kedesa-footer__brand {
		padding-right: 30px;
	}

	.kedesa-footer__nav {
		padding-left: 34px;
		margin-left: 14px;
	}
}

@media (max-width: 900px) {
	.kedesa-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		padding: 34px 0 26px;
	}

	.kedesa-footer__brand {
		max-width: none;
		padding: 0 0 26px;
	}

	.kedesa-footer__brand-link {
		width: min(100%, 380px);
	}

	.kedesa-footer__copy {
		max-width: 100%;
	}

	.kedesa-footer__description {
		font-size: 15px;
	}

	.kedesa-footer__nav {
		padding: 22px 0 0;
		margin: 0;
		border-top: 1px solid rgba(224, 183, 57, 0.32);
	}

	.kedesa-footer__nav::before {
		display: none;
	}
}

@media (max-width: 640px) {
	.kedesa-footer__container {
		width: min(100% - 28px, 1220px);
	}

	.kedesa-footer__grid {
		padding: 28px 0 22px;
	}

	.kedesa-footer__brand-link {
		width: min(100%, 320px);
		margin: 0 auto;
	}

	.kedesa-footer__brand {
		text-align: center;
		padding-bottom: 20px;
	}

	.kedesa-footer__copy {
		margin-top: 14px;
	}

	.kedesa-footer__description {
		font-size: 14px;
		line-height: 1.72;
	}

	.kedesa-footer__contact-email {
		justify-content: center;
		width: 100%;
		margin-top: 18px;
	}

	.kedesa-footer__nav {
		padding-top: 18px;
	}

	.kedesa-footer__nav h2 {
		margin-bottom: 14px;
		font-size: 13px;
	}

	.kedesa-footer__nav li + li {
		margin-top: 9px;
	}

	.kedesa-footer__nav a {
		font-size: 14px;
	}

	.kedesa-footer__bottom {
		align-items: center;
		flex-direction: column;
		text-align: center;
		gap: 8px;
		min-height: 0;
		padding: 16px 0 24px;
	}

	.kedesa-footer__bottom-links {
		flex-wrap: wrap;
		justify-content: center;
	}
}
