/*
 * Laneway Paste-Up
 *
 * The whole theme is one rule: a 2px ink line on every edge, nothing rounded,
 * nothing shadowed, and exactly one accent. Regions are separated by borders
 * rather than whitespace, so almost every block here is a grid whose children
 * carry `border-right` and the parent carries `border-bottom`.
 *
 * Colours all come from the custom properties printed inline by inc/palette.php.
 * Nothing in this file hard-codes a colour, so repainting the theme in the
 * Customizer repaints all of it.
 *
 * Contents
 *   1.  Reset and base
 *   2.  Typography scale
 *   3.  Frame, regions, rules
 *   4.  Utility bar, header, navigation
 *   5.  Front page
 *   6.  Cards
 *   7.  Archive
 *   8.  Article
 *   9.  Blocks and editor output
 *   10. Comments
 *   11. Forms, buttons, pagination
 *   12. Footer
 *   13. Responsive
 *   14. Print, motion, forced colours
 */

/* ==========================================================================
   1. Reset and base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lw-well);
	color: var(--lw-ink);
	font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	font-synthesis-weight: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 2px solid var(--lw-rule);
	margin: 32px 0;
}

/* The design has no underlines and no colour change on links: hover paints an
   acid swipe behind the word, the way a highlighter would. */
a {
	color: inherit;
	text-decoration: none;
	transition: background-color 100ms linear, color 100ms linear;
}

a:hover,
a:focus-visible {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

/* On ink grounds the swipe would put paper text on acid — about 1.05:1. The
   text has to flip to ink with it. */
.lw-on-ink a:hover,
.lw-on-ink a:focus-visible,
.lw-footer a:hover,
.lw-footer a:focus-visible {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

:focus-visible {
	outline: 3px solid var(--lw-ink);
	outline-offset: 2px;
}

.lw-on-ink :focus-visible,
.lw-footer :focus-visible {
	outline-color: var(--lw-acid);
}

::selection {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.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;
}

.lw-skip {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 999;
	padding: 12px 20px;
	background: var(--lw-ink);
	color: var(--lw-paper);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lw-skip:focus {
	top: 8px;
	background: var(--lw-ink);
	color: var(--lw-paper);
}

/* ==========================================================================
   2. Typography scale
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.lw-display {
	font-family: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Helvetica, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.05;
	margin: 0;
}

.lw-mono {
	font-family: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* The small uppercase label that runs under every heading in this design. */
.lw-eyebrow {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--lw-faint);
	margin: 0;
}

.lw-on-ink .lw-eyebrow {
	color: var(--lw-acid-on-ink);
}

.lw-eyebrow--ink {
	color: var(--lw-ink);
}

/* A word inside a heading, painted. The horizontal padding is part of the
   design; the negative margin keeps the line box where it was. */
.lw-swipe {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
	padding-inline: 0.12em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/* Fluid display sizes. The design specifies 118 / 84 / 72px at 1440px wide;
   these clamps hit those numbers there and stay readable at 360px. */
.lw-hero__title {
	font-size: clamp(2.75rem, 8.2vw, 7.375rem);
	line-height: 0.9;
}

.lw-archive__title {
	font-size: clamp(2.5rem, 5.9vw, 5.25rem);
	line-height: 0.92;
}

.lw-article__title {
	font-size: clamp(2.125rem, 5vw, 4.5rem);
	line-height: 0.95;
}

.lw-section__title {
	font-size: clamp(1.5rem, 2.3vw, 2rem);
	line-height: 1;
}

/* ==========================================================================
   3. Frame, regions, rules
   ========================================================================== */

.lw-frame {
	max-width: 1440px;
	margin: 0 auto;
	background: var(--lw-paper);
	color: var(--lw-ink);
	border-inline: 2px solid var(--lw-rule);
}

.lw-region {
	border-bottom: 2px solid var(--lw-rule);
}

.lw-pad {
	padding: 22px 28px;
}

.lw-on-ink {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-on-acid {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

/* theme.json gives every heading an explicit ink colour, which means a heading
   on a dark ground does not inherit its way back to legible — it stays ink on
   ink. Every inverted region has to say so. */
.lw-on-ink h1,
.lw-on-ink h2,
.lw-on-ink h3,
.lw-on-ink h4,
.lw-on-ink h5,
.lw-on-ink h6,
.is-style-laneway-ink h1,
.is-style-laneway-ink h2,
.is-style-laneway-ink h3,
.is-style-laneway-ink h4,
.lw-stop__bar h1,
.lw-stop__bar h2,
.lw-stop__bar h3,
.lw-stop__bar h4,
.lw-footer h1,
.lw-footer h2,
.lw-footer h3 {
	color: inherit;
}

.lw-on-acid h1,
.lw-on-acid h2,
.lw-on-acid h3,
.lw-on-acid h4,
.is-style-laneway-acid h1,
.is-style-laneway-acid h2,
.is-style-laneway-acid h3,
.is-style-laneway-acid h4 {
	color: var(--lw-on-acid);
}

/* Header row for a section: title left, "all of them" link right. */
.lw-section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: baseline;
	justify-content: space-between;
}

.lw-section-head__link {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 2px 6px;
	margin: -2px -6px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* The striped rectangle that stands in for a photograph. Used wherever a post
   has no featured image, so the grid never collapses. */
.lw-placeholder {
	background:
		repeating-linear-gradient(45deg, var(--lw-stripe-a) 0 10px, var(--lw-stripe-b) 10px 20px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--lw-faint);
	text-align: center;
	padding: 12px;
}

.lw-ratio {
	position: relative;
	overflow: hidden;
}

.lw-ratio > img,
.lw-ratio > .lw-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   4. Utility bar, header, navigation
   ========================================================================== */

.lw-utility {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	justify-content: space-between;
	padding: 8px 28px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: 1.5;
}

.lw-utility__right {
	color: var(--lw-muted);
}

.lw-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 28px;
	background: var(--lw-paper);
}

.lw-sticky-header .lw-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 2px solid var(--lw-rule);
	margin-bottom: -2px;
}

/* ---- Brand ------------------------------------------------------------- */

/* On a front page with the hero switched off, the lockup is wrapped in an h1 so
   the page still has exactly one. The wrapper must be invisible to the layout. */
.lw-brand-heading {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	min-width: 0;
}

.lw-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.lw-brand:hover,
.lw-brand:focus-visible {
	background: none;
}

.lw-brand__mark {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lw-ink);
	color: var(--lw-acid);
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: 19px;
	line-height: 1;
	text-transform: uppercase;
}

.lw-brand__mark--reversed {
	background: var(--lw-acid);
	color: var(--lw-ink);
}

.lw-brand__word {
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: clamp(0.8125rem, 2.4vw, 1.0625rem);
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lw-ink);
	min-width: 0;
	overflow-wrap: anywhere;
}

.lw-brand__word em {
	font-style: normal;
	color: var(--lw-muted);
}

.lw-brand__suffix {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lw-muted);
}

.lw-footer .lw-brand__word,
.lw-on-ink .lw-brand__word {
	color: var(--lw-paper);
	font-size: 15px;
}

.lw-footer .lw-brand__word em,
.lw-footer .lw-brand__suffix,
.lw-on-ink .lw-brand__word em {
	color: var(--lw-faint-on-ink);
}

/* A custom logo image, if one is set, replaces the whole lockup. */
.lw-brand__logo img {
	max-height: 44px;
	width: auto;
}

/* ---- Navigation --------------------------------------------------------- */

.lw-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lw-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lw-nav li {
	position: relative;
}

.lw-nav a {
	display: inline-block;
	padding: 2px 8px;
	margin: -2px -8px;
}

/* The current section is acid — plus a rule and a heavier weight, so the state
   survives being read without colour. */
.lw-nav .current-menu-item > a,
.lw-nav .current-menu-ancestor > a,
.lw-nav .current-menu-parent > a,
.lw-nav .current_page_item > a {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
	font-weight: 700;
	box-shadow: inset 0 -2px 0 0 var(--lw-ink);
}

/* Sub-menus keep the frame language: an ink box, no radius, no shadow. */
.lw-nav ul ul {
	position: absolute;
	top: calc(100% + 10px);
	left: -10px;
	z-index: 50;
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-width: 220px;
	padding: 0;
	background: var(--lw-paper);
	border: 2px solid var(--lw-rule);
}

.lw-nav li:hover > ul,
.lw-nav li:focus-within > ul {
	display: flex;
}

.lw-nav ul ul li + li {
	border-top: 2px solid var(--lw-rule);
}

.lw-nav ul ul a {
	display: block;
	padding: 10px 14px;
	margin: 0;
}

.lw-nav__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 2px 10px;
	border: 2px solid var(--lw-rule);
	background: transparent;
	color: inherit;
	font-family: 'Space Mono', monospace;
	font-size: 15px;
	cursor: pointer;
}

.lw-nav__search:hover,
.lw-nav__search[aria-expanded='true'] {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-nav__cta {
	display: inline-block;
	padding: 10px 18px;
	min-height: 40px;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	white-space: nowrap;
}

.lw-nav__cta:hover,
.lw-nav__cta:focus-visible {
	background: var(--lw-paper);
	color: var(--lw-ink);
}

/* ---- Search drawer ------------------------------------------------------ */

.lw-searchbar {
	display: none;
	padding: 16px 28px;
	border-top: 2px solid var(--lw-rule);
	background: var(--lw-paper);
}

.lw-searchbar.is-open {
	display: block;
}

/* ---- Mobile menu -------------------------------------------------------- */

.lw-burger {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.lw-burger__bars {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.lw-burger__bars::before,
.lw-burger__bars::after {
	content: '';
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.lw-burger__bars::before {
	top: -6px;
}

.lw-burger__bars::after {
	top: 6px;
}

/* ==========================================================================
   5. Front page
   ========================================================================== */

.lw-hero {
	padding: clamp(32px, 4.5vw, 56px) 28px 32px;
}

.lw-hero__title {
	margin: 0;
	overflow-wrap: break-word;
}

/* A static front page's own words, set as prose above the designed rows. */
.lw-frontpage__body {
	max-width: 760px;
	margin-top: 24px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--lw-body);
	overflow-wrap: break-word;
}

.lw-frontpage__body > *:last-child {
	margin-bottom: 0;
}

.lw-frontpage__body h2 {
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	margin: 32px 0 14px;
}

.lw-frontpage__body h3 {
	font-size: 1.25rem;
	margin: 24px 0 10px;
}

.lw-frontpage__body p {
	margin: 0 0 18px;
}

.lw-frontpage__body a {
	box-shadow: inset 0 -2px 0 0 var(--lw-ink);
}

.lw-hero__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: 28px;
}

.lw-hero__text {
	max-width: 520px;
	margin: 0;
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	line-height: 1.5;
}

.lw-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---- Featured row ------------------------------------------------------- */

.lw-featured {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
}

.lw-featured__image {
	border-right: 2px solid var(--lw-rule);
	min-height: 300px;
	position: relative;
	overflow: hidden;
}

.lw-featured__image img,
.lw-featured__image .lw-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lw-featured__image a {
	position: absolute;
	inset: 0;
	display: block;
}

.lw-featured__image a:hover,
.lw-featured__image a:focus-visible {
	background: none;
	box-shadow: inset 0 0 0 8px var(--lw-acid);
}

.lw-guide {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 22px;
	border-right: 2px solid var(--lw-rule);
}

.lw-featured > .lw-guide:last-child {
	border-right: 0;
}

.lw-guide__title {
	font-size: clamp(1.25rem, 1.9vw, 1.6875rem);
	line-height: 1.05;
}

.lw-guide__title a:hover,
.lw-guide__title a:focus-visible {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.lw-guide__more {
	font-size: 14px;
	color: var(--lw-muted);
}

.lw-guide.lw-on-ink .lw-guide__more {
	color: var(--lw-faint-on-ink);
}

/* ---- Ticker -------------------------------------------------------------- */

.lw-ticker {
	padding: 10px 0;
	overflow: hidden;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--lw-muted);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}

.lw-ticker__track {
	display: flex;
	width: max-content;
	white-space: nowrap;
}

.lw-ticker__run {
	display: flex;
	gap: 0;
	padding-left: 28px;
}

.lw-ticker__item + .lw-ticker__item::before {
	content: '·';
	padding: 0 0.9em;
	color: var(--lw-faint);
}

.lw-ticker--motion .lw-ticker__track {
	animation: lw-ticker 60s linear infinite;
}

.lw-ticker--motion:hover .lw-ticker__track,
.lw-ticker--motion:focus-within .lw-ticker__track {
	animation-play-state: paused;
}

@keyframes lw-ticker {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* Without motion the strip is a plain, non-scrolling line. */
.lw-ticker:not(.lw-ticker--motion) {
	padding-inline: 28px;
}

.lw-ticker:not(.lw-ticker--motion) .lw-ticker__track {
	width: auto;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lw-ticker:not(.lw-ticker--motion) .lw-ticker__run {
	padding-left: 0;
	flex-wrap: nowrap;
	overflow: hidden;
}

/* ---- Index grid ---------------------------------------------------------- */

.lw-index {
	display: grid;
	grid-template-columns: 300px 1fr;
}

.lw-index__intro {
	padding: 22px;
	border-right: 2px solid var(--lw-rule);
}

.lw-index__heading {
	font-size: clamp(1.25rem, 1.7vw, 1.5rem);
	line-height: 1.05;
}

.lw-index__text {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--lw-muted);
}

.lw-index__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.lw-index__grid[data-columns='2'] {
	grid-template-columns: repeat(2, 1fr);
}

.lw-index__grid[data-columns='3'] {
	grid-template-columns: repeat(3, 1fr);
}

.lw-index__cell {
	display: block;
	padding: 18px 20px;
	border-right: 2px solid var(--lw-rule);
	border-bottom: 2px solid var(--lw-rule);
}

.lw-index__grid > .lw-index__cell:nth-child(4n) {
	border-right: 0;
}

.lw-index__grid[data-columns='2'] > .lw-index__cell:nth-child(4n) {
	border-right: 2px solid var(--lw-rule);
}

.lw-index__grid[data-columns='2'] > .lw-index__cell:nth-child(2n) {
	border-right: 0;
}

.lw-index__grid[data-columns='3'] > .lw-index__cell:nth-child(4n) {
	border-right: 2px solid var(--lw-rule);
}

.lw-index__grid[data-columns='3'] > .lw-index__cell:nth-child(3n) {
	border-right: 0;
}

.lw-index__cell:hover,
.lw-index__cell:focus-visible {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.lw-index__cell:hover .lw-index__count,
.lw-index__cell:focus-visible .lw-index__count {
	color: var(--lw-on-acid);
}

.lw-index__num {
	display: block;
	font-family: 'Space Mono', monospace;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
}

.lw-index__name {
	display: block;
	font-weight: 600;
	margin-top: 6px;
	line-height: 1.3;
}

.lw-index__count {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: var(--lw-faint);
}

/* The last row closes against the region rule, so its cells must not draw a
   second line under themselves. */
.lw-index__cell--last {
	border-bottom: 0;
}

/* A short final row is padded out, so the run of rules reaches the edge
   instead of stopping halfway across the grid. */
.lw-index__cell--filler {
	border-bottom: 0;
}

/* ---- Newsletter band ------------------------------------------------------ */

.lw-newsletter {
	display: grid;
	grid-template-columns: 1fr 420px;
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.lw-newsletter__copy {
	padding: 28px;
}

.lw-newsletter__heading {
	font-size: clamp(1.375rem, 2.2vw, 1.875rem);
	line-height: 1;
}

.lw-newsletter__text {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.lw-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 28px;
}

.lw-newsletter__field {
	flex: 1 1 200px;
	min-width: 0;
	background: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	padding: 12px 16px;
	font: inherit;
	font-size: 14px;
	color: var(--lw-ink);
}

.lw-newsletter__field::placeholder {
	color: var(--lw-faint);
	opacity: 1;
}

.lw-newsletter__submit {
	flex: 0 0 auto;
	margin-left: -2px;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	padding: 12px 24px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.lw-newsletter__submit:hover,
.lw-newsletter__submit:focus-visible {
	background: var(--lw-paper);
	color: var(--lw-ink);
}

.lw-newsletter__consent {
	flex: 1 0 100%;
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.5;
}

/* ==========================================================================
   6. Cards
   ========================================================================== */

.lw-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.lw-grid[data-columns='2'] {
	grid-template-columns: repeat(2, 1fr);
}

.lw-grid[data-columns='4'] {
	grid-template-columns: repeat(4, 1fr);
}

/* Cards are separated by their own right/bottom rules; the region below draws
   the closing line, so the last card in a row must not double up against the
   frame. The column count is written into a data attribute rather than a
   custom property because nth-child() cannot read a variable — and the theme
   only ever offers two, three or four columns, so three rules cover it. */
.lw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-right: 2px solid var(--lw-rule);
	border-bottom: 2px solid var(--lw-rule);
	background: var(--lw-paper);
}

.lw-grid > .lw-card:nth-child(3n) {
	border-right: 0;
}

.lw-grid[data-columns='2'] > .lw-card:nth-child(3n) {
	border-right: 2px solid var(--lw-rule);
}

.lw-grid[data-columns='2'] > .lw-card:nth-child(2n) {
	border-right: 0;
}

.lw-grid[data-columns='4'] > .lw-card:nth-child(3n) {
	border-right: 2px solid var(--lw-rule);
}

.lw-grid[data-columns='4'] > .lw-card:nth-child(4n) {
	border-right: 0;
}

.lw-card__media {
	position: relative;
	display: block;
	height: 170px;
	overflow: hidden;
	border-bottom: 2px solid var(--lw-rule);
}

.lw-card__media img,
.lw-card__media .lw-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The image link is decorative — the title carries the accessible name — so the
   ring follows the card, which is what the pointer is actually over. */
.lw-card__media:hover {
	background: none;
}

.lw-card:hover .lw-card__media,
.lw-card:focus-within .lw-card__media {
	box-shadow: inset 0 0 0 6px var(--lw-acid);
}

.lw-card__body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.lw-card__meta {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--lw-faint);
	line-height: 1.4;
}

.lw-card__meta a {
	color: inherit;
}

.lw-card__title {
	font-size: clamp(1rem, 1.35vw, 1.1875rem);
	line-height: 1.15;
	margin: 0;
}

/* A one-line card title is about 22px tall, under the 24px minimum for a target
   this important on a phone. Rather than padding the text — which would put a
   ragged acid rectangle behind a wrapped title on hover — the title's link is
   stretched over the whole card. The swipe still hugs the words; the target is
   the card. */
.lw-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

/* Anything else in the card that is genuinely its own link has to sit above
   that overlay. */
.lw-card__meta a {
	position: relative;
	z-index: 1;
}

.lw-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--lw-muted);
}

/* The text-only variant used for related posts. */
.lw-card--text .lw-card__body {
	padding: 20px;
}

/* ==========================================================================
   7. Archive
   ========================================================================== */

.lw-masthead {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	align-items: flex-end;
	justify-content: space-between;
	padding: clamp(28px, 3.4vw, 44px) 28px 28px;
}

.lw-masthead__eyebrow {
	margin-bottom: 12px;
	font-size: 12px;
}

.lw-masthead__title {
	margin: 0;
	overflow-wrap: break-word;
}

.lw-masthead__text {
	max-width: 400px;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--lw-muted);
}

/* ---- Filter tabs ---------------------------------------------------------- */

.lw-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lw-tabs__item {
	display: flex;
	align-items: center;
	padding: 12px 22px;
	border-right: 2px solid var(--lw-rule);
	min-height: 44px;
}

.lw-tabs__item[aria-current='page'],
.lw-tabs__item.is-current {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-tabs__item[aria-current='page']:hover,
.lw-tabs__item.is-current:hover {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.lw-tabs__sort {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 22px;
	border-left: 2px solid var(--lw-rule);
	font-family: 'Space Mono', monospace;
	font-size: 13px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--lw-muted);
}

.lw-tabs__sort select {
	font: inherit;
	color: var(--lw-ink);
	background: transparent;
	border: 0;
	padding: 4px 2px;
	min-height: 32px;
	cursor: pointer;
}

.lw-tabs__sort select:focus-visible {
	outline: 3px solid var(--lw-ink);
	outline-offset: 2px;
}

.lw-tabs__sort noscript button {
	font: inherit;
	cursor: pointer;
	border: 2px solid var(--lw-rule);
	background: transparent;
	padding: 4px 10px;
}

/* ==========================================================================
   8. Article
   ========================================================================== */

.lw-breadcrumb {
	padding: 10px 28px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--lw-faint);
	line-height: 1.6;
}

.lw-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lw-breadcrumb li + li::before {
	content: '/';
	padding-right: 6px;
	color: var(--lw-faint);
}

.lw-breadcrumb [aria-current='page'] {
	color: var(--lw-ink);
}

/* Rank Math prints its own markup; give it the same clothes. */
.lw-breadcrumb .rank-math-breadcrumb p {
	margin: 0;
}

.lw-breadcrumb .last {
	color: var(--lw-ink);
}

/* ---- Title block ---------------------------------------------------------- */

.lw-titleblock {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: end;
	padding: clamp(28px, 3.6vw, 48px) 28px 32px;
}

.lw-kicker {
	display: inline-block;
	background: var(--lw-acid);
	color: var(--lw-on-acid);
	padding: 4px 12px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: 1.4;
}

a.lw-kicker:hover,
a.lw-kicker:focus-visible {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-factcard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-left: 2px solid var(--lw-rule);
	padding-left: 18px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--lw-muted);
}

.lw-factcard div {
	display: flex;
	gap: 6px;
}

.lw-factcard dt {
	font-weight: 700;
	color: var(--lw-ink);
	flex: 0 0 auto;
}

.lw-factcard dt::after {
	content: ' —';
}

.lw-factcard dd {
	margin: 0;
}

/* ---- Lead image ------------------------------------------------------------ */

.lw-lead {
	position: relative;
	height: clamp(200px, 26vw, 340px);
	overflow: hidden;
}

.lw-lead img,
.lw-lead .lw-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lw-lead__credit {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 6px 12px;
	background: var(--lw-ink);
	color: var(--lw-faint-on-ink);
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	max-width: 60%;
}

/* ---- Body layout ------------------------------------------------------------ */

.lw-body {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
}

.lw-aside {
	border-right: 2px solid var(--lw-rule);
	padding: 28px 22px;
	align-self: start;
}

.lw-sticky-aside .lw-aside {
	position: sticky;
	top: 20px;
}

.lw-sticky-header.lw-sticky-aside .lw-aside {
	top: 96px;
}

.lw-article {
	padding: 36px 60px 44px 40px;
	max-width: 800px;
	min-width: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--lw-body);
	/* One long unbreakable string — a bare URL, a stray blob of JSON that got
	   pasted into a post body — must break rather than widen the page for
	   everything else on it. */
	overflow-wrap: break-word;
	word-break: break-word;
}

/* ---- Table of contents -------------------------------------------------------- */

.lw-toc__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 12px -6px 0 -12px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.lw-toc__list a {
	display: block;
	padding: 5px 6px 5px 10px;
	min-height: 24px;
	border-left: 2px solid transparent;
	overflow-wrap: anywhere;
}

/* Current section: acid, plus a rule and a heavier weight so the state is not
   carried by colour alone. */
.lw-toc__list a[aria-current='true'] {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
	border-left-color: var(--lw-ink);
	font-weight: 700;
}

.lw-panel {
	margin-top: 32px;
	border: 2px solid var(--lw-rule);
	padding: 16px;
}

.lw-panel__title {
	font-size: 16px;
	line-height: 1.1;
}

.lw-panel__text {
	margin: 8px 0 12px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--lw-muted);
}

.lw-panel__button {
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	padding: 10px 8px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lw-panel__button:hover,
.lw-panel__button:focus-visible {
	background: var(--lw-paper);
	color: var(--lw-ink);
}

.lw-aside .widget + .widget {
	margin-top: 24px;
}

/* ---- Prose ---------------------------------------------------------------------- */

.lw-article > * {
	margin-block: 0 20px;
}

.lw-article > *:last-child {
	margin-bottom: 0;
}

.lw-article h2 {
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	line-height: 1.05;
	margin: 36px 0 16px;
	scroll-margin-top: 24px;
}

.lw-sticky-header .lw-article h2 {
	scroll-margin-top: 96px;
}

.lw-article h3 {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.15;
	margin: 28px 0 12px;
	scroll-margin-top: 24px;
}

.lw-article h4 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 24px 0 10px;
}

.lw-article p {
	margin: 0 0 20px;
}

.lw-article a:not(.lw-panel__button):not(.lw-button) {
	box-shadow: inset 0 -2px 0 0 var(--lw-ink);
}

.lw-article ul,
.lw-article ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.lw-article li {
	margin-bottom: 8px;
}

.lw-article li::marker {
	color: var(--lw-muted);
}

/* The standfirst: bigger, and the first letter set as a floated Archivo cap. */
.lw-standfirst {
	font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
	line-height: 1.65;
	color: var(--lw-ink);
	margin: 0 0 24px;
}

.lw-dropcap::first-letter {
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: 3.1em;
	line-height: 0.78;
	float: left;
	padding-right: 12px;
	padding-top: 2px;
	color: var(--lw-ink);
}

.lw-article blockquote,
.lw-article .wp-block-quote {
	border-left: 6px solid var(--lw-acid);
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: clamp(1.125rem, 1.8vw, 1.5rem);
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--lw-ink);
}

.lw-article blockquote p {
	margin: 0 0 8px;
}

.lw-article blockquote p:last-child {
	margin-bottom: 0;
}

.lw-article blockquote cite,
.lw-article .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--lw-muted);
}

.lw-article code,
.lw-article kbd {
	font-family: 'Space Mono', monospace;
	font-size: 0.9em;
	background: var(--lw-well);
	padding: 1px 5px;
}

.lw-article pre {
	font-family: 'Space Mono', monospace;
	font-size: 13px;
	line-height: 1.6;
	background: var(--lw-well);
	border: 2px solid var(--lw-rule);
	padding: 16px;
	overflow-x: auto;
}

.lw-figure {
	margin: 28px 0;
	border: 2px solid var(--lw-rule);
}

.lw-figure img {
	width: 100%;
}

.lw-figure__caption,
.lw-article figcaption {
	padding: 10px 14px;
	border-top: 2px solid var(--lw-rule);
	font-size: 12px;
	line-height: 1.5;
	color: var(--lw-muted);
	text-align: left;
}

/* Wide tables scroll inside their own box rather than widening the page. */
.lw-table-scroll {
	overflow-x: auto;
	margin: 28px 0;
	border: 2px solid var(--lw-rule);
}

.lw-table-scroll:focus-visible {
	outline: 3px solid var(--lw-ink);
	outline-offset: 2px;
}

.lw-article table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.lw-article th,
.lw-article td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 2px solid var(--lw-rule);
	vertical-align: top;
}

.lw-article thead th {
	background: var(--lw-ink);
	color: var(--lw-paper);
	font-family: 'Archivo Black', sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lw-article tbody tr:last-child th,
.lw-article tbody tr:last-child td {
	border-bottom: 0;
}

/* ---- Stop cards ----------------------------------------------------------------- */

/* The listicle unit. Numbering is a CSS counter so an editor can insert a stop
   in the middle of a guide without renumbering everything below it. */
.lw-article {
	counter-reset: lw-stop;
}

.lw-stop {
	border: 2px solid var(--lw-rule);
	margin: 28px 0;
	background: var(--lw-paper);
	counter-increment: lw-stop;
}

.lw-stop__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	align-items: baseline;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border-bottom: 2px solid var(--lw-rule);
}

.lw-stop__name {
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: 15px;
	line-height: 1.25;
	text-transform: uppercase;
	margin: 0;
	color: var(--lw-paper);
}

.lw-stop--numbered .lw-stop__name::before {
	content: counter(lw-stop, decimal-leading-zero) ' — ';
	color: var(--lw-acid-on-ink);
}

.lw-stop__tag {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--lw-acid-on-ink);
	margin: 0;
}

.lw-stop__body {
	padding: 16px 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--lw-body);
}

.lw-stop__body > *:last-child {
	margin-bottom: 0;
}

/* ---- FAQ accordion --------------------------------------------------------------- */

.lw-faq {
	border: 2px solid var(--lw-rule);
	margin: 28px 0;
}

.lw-faq__item + .lw-faq__item {
	border-top: 2px solid var(--lw-rule);
}

.lw-faq__q {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	font-family: 'Archivo Black', 'Arial Black', sans-serif;
	font-size: 15px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--lw-ink);
	min-height: 44px;
}

.lw-faq__q::-webkit-details-marker {
	display: none;
}

.lw-faq__q:hover {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

.lw-faq__marker {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	position: relative;
}

.lw-faq__marker::before,
.lw-faq__marker::after {
	content: '';
	position: absolute;
	background: currentColor;
}

.lw-faq__marker::before {
	inset: 6px 0;
	height: 2px;
}

.lw-faq__marker::after {
	inset: 0 6px;
	width: 2px;
	transition: transform 100ms linear;
}

.lw-faq__item[open] .lw-faq__marker::after {
	transform: scaleY(0);
}

.lw-faq__a {
	padding: 0 18px 16px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--lw-body);
}

.lw-faq__a > *:last-child {
	margin-bottom: 0;
}

/* ---- Article foot ------------------------------------------------------------------ */

.lw-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.lw-tags a {
	display: inline-block;
	border: 2px solid var(--lw-rule);
	padding: 5px 12px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lw-share {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 28px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--lw-faint);
}

.lw-share a,
.lw-share button {
	border: 2px solid var(--lw-rule);
	background: transparent;
	color: var(--lw-ink);
	padding: 8px 14px;
	min-height: 40px;
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.lw-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 2px solid var(--lw-rule);
	font-size: 13px;
	line-height: 1.5;
	color: var(--lw-muted);
}

.lw-byline__avatar {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lw-ink);
	color: var(--lw-acid);
	font-family: 'Archivo Black', sans-serif;
	font-size: 15px;
}

.lw-byline__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lw-byline__name {
	color: var(--lw-ink);
	font-weight: 600;
}

.lw-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.lw-postnav__link {
	display: block;
	padding: 20px 28px;
}

/* Named ends rather than :last-child — with no next post, the previous link is
   the last child, and would take the right alignment meant for the other end. */
/* Only rule between the two ends — a lone previous link should not draw a line
   down the middle of an otherwise empty row. */
.lw-postnav__link--prev:not(:last-child) {
	border-right: 2px solid var(--lw-rule);
}

.lw-postnav__link--prev {
	grid-column: 1;
}

.lw-postnav__link--next {
	grid-column: 2;
	text-align: right;
}

/* Both halves are spans inside the link, so they need to be told to stack —
   margin-top on an inline box does nothing. */
.lw-postnav__link .lw-eyebrow,
.lw-postnav__title {
	display: block;
}

.lw-postnav__title {
	font-family: 'Archivo Black', sans-serif;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	margin-top: 6px;
}

/* ==========================================================================
   9. Blocks and editor output
   ========================================================================== */

.lw-article .alignwide {
	width: min(100%, 1000px);
	margin-inline: auto;
}

.lw-article .alignfull {
	width: 100%;
}

.lw-article .alignleft {
	float: left;
	margin: 4px 24px 16px 0;
	max-width: 50%;
}

.lw-article .alignright {
	float: right;
	margin: 4px 0 16px 24px;
	max-width: 50%;
}

.lw-article .aligncenter {
	margin-inline: auto;
}

.lw-article .wp-block-image,
.lw-article .wp-block-embed,
.lw-article .wp-block-video {
	margin: 28px 0;
}

.lw-article .wp-block-image img {
	border: 2px solid var(--lw-rule);
}

.lw-article .wp-block-image.is-style-laneway-plain img {
	border: 0;
}

.lw-article .wp-block-separator {
	border: 0;
	border-top: 2px solid var(--lw-rule);
	margin: 32px 0;
	max-width: none;
}

.lw-article .wp-block-pullquote {
	border-top: 2px solid var(--lw-rule);
	border-bottom: 2px solid var(--lw-rule);
	padding: 24px 0;
	margin: 32px 0;
	text-align: left;
}

.lw-article .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	margin: 0;
}

.lw-article .wp-block-button__link,
.lw-button {
	display: inline-block;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	border-radius: 0;
	padding: 12px 24px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.3;
	min-height: 44px;
	box-shadow: none;
}

.lw-article .wp-block-button__link:hover,
.lw-article .wp-block-button__link:focus-visible,
.lw-button:hover,
.lw-button:focus-visible {
	background: var(--lw-paper);
	color: var(--lw-ink);
}

.lw-button--outline {
	background: transparent;
	color: var(--lw-ink);
	border-color: var(--lw-ink);
}

.lw-button--outline:hover,
.lw-button--outline:focus-visible {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-article .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--lw-ink);
}

.lw-article .is-style-outline .wp-block-button__link:hover {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

/* Block style: a bordered note that matches the frame language. */
.is-style-laneway-note {
	border: 2px solid var(--lw-rule);
	padding: 18px 20px;
	margin: 28px 0;
	background: var(--lw-paper);
}

.is-style-laneway-note > *:last-child {
	margin-bottom: 0;
}

/* Block style: an acid band, for a single loud aside. */
.is-style-laneway-acid {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
	border: 2px solid var(--lw-rule);
	padding: 18px 20px;
	margin: 28px 0;
}

.is-style-laneway-acid > *:last-child {
	margin-bottom: 0;
}

/* Block style: an inverted panel. */
.is-style-laneway-ink {
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	padding: 18px 20px;
	margin: 28px 0;
}

.is-style-laneway-ink > *:last-child {
	margin-bottom: 0;
}

.is-style-laneway-ink a {
	color: var(--lw-acid-on-ink);
}

.is-style-laneway-ink a:hover {
	background: var(--lw-acid);
	color: var(--lw-on-acid);
}

/* Block style: a checklist without bullets, ruled between rows. */
.is-style-laneway-checklist {
	list-style: none;
	padding-left: 0;
	border-top: 2px solid var(--lw-rule);
}

.is-style-laneway-checklist li {
	border-bottom: 2px solid var(--lw-rule);
	padding: 10px 0 10px 30px;
	position: relative;
	margin-bottom: 0;
}

.is-style-laneway-checklist li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 1.05em;
	width: 12px;
	height: 12px;
	border: 2px solid var(--lw-ink);
	background: var(--lw-acid);
}

/* Block style: a mono index list, numbers in the margin. */
.is-style-laneway-index {
	list-style: none;
	padding-left: 0;
	counter-reset: lw-idx;
	border-top: 2px solid var(--lw-rule);
}

.is-style-laneway-index li {
	counter-increment: lw-idx;
	border-bottom: 2px solid var(--lw-rule);
	padding: 12px 0 12px 48px;
	position: relative;
	margin-bottom: 0;
}

.is-style-laneway-index li::before {
	content: counter(lw-idx, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 12px;
	font-family: 'Space Mono', monospace;
	font-weight: 700;
	font-size: 14px;
	color: var(--lw-faint);
}

/* ==========================================================================
   10. Comments
   ========================================================================== */

.lw-comments {
	padding: 32px 28px 40px;
	border-top: 2px solid var(--lw-rule);
}

.lw-comments__title {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	margin-bottom: 20px;
}

.lw-comments ol.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lw-comments .comment-list ol.children {
	list-style: none;
	margin: 0 0 0 24px;
	padding: 0;
	border-left: 2px solid var(--lw-rule);
	padding-left: 20px;
}

.lw-comments article.comment-body {
	border: 2px solid var(--lw-rule);
	padding: 16px 18px;
	margin-bottom: 16px;
}

.lw-comments .comment-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--lw-faint);
	margin-bottom: 10px;
}

.lw-comments .comment-author .fn {
	font-style: normal;
	font-weight: 700;
	color: var(--lw-ink);
}

.lw-comments .comment-author img {
	display: inline-block;
	vertical-align: middle;
	margin-right: 8px;
}

.lw-comments .reply {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.lw-comments .comment-respond {
	margin-top: 28px;
	border: 2px solid var(--lw-rule);
	padding: 20px;
}

.lw-comments .comment-reply-title {
	font-size: 18px;
	margin-bottom: 12px;
}

.lw-comments .comment-form label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
	color: var(--lw-muted);
}

.lw-comments .comment-form p {
	margin: 0 0 16px;
}

.lw-comments .comment-notes,
.lw-comments .comment-form-cookies-consent label {
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--lw-muted);
	display: inline;
}

/* ==========================================================================
   11. Forms, buttons, pagination
   ========================================================================== */

input[type='text'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='password'],
textarea,
select {
	font: inherit;
	font-size: 15px;
	color: var(--lw-ink);
	background: var(--lw-white);
	border: 2px solid var(--lw-rule);
	border-radius: 0;
	padding: 10px 14px;
	width: 100%;
	max-width: 100%;
	min-height: 44px;
}

textarea {
	line-height: 1.6;
}

input[type='submit'],
button[type='submit'],
.wp-block-search__button {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--lw-ink);
	color: var(--lw-paper);
	border: 2px solid var(--lw-ink);
	border-radius: 0;
	padding: 12px 24px;
	min-height: 44px;
	cursor: pointer;
}

input[type='submit']:hover,
button[type='submit']:hover,
.wp-block-search__button:hover {
	background: var(--lw-paper);
	color: var(--lw-ink);
}

.lw-searchform {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: stretch;
}

.lw-searchform__field {
	flex: 1 1 200px;
	min-width: 0;
}

.lw-searchform__submit {
	flex: 0 0 auto;
	margin-left: -2px;
}

.lw-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
}

.lw-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 48px;
	padding: 14px 20px;
	border-right: 2px solid var(--lw-rule);
}

.lw-pagination .page-numbers:last-child {
	border-right: 0;
}

.lw-pagination .page-numbers.current {
	background: var(--lw-ink);
	color: var(--lw-acid-on-ink);
	font-weight: 700;
}

.lw-pagination .page-numbers.dots {
	color: var(--lw-faint);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.lw-footer {
	background: var(--lw-ink);
	color: var(--lw-paper);
}

.lw-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 36px 28px;
}

.lw-footer__blurb {
	max-width: 300px;
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--lw-faint-on-ink);
}

.lw-footer__col h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--lw-acid-on-ink);
	margin: 0 0 12px;
	line-height: 1.4;
}

.lw-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.lw-footer__col a {
	display: inline-block;
	padding: 2px 6px;
	margin: -2px -6px;
}

.lw-footer__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
	padding: 14px 28px;
	border-top: 1px solid var(--lw-hairline);
	font-size: 11px;
	line-height: 1.6;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--lw-faint-on-ink);
}

/* The slim bar used on articles and archives instead of the full footer. */
.lw-footer--slim .lw-footer__bar {
	border-top: 0;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.lw-body {
		grid-template-columns: 260px minmax(0, 1fr);
	}

	.lw-article {
		padding: 32px 32px 40px 28px;
	}

	.lw-newsletter {
		grid-template-columns: 1fr 360px;
	}
}

/* The overlay starts at 1024px, not at the phone breakpoint. The design draws
   five short words in the navigation; a real site's categories are phrases, and
   a row of them plus a search button and a call to action does not fit a laptop
   at 1024. Below this width the navigation is a full-screen ink panel. */
@media (max-width: 1024px) {
	.lw-burger {
		display: inline-flex;
	}

	.lw-nav {
		position: fixed;
		inset: 0;
		z-index: 100;
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 88px 24px 32px;
		background: var(--lw-ink);
		color: var(--lw-paper);
		overflow-y: auto;
		font-size: 18px;
	}

	.lw-nav.is-open {
		display: flex;
	}

	.lw-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.lw-nav li {
		border-bottom: 2px solid var(--lw-faint-on-ink);
	}

	.lw-nav a {
		display: block;
		padding: 14px 4px;
		margin: 0;
		min-height: 44px;
		color: var(--lw-acid-on-ink);
		font-size: 18px;
	}

	.lw-nav a:hover,
	.lw-nav a:focus-visible {
		background: var(--lw-acid);
		color: var(--lw-on-acid);
	}

	.lw-nav .current-menu-item > a,
	.lw-nav .current-menu-ancestor > a,
	.lw-nav .current_page_item > a {
		background: var(--lw-acid);
		color: var(--lw-on-acid);
		box-shadow: none;
	}

	.lw-nav ul ul {
		position: static;
		display: flex;
		border: 0;
		border-top: 2px solid var(--lw-faint-on-ink);
		min-width: 0;
		background: transparent;
		margin-left: 16px;
	}

	.lw-nav ul ul li {
		border-top: 0;
	}

	.lw-nav ul ul a {
		font-size: 15px;
	}

	.lw-nav__search,
	.lw-nav__cta {
		align-self: flex-start;
		margin-top: 20px;
	}

	.lw-nav__search {
		border-color: var(--lw-paper);
		color: var(--lw-paper);
	}

	.lw-nav__cta {
		background: var(--lw-acid);
		color: var(--lw-on-acid);
		border-color: var(--lw-acid);
	}

	.lw-nav__close {
		position: absolute;
		top: 20px;
		right: 20px;
		min-height: 44px;
		min-width: 44px;
		background: transparent;
		border: 2px solid var(--lw-paper);
		color: var(--lw-paper);
		font: inherit;
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
	}

	.lw-featured {
		grid-template-columns: 1fr 1fr;
	}

	.lw-featured__image {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 2px solid var(--lw-rule);
		min-height: 260px;
	}

	.lw-index {
		grid-template-columns: minmax(0, 1fr);
	}

	.lw-index__intro {
		border-right: 0;
		border-bottom: 2px solid var(--lw-rule);
	}

	.lw-index__grid,
	.lw-index__grid[data-columns='2'],
	.lw-index__grid[data-columns='3'] {
		grid-template-columns: repeat(2, 1fr);
	}

	.lw-index__grid > .lw-index__cell,
	.lw-index__grid[data-columns='3'] > .lw-index__cell {
		border-right: 2px solid var(--lw-rule);
	}

	.lw-index__grid > .lw-index__cell:nth-child(2n),
	.lw-index__grid[data-columns='3'] > .lw-index__cell:nth-child(2n) {
		border-right: 0;
	}

	.lw-titleblock {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.lw-factcard {
		border-left: 0;
		border-top: 2px solid var(--lw-rule);
		padding-left: 0;
		padding-top: 16px;
	}

	.lw-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.lw-aside {
		border-right: 0;
		border-bottom: 2px solid var(--lw-rule);
		position: static !important;
	}

	.lw-article {
		max-width: none;
		padding: 28px 28px 36px;
	}

	.lw-footer__cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.lw-grid,
	.lw-grid[data-columns='2'],
	.lw-grid[data-columns='4'] {
		grid-template-columns: repeat(2, 1fr);
	}

	.lw-grid > .lw-card,
	.lw-grid[data-columns='2'] > .lw-card,
	.lw-grid[data-columns='4'] > .lw-card {
		border-right: 2px solid var(--lw-rule);
	}

	.lw-grid > .lw-card:nth-child(2n),
	.lw-grid[data-columns='2'] > .lw-card:nth-child(2n),
	.lw-grid[data-columns='4'] > .lw-card:nth-child(2n) {
		border-right: 0;
	}

	.lw-newsletter {
		grid-template-columns: 1fr;
	}

	.lw-newsletter__form {
		padding-top: 0;
	}
}

@media (max-width: 782px) {
	body {
		font-size: 15px;
	}

	/* The hero is set at 0.9 so the display type stacks tightly. Once it wraps
	   onto three or four lines, the acid swipe's background box — which is a
	   full em tall — starts crowding the line above it. A hair more leading
	   buys the swipe its own space without loosening the stack. */
	.lw-hero__title {
		line-height: 0.96;
	}

	.lw-frame {
		border-inline: 0;
	}

	.lw-pad,
	.lw-hero,
	.lw-masthead,
	.lw-titleblock,
	.lw-utility,
	.lw-header,
	.lw-breadcrumb,
	.lw-footer__cols,
	.lw-footer__bar,
	.lw-comments {
		padding-inline: 20px;
	}

	.lw-article {
		padding: 24px 20px 32px;
	}

	.lw-tabs__sort {
		margin-left: 0;
		width: 100%;
		border-left: 0;
		border-top: 2px solid var(--lw-rule);
	}

	.lw-postnav {
		grid-template-columns: 1fr;
	}

	.lw-postnav__link--prev,
	.lw-postnav__link--next {
		border-right: 0;
		border-bottom: 2px solid var(--lw-rule);
		grid-column: 1;
		text-align: left;
	}

	.lw-postnav__link:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 600px) {
	.lw-featured {
		grid-template-columns: 1fr;
	}

	.lw-featured .lw-guide {
		border-right: 0;
		border-bottom: 2px solid var(--lw-rule);
	}

	.lw-featured > .lw-guide:last-child {
		border-bottom: 0;
	}

	.lw-grid,
	.lw-grid[data-columns='2'],
	.lw-grid[data-columns='4'] {
		grid-template-columns: 1fr;
	}

	.lw-grid > .lw-card,
	.lw-grid[data-columns='2'] > .lw-card,
	.lw-grid[data-columns='4'] > .lw-card {
		border-right: 0;
	}

	.lw-index__grid,
	.lw-index__grid[data-columns='2'],
	.lw-index__grid[data-columns='3'] {
		grid-template-columns: 1fr;
	}

	.lw-index__grid > .lw-index__cell,
	.lw-index__grid[data-columns='2'] > .lw-index__cell,
	.lw-index__grid[data-columns='3'] > .lw-index__cell {
		border-right: 0;
	}

	.lw-footer__cols {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.lw-utility,
	.lw-footer__bar {
		flex-direction: column;
	}

	.lw-hero__actions {
		width: 100%;
	}

	.lw-button,
	.lw-hero__actions .lw-button {
		flex: 1 1 200px;
		text-align: center;
	}

	.lw-dropcap::first-letter {
		font-size: 2.6em;
	}

	.lw-article blockquote {
		padding-left: 16px;
	}
}

/* ==========================================================================
   14. Print, motion, forced colours
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.lw-ticker--motion .lw-ticker__track {
		animation: none;
		transform: none;
	}
}

@media (forced-colors: active) {
	.lw-swipe,
	.lw-kicker,
	.lw-nav .current-menu-item > a,
	.lw-toc__list a[aria-current='true'] {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
	}
}

@media print {
	body {
		background: #fff;
		font-size: 12pt;
	}

	.lw-frame {
		max-width: none;
		border: 0;
	}

	.lw-utility,
	.lw-nav,
	.lw-burger,
	.lw-ticker,
	.lw-newsletter,
	.lw-aside,
	.lw-searchbar,
	.lw-share,
	.lw-postnav,
	.lw-comments,
	.lw-related {
		display: none !important;
	}

	.lw-body,
	.lw-titleblock {
		display: block;
	}

	.lw-article {
		max-width: none;
		padding: 0;
	}

	.lw-article a::after {
		content: ' (' attr(href) ')';
		font-size: 9pt;
		color: #555;
	}
}
