/* commonBody12Footer.css - start
   Store footer: logo and social links, three link groups, copyright bar.
   Below 500px each link group becomes a tap-to-open row (commonBody12Footer.php toggles .active). */

footer {
	background: var(--color-surface-sunk, #f3f5f7);
	color: var(--color-text, #1f2a30);
	margin: 0;
	margin-top: auto; /* sticky footer: pushed to the bottom on short pages, see body in commonBody7BodyStart.css */
	font-family: var(--font-body, system-ui, sans-serif);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	border-top: 1px solid var(--color-border, #e3e8eb);
	clear: both;
}

footer .centered {
	max-width: var(--container-max, 1280px);
	margin: 0 auto;
	padding: 40px var(--gutter, 24px) 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 32px 56px;
	box-sizing: border-box;
}
/* the clearfix pseudo-elements would otherwise count as flex items and add extra gaps */
footer .centered::before,
footer .centered::after {
	display: none;
}
footer .centered .footer-logo {
	width: auto;
	flex: 0 1 260px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
footer .centered .footer-logo img.logo {
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
	padding: 0;
}
footer .centered .footer-contact {
	display: none; /* intentionally empty */
}
footer .centered .footer-navigation {
	width: auto;
	flex: 1 1 420px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 28px 32px;
}
footer .centered .footer-navigation .footer-links-holder {
	position: relative;
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
}
footer h3 {
	margin: 0 0 12px;
	font-size: 0.78rem;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted, #5b6770);
}
footer h3 a {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
}
footer .centered .footer-navigation .footer-links-holder .footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer p,
footer li {
	margin: 0;
	padding: 0;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
footer li {
	margin-bottom: 4px;
}
footer a {
	color: var(--color-text, #1f2a30);
	text-decoration: none;
	font-size: 0.93rem;
	display: inline-block;
	padding: 4px 0;
	transition: color var(--transition, 0.18s ease);
}
footer a:hover {
	color: var(--brand-text, #1b7d9c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Social ---------- */
.social[hidden] {
	display: none;
}
.footer-about {
	margin: 0;
	max-width: 260px;
	font-size: 0.9rem;
	color: var(--color-text-muted, #5b6770);
}
.social {
	display: flex;
	gap: 10px;
	text-align: left;
}
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 9px;
	margin: 0;
	background: #fff;
	border: 1px solid var(--color-border, #e3e8eb);
	border-radius: 50%;
	text-decoration: none;
	transition: background-color var(--transition, 0.18s ease), border-color var(--transition, 0.18s ease), transform var(--transition, 0.18s ease);
}
.social a:hover {
	background: var(--brand, #1b7d9c);
	border-color: var(--brand, #1b7d9c);
	text-decoration: none;
	transform: translateY(-2px);
}
.social a.linkedin {
	padding: 7px;
}
.social a svg {
	width: 100%;
	height: 100%;
	fill: var(--color-text, #1f2a30);
}
.social a:hover svg {
	fill: var(--brand-ink, #fff);
}

/* ---------- Copyright bar ---------- */
footer .bottom-bar {
	position: static;
	text-transform: none;
	text-align: center;
	font-size: 0.82rem;
	color: var(--color-text-muted, #5b6770);
	background: #fff;
	border-top: 1px solid var(--color-border, #e3e8eb);
	padding: 16px var(--gutter, 24px);
}

.clearfix:before, .clearfix:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
	clear: both;
}

@media only screen and (max-width: 749px) {
	footer .centered {
		padding-top: 32px;
		gap: 28px;
	}
	footer .centered .footer-logo {
		flex-basis: 100%;
	}
	footer .centered .footer-navigation {
		flex-basis: 100%;
	}
}

@media only screen and (max-width: 500px) {
	footer .centered {
		gap: 20px;
		padding-bottom: 20px;
	}
	footer .centered .footer-logo {
		align-items: center;
		text-align: center;
	}
	footer .centered .footer-navigation {
		grid-template-columns: 1fr;
		gap: 0;
	}
	footer .centered .footer-navigation .footer-links-holder {
		border-top: 1px solid var(--color-border, #e3e8eb);
	}
	footer .centered .footer-navigation .footer-links-holder:last-child {
		border-bottom: 1px solid var(--color-border, #e3e8eb);
	}
	footer .centered .footer-navigation .footer-links-holder h3 {
		margin: 0;
		padding: 16px 4px;
		border: 0;
		cursor: pointer;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	footer h3 a {
		pointer-events: auto;
	}
	footer .centered .footer-navigation .footer-links-holder h3::after {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid var(--color-text-muted, #5b6770);
		border-bottom: 2px solid var(--color-text-muted, #5b6770);
		transform: rotate(45deg);
		transition: transform 0.25s ease;
		margin-right: 4px;
	}
	footer .centered .footer-navigation .footer-links-holder.active h3::after {
		transform: rotate(-135deg);
	}
	footer .centered .footer-navigation .footer-links-holder .footer-links {
		max-height: 0;
		overflow: hidden;
		padding: 0 4px;
		transition: max-height 0.3s ease;
	}
	footer .centered .footer-navigation .footer-links-holder.active .footer-links {
		max-height: 600px;
		padding-bottom: 12px;
	}
}
/* commonBody12Footer.css - end */
