.opx-footer {
	position: relative;
	display: block;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: var(--wp--preset--font-size--footer-text);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--footer-text);
	color: var(--wp--preset--color--ink);
}

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

.opx-footer a {
	color: inherit;
	box-shadow: none;
	text-decoration: none;
}

/* Visually hidden (screen-reader only) */
.opx-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.opx-footer__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url('/wp-content/uploads/2023/10/bg-gradient-blur-v3.png');
	background-position: top right;
	background-repeat: no-repeat;
}

.opx-footer__inner {
	position: relative;
	z-index: 1;
	/* production: full-width container with 5% side padding; the 1400px cap applies to the content inside it,
	   and the vertical padding is 2% / 3% of the CONTENT width (= 1.8% / 2.7% of the page width) */
	padding: 1.8% var(--wp--preset--spacing--section-x) 2.7%;
}

.opx-footer .opx-footer__inner > * {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto;
	margin-right: auto;
}

.opx-footer__rule {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--wp--preset--color--border-subtle);
}

/* 12px above + 12px below the line + 50px container margin-bottom */
.opx-footer__rule--top {
	margin: 12px 0 62px;
}

/* separator width 50% centred; 30px above + 12px below + 10px margin-bottom */
.opx-footer__rule--bottom {
	width: 50%;
	margin: 30px auto 34px;
}

/* ---------- column layout ---------- */

.opx-footer__cols {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	column-gap: 20px;
	row-gap: 0;
}

.opx-footer__brand {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: 24%;
	margin-top: 1%;
	padding-right: 20px;
	gap: var(--wp--preset--spacing--gap-20);
}

.opx-footer__links {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	width: 74%;
	padding: 10px 10px 10px 20px;
	row-gap: 20px;
	column-gap: var(--wp--preset--spacing--gap-s);
}

.opx-footer__col {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--gap-20);
	width: 24%;
}

/* desktop only: production's link columns carry 10px of padding (tablet/mobile have none) */
@media (min-width: 1025px) {
	.opx-footer__col {
		padding: 10px;
	}
}

/* ---------- brand column ---------- */

/* widget container margin -10px 0 0 -15px; text-align start; img width 70% */
.opx-footer__logo {
	display: block;
	width: 73.5%;
	height: auto;
	margin: -10px 0 0 -15px;
	border-radius: 0;
}

.opx-footer__tagline {
	margin: 0 0 4px;
	font-size: var(--wp--preset--font-size--footer-text);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--footer-text);
	color: var(--wp--preset--color--ink);
}

/* Contact icon-list — --e-icon-list-icon-size 18px, space-between 12px.
   Icon/text gap = svg margin-right (18px * .25) + text padding-inline-start 5px. */
.opx-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.opx-footer__contact li:not(:last-child) {
	margin-bottom: 12px;
}

.opx-footer__contact a {
	display: flex;
	align-items: center;
	gap: 0;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: color 0.3s;
}

.opx-footer__contact a:hover,
.opx-footer__contact a:focus-visible {
	color: var(--wp--preset--color--accent);
}

.opx-footer__contact svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 4.5px;
	fill: var(--wp--preset--color--accent);
	transition: fill 0.3s;
}

.opx-footer__contact a > span {
	align-self: center;
	padding-left: 5px;
}

.opx-footer__social {
	display: flex;
	gap: 14px;
	margin: 10px 0;
	padding: 0;
	list-style: none;
}

.opx-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35.2px;
	height: 35.2px;
	line-height: 16px;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	transition: background-color 0.3s;
}

.opx-footer__social a:hover,
.opx-footer__social a:focus-visible {
	background: var(--wp--preset--color--accent);
	opacity: 0.9;
}

.opx-footer__social svg {
	width: 16px;
	height: 16px;
	fill: var(--wp--preset--color--surface);
	transition: fill 0.3s;
}

.opx-footer__social a:hover svg,
.opx-footer__social a:focus-visible svg {
	fill: var(--wp--preset--color--surface-alt);
}

.opx-footer__social img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.opx-footer__clutch {
	width: 100%;
	/* Reserve the widget's declared 50px height before its iframe loads. */
	min-height: 50px;
}

/* ---------- link columns ---------- */

.opx-footer__heading {
	margin: 0;
	font-size: var(--wp--preset--font-size--footer-headline);
	font-weight: 500;
	line-height: var(--wp--custom--line-height--footer-headline);
	color: var(--wp--preset--color--ink);
}

/* Nav-menu columns — widget container margin -10px 0 0 -15px,
   items padding 7px 14px, typography da120f8. */
.opx-footer__list {
	margin: -10px 0 0 -15px;
	padding: 0;
	list-style: none;
}

.opx-footer__list a {
	display: block;
	padding: 7px 14px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: color 0.3s;
}

.opx-footer__list a:hover,
.opx-footer__list a:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* Plain icon-list columns (Industries / Our Company / Resources) —
   widget container margin -5px 0 0 0, space-between 12px, no item padding. */
.opx-footer__list--icons {
	margin: -5px 0 0;
}

.opx-footer__list--icons li:not(:last-child) {
	margin-bottom: 12px;
}

.opx-footer__list--icons a {
	padding: 0;
}

/* ---------- copyright ---------- */

.opx-footer__copyright {
	margin: 0;
	text-align: center;
	font-size: var(--wp--preset--font-size--footer-text-s);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--footer-text-s);
	color: var(--wp--preset--color--ink);
}

.opx-footer__copyright a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

/* ============================================================
   Tablet  768px - 1024px
   ============================================================ */

@media (min-width: 768px) and (max-width: 1024px) {
	.opx-footer__inner {
		padding: 4.5% var(--wp--preset--spacing--section-x);
	}

	.opx-footer__cols {
		column-gap: 30px;
		row-gap: 30px;
	}

	.opx-footer__brand {
		width: 100%;
		padding: 0 20%;
		text-align: center;
	}

	.opx-footer__logo {
		width: 56.6%;
		align-self: center;
		margin: -10px 0 0 -15px;
	}

	.opx-footer__tagline {
		text-align: center;
	}

	.opx-footer__social {
		justify-content: center;
		margin: 0;
	}

	.opx-footer__links {
		width: 100%;
		justify-content: flex-start;
		margin-top: 10px;
		padding: 0;
		row-gap: 20px;
		column-gap: 20px;
	}

	.opx-footer__col {
		width: 31%;
	}

	.opx-footer__rule--top {
		margin: 15px 0 45px;
	}

	.opx-footer__rule--bottom {
		margin: 42px auto;
	}

	.opx-footer__list {
		margin: 0 0 0 -10px;
	}

	.opx-footer__list--icons {
		margin: 0;
	}
}

/* ============================================================
   Mobile  <= 767px
   ============================================================ */

@media (max-width: 767px) {
	.opx-footer__inner {
		padding: 4.5% var(--wp--preset--spacing--section-x);
	}

	.opx-footer__rule--top {
		margin: 15px 0 45px;
	}

	.opx-footer__cols {
		column-gap: 20px;
		row-gap: 30px;
	}

	.opx-footer__brand {
		width: 100%;
		padding: 0;
		row-gap: 20px;
		column-gap: 20px;
	}

	.opx-footer__logo {
		width: 72.9%;
		align-self: center;
		margin: -10px 0 -13px -15px;
	}

	.opx-footer__tagline {
		font-size: var(--wp--preset--font-size--footer-text);
		line-height: var(--wp--custom--line-height--footer-text);
		text-align: left;
	}

	.opx-footer__contact a,
	.opx-footer__contact a > span {
		font-size: var(--wp--preset--font-size--footer-text-s);
		line-height: var(--wp--custom--line-height--footer-text-s);
	}

	.opx-footer__social {
		justify-content: flex-start;
		margin: 0;
	}

	.opx-footer__links {
		width: 100%;
		justify-content: space-between;
		margin-top: 20px;
		padding: 0;
		row-gap: 22px;
		column-gap: 8px;
	}

	.opx-footer__col {
		width: 48%;
	}

	.opx-footer__heading {
		margin: 0 0 10px;
		font-size: var(--wp--preset--font-size--footer-headline);
	}

	.opx-footer__list {
		margin: -15px 0 0 -13px;
	}

	.opx-footer__list a {
		padding: 5px 14px;
		font-size: var(--wp--preset--font-size--footer-text-s);
		line-height: var(--wp--custom--line-height--footer-text-s);
	}

	.opx-footer__list--icons {
		margin: -10px 0 0 2px;
	}

	.opx-footer .opx-footer__list--icons a {
		padding: 0;
	}

	.opx-footer__list--icons li:not(:last-child) {
		margin-bottom: 10px;
	}

	.opx-footer__rule--bottom {
		margin: 35px auto;
	}

	.opx-footer__copyright {
		font-size: var(--wp--preset--font-size--footer-text-s);
		line-height: var(--wp--custom--line-height--footer-text-s);
	}
}
