/**
 * ============================================================================
 *  MILTONCAT MANAGED FILE - DO NOT EDIT ON THE SERVER
 * ----------------------------------------------------------------------------
 *  Owner : Getfused (git repo: miltoncat)
 *  Deploy: SFTP overwrites this file wholesale. Server-side edits WILL BE
 *          LOST without warning, with no backup and no notification.
 *
 *  Site code belongs in one of these instead. Neither is ever written by a
 *  Getfused deploy, so anything you put there is safe:
 *      themes/miltoncat-gp/functions.php   (below the SITE CUSTOMIZATIONS marker)
 *      themes/miltoncat-gp/style.css       (below the SITE CUSTOMIZATIONS marker)
 *
 *  Full ownership map: _OWNERSHIP.md in the theme root.
 * ============================================================================
 *
 * Site footer (inc/site-footer.php). Prints before style.css, so
 * same-specificity overrides there win. Link selectors carry two classes +
 * an element to beat Elementor's kit link color (.elementor-kit-N a, 0,1,1).
 */

/* GeneratePress's wrapper: no padding or background of its own. */
.site-footer {
	padding: 0;
	background: none;
}

.mc-footer {
	padding: 48px var(--mc-page-padding) 40px;
	background: var(--mc-ink);
	color: var(--mc-white);
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-link);
	line-height: 1.4;
}

.mc-footer__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	max-width: var(--mc-container);
	margin-inline: auto;
}

.mc-footer :focus-visible {
	outline: 2px solid var(--mc-cat-yellow);
	outline-offset: 2px;
}

/* ---- Menu columns ------------------------------------------------------- */
.mc-footer__nav {
	display: grid;
	/* Industries takes the rest, so its two columns keep long names on one line. */
	grid-template-columns: auto auto minmax(0, 1fr);
	column-gap: 64px;
	row-gap: 32px;
}

.mc-footer .mc-footer__heading {
	display: block;
	margin: 0 0 16px;
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-h4);
	font-weight: 700;
	line-height: 1.3;
	color: var(--mc-white);
}

.mc-footer .mc-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-footer .mc-footer__menu li {
	margin: 0 0 6px;
	font-size: 0.8125rem; /* 13px per the comp; 6px gap keeps a 24px row pitch */
	break-inside: avoid;
}

/* Industries: one menu flowing into two columns. */
.mc-footer .mc-footer__col--industries .mc-footer__menu {
	column-count: 2;
	column-gap: 48px;
	max-width: 30rem; /* keeps the two columns together on wide screens */
}

.mc-footer .mc-footer__menu a,
.mc-footer .mc-footer__legal a,
.mc-footer .mc-footer__copy a {
	color: var(--mc-white);
	text-decoration: none;
}

.mc-footer .mc-footer__menu a:hover,
.mc-footer .mc-footer__legal a:hover,
.mc-footer .mc-footer__copy a:hover,
.mc-footer .mc-footer__menu a:focus-visible,
.mc-footer .mc-footer__legal a:focus-visible,
.mc-footer .mc-footer__copy a:focus-visible {
	color: var(--mc-white);
	text-decoration: underline;
	text-decoration-color: var(--mc-cat-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.mc-footer .mc-footer__menu .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--mc-cat-yellow);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

/* ---- Right column: sign-up, social, legal, copyright -------------------- */
.mc-footer__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 20px;
	width: 268px;
	text-align: right;
}

.mc-footer__signup {
	width: 100%;
	margin: 0;
}

.mc-footer__signup-row {
	display: flex;
}

.mc-footer .mc-footer__signup input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 0;
	background: var(--mc-white);
	color: var(--mc-ink);
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-link);
}

.mc-footer .mc-footer__signup input[type="email"]::placeholder {
	color: var(--mc-text-secondary);
	opacity: 1;
}

.mc-footer .mc-footer__signup-button {
	flex: 0 0 auto;
	min-height: 38px;
	padding-block: 6px;
}

.mc-footer__signup-status:empty {
	display: none;
}

.mc-footer__signup-status {
	margin: 8px 0 0;
	font-size: var(--mc-fs-caption);
}

/* Gravity Forms version: compact, single row where the form allows. */
.mc-footer__signup--gf .gform_wrapper {
	margin: 0;
	text-align: left;
}

.mc-footer__signup--gf .gform_wrapper .gfield_label {
	color: var(--mc-white);
}

.mc-footer__social {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-footer .mc-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mc-cat-yellow);
	color: var(--mc-ink);
	transition: background-color var(--mc-transition), color var(--mc-transition);
}

.mc-footer .mc-footer__social-link:hover,
.mc-footer .mc-footer__social-link:focus-visible {
	background: var(--mc-white);
	color: var(--mc-ink);
}

/* YouTube play triangle: punched out in the circle's color. */
.mc-footer__social-cutout {
	fill: var(--mc-cat-yellow);
	transition: fill var(--mc-transition);
}

.mc-footer__social-link:hover .mc-footer__social-cutout,
.mc-footer__social-link:focus-visible .mc-footer__social-cutout {
	fill: var(--mc-white);
}

.mc-footer__legal-nav {
	margin: 4px 0 0;
}

.mc-footer .mc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-footer__copy {
	margin: 0;
	font-size: var(--mc-fs-caption);
	line-height: 1.4;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1200px) {
	.mc-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.mc-footer__aside {
		width: 100%;
		max-width: 360px;
		align-items: flex-start;
		text-align: left;
	}

	.mc-footer .mc-footer__legal {
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	.mc-footer__nav {
		grid-template-columns: repeat(2, auto);
	}

	.mc-footer__col--industries {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.mc-footer__nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.mc-footer .mc-footer__col--industries .mc-footer__menu {
		column-gap: 24px;
	}

	.mc-footer__aside {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mc-footer .mc-footer__social-link,
	.mc-footer__social-cutout {
		transition: none;
	}
}
