/**
 * Halk Footer Widget — frontend styles
 */

/* Let the widget escape Elementor boxed containers */
.elementor-widget-halk-footer {
	width: 100% !important;
	max-width: none !important;
}

.elementor-widget-halk-footer > .elementor-widget-container {
	width: 100%;
	max-width: none;
	padding: 0 !important;
}

.halk-footer {
	--halk-footer-bg: #0018a8;
	--halk-footer-text: #ffffff;
	--halk-footer-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	width: 100%;
	max-width: 100%;
	background-color: var(--halk-footer-bg);
	color: var(--halk-footer-text);
	font-family: var(--halk-footer-font);
	box-sizing: border-box;
	overflow: hidden;
}

.halk-footer,
.halk-footer button,
.halk-footer input,
.halk-footer select,
.halk-footer textarea {
	font-family: var(--halk-footer-font);
}

/* Edge-to-edge background while content stays centered */
.halk-footer--full-width {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: auto;
	margin-left: -50vw;
	margin-right: -50vw;
}

.halk-footer *,
.halk-footer *::before,
.halk-footer *::after {
	box-sizing: border-box;
}

.halk-footer__main {
	width: 100%;
}

.halk-footer__inner {
	width: 100%;
	margin: 0 auto;
	max-width: 1200px;
	padding-left: clamp(16px, 4vw, 40px);
	padding-right: clamp(16px, 4vw, 40px);
}

.halk-footer__bottom {
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: 20px 0;
}

.halk-footer__copyright {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 400;
	color: #c9d4f0;
	text-align: center;
}

.halk-footer__grid {
	display: grid;
	align-items: start;
	gap: clamp(28px, 4vw, 48px);
}

.halk-footer__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.halk-footer__grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.halk-footer__col {
	min-width: 0;
}

.halk-footer__logo {
	margin: 0 0 1.25rem;
	line-height: 0;
}

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

.halk-footer__title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.halk-footer__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	font-weight: 400;
	opacity: 0.98;
	max-width: 36rem;
}

.halk-footer__text p {
	margin: 0 0 0.85em;
}

.halk-footer__text p:last-child {
	margin-bottom: 0;
}

.halk-footer__text a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.halk-footer__menu {
	margin: 0;
	padding: 0;
}

.halk-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.halk-footer__links li {
	margin: 0;
	padding: 0;
}

.halk-footer__links > li + li {
	margin-top: 10px;
}

/* Nested submenus (WordPress .sub-menu / .children) */
.halk-footer__links .sub-menu,
.halk-footer__links .children,
.halk-footer__links ul {
	list-style: none;
	display: block;
	position: static;
	visibility: visible;
	opacity: 1;
	float: none;
	width: auto;
	min-width: 0;
	margin: 8px 0 0;
	padding: 0 0 0 14px;
	background: transparent;
	box-shadow: none;
	border: 0;
	transform: none;
}

.halk-footer__links .sub-menu li + li,
.halk-footer__links .children li + li,
.halk-footer__links ul li + li {
	margin-top: 6px;
}

.halk-footer__links .sub-menu a,
.halk-footer__links .children a,
.halk-footer__links ul a {
	font-size: 0.9rem;
	opacity: 0.92;
}

.halk-footer__links a {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	color: inherit;
	word-break: break-word;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.halk-footer__links a:hover,
.halk-footer__links a:focus-visible {
	opacity: 0.85;
	outline: none;
}

.halk-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
}

.halk-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	color: #ffffff;
	text-decoration: none;
	flex: 0 0 auto;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.halk-footer__social-link:hover,
.halk-footer__social-link:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.08);
	outline: none;
}

.halk-footer__social-link svg {
	width: 55%;
	height: 55%;
	display: block;
}

.halk-footer__social-custom {
	width: 55%;
	height: 55%;
	object-fit: contain;
	display: block;
}

.halk-footer__wp-widgets .halk-footer-wp-widget {
	margin: 0 0 1rem;
}

.halk-footer__wp-widgets .halk-footer-wp-widget:last-child {
	margin-bottom: 0;
}

.halk-footer__wp-widgets .halk-footer-wp-widget__title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	color: inherit;
}

.halk-footer__wp-widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.halk-footer__wp-widgets li + li {
	margin-top: 0.5rem;
}

.halk-footer__wp-widgets a {
	color: inherit;
	text-decoration: none;
}

.halk-footer__wp-widgets a:hover {
	opacity: 0.85;
}

.halk-footer__empty {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.8;
}

/* Tablet */
@media (max-width: 1024px) {
	.halk-footer__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.halk-footer__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.halk-footer__grid--3 .halk-footer__col--1 {
		grid-column: 1 / -1;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.halk-footer__grid--3,
	.halk-footer__grid--4 {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.halk-footer__grid--3 .halk-footer__col--1 {
		grid-column: auto;
	}

	.halk-footer__title {
		margin-bottom: 0.9rem;
		font-size: 1.05rem;
	}

	.halk-footer__text {
		font-size: 0.92rem;
		max-width: none;
	}

	.halk-footer__social {
		margin-top: 22px;
	}
}

/* Small phones */
@media (max-width: 480px) {
	.halk-footer__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.halk-footer__social-link {
		width: 38px;
		height: 38px;
	}
}
