/* =============================================================================
 * SCCFD Footer
 * Design copied from the prototype (index.html).
 * ============================================================================= */

.sccfd-footer {
	padding-top: 56px;
	background: #052a58;
	color: #c9d6e8;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13.5px;
	line-height: 1.4;
}

.sccfd-footer__wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.sccfd-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sccfd-footer a {
	color: #c9d6e8;
	text-decoration: none;
}

.sccfd-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.sccfd-footer a:focus-visible,
.sccfd-footer select:focus-visible {
	outline: 3px solid #f1d11a;
	outline-offset: 2px;
}

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


/* ----- Top part: about (left) + link columns (right) ----- */

.sccfd-footer__top {
	display: grid;
	grid-template-columns: 1.3fr 2.2fr;
	gap: 48px;
	align-items: start;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sccfd-footer__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
}

.sccfd-footer__badge {
	width: auto;
	height: 72px;
}

.sccfd-footer__divider {
	width: 1px;
	height: 44px;
	background: rgba(255, 255, 255, 0.18);
}

.sccfd-footer__accred {
	width: 66px;
	height: 66px;
	border-radius: 50%;
	object-fit: cover;
}

.sccfd-footer__name {
	display: flex;
	flex-direction: column;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sccfd-footer__name strong {
	font-size: 17px;
	font-weight: 800;
}

.sccfd-footer__desc {
	max-width: 36ch;
	margin: 16px 0 0;
	color: #9fb3d1;
	line-height: 1.6;
}

.sccfd-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px !important;
}

.sccfd-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background 0.15s;
}

.sccfd-footer__social a:hover {
	background: #b32b25;
	color: #fff;
}

.sccfd-footer__social svg {
	width: 16px;
	height: 16px;
}


/* ----- Link columns ----- */

.sccfd-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px 24px;
}

/* <h2> for screen readers, but small like the prototype's column titles. */
.sccfd-footer__column h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sccfd-footer__column li {
	margin-bottom: 10px;
}


/* ----- Bottom line ----- */

.sccfd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 0;
	color: #8299bb;
	font-size: 13px;
}

.sccfd-footer__bottom a {
	color: #8299bb;
}

.sccfd-footer__bottom-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.sccfd-footer__lang {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #b7bec9;
}

.sccfd-footer__lang svg {
	width: 15px;
	height: 15px;
}

.sccfd-footer__lang select {
	padding: 2px 18px 2px 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B7BEC9' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
	color: #b7bec9;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	appearance: none;
}

.sccfd-footer__lang select:hover {
	color: #fff;
}

.sccfd-footer__lang option {
	color: #16191f;
}


/* ----- Smaller screens ----- */

@media (max-width: 900px) {
	.sccfd-footer__top {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.sccfd-footer__columns {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 600px) {
	.sccfd-footer__wrap {
		padding: 0 20px;
	}
}
