:root {
	--ps-locations-blue: #2f4f95;
	--ps-locations-blue-dark: #18386f;
	--ps-locations-gold: #f4c53d;
	--ps-locations-ink: #17233c;
	--ps-locations-muted: #59677d;
	--ps-locations-soft: #f6f8fb;
	--ps-locations-line: #d9e1ec;
}

body.phoenixswim-locations-page #content {
	background: #fff;
}

body.phoenixswim-locations-page #content > .ast-container,
body.phoenixswim-locations-page #primary,
body.phoenixswim-locations-page .site-main,
body.phoenixswim-locations-page .ast-article-single {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.phoenixswim-locations-page #content > .ast-container {
	display: block;
}

body.phoenixswim-locations-page .entry-content {
	margin: 0;
}

.ps-locations-shell,
.ps-locations-shell * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.ps-locations-shell {
	overflow: clip;
	background: #fff;
	color: var(--ps-locations-ink);
	font-family: inherit;
}

.ps-locations-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 104px 24px 96px;
	background:
		radial-gradient(circle at 82% 23%, rgba(244, 197, 61, .25) 0 9%, transparent 9.3%),
		radial-gradient(circle at 90% 72%, rgba(255, 255, 255, .1) 0 12%, transparent 12.3%),
		linear-gradient(125deg, #0d2859 0%, var(--ps-locations-blue-dark) 48%, #2457a8 100%);
	color: #fff;
}

.ps-locations-intro::before,
.ps-locations-intro::after {
	position: absolute;
	z-index: -1;
	content: "";
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	pointer-events: none;
}

.ps-locations-intro::before {
	top: -128px;
	right: -80px;
	width: 544px;
	height: 544px;
}

.ps-locations-intro::after {
	right: 13%;
	bottom: -240px;
	width: 432px;
	height: 432px;
}

.ps-locations-intro__inner {
	display: grid;
	width: min(100%, 1280px);
	margin-inline: auto;
	grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
	gap: 88px;
	align-items: center;
}

.ps-location__inner {
	width: min(100%, 1240px);
	margin-inline: auto;
}

.ps-locations-eyebrow,
.ps-location__name {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
}

.ps-locations-eyebrow {
	margin-bottom: 16px;
	color: var(--ps-locations-gold);
}

.ps-locations-intro h1 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: 68px;
	font-weight: 800;
	line-height: 1.02;
}

.ps-locations-intro__lead {
	max-width: 720px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, .86);
	font-size: 18px;
	line-height: 1.7;
}

.ps-locations-intro__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.ps-locations-intro__tags span {
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.ps-locations-intro__stat {
	display: flex;
	width: min(100%, 330px);
	aspect-ratio: 1;
	margin-inline: auto;
	align-items: center;
	justify-content: center;
	gap: 16px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .035), 0 32px 72px rgba(2, 15, 43, .28);
}

.ps-locations-intro__number {
	color: var(--ps-locations-gold);
	font-size: 112px;
	font-weight: 800;
	line-height: .8;
}

.ps-locations-intro__label {
	color: rgba(255, 255, 255, .9);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.ps-location {
	padding: 48px 24px;
	border-top: 1px solid var(--ps-locations-line);
	background: #fff;
}

.ps-location:nth-child(even) {
	background: var(--ps-locations-soft);
}

.ps-location__inner {
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) minmax(250px, .82fr) minmax(280px, .9fr);
	gap: 32px;
	align-items: stretch;
}

.ps-location__photo,
.ps-location__map {
	min-height: 310px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ps-locations-line);
	border-radius: 6px;
	background: #e8edf5;
}

.ps-location__photo img,
.ps-location__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

.ps-location__photo img {
	object-fit: cover;
	object-position: center;
}

.ps-location__map iframe {
	min-height: 310px;
}

.ps-location__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding-block: 6px;
}

.ps-location__meta {
	display: flex;
	min-height: 25px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ps-location__name {
	color: var(--ps-locations-blue);
}

.ps-location__status {
	display: inline-flex;
	min-height: 25px;
	align-items: center;
	padding: 4px 8px;
	border: 1px solid #a62a21;
	border-radius: 4px;
	background: #b42318;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.ps-location__content h2 {
	margin: 13px 0 0;
	font-size: 29px;
	font-weight: 800;
	line-height: 1.2;
}

.ps-location__content h2 a {
	color: var(--ps-locations-ink);
	text-decoration: none;
}

.ps-location__content h2 a:hover,
.ps-location__content h2 a:focus-visible {
	color: var(--ps-locations-blue);
}

.ps-location__content address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 10px 0 0;
	color: var(--ps-locations-blue-dark);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
}

.ps-location__content address i {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--ps-locations-blue);
	font-size: 14px;
}

.ps-location__content address span {
	min-width: 0;
}

.ps-location__status-detail {
	margin: 8px 0 0;
	color: #8f1d16;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
}

.ps-location__description {
	margin: 18px 0 0;
	color: var(--ps-locations-muted);
	font-size: 15px;
	line-height: 1.7;
}

.ps-location__description a,
.ps-location__contact,
.ps-location__contact:visited {
	color: var(--ps-locations-blue);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ps-location__description a:hover,
.ps-location__description a:focus-visible,
.ps-location__contact:hover,
.ps-location__contact:focus-visible {
	color: var(--ps-locations-blue-dark);
}

.ps-location__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 22px;
}

.ps-location__contact {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	line-height: 1.45;
}

.ps-location__contact i {
	flex: 0 0 auto;
	font-size: 13px;
}

.ps-location__detail,
.ps-location__detail:visited {
	display: inline-flex;
	min-height: 40px;
	max-width: 240px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--ps-locations-blue);
	border-radius: 4px;
	background: var(--ps-locations-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.ps-location__detail i {
	flex: 0 0 auto;
	font-size: 14px;
}

.ps-location__detail:hover,
.ps-location__detail:focus-visible,
.ps-location__detail:active {
	border-color: var(--ps-locations-blue-dark);
	background: var(--ps-locations-blue-dark);
	color: #fff;
}

.ps-location__content a:focus-visible,
.ps-location__detail:focus-visible {
	outline: 3px solid var(--ps-locations-gold);
	outline-offset: 3px;
}

@media (max-width: 1080px) {
	.ps-locations-intro__inner {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 36px;
	}

	.ps-locations-intro h1 {
		font-size: 56px;
	}

	.ps-location__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ps-location__map {
		grid-column: 1 / -1;
		min-height: 300px;
	}

	.ps-location__map iframe {
		min-height: 300px;
	}
}

@media (max-width: 720px) {
	.ps-locations-intro {
		padding: 60px 20px 64px;
	}

	.ps-locations-intro__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ps-locations-intro h1 {
		font-size: 42px;
	}

	.ps-locations-intro__lead {
		font-size: 16px;
	}

	.ps-locations-intro__stat {
		width: 240px;
		margin-top: 4px;
	}

	.ps-locations-intro__number {
		font-size: 78px;
	}

	.ps-locations-intro__label {
		font-size: 15px;
	}

	.ps-location {
		padding: 32px 18px;
	}

	.ps-location__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ps-location__photo,
	.ps-location__map,
	.ps-location__map iframe {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.ps-location__map {
		grid-column: auto;
	}

	.ps-location__content {
		padding: 0;
	}

	.ps-location__content h2 {
		font-size: 26px;
	}

	.ps-location__actions {
		margin-top: 0;
	}
}

@media (max-width: 420px) {
	.ps-locations-intro {
		padding: 52px 16px 58px;
	}

	.ps-locations-intro h1 {
		font-size: 36px;
	}

	.ps-locations-intro__tags {
		margin-top: 24px;
	}

	.ps-locations-intro__stat {
		width: 210px;
	}

	.ps-locations-intro__number {
		font-size: 68px;
	}

	.ps-locations-intro__label {
		font-size: 14px;
	}

	.ps-location {
		padding-inline: 14px;
	}

	.ps-location__meta {
		align-items: flex-start;
	}

	.ps-location__actions {
		align-items: center;
	}

	.ps-location__detail {
		min-height: 42px;
		max-width: 185px;
		padding-inline: 12px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ps-location__detail {
		transition: none;
	}
}
