/*
 * Vybe ARJST – brand layer for The7 ("Scholarly Classic", light).
 * White pages, cool paper bands, navy for links, buttons and the name,
 * teal only as fine lines and small labels (teal text uses the darker teal-ink).
 * Contrast (WCAG): navy on white 10.9:1, navy on paper 9.9:1, white on navy 10.9:1,
 * teal-ink on white 6.3:1 and on paper 5.8:1, muted on paper 6.9:1.
 */

:root {
	--ar-primary: #1A3D6D;
	--ar-primary-dark: #132E54;
	--ar-primary-tint: #E8EEF7;
	--ar-accent: #0E9F9B;
	--ar-accent-light: #3CC3BE;
	--ar-accent-ink: #0A6B68;
	--ar-ink: #0F213D;
	--ar-text: #1B2533;
	--ar-muted: #4A5568;
	--ar-paper: #F2F5F9;
	--ar-paper-2: #F8FAFC;
	--ar-line: #DDE4ED;
	--ar-line-soft: #E8EDF3;
	--ar-white: #fff;
	--ar-serif: "ARJST Serif", "Noto Serif", Georgia, "Times New Roman", serif;
	--ar-sans: "ARJST Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ar-wrap: 1240px;
	--ar-radius: 10px;
	--ar-shadow: 0 10px 28px -16px rgba(15, 33, 61, .32);

	/* Same palette for the Vybe ARJST Site plugin's pages (its settings can override on managed pages). */
	--arjst-primary: var(--ar-primary);
	--arjst-accent: var(--ar-accent);
	--arjst-accent-ink: var(--ar-accent-ink);
	--arjst-light: var(--ar-paper);
}

html { scroll-padding-top: 96px; }

/* ---------- Base ---------- */

body.arjst {
	font-family: var(--ar-sans);
	color: var(--ar-text);
	background: var(--ar-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.arjst #page { font-family: var(--ar-sans); }
/*
 * The7 lays #page out as a CSS grid with named areas for its own header,
 * main and footer. The journal header and footer printed by this theme are
 * not in those areas, so the grid placed the footer above the content.
 * A plain block layout keeps everything in source order.
 */
body.arjst #page { display: block !important; grid-template-areas: none !important; grid-template-columns: none !important; grid-template-rows: none !important; }
body.arjst #page > .ar-footer { grid-area: auto; }
.arjst h1, .arjst h2, .arjst h3, .arjst h4,
.arjst .elementor-heading-title { font-family: var(--ar-serif); }
.arjst h1, .arjst h2, .arjst h3, .arjst h4 { color: var(--ar-ink); }
.arjst #main a:not(.ar-btn):not(.elementor-button):not(.arjst-btn) { text-underline-offset: .18em; }
.arjst :focus-visible { outline: 3px solid var(--ar-primary); outline-offset: 2px; border-radius: 3px; }
.ar-wrap { width: 100%; max-width: var(--ar-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.arjst .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 560px) { .ar-wrap { padding: 0 16px; } }

/* Links everywhere in the journal navy instead of The7's link colour. */
body.arjst {
	--the7-links-color: var(--ar-primary);
	--the7-links-hover-color: var(--ar-primary-dark);
	--the7-accent-color: var(--ar-primary);
}

/* The7's title bar: light, with the page title in the journal's serif; one breadcrumb trail (the theme's). */
.arjst .page-title { background-color: var(--ar-white) !important; border-bottom: 1px solid var(--ar-line); }
.arjst .page-title h1, .arjst .page-title .entry-title { color: var(--ar-ink) !important; font-family: var(--ar-serif); }
.arjst .page-title .breadcrumbs, .arjst .page-title .page-title-breadcrumbs { display: none !important; }

/* Pages made by the plugin have their own hero heading: hide The7's title bar and spacing. */
.arjst-managed .page-title,
.arjst-managed .page-title-head { display: none !important; }
.arjst-managed #main { padding-top: 0 !important; padding-bottom: 0 !important; }
.arjst-managed #main .wf-wrap { max-width: none; padding: 0; }
.arjst-managed .wf-container-main { padding: 0; }

/* The theme's home page: full-width bands of its own, no title bar, slideshow or sidebar. */
.arjst-home .page-title,
.arjst-home .page-title-head,
.arjst-home .fancy-header,
.arjst-home #main-slideshow,
.arjst-home #sidebar { display: none !important; }
.arjst-home #main { padding-top: 0 !important; padding-bottom: 0 !important; }
.arjst-home #main .wf-wrap { max-width: none !important; padding: 0 !important; width: auto !important; }
.arjst-home .wf-container-main { display: block !important; padding: 0 !important; margin: 0 !important; }
.arjst-home #content { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }

/* VYBE Journal's issue, article and author pages: their templates bring their own heading and columns. */
.arjst-vybe .page-title,
.arjst-vybe .page-title-head { display: none !important; }
.arjst-vybe #main { padding-top: 32px; }
.arjst-vybe #sidebar { display: none !important; }
.arjst-vybe .wf-container-main { display: block; }
.arjst-vybe #content { width: 100% !important; max-width: none; }
/* VYBE Journal Elementor Kit in the journal's colours. */
body.arjst {
	--vjek-accent: var(--ar-primary);
	--vjek-heading: var(--ar-ink);
	--vjek-text: var(--ar-text);
	--vjek-soft: var(--ar-paper-2);
	--vjek-line: var(--ar-line);
	--vjek-muted: var(--ar-muted);
}
/*
 * The7's buttons (Elementor's included) and form fields in the journal's
 * sans-serif instead of The7's Roboto, which is not loaded. The7 composes the
 * font of each button size at :root, so the composition is repeated here.
 */
body.arjst {
	--the7-base-font-family: var(--ar-sans);
	--the7-btn-s-font-family: var(--ar-sans);
	--the7-btn-m-font-family: var(--ar-sans);
	--the7-btn-l-font-family: var(--ar-sans);
	--the7-btn-lg-font-family: var(--ar-sans);
	--the7-btn-xl-font-family: var(--ar-sans);
	--the7-btn-s-font: var(--the7-btn-s-font-style,normal) normal var(--the7-btn-s-font-weight,normal) var(--the7-btn-s-font-size) / var(--the7-btn-s-line-height) var(--the7-btn-s-font-family);
	--the7-btn-m-font: var(--the7-btn-m-font-style,normal) normal var(--the7-btn-m-font-weight,normal) var(--the7-btn-m-font-size) / var(--the7-btn-m-line-height) var(--the7-btn-m-font-family);
	--the7-btn-l-font: var(--the7-btn-l-font-style,normal) normal var(--the7-btn-l-font-weight,normal) var(--the7-btn-l-font-size) / var(--the7-btn-l-line-height) var(--the7-btn-l-font-family);
	--the7-btn-lg-font: var(--the7-btn-lg-font-style,normal) normal var(--the7-btn-lg-font-weight,normal) var(--the7-btn-lg-font-size) / var(--the7-btn-lg-line-height) var(--the7-btn-lg-font-family);
	--the7-btn-xl-font: var(--the7-btn-xl-font-style,normal) normal var(--the7-btn-xl-font-weight,normal) var(--the7-btn-xl-font-size) / var(--the7-btn-xl-line-height) var(--the7-btn-xl-font-family);
}
/* Keywords are chips: no list bullets beside them. */
.arjst-vybe .vj-keywords,
.arjst-vybe .vj-keywords li { list-style: none; }
.arjst-vybe .vj-keywords { padding-left: 0; margin-left: 0; }

/* ---------- Buttons ---------- */

.ar-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: 0 1.3em; border-radius: 6px; border: 1.5px solid transparent; box-sizing: border-box;
	font: 700 .95rem/1.2 var(--ar-sans); text-decoration: none !important; cursor: pointer; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ar-btn--primary { background: var(--ar-primary); border-color: var(--ar-primary); color: var(--ar-white) !important; }
.ar-btn--primary:hover, .ar-btn--primary:focus { background: var(--ar-primary-dark); border-color: var(--ar-primary-dark); box-shadow: var(--ar-shadow); }
.ar-btn--outline { background: transparent; border-color: var(--ar-primary); color: var(--ar-primary) !important; }
.ar-btn--outline:hover, .ar-btn--outline:focus { background: var(--ar-primary-tint); }
/* Accent button (teal) – dark text keeps the contrast. */
.ar-btn--accent { background: var(--ar-accent-light); border-color: var(--ar-accent-light); color: var(--ar-ink) !important; }
.ar-btn--accent:hover, .ar-btn--accent:focus { background: #63D2CD; border-color: #63D2CD; }

/* ---------- Identity bar ---------- */

.ar-idbar { background: var(--ar-paper); color: var(--ar-muted); border-top: 3px solid var(--ar-accent); border-bottom: 1px solid var(--ar-line); font-size: .8125rem; line-height: 1.4; }
.ar-idbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.ar-idbar__list { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.ar-idbar__list li { margin: 0; padding: 0; display: inline-flex; gap: 6px; align-items: baseline; color: var(--ar-text); }
.ar-idbar__list span { color: var(--ar-accent-ink); font-weight: 700; letter-spacing: .07em; font-size: .7rem; }
.ar-idbar__list small { color: var(--ar-muted); font-size: .75rem; }
.ar-idbar__mail { color: var(--ar-primary) !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ar-idbar__mail:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.ar-header { position: sticky; top: 0; z-index: 900; background: var(--ar-white); border-bottom: 1px solid var(--ar-line); transition: box-shadow .2s ease; }
.admin-bar .ar-header { top: 32px; }
.ar-header.is-scrolled { box-shadow: 0 8px 22px -16px rgba(15, 33, 61, .35); }
.ar-header__in { display: flex; align-items: center; gap: 24px; min-height: 80px; position: relative; }

.ar-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none !important; color: var(--ar-primary) !important; flex: 0 0 auto; }
.ar-brand__logo, .ar-brand img { width: 56px; height: 56px; flex: 0 0 auto; }
.ar-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ar-brand__name { font: 700 1.7rem/1.05 var(--ar-serif); color: var(--ar-primary); letter-spacing: .03em; }
.ar-brand__sub { align-self: flex-start; width: max-content; font: 700 .62rem/1.4 var(--ar-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ar-accent-ink); margin-top: 5px; padding-top: 4px; border-top: 1.5px solid var(--ar-accent); }
.ar-brand__sub > span { display: block; }
/* Desktop: the journal title on two short lines leaves room for the whole menu. */
@media (min-width: 1200px) {
	.ar-brand__sub { font-size: .58rem; }
	.ar-menu > li > a { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
	.ar-header__in { gap: 18px; }
	.ar-nav { gap: 12px; }
	.ar-menu a { padding: 10px 9px; font-size: .92rem; }
	.ar-menu > li.menu-item-has-children > a { padding-right: 3px; }
	.ar-nav__cta { padding-left: 16px; padding-right: 16px; }
}

.ar-nav { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.ar-menu, .ar-menu ul { list-style: none; margin: 0; padding: 0; }
.ar-menu { display: flex; align-items: center; gap: 2px; }
.ar-menu > li { position: relative; margin: 0; }
.ar-menu a {
	display: block; padding: 10px 12px; color: var(--ar-text) !important; text-decoration: none !important;
	font: 600 .95rem/1.3 var(--ar-sans); transition: color .15s ease, box-shadow .15s ease;
}
.ar-menu > li > a:hover, .ar-menu > li > a:focus { color: var(--ar-primary) !important; box-shadow: inset 0 -2px 0 var(--ar-primary); }
.ar-menu > li.current-menu-item > a, .ar-menu > li.current-menu-ancestor > a,
.ar-menu > li.current_page_item > a, .ar-menu > li.current-menu-parent > a { color: var(--ar-primary) !important; box-shadow: inset 0 -2px 0 var(--ar-accent); }
.ar-menu > li.menu-item-has-children > a { padding-right: 5px; }

.ar-subtoggle {
	position: relative; width: 22px; height: 30px; margin: 0 4px 0 -2px; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle;
}
.ar-subtoggle::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -5px 0 0 -3px;
	border-right: 2px solid var(--ar-muted); border-bottom: 2px solid var(--ar-muted); transform: rotate(45deg); transition: transform .15s ease;
}
li.is-open > .ar-subtoggle::after { transform: rotate(-135deg); margin-top: -1px; border-color: var(--ar-primary); }
.ar-menu > li.menu-item-has-children { display: flex; align-items: center; }

.ar-menu .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 250px; z-index: 5;
	background: var(--ar-white); border: 1px solid var(--ar-line); border-top: 2px solid var(--ar-primary); border-radius: 0 0 var(--ar-radius) var(--ar-radius);
	box-shadow: var(--ar-shadow); padding: 6px;
}
.ar-menu li.is-open > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1200px) {
	.ar-menu li.menu-item-has-children:hover > .sub-menu { display: block; }
}
.ar-menu .sub-menu a { padding: 9px 12px; font-weight: 500; font-size: .92rem; border-radius: 6px; }
.ar-menu .sub-menu a:hover, .ar-menu .sub-menu a:focus, .ar-menu .sub-menu .current-menu-item > a { background: var(--ar-paper-2); color: var(--ar-primary) !important; }

.ar-nav__cta { flex: 0 0 auto; }

.ar-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--ar-line); border-radius: 8px; background: var(--ar-white); cursor: pointer; position: relative; }
.ar-burger__bars, .ar-burger__bars::before, .ar-burger__bars::after {
	content: ""; position: absolute; width: 20px; height: 2px; background: var(--ar-ink); transition: transform .2s ease, top .2s ease, background-color .2s ease;
}
.ar-burger__bars { left: 50%; top: 50%; margin: -1px 0 0 -10px; }
.ar-burger__bars::before { left: 0; top: -6px; }
.ar-burger__bars::after { left: 0; top: 6px; }
.ar-burger[aria-expanded="true"] .ar-burger__bars { background: transparent; }
.ar-burger[aria-expanded="true"] .ar-burger__bars::before { top: 0; transform: rotate(45deg); }
.ar-burger[aria-expanded="true"] .ar-burger__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1199px) {
	.ar-burger { display: block; }
	.ar-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 12px;
		background: var(--ar-white); padding: 10px 20px 20px; border-top: 1px solid var(--ar-line); border-bottom: 1px solid var(--ar-line); box-shadow: var(--ar-shadow); max-height: calc(100vh - 120px); overflow-y: auto;
	}
	.ar-nav.is-open { display: flex; }
	.ar-menu { flex-direction: column; align-items: stretch; }
	.ar-menu > li { border-bottom: 1px solid var(--ar-line-soft); }
	.ar-menu > li.menu-item-has-children { flex-wrap: wrap; }
	.ar-menu > li.menu-item-has-children > a { flex: 1 1 auto; }
	.ar-menu > li > a:hover, .ar-menu > li > a:focus,
	.ar-menu > li.current-menu-item > a, .ar-menu > li.current-menu-ancestor > a,
	.ar-menu > li.current_page_item > a, .ar-menu > li.current-menu-parent > a { box-shadow: none; }
	.ar-menu a { padding: 13px 4px; }
	.ar-subtoggle { width: 44px; height: 44px; margin: 0; }
	.ar-menu .sub-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--ar-accent); border-radius: 0; margin: 0 0 8px 6px; min-width: 0; padding: 2px 0 2px 8px; }
	.ar-menu li.is-open > .sub-menu { display: block; }
	.ar-menu .sub-menu a { padding: 10px 8px; }
	.ar-nav__cta { text-align: center; }
	.admin-bar .ar-header { top: 46px; }
}
@media (max-width: 782px) { .admin-bar .ar-header { top: 46px; } }
@media (max-width: 1199px) { .ar-hide-md { display: none !important; } }
@media (max-width: 640px) {
	.ar-hide-sm { display: none !important; }
	.ar-idbar__mail { display: none; }
	.ar-brand__sub { display: none; }
	.ar-brand__name { font-size: 1.38rem; }
	.ar-brand__logo, .ar-brand img { width: 46px; height: 46px; }
	.ar-header__in { min-height: 66px; }
}

/* ---------- Breadcrumbs ---------- */

.ar-crumbs { background: var(--ar-paper-2); border-bottom: 1px solid var(--ar-line-soft); font-size: .85rem; }
.ar-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 auto; padding-top: 10px; padding-bottom: 10px; list-style: none; gap: 2px 0; }
.ar-crumbs li { margin: 0; color: var(--ar-muted); }
.ar-crumbs li + li::before { content: "›"; margin: 0 9px; color: var(--ar-muted); }
.ar-crumbs a { color: var(--ar-primary) !important; text-decoration: none; font-weight: 600; }
.ar-crumbs a:hover { text-decoration: underline; }
.ar-crumbs li[aria-current] { color: var(--ar-text); font-weight: 600; }

/* ---------- Home page ---------- */

.ar-home { color: var(--ar-text); font-size: 1rem; line-height: 1.6; }
.ar-home p { margin: 0; }
.ar-kicker { font: 700 .78rem/1.3 var(--ar-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ar-accent-ink); }
.ar-kicker--muted { color: var(--ar-muted); }
.ar-link { font-weight: 700; color: var(--ar-primary) !important; text-decoration: none !important; }
.ar-link:hover, .ar-link:focus { text-decoration: underline !important; }
.ar-h2 { margin: 0; font: 700 clamp(1.55rem, 2.6vw, 1.9rem)/1.2 var(--ar-serif); color: var(--ar-ink); }

.ar-hero { background: var(--ar-white); }
.ar-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 64px; }
.ar-hero__text { flex: 1 1 560px; min-width: 0; }
.ar-hero__title { margin: 18px 0 0 !important; font: 700 clamp(2.05rem, 4vw, 3.3rem)/1.15 var(--ar-serif) !important; color: var(--ar-ink) !important; letter-spacing: -.005em; }
.ar-hero__intro { margin-top: 22px !important; max-width: 40em; font-size: 1.15rem; line-height: 1.65; color: var(--ar-muted); }
.ar-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ar-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ar-line); }
.ar-facts div { margin: 0; }
.ar-facts dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ar-muted); font-weight: 600; }
.ar-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--ar-ink); }

.ar-current { flex: 1 1 340px; max-width: 430px; min-width: 0; background: var(--ar-paper); border: 1px solid var(--ar-line); border-radius: var(--ar-radius); padding: 24px; box-sizing: border-box; }
.ar-current__body { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 16px; }
.ar-current__meta { flex: 1 1 150px; min-width: 0; }
.ar-current__meta h2 { margin: 0; font: 700 1.35rem/1.25 var(--ar-serif); color: var(--ar-ink); }
.ar-current__meta h2 a { color: inherit !important; text-decoration: none !important; }
.ar-current__meta h2 a:hover { text-decoration: underline !important; }
.ar-current__title { margin-top: 6px !important; font-family: var(--ar-serif); font-style: italic; color: var(--ar-text); }
.ar-current__info { margin-top: 10px !important; font-size: .94rem; color: var(--ar-muted); }

.ar-current__links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ar-current__links a:last-child { font-weight: 600; font-size: .92rem; color: var(--ar-muted) !important; }

.ar-cover { flex: 0 0 150px; width: 150px; display: block; text-decoration: none !important; border-radius: 4px; box-shadow: 0 12px 24px -12px rgba(15, 33, 61, .45); overflow: hidden; background: var(--ar-white); }
.ar-cover img { display: block; width: 100%; height: auto; }
.ar-cover--drawn { height: 206px; padding: 16px 14px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; background: var(--ar-primary); color: var(--ar-paper) !important; }
.ar-cover--drawn .ar-cover__name { font: 700 1.25rem/1.15 var(--ar-serif); color: var(--ar-white); letter-spacing: .04em; border-bottom: 2px solid var(--ar-accent-light); padding-bottom: 6px; }
.ar-cover--drawn img { width: 58px; height: 58px; align-self: center; }
.ar-cover--drawn .ar-cover__issue { font: 600 .64rem/1.45 var(--ar-sans); letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 8px; color: var(--ar-white); }

.ar-band { background: var(--ar-paper-2); border-top: 1px solid var(--ar-line-soft); border-bottom: 1px solid var(--ar-line-soft); }
.ar-band__in { padding-top: 64px; padding-bottom: 64px; }
.ar-band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.ar-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ar-cards > li { margin: 0; }
.ar-card { height: 100%; box-sizing: border-box; background: var(--ar-white); border: 1px solid var(--ar-line); border-radius: var(--ar-radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.ar-card__title { margin: 0 !important; font: 600 1.22rem/1.38 var(--ar-serif) !important; color: var(--ar-ink) !important; }
.ar-card__title a { color: inherit !important; text-decoration: none !important; }
.ar-card__title a:hover, .ar-card__title a:focus { color: var(--ar-primary) !important; text-decoration: underline !important; }
.ar-card__alt { font-size: .92rem; color: var(--ar-muted); font-style: italic; }
.ar-card__authors { font-size: .95rem; color: var(--ar-text); }
.ar-card__authors a { color: inherit !important; }
.ar-card__meta { font-size: .84rem; color: var(--ar-muted); }

.ar-card__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 6px; font-size: .9rem; }

.ar-authors { background: var(--ar-white); }
.ar-authors__in { padding-top: 64px; padding-bottom: 72px; }
.ar-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; margin-top: 28px; }
.ar-step { border-top: 3px solid var(--ar-accent); padding-top: 18px; }
.ar-step h3 { margin: 0 !important; font: 700 1.25rem/1.3 var(--ar-serif) !important; color: var(--ar-ink) !important; }
.ar-step p { margin: 8px 0 12px !important; color: var(--ar-muted); }
.ar-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 48px; }
.ar-tile { background: var(--ar-paper); border-radius: var(--ar-radius); padding: 20px; }
.ar-tile strong { display: block; color: var(--ar-ink); }
.ar-tile span { display: block; margin-top: 6px; font-size: .94rem; color: var(--ar-muted); }

.ar-next { flex: 1 1 340px; max-width: 430px; min-width: 0; background: var(--ar-paper); border: 1px solid var(--ar-line); border-top: 3px solid var(--ar-accent); border-radius: var(--ar-radius); padding: 24px; box-sizing: border-box; }
.ar-next h2 { margin: 10px 0 0 !important; font: 700 1.35rem/1.25 var(--ar-serif) !important; color: var(--ar-ink) !important; }
.ar-next__when { margin-top: 4px !important; color: var(--ar-text); font-weight: 600; }
.ar-next__status { margin-top: 10px !important; font-size: .94rem; color: var(--ar-muted); }
.ar-next__links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ar-next__links a:last-child { font-weight: 600; font-size: .92rem; color: var(--ar-muted) !important; }
.ar-earlier { background: var(--ar-paper-2); border-top: 1px solid var(--ar-line-soft); border-bottom: 1px solid var(--ar-line-soft); }
.ar-earlier__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 30px; padding-bottom: 30px; }
.ar-earlier p { margin: 0; color: var(--ar-muted); max-width: 760px; }
.ar-earlier strong { color: var(--ar-ink); font-family: var(--ar-serif); font-size: 1.15rem; }

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

.ar-footer { background: var(--ar-paper); color: var(--ar-text); border-top: 1px solid var(--ar-line); font-size: .95rem; line-height: 1.65; }
.ar-footer a { color: var(--ar-text) !important; text-decoration: none; }
.ar-footer a:hover, .ar-footer a:focus { color: var(--ar-primary) !important; text-decoration: underline; text-underline-offset: 3px; }
.ar-footer__cta { background: var(--ar-white); border-bottom: 1px solid var(--ar-line); }
.ar-footer__cta-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.ar-footer__cta p { margin: 0; font-size: 1.05rem; max-width: 760px; color: var(--ar-muted); }
.ar-footer__cta strong { font-family: var(--ar-serif); font-size: 1.25rem; color: var(--ar-ink); }
.ar-footer .ar-btn--primary { color: var(--ar-white) !important; text-decoration: none !important; }
.ar-footer .ar-btn--accent { color: var(--ar-ink) !important; }
.ar-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 44px; }
.ar-footer h2 { margin: 0 0 14px; font: 700 .76rem/1.2 var(--ar-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ar-primary); }
.ar-footer ul { list-style: none; margin: 0; padding: 0; }
.ar-footer li { margin: 0 0 7px; padding: 0; }
.ar-brand--footer .ar-brand__name { color: var(--ar-primary); font-size: 1.5rem; }
.ar-brand--footer img { width: 50px; height: 50px; }
.ar-footer__lead { margin: 14px 0 8px; max-width: 36ch; color: var(--ar-muted); font-size: .92rem; }
.ar-footer__ids { margin: 0 0 12px; font-size: .86rem; color: var(--ar-muted); }
.ar-footer__addr { font-style: normal; font-size: .88rem; color: var(--ar-muted); }
.ar-footer__addr a { color: var(--ar-primary) !important; font-weight: 600; }
.ar-footer__bar { border-top: 1px solid var(--ar-line); font-size: .84rem; }
.ar-footer__bar-in { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.ar-footer__bar p { margin: 0; color: var(--ar-muted); }
/* Links inside running text are underlined, not told apart by colour alone. */
.ar-footer__bar a, .ar-card__meta a, .ar-current__info a { color: var(--ar-primary) !important; text-decoration: underline !important; text-underline-offset: 3px; }
@media (max-width: 991px) { .ar-footer__grid { grid-template-columns: 1fr 1fr; } .ar-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
	.ar-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 38px; }
	.ar-footer__cta-in { padding-top: 22px; padding-bottom: 22px; }
	.ar-hero__in { padding-top: 44px; padding-bottom: 44px; gap: 36px; }
	.ar-band__in, .ar-authors__in { padding-top: 44px; padding-bottom: 48px; }
	.ar-cover { flex-basis: 120px; width: 120px; }
	.ar-cover--drawn { height: 166px; }
	.ar-facts { gap: 12px 28px; }
	.ar-hero__actions .ar-btn { flex: 1 1 100%; }
}

/* The7 elements that would otherwise keep their old colours */
.arjst .scroll-top { background: var(--ar-primary); }
.arjst .scroll-top:hover { background: var(--ar-primary-dark); }
.arjst ::selection { background: var(--ar-accent-light); color: var(--ar-ink); }

@media (prefers-reduced-motion: reduce) {
	.ar-btn, .ar-header, .ar-menu a, .ar-subtoggle::after, .ar-burger__bars, .ar-burger__bars::before, .ar-burger__bars::after { transition: none; }
}
@media print {
	.ar-idbar, .ar-header, .ar-crumbs, .ar-footer__cta, .ar-hero__actions { display: none !important; }
	.ar-footer, .ar-band, .ar-current, .ar-tile { background: none; }
	.ar-footer a { color: #000 !important; }
}
