.connect {
	padding: 3rem 1.5rem;
}

.connect__inner {
	display: flex;
	align-items: flex-start;
	flex-flow: row nowrap; /* Ensure no wrapping */
	gap: 3rem;
	max-width: 1400px;
	margin: auto;
	
}

.connect__certs {
	display: flex;
	flex: 0 1 50%;
	gap: 1rem;
	flex-flow: row nowrap;
	justify-content: space-between; /* Ensure even spacing between items */
}

.connect__certs a img,
.connect__certs > * {
	flex: 0 1 auto; /* Ensure items do not grow beyond their content */
	max-width: 125px;
}

.connect__social__social {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* Line the icons up under the heading (2026-11-08; was centered) */
	flex: 0 1 25%;
	gap: 1.25rem;
	flex-flow: row nowrap; /* Display social icons in a row */
	padding: 0;
}

/* Keep "Connect with Us." on one line on desktop so it lines up with "Search The Site." (2026-11-08). */
@media (min-width: 769px) {
	.connect__social > p { white-space: nowrap; }
}

.connect__social__social svg {
	width: 32px;
	height: 32px;
	display: block;
	fill: var(--color1);
}

.connect__search {
	display: flex;
	flex-direction: column; /* Stack elements vertically */
	align-items: flex-start; /* Align text and input to the start */
	flex: 0 1 25%;
}

.connect__search span {
	margin-bottom: 0.5rem; /* Add space between the text and input */
  text-align:center;
}

.connect__search input {
	width: 100%;
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
	.connect__inner {
		flex-direction: column;
	}
}

/* Subscribe Bar */
.subscribe {
	background: var(--color3);
	padding: 1.5rem;
}

.subscribe__inner {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	gap: 1rem 2rem;
	max-width: 1200px;
	margin: auto;
}

.subscribe__text > *:first-of-type {
	margin: 0;
}