/* ==========================================================================
   footer.css — styles for footer.php only. Nothing else belongs in here.
   ========================================================================== */

.cc-footer {
	background: var(--wp--preset--color--black);
	color: var(--cc-body-dark);
}

.cc-footer__inner {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--30);
}

.cc-footer__top .cc-footer__inner {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 2fr;
	gap: var(--wp--preset--spacing--60);
	padding-block: var(--wp--preset--spacing--60);
}

/* White lockup — the footer ground is black. */
.cc-footer__logo {
	display: inline-block;
	margin-bottom: var(--wp--preset--spacing--20);
	line-height: 0;
}

.cc-footer__logo .cc-logo {
	height: 38px;
	width: auto;
}

.cc-footer__line {
	margin: 0;
	max-width: 34ch;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.6;
	color: var(--cc-muted-dark);
}

/* --- Contact + social (2026-10-30) -------------------------------------
   Under the tagline. Icons are inline Font Awesome SVGs, fill=currentColor:
   white at rest, blue on hover (blue on black passes at 5.06:1). */

.cc-footer__contact,
.cc-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-footer__contact {
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.6;
}

.cc-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0.6rem;
}

.cc-footer__contact .cc-footer__icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 0.3em; /* sit on the first line of a two-line address */
	color: #fff;
}

.cc-footer__contact a {
	text-decoration: none;
	color: var(--cc-body-dark);
	border-bottom: 1px solid transparent;
}

.cc-footer__contact a:hover,
.cc-footer__contact a:focus-visible {
	color: #fff;
	border-bottom-color: var(--wp--preset--color--blue);
}

.cc-footer__contact address {
	font-style: normal;
	color: var(--cc-body-dark);
}

.cc-footer__social {
	display: flex;
	gap: 0.25rem;
	margin-top: var(--wp--preset--spacing--20);
	margin-left: -0.75rem; /* optically align the first glyph with the text above */
}

/* 44px tap target around a 20px glyph. */
.cc-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff;
	transition: color 120ms linear;
}

.cc-footer__social a:hover,
.cc-footer__social a:focus-visible { color: var(--wp--preset--color--blue); }

.cc-footer__social .cc-footer__icon {
	width: 20px;
	height: 20px;
}

.cc-footer .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cc-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--40);
}

.cc-footer__coltitle {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blue);
}

.cc-footer__list,
.cc-footer__legallist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-footer__list li { margin-bottom: 0.6rem; }

.cc-footer__list a {
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: none;
	color: var(--cc-body-dark);
	border-bottom: 1px solid transparent;
}

.cc-footer__list a:hover,
.cc-footer__list a:focus-visible {
	color: #fff;
	border-bottom-color: var(--wp--preset--color--blue);
}

.cc-footer__bottom {
	border-top: 1px solid var(--cc-rule-dark);
}

.cc-footer__bottom .cc-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	padding-block: var(--wp--preset--spacing--30);
}

.cc-footer__copy {
	margin: 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--cc-muted-dark);
}

.cc-footer__legallist {
	display: flex;
	gap: var(--wp--preset--spacing--30);
}

.cc-footer__legallist li { margin: 0; }

.cc-footer__legallist a {
	font-size: var(--wp--preset--font-size--xs);
	text-decoration: none;
	color: var(--cc-muted-dark);
}

.cc-footer__legallist a:hover { color: #fff; }

/* "Privacy settings" is a <button> (it opens the consent dialog, it doesn't
   navigate), dressed exactly like the legal links beside it. */
.cc-footer__privacybtn {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: var(--wp--preset--font-size--xs);
	line-height: inherit;
	color: var(--cc-muted-dark);
	cursor: pointer;
}

.cc-footer__privacybtn:hover { color: #fff; }

@media (max-width: 899px) {
	.cc-footer__top .cc-footer__inner {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--50);
	}
	.cc-footer__cols { grid-template-columns: repeat(2, 1fr); }
	.cc-footer__bottom .cc-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
	.cc-footer__cols { grid-template-columns: 1fr; }
	.cc-footer__legallist { flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
}
