/* ==========================================================================
   NFCR site footer  (rendered by nfcr_footer() in the child theme's footer.php)
   ========================================================================== */

/* Hide Goodwish's own footer in case it still prints (also switch it off in Edge Options) */
.edgtf-page-footer { display: none !important; }

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

.nfcr-footer {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--nfcr-page-max);
	margin: 0 auto;
	padding: 76px var(--nfcr-gutter) 56px;
	font-family: var(--nfcr-font);
}
.nfcr-footer *,
.nfcr-footer *::before,
.nfcr-footer *::after { box-sizing: border-box; }

.nfcr-footer .nfcr-footer__card {
	display: flex;
	flex-direction: column;
	background: var(--nfcr-navy);
	border-radius: var(--nfcr-r-section);
	padding: 46px 50px 30px;
}

/* Brand + 4 link columns */
.nfcr-footer .nfcr-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
	gap: 32px;
}

/* Brand column */
.nfcr-footer .nfcr-footer__logo { display: inline-block; margin-bottom: 14px; }
.nfcr-footer .nfcr-footer__logo img { display: block; height: 88px; width: auto; max-width: 100%; }
.nfcr-footer .nfcr-footer__address {
	margin: 0 0 14px;
	max-width: 270px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--nfcr-on-dark-soft);
}

.nfcr-footer .nfcr-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nfcr-footer .nfcr-footer__social li { margin: 0; padding: 0; list-style: none; }
.nfcr-footer .nfcr-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
.nfcr-footer .nfcr-footer__social a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Column headings */
.nfcr-footer .nfcr-footer__heading {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--nfcr-font);
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--nfcr-on-dark-soft);
}

/* Link columns */
.nfcr-footer .nfcr-footer__links {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nfcr-footer .nfcr-footer__links li { margin: 0; padding: 0; list-style: none; }
.nfcr-footer .nfcr-footer__links a {
	font-size: 16px;
	line-height: 1.5;
	color: var(--nfcr-on-dark-link);
	text-decoration: none;
}
.nfcr-footer .nfcr-footer__links a:hover { color: #fff; }

/* Newsletter band (below the columns by default; .nfcr-footer--news-top moves it above) */
.nfcr-footer .nfcr-footer__news {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
	align-items: center;
	gap: 24px 48px;
	margin-top: 36px;
	padding: 26px 30px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--nfcr-r-chip);
}
.nfcr-footer--news-top .nfcr-footer__news { order: -1; margin: 0 0 38px; }

.nfcr-footer .nfcr-footer__news .nfcr-footer__heading { margin-bottom: 8px; }
.nfcr-footer .nfcr-footer__news-heading {
	margin: 0;
	padding: 0;
	font-family: var(--nfcr-font);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.3px;
	color: #fff;
	text-transform: none;
}
.nfcr-footer .nfcr-footer__news-text {
	margin: 6px 0 0;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--nfcr-on-dark-soft);
}
.nfcr-footer .nfcr-footer__form { display: flex; gap: 8px; margin: 0; }
.nfcr-footer .nfcr-footer__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 11px 16px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--nfcr-r-pill);
	box-shadow: none;
	font-family: var(--nfcr-font);
	font-size: 15px;
	line-height: 1.4;
	color: #fff;
}
.nfcr-footer .nfcr-footer__form input[type="email"]::placeholder { color: var(--nfcr-label); opacity: 1; }
.nfcr-footer .nfcr-footer__form input[type="email"]:focus {
	outline: 3px solid #fff;
	outline-offset: 2px;
	border-color: #fff;
}
.nfcr-footer .nfcr-footer__form button {
	flex-shrink: 0;
	margin: 0;
	padding: 11px 20px;
	background: var(--nfcr-orange);
	border: 0;
	border-radius: var(--nfcr-r-pill);
	font-family: var(--nfcr-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease;
}
.nfcr-footer .nfcr-footer__form button:hover { background: var(--nfcr-orange-hover); }

/* Focus on dark background: white ring instead of navy */
.nfcr-footer a:focus-visible,
.nfcr-footer button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Bottom bar */
.nfcr-footer .nfcr-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	line-height: 1.6;
	color: var(--nfcr-on-dark-muted);
}
.nfcr-footer .nfcr-footer__legal,
.nfcr-footer .nfcr-footer__recognition { margin: 0; font-size: 13px; color: inherit; }

.nfcr-footer .nfcr-footer__legal-links { display: inline; margin: 0; padding: 0; list-style: none; }
.nfcr-footer .nfcr-footer__legal-links li { display: inline; margin: 0; padding: 0; }
.nfcr-footer .nfcr-footer__legal-links li::before { content: " · "; }
.nfcr-footer .nfcr-footer__legal-links a { color: inherit; text-decoration: none; }
.nfcr-footer .nfcr-footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* ---- Responsive (proposed: design is desktop-only) ---- */
@media (max-width: 1100px) {
	.nfcr-footer .nfcr-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
	.nfcr-footer .nfcr-footer__brand { grid-column: 1 / -1; }
	.nfcr-footer .nfcr-footer__news { grid-template-columns: minmax(0, 1fr); }
	.nfcr-footer .nfcr-footer__form { max-width: 480px; }
}

@media (max-width: 767px) {
	.nfcr-footer { padding-top: 56px; padding-bottom: var(--nfcr-gutter); }
	.nfcr-footer .nfcr-footer__card { padding: 32px 22px 22px; }
	.nfcr-footer .nfcr-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.nfcr-footer .nfcr-footer__logo img { height: 72px; }
	.nfcr-footer .nfcr-footer__news { padding: 22px 20px; }
	.nfcr-footer .nfcr-footer__news-heading { font-size: 20px; }
	.nfcr-footer .nfcr-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.nfcr-footer .nfcr-footer__grid { grid-template-columns: 1fr; }
	.nfcr-footer .nfcr-footer__form { flex-direction: column; }
}
