/*
 * WM Footer — front end.
 *
 * Every rule is scoped under .wmf so nothing here can repaint the rest of the
 * page. The values are the ones the Elementor footer template (post 1141)
 * resolved to when this plugin was built: Plus Jakarta Sans, Sky-tinted
 * headings, 2px Sky-700 divider, 1280px content column.
 */

.wmf,
.wmf * {
	box-sizing: border-box;
}

.wmf {
	--wmf-cols: 5;
	--wmf-heading: #89D5F0;
	--wmf-link: #C0E7F7;
	--wmf-link-hover: #FFFFFF;
	--wmf-divider: #086D91;
	--wmf-copy: #89D5F0;
	--wmf-font: "Plus Jakarta Sans", sans-serif;

	width: 100%;
	font-family: var(--wmf-font);
}

/* Standalone use: the gradient and padding the Elementor wrapper normally paints. */
.wmf--bg {
	padding: 32px;
	background-color: #054861;
	background-image: linear-gradient(45deg, #054861 0%, #086D91 100%);
}

.wmf__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

/* ---- Link columns ---- */

.wmf__grid {
	display: grid;
	grid-template-columns: repeat(var(--wmf-cols), minmax(0, 1fr));
	gap: 12px 24px;
	padding: 1rem 0;
}

.wmf__col,
.wmf__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.wmf .wmf__title {
	margin: 0;
	padding: 0;
	color: var(--wmf-heading);
	font-family: var(--wmf-font);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0;
	text-transform: none;
}

.wmf .wmf__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wmf__item {
	margin: 0;
	padding: 0;
}

.wmf__item + .wmf__item {
	margin-top: 8px;
}

.wmf .wmf__link {
	display: block;
	width: 100%;
	color: var(--wmf-link);
	font-family: var(--wmf-font);
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	transition: color 0.3s;
}

.wmf .wmf__link:hover,
.wmf .wmf__link:focus-visible {
	color: var(--wmf-link-hover);
	text-decoration: none;
}

.wmf__text {
	display: inline;
}

.wmf__last {
	white-space: nowrap;
}

/* ---- Chips ("Hiring", "New", …) ---- */

/* Inline after the last word, so it hugs a label even when it wraps. */
.wmf__tag {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-left: 8px;
	position: relative;
	top: -1px;
	padding: 1px 7px;
	border: 1px solid transparent;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 500;
	line-height: 15px;
	letter-spacing: 0;
	white-space: nowrap;
	text-transform: none;
	transition: none;
}

.wmf__tag--glass {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.32);
	color: #FFFFFF;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.wmf__tag--white {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: #073445;
	font-weight: 600;
}

.wmf__tag--sun {
	background: #FFD200;
	border-color: #FFD200;
	color: #073445;
	font-weight: 600;
}

/* ---- Divider ---- */

.wmf__divider {
	padding: 15px 0;
}

.wmf__divider::before {
	content: "";
	display: block;
	width: 100%;
	border-top: 2px solid var(--wmf-divider);
}

/* ---- Logo + copyright ---- */

.wmf__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0;
}

.wmf__logo {
	flex: 1 1 50%;
	min-width: 0;
}

.wmf__logo a {
	display: inline-block;
	line-height: 0;
}

.wmf .wmf__logo-img {
	display: block;
	width: 160px;
	height: auto;
	max-width: 100%;
	border-radius: 0;
}

.wmf .wmf__copy {
	flex: 1 1 50%;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--wmf-copy);
	font-family: var(--wmf-font);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0;
	text-align: right;
}

/* ---- Breakpoints (Elementor's: tablet ≤1024, mobile ≤768) ---- */

@media (max-width: 1024px) {
	.wmf--bg {
		padding: 2rem;
	}

	.wmf__grid {
		padding: 2rem 0;
	}
}

@media (max-width: 768px) {
	.wmf--bg {
		padding: 20px;
	}

	.wmf__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
		padding: 0;
	}

	.wmf__item + .wmf__item {
		margin-top: 12px;
	}

	.wmf__bottom {
		gap: 32px 0;
	}

	.wmf__logo,
	.wmf .wmf__copy {
		flex-basis: 100%;
		text-align: left;
	}
}
