/* Alumni stories (KC-323). Story blocks: Before / At Boca / Today, in the alum's own words. */
.alumni-stories .alumni-stories__intro {
	margin: 0 auto 32px;
	max-width: 780px;
	text-align: center;
	font-family: Figtree, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--wp--preset--color--grey-700, #4b5263);
}
.alumni-stories__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.alumni-stories__grid--1 {
	grid-template-columns: minmax(0, 1fr);
}
.story-card {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	border-radius: 16px;
	background: #fff;
	color: #1f2433;
	font-family: Figtree, sans-serif;
	text-align: left;
}
.story-card__person {
	display: flex;
	align-items: center;
	gap: 16px;
}
.story-card__photo {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
}
.story-card__name {
	margin: 0;
	font-family: Figtree, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--purple, #2c328f);
}
.story-card__meta {
	margin: 2px 0 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--wp--preset--color--grey-700, #4b5263);
}
.story-card__shared {
	margin: 4px 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-700, #4b5263);
}
.story-card__arc {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.story-card__step {
	position: relative;
	margin: 0 0 0 6px;
	padding: 0 0 20px 26px;
	border-left: 2px solid #dfe3f2;
}
.story-card__step:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}
.story-card__step::before {
	content: "";
	position: absolute;
	top: 3px;
	left: -8px;
	width: 14px;
	height: 14px;
	border: 2px solid var(--wp--preset--color--purple, #2c328f);
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
}
.story-card__step--today::before {
	background: var(--wp--preset--color--purple, #2c328f);
}
.story-card__label {
	display: block;
	margin: 0 0 4px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--purple, #2c328f);
}
.story-card__step p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #1f2433;
}
.story-card__link {
	align-self: flex-start;
	font-family: Figtree, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--purple, #2c328f);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.alumni-stories__numbers {
	margin: 24px auto 0;
	max-width: 780px;
	font-family: Figtree, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	color: var(--wp--preset--color--purple, #2c328f);
}

/* One story, wide: person on the left, the three steps across. */
@media (min-width: 992px) {
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card {
		display: grid;
		grid-template-columns: 250px minmax(0, 1fr);
		column-gap: 40px;
		row-gap: 18px;
		align-items: start;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__person {
		flex-direction: column;
		align-items: flex-start;
		grid-row: 1 / span 2;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__photo {
		flex-basis: 120px;
		width: 120px;
		height: 120px;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__arc {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__step {
		margin: 0;
		padding: 22px 0 0;
		border-left: 0;
		border-top: 2px solid #dfe3f2;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__step::before {
		top: -8px;
		left: 0;
	}
	.alumni-stories__grid--1:not(.alumni-stories__grid--column) .story-card__link {
		grid-column: 2;
	}
}

@media (max-width: 991px) {
	.alumni-stories__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 575px) {
	.story-card {
		padding: 24px 20px;
	}
	.story-card__photo {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}
}

/* Supporting-page column: sits inside the page's text column. */
.alumni-stories--column {
	margin: 8px 0 48px;
	padding: 24px;
	border-radius: 16px;
}

/* Full story page */
.story-page {
	font-family: Figtree, sans-serif;
}
.story-page .story-card__person {
	margin: 0 0 28px;
}
.story-page__text {
	margin: 0;
	padding: 0 0 0 24px;
	border-left: 4px solid var(--wp--preset--color--gold, #c9a227);
}
.story-page__text p {
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.75;
	color: #1f2433;
}
.story-page__more {
	margin: 24px 0 0;
}

/* The location and blog templates style h3, p and blockquote inside page content. Story components set their own. */
.story-card p,
.story-page p {
	margin: 0 !important;
	font-family: Figtree, sans-serif !important;
	letter-spacing: normal !important;
}
.story-card .story-card__name,
.story-page .story-card__name {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: var(--wp--preset--color--purple, #2c328f) !important;
}
.story-card .story-card__meta,
.story-page .story-card__meta {
	margin-top: 2px !important;
	font-size: 0.9375rem !important;
	line-height: 1.4 !important;
}
.story-card .story-card__shared,
.story-page .story-card__shared {
	margin-top: 4px !important;
	font-size: 0.75rem !important;
	line-height: 1.4 !important;
}
.story-card .story-card__quote {
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	color: #1f2433 !important;
}
.story-page .story-page__text p {
	font-size: 1.1875rem !important;
	font-weight: 400 !important;
	line-height: 1.75 !important;
	color: #1f2433 !important;
}
.story-page .story-card__person {
	align-items: center;
}
.story-page .story-card__photo {
	flex-basis: 120px;
	width: 120px;
	height: 120px;
}
.story-page .alumni-stories__numbers {
	margin-top: 28px !important;
}
.story-page .story-page__more {
	margin-top: 20px !important;
}
.alumni-stories .alumni-stories__intro {
	margin: 0 auto 32px !important;
}

/* Hub variant: sits in block content above Getting Started. */
.alumni-stories--hub {
	padding: 64px 0;
	margin-bottom: 64px;
}
.alumni-stories--hub h2 {
	margin-top: 0;
	margin-bottom: 16px;
}
.section-alumni-stories {
	margin-bottom: 48px;
}
.story-page .story-page__text p {
	margin: 0 0 1em !important;
}
.story-page .story-page__text p:last-child {
	margin-bottom: 0 !important;
}
.story-page .story-page__note {
	margin-top: 24px !important;
	font-size: 0.875rem !important;
	color: var(--wp--preset--color--grey-700, #4b5263) !important;
}
.alumni-stories--archive .alumni-stories__grid {
	margin-bottom: 32px;
}

/* Testimonial slider cards with a photo and location byline. */
.card-block--testimonials .card-block__author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 1.5rem;
}
/* Location templates pad .entry-content by 15px; treatment pages do not. Zero it so the quote and photo align everywhere. */
.card-block--testimonials .entry-content {
	padding-left: 0;
	padding-right: 0;
}
.card-block--testimonials .card-block__photo {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: 50%;
	overflow: hidden;
}
.card-block--testimonials .card-block__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card-block--testimonials .card-block__author .wp-block-post-title {
	margin: 0;
}
.card-block--testimonials .card-block__author .wp-block-post-title:before {
	content: none;
}
.card-block--testimonials .card-block__location {
	margin: 0.125rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--wp--preset--color--grey-700);
}
