/* The Journey: Ethiopia page: alj/ethiopia-hero, alj/ethiopia-launch,
 * alj/ethiopia-associates, alj/ethiopia-mentors. Classes prefixed .alj-eth-. */

/* ----------------------------------------------------------------- Hero -- */

.alj-eth-hero .alj-page-hero__content h1 {
	margin-block-end: 0;
}

/* "2026 to 2036" — the gold date line under the title. */
.alj-eth-dates {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-block-start: 1.1rem !important;
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-synthesis: none; /* brand script has no italic: use it upright, never slanted */
	font-weight: 400;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.1;
	letter-spacing: -0.005em;
	color: var(--alj-gold);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.alj-eth-dates::before {
	content: "";
	flex: 0 0 auto;
	width: clamp(2rem, 4vw, 3.25rem);
	height: 2px;
	background: currentColor;
}

/* --------------------------------------------------------------- Launch -- */

.alj-eth-launch__intro {
	margin-block-end: clamp(1.75rem, 3.5vw, 2.75rem) !important;
}

.alj-eth-statement {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	font-weight: 480;
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--alj-ink);
	text-wrap: balance;
}

.alj-eth-launch__lead {
	margin: 0;
	padding-block-start: 1.25rem;
	border-top: 2px solid var(--alj-gold);
}

/* Offset gold outline behind the video, as on the Home portrait. */
.alj-eth-video {
	position: relative;
	isolation: isolate;
}

.alj-eth-video::before {
	content: "";
	position: absolute;
	inset: 1.5rem -1.5rem -1.5rem 1.5rem;
	border: 2px solid var(--alj-gold);
	border-radius: var(--alj-radius-l);
	z-index: -1;
	pointer-events: none;
}

/* ----------------------------------------------------------- Photos -- */

.alj-eth-photo img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: 50% 45%;
}

/* ----------------------------------------------------------- Associates -- */

/* Same 1200px wide size as the photo above, so the edges line up. */
.alj-eth-roster {
	margin-block-start: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.alj-eth-roster__card {
	position: relative;
	border: 0;
	box-shadow: var(--wp--preset--shadow--soft);
	padding: clamp(1.6rem, 3vw, 2.4rem);
	overflow: hidden;
}

.alj-eth-roster__card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--alj-gold);
}

.alj-eth-roster__card h3 {
	margin-block-end: 1.25rem;
}

.alj-eth-chips {
	gap: 0.55rem;
}

.alj-eth-chips li {
	background: var(--wp--preset--color--paper);
}

/* -------------------------------------------------------------- Mentors -- */

.alj-eth-mentor-grid {
	margin-block-start: clamp(2.5rem, 5vw, 3.75rem) !important;
	column-count: 3;
	column-gap: clamp(1.25rem, 2.2vw, 1.75rem);
}

.alj-eth-mentor-grid > .alj-eth-mentor {
	display: block;
	break-inside: avoid;
	page-break-inside: avoid;
	height: auto;
	margin: 0 0 clamp(1.25rem, 2.2vw, 1.75rem) !important;
}

.alj-eth-mentor {
	position: relative;
	padding: clamp(1.5rem, 2.4vw, 2rem);
}

.alj-eth-mentor h3 {
	position: relative;
	padding-block-start: 1.1rem;
	margin-block-end: 0.75rem;
	font-size: clamp(1.25rem, 1.8vw, 1.4rem);
}

.alj-eth-mentor h3::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.25rem;
	height: 3px;
	border-radius: 2px;
	background: var(--alj-gold);
}

.alj-eth-mentor p {
	margin: 0;
	text-wrap: wrap;
	font-size: 0.975rem;
	line-height: 1.72;
	color: #4a3f38;
}

/* ------------------------------------------------------------ Responsive -- */

@media (max-width: 1024px) {
	.alj-eth-mentor-grid {
		column-count: 2;
	}
}

@media (max-width: 781px) {
	.alj-eth-launch__intro {
		gap: 1.5rem !important;
	}

	.alj-eth-video::before {
		inset: 0.85rem -0.85rem -0.85rem 0.85rem;
	}

	/* Show the whole group on phones: no crop. */
	.alj-eth-photo img {
		aspect-ratio: auto;
		border-radius: var(--alj-radius-m);
	}
}

@media (max-width: 640px) {
	.alj-eth-mentor-grid {
		column-count: 1;
	}

	.alj-eth-roster__card {
		padding: 1.5rem 1.25rem 1.6rem;
	}

	.alj-eth-chips {
		gap: 0.45rem;
	}

	.alj-eth-chips li {
		padding: 0.4rem 0.8rem;
		font-size: 0.9rem;
	}

	.alj-eth-mentor {
		padding: 1.4rem 1.35rem 1.5rem;
	}
}
