/**
 * Journal listing — Figma 1676:8093 (desktop v3), 1676:8215 (mobile v3 featured).
 */

.journal-page {
	background-color: var(--color-white);
}

.journal-page__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 7.5rem; /* 120px — featured / divider / articles */
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 5rem var(--space-inline) 7.5rem; /* 80 / 120 — Body y=164 under 84px header */
}

.journal-featured {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem; /* 40px */
	width: 100%;
	color: var(--color-dark);
}

.journal-featured__title {
	margin: 0;
	max-width: 100%;
	font-family: var(--font-serif);
	font-size: 4rem; /* 64px */
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.04rem; /* 0.64px */
	text-transform: uppercase;
	color: var(--color-dark);
}

.journal-featured__title a {
	display: inline;
	color: inherit;
	text-decoration: none;
}

.journal-featured__title a:hover {
	color: inherit;
	text-decoration: none;
	opacity: 0.7;
}

.journal-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem; /* 8px */
	color: var(--color-dark);
	text-decoration: none;
}

.journal-featured__cta:hover {
	color: var(--color-dark);
	text-decoration: none;
	opacity: 0.7;
}

.journal-featured__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.5rem; /* 40px — intro to CTA */
	flex: 1 1 38.875rem;
	width: auto;
	max-width: 38.875rem; /* 622px */
}

.journal-featured__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.875rem; /* 30px — tags to title */
	width: 100%;
}

.journal-featured__cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 1.5rem; /* 24px */
	height: 1.5rem;
	padding: 0.3125rem 0.235rem 0.40375rem 0.2375rem; /* Figma inset 20.83/15.68/26.91/15.83% */
	flex-shrink: 0;
}

.journal-featured__cta-icon img {
	display: block;
	width: 1.0274rem; /* 16.4385px */
	height: 0.7839rem; /* 12.542px */
}

.journal-featured__cta-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem; /* 8px to underline */
	font-size: var(--text-link);
	font-weight: 500;
	line-height: var(--line-height-ui);
	letter-spacing: var(--letter-spacing-link);
	text-transform: uppercase;
	color: var(--color-dark);
}

.journal-featured__cta-label::after {
	content: "";
	display: block;
	width: 100%;
	height: 0;
	border-top: 0.0625rem solid currentColor;
}

.journal-featured__media {
	position: relative;
	display: block;
	flex: 1 1 46.875rem;
	width: auto;
	max-width: 46.875rem; /* 750px */
	aspect-ratio: 750 / 536;
	overflow: hidden;
	background-color: var(--color-stroke);
	color: inherit;
	text-decoration: none;
}

.journal-featured__media:hover {
	color: inherit;
	text-decoration: none;
}

.journal-featured__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.journal-page__divider {
	width: 100%;
	height: 0;
	border-top: 0.0625rem solid var(--color-stroke);
}

.journal-page__articles {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4rem; /* 64px — toolbar to grid */
	width: 100%;
}

.journal-page__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
}

.journal-page__heading {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 3rem; /* 48px */
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--color-dark);
	white-space: nowrap;
}

.journal-page__filters {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	width: auto;
}

.journal-page__filters-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.625rem; /* 10px */
}

.journal-page__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 2.5rem; /* 40px */
	padding: 0.875rem 2rem; /* 14px 32px */
	border: 0.0625rem solid var(--color-stroke);
	background: transparent;
	font-size: var(--text-body); /* 16px — inactive */
	font-weight: 500;
	line-height: var(--line-height-ui);
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--color-dark);
}

.journal-page__filter:hover {
	color: var(--color-dark);
	text-decoration: none;
	opacity: 0.7;
}

.journal-page__filter.is-active,
.journal-page__filter.is-active:hover,
.journal-page__filter[aria-current="page"],
.journal-page__filter[aria-current="page"]:hover {
	border-color: var(--color-dark);
	background-color: var(--color-dark);
	color: var(--color-white);
	font-size: var(--text-link); /* 14px — Figma ALL */
	letter-spacing: var(--letter-spacing-link);
	text-decoration: none;
	opacity: 1;
}

.journal-page__feed {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5rem; /* 80px — grid to pagination */
	width: 100%;
}

.journal-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 1.25rem; /* 20px */
	row-gap: 5rem; /* 80px */
	width: 100%;
}

.journal-page__empty {
	margin: 0;
	font-size: var(--text-body);
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-dark);
}

.journal-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem; /* 20px — image to meta */
	min-width: 0;
	color: var(--color-dark);
	text-decoration: none;
}

.journal-card:hover {
	color: var(--color-dark);
	text-decoration: none;
}

.journal-card:hover .journal-card__title {
	opacity: 0.7;
}

.journal-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 493 / 354;
	overflow: hidden;
	background-color: var(--color-stroke);
}

.journal-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.journal-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.875rem; /* 30px — tags to title */
	width: 100%;
}

.journal-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem; /* 10px */
}

.journal-card__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem; /* 10px */
	border: 0.0625rem solid var(--color-stroke);
	background-color: var(--color-stroke);
	font-size: var(--text-link); /* 14px */
	font-weight: 500;
	line-height: var(--line-height-ui);
	letter-spacing: var(--letter-spacing-link);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-dark);
}

.journal-card__title {
	margin: 0;
	width: 100%;
	font-family: var(--font-serif);
	font-size: 1.875rem; /* 30px */
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--color-dark);
}

.journal-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem; /* 8px */
}

.journal-pagination__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.375rem; /* 54px */
	height: 3.375rem;
	border: 0.0625rem solid var(--color-stroke);
	font-size: var(--text-body);
	font-weight: 500;
	line-height: var(--line-height-ui);
	text-transform: uppercase;
	color: var(--color-dark);
	text-decoration: none;
}

.journal-pagination__item:hover {
	color: var(--color-muted);
	text-decoration: none;
}

.journal-pagination__item.is-active,
.journal-pagination__item.is-active:hover,
.journal-pagination__item[aria-current="page"] {
	background-color: var(--color-stroke);
	border-color: var(--color-stroke);
	color: var(--color-dark);
	text-decoration: none;
}

.journal-pagination__item--arrow {
	padding: 0;
}

.journal-pagination__item.is-disabled {
	opacity: 0.35;
	cursor: default;
}

.journal-pagination__arrow {
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-top: 0.125rem solid currentColor;
	border-right: 0.125rem solid currentColor;
}

.journal-pagination__arrow--prev {
	transform: rotate(-135deg);
}

.journal-pagination__arrow--next {
	transform: rotate(45deg);
}

/* Single article — Figma 1638:9791 */
.journal-single {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7.5rem; /* 120px — head / hero / body */
	width: 100%;
	overflow-x: clip;
	padding-top: 7.5rem; /* 120px — Body y=204 under 84px header */
	background-color: var(--color-white);
}

.journal-single__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem; /* 40px */
	width: 100%;
	max-width: 79rem; /* 1264px */
	padding: 0 var(--space-inline);
	text-align: center;
}

.journal-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
}

.journal-single__title {
	margin: 0;
	width: 100%;
	font-family: var(--font-serif);
	font-size: 5rem; /* 80px */
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	color: var(--color-dark);
}

.journal-single__hero {
	align-self: stretch;
	width: 100%;
	height: 50rem; /* 800px */
	overflow: hidden;
	background-color: var(--color-stroke);
}

.journal-single__hero-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.journal-single__main {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6.25rem; /* 100px — body to author */
	width: 100%;
	max-width: 46.875rem; /* 750px */
}

.journal-single__content {
	width: 100%;
	font-size: 1.125rem; /* 18px */
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--color-dark);
}

.journal-single__content > *:first-child {
	margin-top: 0;
}

.journal-single__content h2 {
	margin: 6.25rem 0 3.125rem; /* 100 / 50 */
	font-family: var(--font-serif);
	font-size: 3rem; /* 48px */
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--color-dark);
}

.journal-single__content h2:first-child {
	margin-top: 0;
}

.journal-single__content p {
	margin: 0 0 0.75rem; /* 12px between paragraphs */
}

.journal-single__content p:last-child {
	margin-bottom: 0;
}

.journal-single__content blockquote {
	position: relative;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	column-gap: 1.25rem; /* 20px */
	row-gap: 1.25rem; /* 20px — quote to citation */
	align-items: start;
	width: 100%;
	margin: 3.125rem 0 0; /* 50px after intro */
	padding: 2.5rem; /* 40px */
	background-color: rgba(39, 43, 52, 0.04);
	border-radius: 0 0.125rem 0.125rem 0;
}

.journal-single__content blockquote::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 2rem;
	height: 2rem;
	background: url("../images/icon-quote-marks.svg") center / contain no-repeat;
}

.journal-single__content blockquote p {
	grid-column: 2;
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.875rem; /* 30px */
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	color: #120c02;
}

.journal-single__content blockquote cite,
.journal-single__content blockquote p:has(cite) {
	grid-column: 2;
	font-family: var(--font-sans);
	font-style: normal;
	font-size: var(--text-link); /* 14px */
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: var(--letter-spacing-link);
	text-transform: uppercase;
	color: var(--color-dark);
	opacity: 0.8;
}

.journal-single__content ul {
	display: flex;
	flex-direction: column;
	gap: 0.75rem; /* 12px */
	width: 100%;
	margin: 1.5rem 0; /* 24px around lists */
	padding: 0;
	list-style: none;
}

.journal-single__content li {
	display: flex;
	align-items: center;
	gap: 0.625rem; /* 10px */
	margin: 0;
}

.journal-single__content li::before {
	content: "";
	flex: 0 0 0.625rem;
	width: 0.625rem;
	height: 0.625rem;
	background: url("../images/icon-list-dot.svg") center / contain no-repeat;
}

.journal-single__content figure,
.journal-single__content .wp-block-image {
	width: 100%;
	margin: 3.125rem 0 0;
	overflow: hidden;
	border-radius: 0.125rem;
}

.journal-single__content img {
	display: block;
	width: 100%;
	height: 28.75rem; /* 460px */
	object-fit: cover;
	border-radius: 0.125rem;
}

.journal-single__author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem; /* 40px */
	width: 100%;
	padding: 1.25rem 0; /* 20px */
	border-top: 0.0625rem solid var(--color-stroke);
}

.journal-single__author-person {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 0.75rem; /* 12px */
	min-width: 0;
}

.journal-single__author-avatar {
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	border-radius: 4rem;
	object-fit: cover;
}

.journal-single__author-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem; /* 8px */
	min-width: 0;
	text-transform: uppercase;
}

.journal-single__author-name,
.journal-single__author-role {
	margin: 0;
	width: 100%;
	font-weight: 500;
	line-height: 1.1;
}

.journal-single__author-name {
	font-size: var(--text-body); /* 16px */
	color: var(--color-dark);
}

.journal-single__author-role {
	font-size: var(--text-link); /* 14px */
	letter-spacing: var(--letter-spacing-link);
	color: rgba(25, 25, 21, 0.72);
}

.journal-single__share {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.625rem; /* 10px */
}

.journal-single__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; /* 40px */
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	line-height: 0;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	appearance: none;
	-webkit-appearance: none;
}

.journal-single__share-link:hover {
	opacity: 0.6;
	color: inherit;
	text-decoration: none;
}

.journal-single__share-link img {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
}

.journal-related {
	display: flex;
	flex-direction: column;
	gap: 3.75rem; /* 60px */
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 10rem var(--space-inline) 7.5rem; /* 160 / 120 */
}

.journal-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
}

.journal-related__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 3rem; /* 48px */
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-dark);
	white-space: nowrap;
}

.journal-related__nav {
	display: flex;
	align-items: center;
	gap: 0.625rem; /* 10px */
}

.journal-related__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.375rem; /* 54px */
	height: 3.375rem;
	padding: 0;
	border: 0.0625rem solid var(--color-stroke);
	background-color: transparent;
	color: var(--color-dark);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.journal-related__arrow:hover:not(:disabled):not(.is-disabled) {
	opacity: 0.7;
}

.journal-related__arrow.is-disabled,
.journal-related__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.journal-related__arrow--next {
	background-color: var(--color-stroke);
	opacity: 1;
}

.journal-related__arrow--next.is-disabled,
.journal-related__arrow--next:disabled {
	background-color: transparent;
	opacity: 0.4;
}

.journal-related__viewport {
	width: 100%;
	overflow: hidden;
}

.journal-related__track {
	display: flex;
	align-items: stretch;
	gap: 1.25rem; /* 20px */
	width: 100%;
	transition: transform 0.45s ease;
	will-change: transform;
}

.journal-related__slide {
	flex: 0 0 calc((100% - 2.5rem) / 3);
	min-width: 0;
}

.journal-related__slide .journal-card {
	width: 100%;
}

@media (max-width: 75rem) {
	.journal-page__inner {
		align-items: stretch;
		gap: 3.75rem; /* 60px */
		padding: 3.75rem var(--space-inline);
	}

	.journal-featured {
		flex-direction: column-reverse; /* image first — Figma 1676:8219 */
		align-items: stretch;
		gap: 1.25rem; /* 20px */
	}

	.journal-featured__copy {
		width: 100%;
		max-width: 100%;
		flex: none;
		gap: 1.875rem; /* 30px — intro to CTA */
	}

	.journal-featured__intro {
		gap: 1.25rem; /* 20px — tags to title */
	}

	.journal-featured__title {
		font-size: 1.875rem; /* 30px — Header 3 */
		letter-spacing: 0;
		line-height: 1.1;
	}

	.journal-featured__media {
		width: 100%;
		max-width: 100%;
		flex: none;
		height: auto;
		aspect-ratio: 350 / 250;
	}

	.journal-page__articles {
		gap: 1.875rem; /* 30px */
	}

	.journal-page__toolbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.875rem;
	}

	.journal-page__heading {
		font-size: 2.5rem; /* 40px */
		white-space: normal;
	}

	.journal-page__filters {
		align-items: stretch;
		width: 100%;
	}

	.journal-page__filters-group {
		width: calc(100% + var(--space-inline));
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.journal-page__filters-group::-webkit-scrollbar {
		display: none;
	}

	.journal-page__feed {
		gap: 3.75rem; /* 60px */
	}

	.journal-page__grid {
		grid-template-columns: 1fr;
		row-gap: 3.75rem; /* 60px between cards */
	}

	.journal-card__media {
		aspect-ratio: 350 / 252;
	}

	.journal-card__body {
		gap: 1.25rem; /* 20px — tags to title */
	}

	.journal-card__title {
		font-size: 1.375rem; /* 22px — Header 4 */
		line-height: 1.1;
	}

	.journal-single {
		gap: 3.75rem; /* 60px — Body */
		padding-top: 3.75rem; /* 60px — y=124 under 64px header */
	}

	.journal-single__head {
		gap: 1.875rem; /* 30px — tags to title */
		max-width: 100%;
	}

	.journal-single__title {
		font-size: 2.25rem; /* 36px */
	}

	.journal-single__hero {
		height: 23.75rem; /* 380px */
		aspect-ratio: auto;
		border-radius: 0.125rem;
	}

	.journal-single__main {
		gap: 3.75rem; /* 60px — sections / author */
		padding: 0 var(--space-inline);
	}

	.journal-single__content h2 {
		margin: 3.75rem 0 1.875rem; /* 60 / 30 */
		font-size: 1.875rem; /* 30px — Header 3 */
	}

	.journal-single__content figure,
	.journal-single__content .wp-block-image {
		margin-top: 1.875rem; /* 30px */
	}

	.journal-single__content blockquote {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem; /* 20px — marks / quote / cite */
		width: 100%;
		max-width: 100%;
		margin: 1.875rem 0 0; /* 30px, no side indent */
		margin-inline: 0;
		padding: 1.875rem; /* 30px */
		border-radius: 0 0.125rem 0.125rem 0;
		box-sizing: border-box;
	}

	.journal-single__content blockquote::before {
		flex: 0 0 1.5rem;
		grid-column: auto;
		grid-row: auto;
		width: 1.5rem; /* 24px */
		height: 1.5rem;
	}

	.journal-single__content blockquote p,
	.journal-single__content blockquote cite,
	.journal-single__content blockquote p:has(cite) {
		grid-column: auto;
	}

	.journal-single__content blockquote p {
		font-size: 1.375rem; /* 22px — Header 4 */
	}

	.journal-single__content blockquote cite,
	.journal-single__content blockquote p:has(cite) {
		font-size: var(--text-link); /* 14px */
	}

	.journal-single__content img {
		height: 13.4375rem; /* 215px */
		aspect-ratio: auto;
	}

	.journal-single__author {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0.75rem; /* 12px — avatar row, share sits in the same row */
		padding: 1.25rem 0 0; /* 20px top only */
	}

	.journal-single__share-link,
	.journal-single__share-link img {
		width: 1.875rem; /* 30px */
		height: 1.875rem;
	}

	.journal-related {
		gap: 2.5rem; /* 40px — header block to cards */
		padding: 0 var(--space-inline) 3.75rem;
	}

	.journal-related__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.5rem; /* 40px — title to arrows */
	}

	.journal-related__title {
		font-size: 1.875rem; /* 30px */
		white-space: normal;
	}

	.journal-related__slide {
		flex-basis: 100%;
	}
}
