/* YouMind New Footer — pixel match to about-us.html .site-footer */

.ymct-new-footer {
	--ymct-nf-ice: #ecf7f9;
	--ymct-nf-font: "Poppins", Arial, sans-serif;
	--ymct-nf-legal-font: "Outfit", Arial, sans-serif;
	--ymct-nf-link: rgba(255, 255, 255, 0.9);
	--ymct-nf-muted: #ffffffcc;
	font-family: var(--ymct-nf-font) !important;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--ymct-nf-ice) !important;
	background: transparent !important;
}

.ymct-new-footer *,
.ymct-new-footer *::before,
.ymct-new-footer *::after {
	box-sizing: border-box;
}

.ymct-new-footer .ymct-nf {
	display: block !important;
	width: 100%;
	margin: 0;
	padding: 100px 0 0;
	color: var(--ymct-nf-ice) !important;
	background: linear-gradient(180deg, #199a91, #082725) !important;
	border: 0 !important;
	font-family: var(--ymct-nf-font) !important;
}

.ymct-new-footer .ymct-nf h1,
.ymct-new-footer .ymct-nf h2,
.ymct-new-footer .ymct-nf h3,
.ymct-new-footer .ymct-nf p {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.ymct-new-footer .ymct-nf h1,
.ymct-new-footer .ymct-nf p {
	margin: 0 !important;
}

.ymct-new-footer .ymct-nf img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.ymct-new-footer .ymct-nf a,
.ymct-new-footer .ymct-nf a:visited,
.ymct-new-footer .ymct-nf a:link {
	color: var(--ymct-nf-link) !important;
	text-decoration: none !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.ymct-new-footer .ymct-nf a:hover,
.ymct-new-footer .ymct-nf a:focus {
	color: #ffffff !important;
	text-decoration: underline !important;
	background: none !important;
}

.ymct-new-footer .ymct-nf__container {
	width: calc(100% - 160px);
	max-width: 1280px;
	margin-inline: auto;
	padding: 0;
}

/* Desktop: HTML match — flex + space-between; .pair uses display:contents */
.ymct-new-footer .ymct-nf__top {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	width: 100%;
}

.ymct-new-footer .ymct-nf__intro {
	width: 404px;
	max-width: 404px;
	flex: 0 0 404px;
}

.ymct-new-footer .ymct-nf__pair {
	display: contents !important;
}

.ymct-new-footer .ymct-nf__column,
.ymct-new-footer .ymct-nf .footer-column {
	min-width: 0;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ymct-new-footer .ymct-nf__logo {
	object-fit: contain;
	object-position: left top;
	width: 105.898px !important;
	height: 86.818px !important;
	max-width: none !important;
	margin: 1.62px 0 24.562px !important;
	filter: brightness(0) invert(96%) sepia(8%) saturate(323%) hue-rotate(141deg);
}

.ymct-new-footer .ymct-nf__brand-text {
	font-family: var(--ymct-nf-font) !important;
	font-size: 20px !important;
	line-height: 32px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	color: var(--ymct-nf-ice) !important;
}

.ymct-new-footer .ymct-nf h2.ymct-nf__heading,
.ymct-new-footer .ymct-nf .footer-column h2,
.ymct-new-footer .ymct-nf__heading {
	font-family: var(--ymct-nf-font) !important;
	font-size: 24px !important;
	line-height: 34px !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #ffffff !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
}

.ymct-new-footer .ymct-nf__links,
.ymct-new-footer .ymct-nf .footer-links {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ymct-new-footer .ymct-nf__link,
.ymct-new-footer .ymct-nf__link:visited,
.ymct-new-footer .ymct-nf__link:link,
.ymct-new-footer .ymct-nf .footer-links a,
.ymct-new-footer .ymct-nf .footer-links a:visited,
.ymct-new-footer .ymct-nf .footer-links a:link {
	display: inline-block;
	white-space: nowrap;
	font-family: var(--ymct-nf-font) !important;
	font-size: 20px !important;
	line-height: 32px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	color: var(--ymct-nf-link) !important;
	text-decoration: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ymct-new-footer .ymct-nf__link:hover,
.ymct-new-footer .ymct-nf__link:focus,
.ymct-new-footer .ymct-nf .footer-links a:hover,
.ymct-new-footer .ymct-nf .footer-links a:focus {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.ymct-new-footer .ymct-nf__bottom {
	margin-top: 100px;
	border-top: 0 !important;
	box-shadow: 0 -1px 0 #ffffff33;
	padding: 40px 0 !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.ymct-new-footer .ymct-nf__small-logo {
	width: 70.747px !important;
	height: 58px !important;
	max-width: none !important;
	margin: 1px 60.967px 3px 27.286px !important;
	object-fit: contain;
	filter: brightness(0) invert(96%) sepia(8%) saturate(323%) hue-rotate(141deg);
	flex-shrink: 0;
}

.ymct-new-footer .ymct-nf__copyright {
	margin: 0 !important;
	font-family: var(--ymct-nf-font) !important;
	font-size: 20px !important;
	line-height: 32px !important;
	font-weight: 400 !important;
	color: var(--ymct-nf-muted) !important;
	white-space: nowrap;
}

.ymct-new-footer .ymct-nf__legal {
	display: flex;
	flex-shrink: 0;
	gap: 32px;
	align-items: center;
}

.ymct-new-footer .ymct-nf__legal-link,
.ymct-new-footer .ymct-nf__legal-link:visited,
.ymct-new-footer .ymct-nf__legal-link:link {
	font-family: var(--ymct-nf-legal-font) !important;
	font-weight: 300 !important;
	font-size: 16px !important;
	line-height: 21px !important;
	color: var(--ymct-nf-muted) !important;
	text-decoration: none !important;
	white-space: nowrap;
	margin: 0 !important;
	padding: 0 !important;
}

.ymct-new-footer .ymct-nf__legal-link:hover,
.ymct-new-footer .ymct-nf__legal-link:focus {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.editor-styles-wrapper .ymct-new-footer,
.block-editor-block-list__block .ymct-new-footer {
	width: 100% !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
	.ymct-new-footer .ymct-nf__container {
		width: calc(100% - 64px);
	}

	.ymct-new-footer .ymct-nf {
		padding-top: 64px;
	}

	.ymct-new-footer .ymct-nf__top {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px;
	}

	.ymct-new-footer .ymct-nf__intro {
		width: auto;
		max-width: 560px;
		flex: none;
		grid-column: 1 / -1;
	}

	.ymct-new-footer .ymct-nf__pair {
		display: contents !important;
	}

	.ymct-new-footer .ymct-nf__bottom {
		margin-top: 64px;
		flex-wrap: wrap;
	}

	.ymct-new-footer .ymct-nf__copyright {
		font-size: 16px !important;
		white-space: normal;
	}

	.ymct-new-footer .ymct-nf__legal {
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.ymct-new-footer .ymct-nf__container {
		width: calc(100% - 40px);
	}

	.ymct-new-footer .ymct-nf {
		padding: 44px 0;
	}

	.ymct-new-footer .ymct-nf__top {
		display: flex !important;
		flex-direction: column;
		gap: 20px;
	}

	.ymct-new-footer .ymct-nf__intro {
		width: 100%;
		max-width: none;
		flex: none;
	}

	.ymct-new-footer .ymct-nf__pair {
		display: flex !important;
		width: 100%;
		justify-content: space-between;
		gap: 24px;
	}

	.ymct-new-footer .ymct-nf__pair .ymct-nf__column:last-child {
		width: 159px;
	}

	.ymct-new-footer .ymct-nf__heading {
		margin: 0 0 16px !important;
		color: var(--ymct-nf-ice) !important;
		font-size: 21px !important;
		line-height: 34px !important;
	}

	.ymct-new-footer .ymct-nf__link,
	.ymct-new-footer .ymct-nf__link:visited,
	.ymct-new-footer .ymct-nf__link:link {
		font-size: 18px !important;
		color: var(--ymct-nf-ice) !important;
	}

	.ymct-new-footer .ymct-nf__bottom {
		display: none !important;
	}
}

@media (max-width: 374px) {
	.ymct-new-footer .ymct-nf__heading {
		font-size: 21px !important;
	}

	.ymct-new-footer .ymct-nf__link,
	.ymct-new-footer .ymct-nf__link:visited,
	.ymct-new-footer .ymct-nf__link:link {
		font-size: 18px !important;
	}

	.ymct-new-footer .ymct-nf__pair {
		gap: 16px;
	}

	.ymct-new-footer .ymct-nf__pair .ymct-nf__column:last-child {
		width: auto;
	}
}

/*
 * Menu / legal link entrance — forced so theme link CSS cannot kill opacity.
 * Matches Youmind/asset/entrance.css for .footer-links a
 */
@media (prefers-reduced-motion: no-preference) {
	.ymct-new-footer .footer-links a.entrance-pending,
	.ymct-new-footer .ymct-nf__links a.entrance-pending,
	.ymct-new-footer a.ymct-nf__link.entrance-pending,
	.ymct-new-footer .legal a.entrance-pending,
	.ymct-new-footer a.ymct-nf__legal-link.entrance-pending {
		opacity: 0 !important;
		transform: translateY(14px) !important;
	}

	.ymct-new-footer .footer-links a.entrance-visible,
	.ymct-new-footer .ymct-nf__links a.entrance-visible,
	.ymct-new-footer a.ymct-nf__link.entrance-visible,
	.ymct-new-footer .legal a.entrance-visible,
	.ymct-new-footer a.ymct-nf__legal-link.entrance-visible {
		opacity: 1 !important;
		transform: translateY(0) !important;
		transition: opacity 0.7s ease, transform 0.7s ease !important;
		transition-delay: var(--entrance-delay, 0s) !important;
	}
}
