/**
 * TASK 06 — global Astra Footer Builder presentation.
 */

#colophon.site-footer {
	position: relative;
	z-index: 1;
	background: #1d1a17;
	color: #d8d1c8;
}

#colophon .site-primary-footer-wrap {
	border-top: 1px solid rgb(255 255 255 / 10%);
	background: #1d1a17;
}

#colophon .site-primary-footer-inner-wrap {
	max-width: var(--dl-content);
	margin-inline: auto;
	gap: clamp(1.75rem, 4vw, 4.5rem);
}

#colophon .site-footer-section {
	min-width: 0;
}

#colophon .widget {
	margin: 0;
}

#colophon .widget-title,
#colophon .widget-title .dl-footer-toggle {
	font-family: var(--dl-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

#colophon .widget-title {
	margin: 0 0 1.1rem;
}

#colophon .dl-footer-toggle {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

#colophon .widget_nav_menu .menu {
	display: grid;
	gap: .55rem;
	margin: 0;
}

#colophon .widget_nav_menu .menu-link,
#colophon .textwidget a {
	display: inline-flex;
	min-height: 1.75rem;
	align-items: center;
	padding: 0;
	font-size: .9rem;
	line-height: 1.5;
	color: #d8d1c8;
	text-decoration: none;
	text-underline-offset: .2em;
}

#colophon .widget_nav_menu .menu-link:hover,
#colophon .widget_nav_menu .menu-link:focus-visible,
#colophon .textwidget a:hover,
#colophon .textwidget a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

#colophon .textwidget,
#colophon .textwidget p {
	font-size: .9rem;
	line-height: 1.65;
	color: #d8d1c8;
}

#colophon .textwidget p {
	margin: 0 0 .7rem;
}

#colophon .textwidget strong {
	color: #fff;
}

#colophon .dl-footer-payment {
	max-width: 19rem;
	padding-top: .5rem;
	border-top: 1px solid rgb(255 255 255 / 10%);
}

#colophon .site-below-footer-wrap {
	border-top: 1px solid rgb(255 255 255 / 10%);
	background: #151310;
	color: #bcb3a9;
}

#colophon .ast-footer-copyright {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.1rem;
	align-items: center;
	justify-content: center;
	font-size: .8rem;
	line-height: 1.6;
}

#colophon .dl-footer-legal-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
}

#colophon .dl-footer-legal-links a {
	color: inherit;
	text-underline-offset: .2em;
}

#colophon .dl-footer-legal-links a:hover,
#colophon .dl-footer-legal-links a:focus-visible {
	color: #fff;
}

@media (max-width: 767px) {
	#colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
		padding-block: 1.25rem;
	}

	#colophon .site-primary-footer-inner-wrap {
		display: block;
	}

	#colophon .site-footer-primary-section-1,
	#colophon .site-footer-primary-section-2,
	#colophon .site-footer-primary-section-3,
	#colophon .site-footer-primary-section-4 {
		border-bottom: 1px solid rgb(255 255 255 / 10%);
	}

	#colophon .site-footer-primary-section-4 {
		border-bottom: 0;
	}

	#colophon .widget-title {
		margin: 0;
	}

	#colophon .dl-footer-toggle {
		position: relative;
		min-height: 3.5rem;
		padding: .9rem 2.5rem .9rem 0;
	}

	#colophon .dl-footer-toggle::after {
		position: absolute;
		top: 50%;
		right: .1rem;
		content: "+";
		font-family: var(--dl-font-body);
		font-size: 1.4rem;
		font-weight: 400;
		line-height: 1;
		transform: translateY(-50%);
	}

	#colophon .dl-footer-toggle[aria-expanded="true"]::after {
		content: "−";
	}

	#colophon .dl-footer-collapsible {
		padding: 0 0 1.1rem;
	}

	#colophon .dl-footer-collapsible[hidden] {
		display: none;
	}

	#colophon .widget_nav_menu .menu-link,
	#colophon .textwidget a {
		min-height: 2.75rem;
	}

	#colophon .site-below-footer-wrap {
		padding-block: 1rem;
	}

	#colophon .ast-footer-copyright {
		flex-direction: column;
		gap: .2rem;
		text-align: center;
	}
}
