/**
 * Journal1 layout and components.
 *
 * Colours, fonts and sizes come from the custom properties in style.css.
 *
 * Breakpoints:
 *   < 600px    one column: content, left, right
 *   600-991px  content full width, left and right side by side below it
 *   >= 992px   three columns: left | content | right
 */

/* =Shell
-------------------------------------------------------------- */

.j1-wrap {
	width: 100%;
	max-width: var(--j1-container);
	margin-inline: auto;
	padding-inline: var(--j1-gutter);
}

.j1-main {
	padding-block: var(--j1-gap);
}

.j1-skip-link {
	position: absolute;
	top: -4rem;
	left: 1rem;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--j1-button-bg);
	color: var(--j1-button-text);
	border-radius: var(--j1-radius-sm);
}

.j1-skip-link:focus {
	top: 1rem;
	color: var(--j1-button-text);
	text-decoration: none;
}

.j1-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

/* =Masthead
-------------------------------------------------------------- */

.j1-masthead {
	background: var(--j1-surface);
	border-bottom: 1px solid var(--j1-border);
}

.j1-masthead__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding-block: 0.9rem;
}

.j1-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: inherit;
}

.j1-brand:hover,
.j1-brand:focus {
	text-decoration: none;
}

.j1-brand__mark {
	width: 58px;
	height: 58px;
}

.j1-brand__text {
	display: flex;
	flex-direction: column;
}

.j1-brand__name {
	max-width: 30ch;
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.j1-brand__tagline {
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

/* Metric badges */

.j1-badges {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	padding: 0.25rem;
	text-align: center;
	border-radius: 50%;
}

.j1-badge__label {
	max-width: 100%;
	overflow: hidden;
	color: var(--j1-ink);
	font-size: 0.6875rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.j1-badge__value {
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.1;
}

.j1-badge--green {
	background: var(--j1-green-light);
}

.j1-badge--amber {
	background: var(--j1-amber-light);
}

.j1-badge--slate {
	background: var(--j1-slate-light);
}

.j1-masthead__aside {
	flex: 1 1 20rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	min-width: 0;
}

.j1-issn {
	margin: 0;
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-size: 1rem;
	font-weight: 700;
}

/* =Search
-------------------------------------------------------------- */

.j1-search {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 26rem;
}

.j1-search__icon {
	position: absolute;
	top: 50%;
	left: 0.85rem;
	display: flex;
	color: var(--j1-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.j1-search__input {
	flex: 1;
	min-width: 0;
	padding: 0.6rem 0.9rem 0.6rem 2.5rem;
	font: inherit;
	color: var(--j1-text);
	background: var(--j1-surface);
	border: 1px solid var(--j1-border);
	border-right: 0;
	border-radius: var(--j1-radius-sm) 0 0 var(--j1-radius-sm);
}

.j1-search__input:focus {
	outline: none;
	border-color: var(--j1-primary);
	box-shadow: var(--j1-focus-ring);
}

.j1-search__button {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1rem;
	color: var(--j1-button-text);
	font-weight: 600;
	background: var(--j1-button-bg);
	border: 0;
	border-radius: 0 var(--j1-radius-sm) var(--j1-radius-sm) 0;
	cursor: pointer;
}

.j1-search__button:hover,
.j1-search__button:focus-visible {
	background: var(--j1-button-bg-hover);
}

/* The masthead search shows only the icon; the hero search shows the word. */
.j1-masthead .j1-search__button-label,
.j1-hero .j1-search__button-icon {
	display: none;
}

/* =Primary navigation
-------------------------------------------------------------- */

.j1-nav {
	background: var(--j1-surface);
	border-bottom: 1px solid var(--j1-border);
}

.j1-nav__inner {
	display: flex;
	align-items: center;
}

.j1-nav__toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 0;
	color: var(--j1-ink);
	font-weight: 600;
	background: none;
	border: 0;
	cursor: pointer;
}

.j1-nav__toggle-bars,
.j1-nav__toggle-bars::before,
.j1-nav__toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.j1-nav__toggle-bars {
	position: relative;
}

.j1-nav__toggle-bars::before,
.j1-nav__toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.j1-nav__toggle-bars::before {
	top: -6px;
}

.j1-nav__toggle-bars::after {
	top: 6px;
}

.j1-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-nav__link {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.9rem 0;
	color: var(--j1-text);
	font-weight: 600;
	border-bottom: 3px solid transparent;
}

.j1-nav__link .j1-icon {
	color: var(--j1-primary);
}

.j1-nav__link:hover,
.j1-nav__link:focus {
	color: var(--j1-primary-dark);
	text-decoration: none;
}

.j1-nav__link.is-active,
.j1-nav__item.current-menu-item > .j1-nav__link {
	color: var(--j1-primary-dark);
	border-bottom-color: var(--j1-primary);
}

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

.j1-hero {
	position: relative;
	background-color: var(--j1-primary-light);
	background-image: var(--j1-hero-image), var(--j1-hero-gradient);
	background-position: center;
	background-size: cover;
}

.j1-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--j1-gap);
	align-items: center;
	padding-block: 3rem;
}

.j1-hero__content {
	max-width: 46rem;
}

.j1-hero__title {
	margin: 0 0 0.75rem;
	color: var(--j1-hero-ink);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
}

.j1-hero__lead {
	max-width: 42ch;
	margin-bottom: 1.5rem;
	color: var(--j1-text);
	font-size: 1.0625rem;
}

.j1-hero .j1-search {
	max-width: 34rem;
}

.j1-hero .j1-search__input {
	padding-block: 0.85rem;
	border-color: transparent;
	box-shadow: var(--j1-shadow);
}

.j1-hero .j1-search__button {
	padding-inline: 2rem;
}

.j1-hero__searches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 0;
	font-size: 0.8125rem;
}

.j1-hero__searches-label {
	color: var(--j1-muted);
}

.j1-chip {
	padding: 0.25rem 0.7rem;
	color: var(--j1-text);
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--j1-border);
	border-radius: 999px;
}

.j1-chip:hover,
.j1-chip:focus {
	color: var(--j1-primary-dark);
	background: var(--j1-surface);
	text-decoration: none;
}

.j1-hero__aside {
	display: none;
	text-align: right;
}

.j1-hero__motto {
	margin: 0 0 0.75rem;
	color: var(--j1-hero-ink);
	font-family: var(--j1-font-heading);
	font-size: 1.25rem;
	font-style: italic;
}

.j1-hero__pillars {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	color: var(--j1-ink);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.j1-hero__inner {
		grid-template-columns: minmax(0, 1fr) 16rem;
	}

	.j1-hero__aside {
		display: block;
	}
}

/* =Metrics strip
-------------------------------------------------------------- */

.j1-stats {
	background: var(--j1-surface);
	border-bottom: 1px solid var(--j1-border);
}

.j1-stats__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1rem;
	margin: 0;
	padding-block: 1.25rem;
	list-style: none;
}

.j1-stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
}

.j1-stat + .j1-stat {
	border-left: 1px solid var(--j1-border);
}

.j1-stat__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.j1-stat__icon .j1-icon {
	width: 1.35rem;
	height: 1.35rem;
}

.j1-stat__icon--green {
	color: var(--j1-green);
	background: var(--j1-green-light);
}

.j1-stat__icon--amber {
	color: var(--j1-amber);
	background: var(--j1-amber-light);
}

.j1-stat__icon--slate {
	color: var(--j1-slate);
	background: var(--j1-slate-light);
}

.j1-stat__text {
	display: flex;
	flex-direction: column;
}

.j1-stat__value {
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
}

.j1-stat__label {
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

@media (max-width: 767.98px) {
	.j1-stat + .j1-stat {
		border-left: 0;
		border-top: 1px solid var(--j1-border);
		padding-top: 1rem;
	}
}

/* =Three-column layout
--------------------------------------------------------------
The centre content comes first in the markup, so on small screens it
reads content, then left column, then right column.
-------------------------------------------------------------- */

.j1-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"content"
		"left"
		"right";
	gap: var(--j1-gap);
}

.j1-content {
	grid-area: content;
	min-width: 0;
}

.j1-column {
	display: flex;
	flex-direction: column;
	gap: var(--j1-gap);
	min-width: 0;
}

.j1-column--left {
	grid-area: left;
}

.j1-column--right {
	grid-area: right;
}

@media (min-width: 600px) {
	.j1-layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"content content"
			"left right";
	}
}

@media (min-width: 992px) {
	.j1-layout {
		grid-template-columns: var(--j1-col-left) minmax(0, 1fr) var(--j1-col-right);
		grid-template-areas: "left content right";
		align-items: start;
	}
}

.j1-layout--full {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "content";
}

/* =Cards
-------------------------------------------------------------- */

.j1-card {
	padding: 1.25rem;
	background: var(--j1-surface);
	border: 1px solid var(--j1-border);
	border-radius: var(--j1-radius);
	box-shadow: var(--j1-shadow);
}

.j1-content > .j1-card + .j1-card {
	margin-top: var(--j1-gap);
}

.j1-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--j1-border);
}

.j1-card__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 1.25rem;
}

.j1-card__title .j1-icon {
	color: var(--j1-primary);
}

.j1-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--j1-primary-dark);
	font-size: 0.8125rem;
	font-weight: 600;
}

.j1-section-label {
	margin: 0 0 1rem;
	color: var(--j1-muted);
	font-family: var(--j1-font);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}

.j1-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1.1rem;
	color: var(--j1-button-text);
	font-weight: 600;
	background: var(--j1-button-bg);
	border: 0;
	border-radius: var(--j1-radius-sm);
	cursor: pointer;
}

.j1-button:hover,
.j1-button:focus {
	color: var(--j1-button-text);
	background: var(--j1-button-bg-hover);
	text-decoration: none;
}

.j1-button--block {
	width: 100%;
}

.j1-button--small {
	padding: 0.3rem 0.75rem;
	font-size: 0.8125rem;
}

.j1-empty {
	margin: 0;
	color: var(--j1-muted);
}

/* =Quick links grid
-------------------------------------------------------------- */

.j1-quicklinks__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-quicklink {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	height: 100%;
	padding: 0.9rem 0.5rem;
	color: var(--j1-text);
	text-align: center;
	background: var(--j1-primary-tint);
	border: 1px solid var(--j1-border);
	border-radius: var(--j1-radius-sm);
}

.j1-quicklink:hover,
.j1-quicklink:focus {
	color: var(--j1-primary-dark);
	background: var(--j1-primary-light);
	border-color: var(--j1-primary);
	text-decoration: none;
}

.j1-quicklink__icon {
	color: var(--j1-primary);
}

.j1-quicklink__icon .j1-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.j1-quicklink__label {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
}

/* =Tabs
-------------------------------------------------------------- */

.j1-tabs__head {
	align-items: flex-end;
	padding-bottom: 0;
}

.j1-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.j1-tabs__tab {
	padding: 0.5rem 0 0.75rem;
	color: var(--j1-muted);
	font-weight: 600;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	cursor: pointer;
}

.j1-tabs__tab:hover {
	color: var(--j1-primary-dark);
}

.j1-tabs__tab.is-active {
	color: var(--j1-primary-dark);
	border-bottom-color: var(--j1-primary);
}

.j1-tabs__panel-title {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
}

/* With JavaScript only the selected panel shows, and the tabs label it. */
.j1-js .j1-tabs__panel {
	display: none;
}

.j1-js .j1-tabs__panel.is-active {
	display: block;
}

.j1-js .j1-tabs__panel-title {
	display: none;
}

/* =Article cards
-------------------------------------------------------------- */

.j1-articles {
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem 1rem;
	padding-block: 1rem;
}

.j1-article + .j1-article {
	border-top: 1px solid var(--j1-border);
}

.j1-article__media img {
	width: 100%;
	height: auto;
	border-radius: var(--j1-radius-sm);
	object-fit: cover;
}

.j1-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.35rem;
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

.j1-tag {
	padding: 0.1rem 0.5rem;
	color: var(--j1-primary-dark);
	font-weight: 600;
	background: var(--j1-primary-light);
	border-radius: var(--j1-radius-sm);
}

.j1-article__title {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.j1-article__title a {
	color: var(--j1-ink);
}

.j1-article__title a:hover,
.j1-article__title a:focus {
	color: var(--j1-primary-dark);
}

.j1-article__authors {
	margin: 0 0 0.5rem;
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-article__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	font-size: 0.8125rem;
}

.j1-article__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 600;
}

.j1-article__stats {
	display: flex;
	gap: 1rem;
	margin: 0;
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

.j1-article__stats span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

@media (max-width: 599.98px) {
	.j1-article__media img {
		max-height: 170px;
		object-position: center;
	}
}

@media (min-width: 600px) {
	.j1-article {
		grid-template-columns: 8rem minmax(0, 1fr) auto;
		align-items: start;
	}

	.j1-article__media {
		grid-row: span 2;
	}

	.j1-article__stats {
		justify-content: flex-end;
	}
}

/* =Left column
-------------------------------------------------------------- */

.j1-profile {
	text-align: center;
}

.j1-profile__cover {
	width: 100%;
	max-width: 200px;
	border-radius: var(--j1-radius-sm);
}

.j1-profile__metrics {
	margin: 1rem 0;
	padding: 0;
	list-style: none;
	text-align: left;
	font-size: 0.8125rem;
}

.j1-profile__metrics li + li {
	margin-top: 0.35rem;
}

.j1-profile__metric-label {
	color: var(--j1-text);
	font-weight: 600;
}

.j1-profile__metric-value {
	color: var(--j1-primary-dark);
	font-weight: 700;
}

.j1-indexed__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 1.25rem;
	align-items: center;
	justify-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-indexed__list img {
	width: auto;
	max-height: 46px;
}

@media (min-width: 992px) {
	.j1-indexed__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* =Right column
-------------------------------------------------------------- */

.j1-latest__body {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.j1-latest__cover {
	flex: none;
	width: 78px;
	border-radius: var(--j1-radius-sm);
}

.j1-latest__label {
	margin: 0;
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-weight: 700;
}

.j1-latest__volume,
.j1-latest__date {
	margin: 0;
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-latest__body .j1-button {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
}

.j1-quote {
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-style: italic;
	background: var(--j1-primary-tint);
}

.j1-quote p {
	margin: 0;
}

.j1-linklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-linklist li + li {
	border-top: 1px solid var(--j1-border);
}

.j1-linklist a {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0;
	color: var(--j1-text);
	font-size: 0.875rem;
}

.j1-linklist a .j1-icon {
	width: 0.85em;
	height: 0.85em;
	color: var(--j1-primary);
}

.j1-linklist a:hover,
.j1-linklist a:focus {
	color: var(--j1-primary-dark);
	text-decoration: none;
}

/* =Entries and page headers
--------------------------------------------------------------
Inner pages put their content on the same card surface as the homepage
modules, without every template having to add the class itself.
-------------------------------------------------------------- */

.j1-content > article,
.j1-content > section:not(.j1-card) {
	padding: 1.25rem;
	background: var(--j1-surface);
	border: 1px solid var(--j1-border);
	border-radius: var(--j1-radius);
	box-shadow: var(--j1-shadow);
}

.j1-content > article + article,
.j1-content > section:not(.j1-card) + section:not(.j1-card) {
	margin-top: var(--j1-gap);
}

.j1-content .page-header {
	margin-bottom: var(--j1-gap);
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--j1-primary);
}

.page-title {
	margin: 0;
	font-size: 1.375rem;
}

.page-description {
	margin-top: 0.5rem;
	color: var(--j1-muted);
}

.entry-header {
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--j1-border);
}

.entry-title {
	margin: 0;
	font-size: 1.5rem;
}

.entry-title a {
	color: inherit;
}

.j1-content article + article {
	margin-top: 2rem;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote {
	max-width: 70ch;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content table {
	max-width: 100%;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-meta {
	margin-top: 1rem;
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

@media (max-width: 599.98px) {
	.entry-content table {
		display: block;
		overflow-x: auto;
	}
}

/* =Single article
-------------------------------------------------------------- */

.j1-article__doi {
	flex-basis: 100%;
	word-break: break-word;
}

.j1-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0 0 0.5rem;
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-article-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: var(--j1-gap);
	padding-top: 1rem;
	border-top: 1px solid var(--j1-border);
}

.j1-pagination {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-block: var(--j1-gap);
}

/* =Issue archive
-------------------------------------------------------------- */

.j1-years {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
	gap: 0.5rem;
	margin-bottom: var(--j1-gap);
}

.j1-year {
	padding: 0.6rem 0.5rem;
	color: var(--j1-primary-dark);
	font-family: var(--j1-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	background: var(--j1-primary-light);
	border: 1px solid transparent;
	border-radius: var(--j1-radius-sm);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.j1-year:hover {
	color: var(--j1-button-text);
	background: var(--j1-primary);
}

.j1-year.is-active {
	color: var(--j1-button-text);
	background: var(--j1-primary);
	border-color: var(--j1-primary-dark);
}

.j1-issues__year {
	margin: var(--j1-gap) 0 0.5rem;
	font-size: 1.125rem;
}

.j1-issues__list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--j1-surface);
	border: 1px solid var(--j1-border);
	border-radius: var(--j1-radius-sm);
	overflow: hidden;
}

.j1-issues__item + .j1-issues__item {
	border-top: 1px solid var(--j1-border);
}

.j1-issues__link {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15rem 0.75rem;
	padding: 0.75rem 2.25rem 0.75rem 1rem;
	color: var(--j1-text);
}

.j1-issues__link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.1rem;
	width: 0.4rem;
	height: 0.4rem;
	border-top: 2px solid var(--j1-primary);
	border-right: 2px solid var(--j1-primary);
	transform: translateY(-50%) rotate(45deg);
}

.j1-issues__link:hover,
.j1-issues__link:focus,
.entry-content .j1-issues__link:hover {
	color: var(--j1-primary-dark);
	background: var(--j1-primary-light);
	text-decoration: none;
}

.entry-content .j1-issues__link {
	text-decoration: none;
}

.j1-issues__volume {
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-size: 1rem;
	font-weight: 700;
}

.j1-issues__quarter {
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-js .j1-issues {
	display: none;
}

.j1-js .j1-issues.is-active {
	display: block;
}

.j1-js .j1-issues__year {
	display: none;
}

/* =Issue article list
-------------------------------------------------------------- */

.j1-issue__quarter {
	color: var(--j1-muted);
	font-family: var(--j1-font);
	font-size: 0.9375rem;
	font-weight: 400;
}

.j1-issue__group + .j1-issue__group {
	margin-top: var(--j1-gap);
}

.j1-issue__group-title {
	margin: 0 0 0.75rem;
	padding-bottom: 0.35rem;
	color: var(--j1-primary-dark);
	font-family: var(--j1-font);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--j1-border);
}

.j1-articles__item {
	padding: 0.9rem 0 0.9rem 1rem;
	border-left: 3px solid transparent;
}

.j1-articles__item + .j1-articles__item {
	border-top: 1px solid var(--j1-border);
}

.j1-articles__item:hover {
	background: var(--j1-primary-tint);
	border-left-color: var(--j1-primary);
}

.j1-articles__title {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.j1-articles__title a {
	color: var(--j1-ink);
}

.entry-content .j1-articles__title a,
.entry-content .j1-button {
	text-decoration: none;
}

.j1-articles__authors,
.j1-articles__meta {
	margin: 0 0 0.35rem;
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-articles__authors {
	font-style: italic;
}

.j1-articles__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0.5rem 0 0;
}

/* =404
-------------------------------------------------------------- */

.j1-error {
	padding-block: 2rem;
	text-align: center;
}

.j1-error__code {
	margin: 0;
	color: var(--j1-primary);
	font-family: var(--j1-font-heading);
	font-size: clamp(4rem, 12vw, 6rem);
	font-weight: 700;
	line-height: 1;
}

.j1-error .j1-search {
	margin-inline: auto;
}

/* =Footer
-------------------------------------------------------------- */

.j1-footer {
	margin-top: var(--j1-gap);
	background: var(--j1-surface);
	border-top: 1px solid var(--j1-border);
}

.j1-footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: var(--j1-gap) 2rem;
	padding-block: 2rem;
}

.j1-footer__about {
	grid-column: span 1;
	max-width: 26rem;
}

.j1-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.j1-footer__brand img {
	width: 48px;
	height: 48px;
}

.j1-footer__brand span {
	display: flex;
	flex-direction: column;
	color: var(--j1-ink);
	font-size: 0.875rem;
}

.j1-footer__brand strong {
	font-family: var(--j1-font-heading);
}

.j1-footer__about p {
	color: var(--j1-muted);
	font-size: 0.875rem;
}

.j1-social {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--j1-primary-dark);
	background: var(--j1-primary-light);
	border-radius: 50%;
}

.j1-social a:hover,
.j1-social a:focus {
	color: var(--j1-button-text);
	background: var(--j1-primary);
}

.j1-footer__title {
	margin: 0 0 0.75rem;
	font-family: var(--j1-font);
	font-size: 0.9375rem;
	font-weight: 700;
}

.j1-footer__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-footer__nav li {
	margin-bottom: 0.35rem;
}

.j1-footer__nav a,
.j1-footer__contact a {
	color: var(--j1-text);
	font-size: 0.875rem;
}

.j1-footer__nav a:hover,
.j1-footer__nav a:focus,
.j1-footer__contact a:hover,
.j1-footer__contact a:focus {
	color: var(--j1-primary-dark);
}

.j1-footer__line {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	color: var(--j1-text);
	font-size: 0.875rem;
}

.j1-footer__line .j1-icon {
	margin-top: 0.15rem;
	color: var(--j1-primary);
}

.j1-footer__motto {
	margin: 1rem 0 0;
	color: var(--j1-ink);
	font-family: var(--j1-font-heading);
	font-style: italic;
}

.j1-footer__motto strong {
	display: block;
	font-style: normal;
}

.j1-footer__bar {
	background: var(--j1-primary-tint);
	border-top: 1px solid var(--j1-border);
}

.j1-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 0.9rem;
	color: var(--j1-muted);
	font-size: 0.8125rem;
}

.j1-footer__bar-inner p {
	margin: 0;
}

.j1-footer__bar-inner ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.j1-footer__bar-inner a {
	color: var(--j1-muted);
}

/* =Small screens
-------------------------------------------------------------- */

@media (max-width: 991.98px) {
	.j1-masthead__inner {
		justify-content: center;
		text-align: center;
	}

	.j1-brand {
		flex: 1 1 100%;
		justify-content: center;
	}

	.j1-brand__name {
		max-width: none;
		font-size: 1.05rem;
	}

	.j1-masthead__aside {
		flex-basis: 100%;
		align-items: center;
	}

	.j1-nav__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.j1-nav__toggle {
		display: flex;
	}

	.j1-nav__menu {
		display: none;
		padding-bottom: 0.5rem;
	}

	.j1-nav__menu.is-open {
		display: block;
	}

	.j1-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.j1-nav__item + .j1-nav__item {
		border-top: 1px solid var(--j1-border);
	}

	.j1-nav__link {
		padding: 0.7rem 0;
		border-bottom: 0;
		border-left: 3px solid transparent;
		padding-left: 0.5rem;
	}

	.j1-nav__link.is-active,
	.j1-nav__item.current-menu-item > .j1-nav__link {
		border-bottom-color: transparent;
		border-left-color: var(--j1-primary);
		background: var(--j1-primary-tint);
	}
}

@media (max-width: 599.98px) {
	.j1-badges {
		gap: 0.5rem;
	}

	.j1-badge {
		width: 62px;
		height: 62px;
	}

	.j1-card {
		padding: 1rem;
	}
}
