/* FelixChess footer component */

@layer overrides {
	.fc-footer {
		--fc-footer-bg: #202020;
		--fc-footer-heading: #3b3b3b;
		--fc-footer-text: #ffffff;
		--fc-footer-muted: #7a7a7a;
		--fc-footer-accent: #9de000;

		background: var(--fc-footer-bg);
		color: var(--fc-footer-text);
		margin: 0;
		min-height: 400px;
		overflow: hidden;
		padding: 0;
		position: relative;
	}

	.fc-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 760px) minmax(170px, 220px);
		grid-template-rows: auto 1fr auto;
		column-gap: clamp(48px, 7vw, 110px);
		margin-inline: auto;
		max-width: 1512px;
		min-height: 400px;
		padding: 44px 65px 30px 215px;
		position: relative;
	}

	.fc-footer__brand {
		display: grid;
		gap: 4px;
		grid-column: 1;
		grid-row: 1;
	}

	.fc-footer__title {
		color: var(--fc-footer-heading);
		font-size: clamp(2.35rem, 3.1vw, 3rem);
		font-weight: 700;
		letter-spacing: 0.02em;
		line-height: 1;
		margin: 0;
		text-transform: uppercase;
	}

	.fc-footer__tagline {
		color: var(--fc-footer-heading);
		font-size: clamp(1.2rem, 1.65vw, 1.55rem);
		font-weight: 400;
		line-height: 1.12;
		margin: 0;
	}

	.fc-footer__content {
		display: contents;
	}

	.fc-footer__features {
		display: grid;
		gap: 24px;
		grid-column: 1;
		grid-row: 2;
		max-width: 760px;
		padding-top: 80px;
	}

	.fc-footer__aside {
		align-self: center;
		display: grid;
		gap: 22px;
		grid-column: 2;
		grid-row: 1 / 3;
		justify-items: start;
		justify-self: end;
		position: static;
		transform: none;
	}

	.fc-footer__nav {
		position: static;
		transform: none;
	}

	.fc-footer__feature {
		color: inherit;
		display: grid;
		gap: 6px;
		text-decoration: none;
	}

	.fc-footer__feature-kicker {
		color: var(--fc-footer-muted);
		font-size: 0.9rem;
		letter-spacing: 0.12em;
		line-height: 1;
	}

	.fc-footer__feature-row {
		align-items: center;
		display: flex;
		gap: 10px;
	}

	.fc-footer__feature-arrow {
		color: var(--fc-footer-accent);
		font-size: 1.15rem;
		line-height: 1;
	}

	.fc-footer__feature-title {
		color: var(--fc-footer-text);
		font-size: 0.95rem;
		font-weight: 400;
		line-height: 1.15;
		transition: color 180ms ease;
	}

	.fc-footer__feature:hover .fc-footer__feature-title,
	.fc-footer__feature:focus-visible .fc-footer__feature-title {
		color: var(--fc-footer-accent);
	}

	.fc-footer__feature-text {
		color: var(--fc-footer-muted);
		font-size: 0.9rem;
		font-weight: 400;
		line-height: 1.22;
		padding-left: 27px;
	}

	.fc-footer__nav ul {
		display: grid;
		gap: 12px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.fc-footer__nav a {
		color: var(--fc-footer-muted);
		display: inline-block;
		font-size: 0.82rem;
		font-weight: 400;
		line-height: 1.1;
		text-decoration: none;
		text-transform: uppercase;
		transition: color 180ms ease;
	}

	.fc-footer__nav a:hover,
	.fc-footer__nav a:focus-visible {
		color: var(--fc-footer-accent);
		text-decoration: none;
	}

	.fc-footer__social {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
		margin-bottom: 20px;
		margin-top: 20px;
	}

	.fc-footer__social-link {
		align-items: center;
		block-size: 20px;
		color: var(--fc-footer-text);
		display: inline-flex;
		inline-size: 20px;
		justify-content: center;
		text-decoration: none;
		transition: color 180ms ease, transform 180ms ease;
	}

	.fc-footer__social-link:hover,
	.fc-footer__social-link:focus-visible {
		color: var(--fc-footer-accent);
		transform: translateY(-1px);
	}

	.fc-footer__social-link svg {
		fill: currentColor;
		height: 100%;
		width: 100%;
	}

	.fc-footer__bottom {
		align-items: center;
		border-top: 1px solid rgba(255 255 255 / 0.08);
		display: flex;
		gap: 28px;
		grid-column: 1 / -1;
		grid-row: 3;
		justify-content: space-between;
		margin-top: auto;
		padding-top: 18px;
	}

	.fc-footer__copyright {
		color: var(--fc-footer-muted);
		font-size: 0.78rem;
		line-height: 1.35;
		margin: 0;
	}

	.fc-footer__legal {
		display: flex;
		gap: 26px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.fc-footer__legal a {
		color: var(--fc-footer-muted);
		font-size: 0.78rem;
		text-decoration: none;
		text-transform: uppercase;
	}

	.fc-footer__legal a:hover,
	.fc-footer__legal a:focus-visible {
		color: var(--fc-footer-accent);
	}

	@media (max-width: 52em) {
		.fc-footer {
			min-height: auto;
		}

		.fc-footer__inner {
			display: flex;
			flex-direction: column;
			min-height: auto;
			padding: 36px 32px;
		}

		.fc-footer__content {
			display: grid;
			gap: 40px;
			grid-template-columns: 1fr;
			margin-top: 42px;
		}

		.fc-footer__features {
			gap: 26px;
			padding-top: 0;
		}

		.fc-footer__nav ul {
			gap: 14px 28px;
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		.fc-footer__aside {
			align-self: start;
			gap: 18px;
			position: static;
			transform: none;
		}

		.fc-footer__bottom {
			align-items: flex-start;
			flex-direction: column;
			margin-top: 48px;
		}
	}

	@media (max-width: 47.99em) {
		.fc-footer__inner {
			padding: 32px 22px;
		}

		.fc-footer__title {
			font-size: clamp(2.25rem, 11vw, 3rem);
		}

		.fc-footer__tagline {
			font-size: clamp(1.15rem, 6vw, 1.55rem);
		}

		.fc-footer__content {
			margin-top: 34px;
		}

		.fc-footer__nav ul {
			grid-template-columns: 1fr;
		}

		.fc-footer__feature-title,
		.fc-footer__feature-text {
			font-size: 0.9rem;
		}

		.fc-footer__legal {
			flex-direction: column;
			gap: 10px;
		}
	}
}
