/* =========================================================
   Paces School — custom footer
   Four bands (events / pink CTA / links / legal bar), content
   boxed to 1500px. Font: Lexend. Accent pink #E92593.
   Brand tokens (--paces-*) come from paces-header.css, which
   this file depends on; fallbacks are provided just in case.
   ========================================================= */

.paces-footer {
	--paces-footer-maxw: 1500px;
	--paces-footer-navy: #232c66;
	--paces-footer-light: #fdeaf4;
	--paces-footer-line: #e6e6e6;
	--paces-footer-ink: #3a3a3a;

	font-family: var(--paces-font, "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	color: var(--paces-footer-ink);
	line-height: 1.5;
}

.paces-footer *,
.paces-footer *::before,
.paces-footer *::after {
	box-sizing: border-box;
}

/* Shared boxed container */
.paces-footer__inner {
	width: 100%;
	max-width: var(--paces-footer-maxw);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ---------------------------------------------------------
   1. Upcoming events
   --------------------------------------------------------- */
.paces-footer__events {
	background: #ffffff;
	padding: 64px 0;
}

.paces-footer__events-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.paces-footer__events-title {
	margin: 0;
	padding-left: 19px;
	border-left: 1px solid var(--paces-pink, #e92593);
	color: var(--paces-pink, #e92593);
	font-size: 30px;
	font-weight: 700;
	/* Taller line-height gives the thin accent bar more height. */
	line-height: 1.6;
	letter-spacing: 0.2px;
}

.paces-footer__events-sub {
	margin: 14px 0 0;
	padding-left: 20px;
	font-size: 16px;
	color: #333333;
}

.paces-footer__events-all {
	flex: 0 0 auto;
	display: inline-block;
	padding: 11px 24px;
	border: 2px solid var(--paces-pink, #e92593);
	border-radius: 6px;
	color: var(--paces-pink, #e92593);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.paces-footer__events-all:hover,
.paces-footer__events-all:focus-visible {
	background: var(--paces-pink, #e92593);
	color: #ffffff;
}

/* Divider lines above and below the events row */
.paces-footer__events-list {
	padding: 26px 0;
	border-top: 1px solid var(--paces-footer-line);
	border-bottom: 1px solid var(--paces-footer-line);
}

/* ---------------------------------------------------------
   2. Join the Pink Army (CTA)
   --------------------------------------------------------- */
.paces-footer__cta {
	background: linear-gradient(105deg, #d81c8d 0%, #ea2f97 45%, #f04ba6 100%);
	color: #ffffff;
	padding: 90px 0;
}

.paces-footer__cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.paces-footer__cta-main {
	flex: 1 1 auto;
	max-width: 640px;
}

.paces-footer__cta-title {
	margin: 0 0 20px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.2px;
}

.paces-footer__cta-text {
	margin: 0 0 32px;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.paces-footer__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.paces-footer__btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border: 2px solid transparent;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.paces-footer__btn--solid {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--paces-pink, #e92593);
}

.paces-footer__btn--solid:hover,
.paces-footer__btn--solid:focus-visible {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(255, 255, 255, 0.88);
}

.paces-footer__btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.8);
	color: #ffffff;
}

.paces-footer__btn--outline:hover,
.paces-footer__btn--outline:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--paces-pink, #e92593);
}

/* Ways to help card */
.paces-footer__help {
	flex: 0 0 auto;
	width: 440px;
	max-width: 100%;
	padding: 32px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 22px;
}

.paces-footer__help-title {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 700;
}

.paces-footer__help-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.paces-footer__help-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.paces-footer__help-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.paces-footer__help-icon svg {
	width: 24px;
	height: 24px;
}

.paces-footer__help-text {
	font-size: 18px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.95);
}

/* ---------------------------------------------------------
   3. Footer links
   --------------------------------------------------------- */
.paces-footer__links {
	background: var(--paces-footer-light);
	padding: 72px 0 64px;
}

.paces-footer__links-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1.5fr;
	gap: 40px;
	align-items: start;
}

.paces-footer__brand {
	align-self: center;
}

.paces-footer__logo {
	display: inline-block;
	line-height: 0;
}

.paces-footer__logo img {
	display: block;
	width: 170px;
	height: auto;
}

.paces-footer__logo-placeholder {
	display: inline-block;
	font-size: 40px;
	font-weight: 700;
	color: var(--paces-pink, #e92593);
	line-height: 1;
}

.paces-footer__col-title {
	margin: 0 0 18px;
	color: var(--paces-pink, #e92593);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.paces-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.paces-footer__menu li {
	margin: 0 0 10px;
}

.paces-footer__menu a {
	color: var(--paces-footer-ink);
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.15s ease;
}

.paces-footer__menu a:hover,
.paces-footer__menu a:focus-visible {
	color: var(--paces-pink, #e92593);
}

/* Contact */
.paces-footer__contact-line {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--paces-footer-ink);
}

.paces-footer__contact-line a {
	color: var(--paces-footer-ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

.paces-footer__contact-line a:hover,
.paces-footer__contact-line a:focus-visible {
	color: var(--paces-pink, #e92593);
}

.paces-footer__address {
	margin: 0;
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
	color: var(--paces-footer-ink);
	white-space: pre-line; /* keeps the address on separate lines */
}

.paces-footer__socials-title {
	margin-top: 26px;
}

.paces-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.paces-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--paces-pink, #e92593);
	border-radius: 8px;
	color: var(--paces-pink, #e92593);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.paces-footer__social svg {
	width: 20px;
	height: 20px;
}

.paces-footer__social:hover,
.paces-footer__social:focus-visible {
	background: var(--paces-pink, #e92593);
	color: #ffffff;
}

/* ---------------------------------------------------------
   4. Legal bar
   --------------------------------------------------------- */
.paces-footer__bar {
	background: var(--paces-footer-navy);
	color: rgba(255, 255, 255, 0.85);
	padding: 18px 0;
}

.paces-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.paces-footer__copyright,
.paces-footer__legal {
	margin: 0;
	font-size: 14px;
}

.paces-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
	.paces-footer__cta-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}

	.paces-footer__help {
		width: 100%;
	}

	.paces-footer__links-inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px 48px;
	}

	.paces-footer__brand {
		grid-column: 1 / -1;
		align-self: start;
	}
}

@media (max-width: 768px) {
	.paces-footer__events,
	.paces-footer__links {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.paces-footer__cta {
		padding: 56px 0;
	}

	.paces-footer__events-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.paces-footer__events-title {
		font-size: 26px;
	}

	.paces-footer__cta-title {
		font-size: 30px;
	}
}

@media (max-width: 560px) {
	.paces-footer__links-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.paces-footer__cta-actions .paces-footer__btn {
		flex: 1 1 auto;
		text-align: center;
	}

	.paces-footer__bar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}
