/* Professional site footer — 4-column split preserved */

/*
 * No theme spacer above the footer bar; keep shared bottom pad under content boxes.
 */
.wp-site-blocks {
	padding-bottom: 0 !important;
}

.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > footer,
main + .wp-block-template-part,
main + footer,
main + .ineed-site-footer {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.entry-content > :last-child {
	margin-bottom: 0 !important;
	padding-bottom: var(--ineed-content-bottom, 48px) !important;
}

body:has(.ineed-site-footer) #content_div {
	padding-bottom: var(--ineed-content-bottom, 48px) !important;
	margin-bottom: 0 !important;
}

.ineed-site-footer,
.wp-block-group.ineed-site-footer,
.ineed-site-footer.has-background,
.ineed-site-footer.has-base-2-background-color,
.ineed-site-footer.has-global-padding {
	margin-top: 0 !important;
	/* Beat block editor inline padding-left/right:32px — same gutter as header */
	padding-top: 56px !important;
	padding-right: var(--ineed-page-pad, 24px) !important;
	padding-bottom: 0 !important;
	padding-left: var(--ineed-page-pad, 24px) !important;
	background: linear-gradient(180deg, #124a3a 0%, #0a2e26 100%) !important;
	background-color: #0a2e26 !important;
	border-top: 0;
	box-shadow: inset 0 3px 0 #2d8f6f;
	color: #e8f2ec;
	font-family: var(--ineed-font, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

/* Constrained/alignwide children must span the same pad as the header logo */
.ineed-site-footer.is-layout-constrained > .ineed-site-footer__main,
.ineed-site-footer.is-layout-constrained > .alignwide,
.ineed-site-footer > .alignwide {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.ineed-site-footer a,
.ineed-site-footer p,
.ineed-site-footer h3,
.ineed-site-footer span,
.ineed-site-footer li {
	font-family: inherit;
}

.ineed-site-footer .wp-block-columns,
.ineed-site-footer__main {
	display: grid !important;
	grid-template-columns: minmax(220px, 1.25fr) minmax(160px, 0.9fr) minmax(150px, 0.85fr) minmax(240px, 1.25fr) !important;
	column-gap: 40px;
	row-gap: 36px;
	align-items: start;
	justify-items: stretch;
	max-width: none;
	margin: 0;
	padding: 0 0 8px;
}

.ineed-site-footer .wp-block-column,
.ineed-footer-col,
.ineed-site-footer__brand {
	flex-basis: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
}

.ineed-site-footer .custom-logo,
.ineed-site-footer__brand img,
.ineed-site-footer .ineed-chrome-logo__img {
	width: auto;
	max-width: min(200px, 70vw);
	height: auto;
	object-fit: contain;
	image-rendering: auto;
}

.ineed-site-footer .ineed-chrome-logo__name {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.ineed-site-footer .ineed-footer-tagline {
	margin: 14px 0 0;
	max-width: 28em;
	color: #c5d8cc;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
}

.ineed-site-footer h3.ineed-footer-contact__title {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ineed-site-footer h3.ineed-footer-contact__title:after {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin-top: 10px;
	border-radius: 2px;
	background: #2d8f6f;
}

.ineed-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: none;
}

.ineed-footer-contact > .ineed-footer-contact__title {
	margin: 0 0 16px;
}

.ineed-footer-contact__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ineed-site-footer p.ineed-footer-contact__item,
.ineed-footer-contact__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	color: #e8f2ec;
	font-size: 15px;
	line-height: 1.55;
}

.ineed-footer-contact__item svg {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-top: 0;
	fill: #8ec4a8;
}

.ineed-footer-icon {
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: 0;
	border: 1px solid rgba(142, 196, 168, 0.4);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	box-sizing: border-box;
}

.ineed-footer-icon svg {
	flex: 0 0 13px;
	width: 13px;
	height: 13px;
	margin: 0;
	fill: #8ec4a8;
}

.ineed-footer-contact__lines {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ineed-footer-contact__item a,
.ineed-footer-contact__item span,
.ineed-footer-col__link a {
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.ineed-footer-contact__item a[href^="mailto:"] {
	overflow-wrap: normal;
	word-break: keep-all;
}

.ineed-footer-contact__item a {
	color: #e8f2ec;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ineed-footer-col__link a:hover,
.ineed-footer-contact__item a:hover {
	color: #8ec4a8;
	text-decoration: none;
}

/* Soft green focus (beats WP .wp-site-blocks *:focus black outline) */
.ineed-site-footer a:focus,
.ineed-site-footer a:focus-visible,
.ineed-site-footer a:active {
	outline: none !important;
	box-shadow: none !important;
	color: #8ec4a8 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(142, 196, 168, 0.7);
	-webkit-tap-highlight-color: transparent;
}

.ineed-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.ineed-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(142, 196, 168, 0.45);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	color: #d7e8df;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ineed-footer-social a svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.ineed-footer-social a:hover {
	background: #1a5c4a;
	border-color: #1a5c4a;
	color: #ffffff;
	text-decoration: none;
}

.ineed-footer-social a:focus,
.ineed-footer-social a:focus-visible,
.ineed-footer-social a:active {
	outline: none !important;
	color: #ffffff !important;
	background: #1a5c4a !important;
	border-color: #1a5c4a !important;
	text-decoration: none !important;
	box-shadow: 0 0 0 3px rgba(26, 92, 74, 0.28) !important;
}

.ineed-footer-col__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ineed-site-footer .ineed-footer-col__link {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.ineed-footer-col__link a {
	display: inline-block;
	color: #e8f2ec;
	text-decoration: none;
	text-align: left;
	transition: color 0.15s ease;
}

.ineed-footer-col__link a:hover {
	color: #8ec4a8;
	text-decoration: none;
}

.ineed-site-footer__brand a:focus,
.ineed-site-footer__brand a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	opacity: 0.85;
}

.ineed-site-footer__bar {
	max-width: none;
	margin: 40px 0 0;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(213, 226, 239, 0.16);
}

.ineed-footer-copyright {
	margin: 0;
	color: #8aa898;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	letter-spacing: 0.01em;
}

@media (max-width: 900px) {
	.ineed-site-footer,
	.wp-block-group.ineed-site-footer {
		padding-top: 48px !important;
	}

	.ineed-site-footer .wp-block-columns,
	.ineed-site-footer__main {
		grid-template-columns: 1fr 1fr !important;
		column-gap: 32px;
		row-gap: 32px;
	}
}

@media (max-width: 600px) {
	.ineed-site-footer,
	.wp-block-group.ineed-site-footer {
		padding-top: 40px !important;
	}

	.ineed-site-footer .wp-block-columns,
	.ineed-site-footer__main {
		grid-template-columns: 1fr !important;
		column-gap: 0;
		row-gap: 28px;
	}

	.ineed-site-footer__bar {
		margin-top: 28px;
	}
}
