/* Match internal institutional footers to the homepage composition. */
.anacap-brand-footer,
.anacap-brand-footer * { box-sizing: border-box; }

footer.anacap-brand-footer {
	width: 100%;
	margin: 0;
	padding: 28px clamp(20px, 4vw, 64px) 18px;
	background: #082742 !important;
	color: #fff !important;
}

.anacap-brand-footer__inner { width: 100%; max-width: 1660px; margin: 0 auto; }
.anacap-brand-footer__prompt {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin: 0 0 38px; padding: 22px 30px; border-radius: 12px;
	background: #f5aa32; color: #082742;
}
.anacap-brand-footer__prompt h2 { margin: 0 0 5px; color: inherit; font-size: clamp(21px, 1.8vw, 30px); line-height: 1.2; }
.anacap-brand-footer__prompt p { margin: 0; color: #173957; font-size: 15px; line-height: 1.45; }
.anacap-brand-footer__prompt > a {
	display: inline-flex; min-height: 48px; flex: 0 0 auto; align-items: center; justify-content: center;
	padding: 0 22px; border: 0; border-radius: 7px; background: #082742; color: #fff !important;
	font-weight: 750; text-decoration: none;
}
.anacap-brand-footer__prompt > a:hover { background: #123d60; color: #fff !important; }

.anacap-brand-footer__columns {
	display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); gap: 28px;
	padding: 0 0 28px;
}
.anacap-brand-footer__brand > a { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #fff; text-decoration: none; }
.anacap-brand-footer__brand > a > img { display: block; width: 54px; height: 54px; flex: 0 0 54px; margin: 0; object-fit: contain; }
.anacap-brand-footer__brand .anacap-brand__name,
.anacap-footer-brand-name { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 16px; font-weight: 850; line-height: 1; white-space: nowrap; }
.anacap-brand-footer__brand .anacap-brand__name > span,
.anacap-brand-footer__brand .anacap-brand__name > strong { color: inherit; font-size: inherit; font-weight: inherit; }
.anacap-brand-footer__brand p { max-width: 34ch; margin: 0; color: #d7e4ef; font-size: 15px; line-height: 1.6; }
.anacap-brand-footer__columns nav,
.anacap-brand-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.anacap-brand-footer__columns h3,
.anacap-brand-footer__contact h3 { margin: 0 0 5px; color: #f5aa32; font-size: 15px; font-weight: 750; }
.anacap-brand-footer__columns a,
.anacap-brand-footer__contact span { color: #e1eaf2; font-size: 14px; line-height: 1.5; text-decoration: none; }
.anacap-brand-footer__columns a:hover { color: #ffc052; text-decoration: underline; text-underline-offset: 3px; }

.anacap-product-footer-extra {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin: 16px 0 10px; padding: 18px 0 20px;
	border-top: 1px solid rgb(255 255 255 / 20%); border-bottom: 1px solid rgb(255 255 255 / 20%);
}
.anacap-product-collaborate { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; }
.anacap-product-collaborate h2 { margin: 0 8px 0 0; color: #f5aa32; font-size: 15px; }
.anacap-product-collaborate a {
	display: inline-flex; min-height: 42px; align-items: center; justify-content: center;
	padding: 0 16px; border-radius: 8px; background: #f5aa32; color: #082742 !important;
	font-size: 14px; font-weight: 750; text-decoration: none;
}
.anacap-product-collaborate a:hover { background: #ffc15b; }
.anacap-footer-social { display: flex; align-items: center; justify-content: flex-end; gap: 9px; color: #fff; }
.anacap-footer-social__title { margin-right: 4px; font-size: 13px; }
.anacap-footer-social a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgb(255 255 255 / 48%); border-radius: 50%; color: #fff; }
.anacap-footer-social a:hover { border-color: #f5aa32; color: #f5aa32; }
.anacap-footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.anacap-brand-footer__accreditation {
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
	padding: 20px 0; border-bottom: 1px solid rgb(255 255 255 / 20%);
}
.anacap-brand-footer__accreditation > p { max-width: 70ch; margin: 0; color: #d7e4ef; font-size: 14px; line-height: 1.55; }
.anacap-brand-footer__accreditation > p strong { display: block; margin-bottom: 5px; color: #fff; font-size: 15px; }
.anacap-brand-footer__accreditation > div.anacap-seal-group { display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 14px; }
.anacap-brand-footer__accreditation > div > span { display: grid; min-width: 112px; gap: 4px; color: #fff; text-align: center; }
.anacap-brand-footer__accreditation > div > span b { font-size: 14px; }
.anacap-brand-footer__accreditation small { color: #d7e4ef; font-size: 9px; letter-spacing: .06em; }
.anacap-brand-footer__accreditation img { display: block; width: auto; max-width: 150px; max-height: 56px; object-fit: contain; }
.anacap-brand-footer__accreditation img.anacap-certhia { max-width: 135px; max-height: 56px; }
.anacap-brand-footer__accreditation img.anacap-four-year-seal { max-width: 76px; max-height: 66px; }
.anacap-brand-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; padding: 16px 0 0; color: #c3d2de; font-size: 12px; line-height: 1.5; }
.anacap-brand-footer a:focus-visible { outline: 3px solid #8dc7f4; outline-offset: 4px; }

@media (max-width: 900px) {
	.anacap-brand-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
	.anacap-brand-footer__accreditation { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
	footer.anacap-brand-footer { padding: 22px 18px 16px; }
	.anacap-brand-footer__prompt { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 28px; padding: 20px; }
	.anacap-brand-footer__prompt > a { width: 100%; }
	.anacap-brand-footer__columns { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 24px; }
	.anacap-product-footer-extra { align-items: flex-start; flex-direction: column; gap: 18px; }
	.anacap-product-collaborate { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
	.anacap-product-collaborate h2 { flex-basis: 100%; }
	.anacap-footer-social { justify-content: flex-start; flex-wrap: wrap; }
	.anacap-footer-social__title { flex-basis: 100%; }
	.anacap-brand-footer__accreditation > div.anacap-seal-group { justify-content: flex-start; flex-wrap: wrap; }
	.anacap-brand-footer__bottom { flex-direction: column; }
}

/* Override theme and legacy image rules for the footer emblem. */
footer.anacap-brand-footer .anacap-brand-footer__brand > a > img.anacap-footer-emblem { width: 56px !important; height: 56px !important; min-width: 56px !important; max-width: 56px !important; min-height: 56px !important; max-height: 56px !important; flex: 0 0 56px !important; object-fit: contain !important; }

