/**
 * About — alternating photo and colour rows.
 *
 * Each row pairs a photo with a blue text panel. Rows are at least as tall as
 * the live site's (400 / 350 / 300 / 375 / 320) and grow with their text, so
 * nothing spills out of the panel.
 */

.ax-splits {
	padding: 0 15px;
}

.ax-split {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.ax-split + .ax-split {
	margin-top: 24px;
}

.ax-split > * {
	position: relative;
	flex: 0 0 100%;
	max-width: 100%;
}

.ax-split__media {
	background-repeat: no-repeat;
}

.ax-split__text {
	padding: 3% 35px 20px;
	font-size: 14px;
	line-height: 21px;
	color: #fff;
}

.ax-split__text.is-ocean {
	background-color: #186593;
}

/* Panel headings: bold white with a gold underline bar, like the other
   section titles on the site. */
.ax-split__text h3 {
	margin: 0 0 18px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #fff;
	text-shadow: 0 2px 12px rgba(8, 16, 40, 0.25);
}

.ax-split__text h3::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 12px;
	border-radius: 4px;
	background: #ffb606;
}

/* A second heading in the same panel (Our Vision after Our Mission). */
.ax-split__text * + h3 {
	margin-top: 26px;
}

@media (max-width: 600px) {
	.ax-split__text h3 {
		font-size: 25px;
	}
}

.ax-split__text p {
	font-size: 22px;
	line-height: 35px;
}

.ax-split__text.is-tight p {
	line-height: 30px;
}

.ax-arrow-list {
	margin: 0 0 1rem;
	padding: 0;
	font-size: 18px;
	line-height: 27px;
	list-style: none;
}

/* The live list prints an arrow glyph and two non-breaking spaces. */
.ax-arrow-list li::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 0.5em;
	vertical-align: -3px;
	background-color: currentColor;
	-webkit-mask: var(--ax-i-right-long) no-repeat 0 50% / contain;
	mask: var(--ax-i-right-long) no-repeat 0 50% / contain;
}

.is-h400 > * { min-height: 400px; }
.is-h350 > * { min-height: 350px; }
.is-h300 > * { min-height: 300px; }
.is-h375 > * { min-height: 375px; }
.is-h320 > * { min-height: 320px; }

.ax-split__text > :last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	/* Stacked under its photo, a panel only needs to fit its text. */
	.ax-split__text {
		min-height: 0 !important;
	}
}

@media (min-width: 992px) {
	.ax-split > * {
		flex-basis: 50%;
		max-width: 50%;
	}

	/* Percent padding resolves against the row here, not the half-width
	   column it did on live, so halve it. */
	.ax-split__text {
		padding-top: 1.5%;
	}
}
