/* Typography for h1 and p comes from the Customizer - only extras here. */

/* ---------- Header ---------- */
.ojj-header {
	padding-bottom: 32px;
}
.ojj-kicker {
	margin-bottom: 28px;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.75px;
	text-transform: uppercase;
	color: #9b713a;
}
.ojj-title {
	max-width: 1000px;
	margin: 0 0 28px;
}
.ojj-subtitle {
	max-width: 760px;
	margin: 0 0 28px;
	font-size: 24px;
	line-height: 1.4;
	color: #4d4d4d;
}
.ojj-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.65px;
	text-transform: uppercase;
	color: #4d4d4d;
}

/* ---------- Hero ---------- */
.ojj-hero {
	position: relative;
	margin: 0;
	aspect-ratio: 1440 / 717;
	overflow: hidden;
	background: #f0f0ed;
}
.ojj-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ojj-hero__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 60px 0 34px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}
.ojj-hero__caption span {
	display: block;
	max-width: 1216px;
	margin: 0 auto;
	padding: 0 20px;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #fff;
}

/* ---------- Content ---------- */
.ojj-content {
	padding-top: 72px;
}
.ojj-content > * {
	margin-top: 0;
	margin-bottom: 40px;
}
.ojj-content > *:last-child {
	margin-bottom: 0;
}
.ojj-content > p {
	margin-bottom: 24px;
}
.ojj-content > p + :not(p) {
	margin-top: 16px;
}

/* Lead paragraph (block class: ojj-lead) */
.ojj-content .ojj-lead {
	font-family: "Newsreader", serif;
	font-size: 21px;
	line-height: 1.55;
	color: #080808;
}

/* Pull quote (core Quote block) */
.ojj-content .wp-block-quote {
	max-width: 872px;
	margin-top: 16px;
	padding: 23px 0 23px 23px;
	border: 0;
	border-left: 2px solid #9b713a;
	background: none;
	font-style: normal;
}
.ojj-content .wp-block-quote p {
	margin: 0;
	font-family: "Newsreader", serif;
	font-weight: 300;
	font-size: 34px;
	line-height: 1.25;
	color: #080808;
}
.ojj-content .wp-block-quote cite {
	display: block;
	margin-top: 16px;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 13px;
	font-style: normal;
	letter-spacing: 0.65px;
	text-transform: uppercase;
	color: #4d4d4d;
}

/* Inline image */
.ojj-content .wp-block-image {
	margin-left: 0;
	margin-right: 0;
	background: #f6f5f2;
}
.ojj-content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1216 / 618;
	object-fit: cover;
}
.ojj-content .wp-block-image figcaption {
	margin: 0;
	padding: 12px 0 0;
	background: #fff;
	font-size: 13px;
	color: #4d4d4d;
}

/* Reference notes (Group block, class: ojj-ref-notes) */
.ojj-content .ojj-ref-notes {
	padding: 28px;
	background: #f6f5f2;
}
.ojj-content .ojj-ref-notes > p {
	margin: 0 0 4px;
	font-family: "IBM Plex Sans", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: #9b713a;
}
.ojj-content .ojj-ref-notes .wp-block-table {
	margin: 0;
	overflow-x: visible;
}
.ojj-content .ojj-ref-notes table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
	font-size: 14px;
	line-height: 1.2;
}
.ojj-content .ojj-ref-notes td {
	padding: 18px 0;
	border: 0;
	border-bottom: 1px solid #dfdcd9;
	background: none;
	vertical-align: top;
}
.ojj-content .ojj-ref-notes tr:last-child td {
	border-bottom: 0;
	padding-bottom: 0;
}
.ojj-content .ojj-ref-notes td:first-child {
	padding-right: 20px;
	font-family: "IBM Plex Sans", sans-serif;
	font-weight: 500;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #4d4d4d;
	white-space: nowrap;
}
.ojj-content .ojj-ref-notes td:last-child {
	font-family: "IBM Plex Mono", monospace;
	text-align: right;
	color: #080808;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.ojj-header {
		padding-top: 40px;
	}
	.ojj-kicker,
	.ojj-title,
	.ojj-subtitle {
		margin-bottom: 20px;
	}
	.ojj-subtitle {
		font-size: 21px;
	}
	.ojj-hero {
		aspect-ratio: 4 / 3;
	}
	.ojj-content {
		padding-top: 56px;
		padding-bottom: 64px;
	}
	.ojj-content > * {
		margin-bottom: 32px;
	}
	.ojj-content .wp-block-quote p {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.ojj-header {
		padding-top: 32px;
		padding-bottom: 24px;
	}
	.ojj-kicker {
		font-size: 13px;
	}
	.ojj-subtitle {
		font-size: 19px;
	}
	.ojj-hero {
		aspect-ratio: 4 / 5;
	}
	.ojj-hero__caption {
		padding-bottom: 20px;
	}
	.ojj-hero__caption span {
		font-size: 12px;
	}
	.ojj-content {
		padding-top: 40px;
	}
	.ojj-content > * {
		margin-bottom: 28px;
	}
	.ojj-content .ojj-lead {
		font-size: 19px;
	}
	.ojj-content .wp-block-quote {
		padding: 16px 0 16px 18px;
	}
	.ojj-content .wp-block-quote p {
		font-size: 24px;
	}
	.ojj-content .wp-block-image img {
		aspect-ratio: 4 / 3;
	}
	.ojj-content .ojj-ref-notes {
		padding: 20px;
	}
	.ojj-content .ojj-ref-notes td:first-child {
		white-space: normal;
	}
}
