/* ==========================================================================
   Marquee (shared) + Footer
   1920 spec (footer top = 0): big marquee text 183.8px cap-top 213 ·
   "Pages" 38px at x197 · links 25.4px, pitch 45.7 · logo 454 wide at
   (733, 414) · social circles 66px, gap 35 at y744 · rule y857 · copy y899.
   ========================================================================== */

.cdc-marquee {
	overflow: hidden;
}

.cdc-marquee__track {
	display: flex;
	width: max-content;
}

.cdc-marquee__text {
	flex: none;
	margin: 0 !important;
	padding-right: 0.3em;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(40px, 4.1667vw, 80px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
	white-space: pre;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

@keyframes cdc-marquee {
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: no-preference) {
	.cdc-marquee__track {
		animation: cdc-marquee 40s linear infinite;
	}
}

/* ---- Footer ---- */
.cdc-footer {
	container-type: inline-size;
	position: relative;
	margin: 0 !important;
	color: var(--wp--preset--color--white);
}

.cdc-footer > * {
	--u: calc(min(100cqw, 1920px) / 1920);
	margin-block: 0;
}

.cdc-footer__marquee .cdc-marquee__text {
	font-size: clamp(64px, 9.573vw, 183.8px);
	color: rgba(255, 255, 255, 0.14);
}

.cdc-footer__marquee .cdc-marquee__track {
	animation-duration: 60s;
	animation-direction: reverse;
}

.cdc-footer__heading {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--white);
}

.cdc-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 300;
}

.cdc-footer__links a {
	color: inherit;
	text-decoration: none;
}



.cdc-footer__logo {
	margin: 0 auto;
	line-height: 0;
}

.cdc-footer__logo img {
	height: auto !important;
}

.cdc-footer__social.wp-block-social-links {
	margin: 0;
	gap: 35px;
}

.cdc-footer__social .wp-social-link {
	margin: 0;
}

.cdc-footer__social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 66px;
	height: 66px;
	padding: 0 !important;
	border: 1.5px solid var(--wp--preset--color--white);
	border-radius: 50%;
}

.cdc-footer__social .wp-social-link svg {
	width: 32px;
	height: 32px;
}

/* No hover animation on icons. */
.cdc-footer__social .wp-social-link:hover {
	transform: none;
}

.cdc-footer__rule {
	margin: 0;
	border: 0;
	height: 4px;
	background: var(--wp--preset--color--white);
	opacity: 1;
}

.cdc-footer__copy {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-align: center;
}

@media (min-width: 1200px) {
	.cdc-footer { height: calc(969 * min(100vw, 1920px) / 1920); }

	.cdc-footer > * {
		position: absolute;
	}

	.cdc-footer__marquee { left: 0; right: 0; top: calc(193 * var(--u)); }

	.cdc-footer__main { inset: 0; }
	.cdc-footer__main > * { position: absolute; margin: 0 !important; }
	.cdc-footer__col { top: calc(468.8 * var(--u)); width: calc(420 * var(--u)); }
	.cdc-footer__col--pages { left: calc(50% - 764.5 * var(--u)); }
	.cdc-footer__col--utility { right: calc(50% - 761 * var(--u)); text-align: right; }
	.cdc-footer__heading { font-size: calc(38.1 * var(--u)); }
	.cdc-footer__links { margin-top: calc(29.5 * var(--u)) !important; font-size: max(calc(25.4 * var(--u)), 16px); line-height: calc(45.7 * var(--u)); }
	.cdc-footer__brand { left: calc(50% - 227 * var(--u)); top: calc(414 * var(--u)); width: calc(454 * var(--u)); }
	.cdc-footer__logo img { width: calc(454 * var(--u)) !important; }
	.cdc-footer__social.wp-block-social-links { margin-top: calc(44.5 * var(--u)) !important; gap: calc(35.1 * var(--u)); }
	.cdc-footer__social .wp-social-link a { width: calc(66 * var(--u)); height: calc(66 * var(--u)); }
	.cdc-footer__social .wp-social-link svg { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
	.cdc-footer__rule { left: calc(50% - 761.2 * var(--u)); top: calc(857.4 * var(--u)); width: calc(1525.1 * var(--u)); }
	.cdc-footer__copy { left: 0; right: 0; top: calc(899 * var(--u)); font-size: max(calc(22.8 * var(--u)), 15px); line-height: 1.1; }
}

@media (max-width: 1199.98px) {
	.cdc-footer { display: flex; flex-direction: column; gap: 36px; padding: 48px 20px 32px; }
	.cdc-footer__marquee { margin-inline: -20px !important; }
	.cdc-footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.cdc-footer__brand { grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
	.cdc-footer__logo img { width: clamp(200px, 50vw, 340px) !important; }
	.cdc-footer__col--utility { text-align: right; }
	.cdc-footer__heading { font-size: 26px; }
	.cdc-footer__links { margin-top: 14px !important; font-size: 17px; line-height: 2; }
	.cdc-footer__links a { display: inline-block; padding-block: 3px; line-height: 1.4; }
	.cdc-footer__copy { font-size: 16px; }
}

@media (max-width: 479.98px) {
	.cdc-footer__main { grid-template-columns: 1fr; text-align: center; }
	.cdc-footer__col--utility { text-align: center; }
}
