/*
Theme Name: AoS
Theme URI: https://aisleofstyle.com
Author: Aisle of Style
Description: Editorial magazine for personal style, everyday beauty, and home.
Version: 1.0.24
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: aos
*/

:root {
	--ink: #232422;
	--ground: #F8F5F1;
	--sand: #E9DED7;
	--sage: #6E766E;
	--terra: #9D7363;
	--measure: 1220px;
	--reading: 720px;
	--display: "Source Serif 4", Georgia, serif;
	--text: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	touch-action: manipulation;
}

button,
input {
	font: inherit;
	touch-action: manipulation;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.frame {
	width: min(var(--measure), calc(100% - 48px));
	margin-inline: auto;
}

.ticker-bleed {
	background: var(--sand);
	color: var(--ink);
	overflow: hidden;
}

.ticker-bar.is-layout-flow {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 44px;
}

.ticker-bar.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ticker-label {
	flex: none;
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ticker-title {
	margin: 0;
	font-family: var(--text);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.2;
}

.ticker-window {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

ul.ticker {
	display: flex;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: aos-ticker 48s linear infinite;
}

ul.ticker > li {
	margin: 0;
	display: flex;
}

ul.ticker a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	white-space: nowrap;
	text-decoration: none;
	font-weight: 500;
}

ul.ticker a::before {
	content: "";
	width: 5px;
	height: 5px;
	margin-right: 16px;
	background: var(--terra);
	flex: none;
}

@keyframes aos-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ticker-window:hover ul.ticker,
	.ticker-window:focus-within ul.ticker {
		animation-play-state: paused;
	}
}

@media (prefers-reduced-motion: reduce) {
	ul.ticker {
		animation: none;
	}
}

.mast.is-layout-flow {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 18px 0 16px;
	border-bottom: 1px solid var(--sand);
	margin-bottom: 28px;
}

.mast.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.brand .wp-block-site-logo,
.colophon .wp-block-site-logo {
	margin: 0;
	line-height: 0;
}

.brand .screen-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wp-block-site-logo img.custom-logo {
	display: block;
	width: 220px;
	height: auto;
	max-width: 100%;
}

.colophon .wp-block-site-logo img.custom-logo {
	width: 180px;
}

.brand .wp-block-site-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(1.7rem, 2.1vw, 2.35rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

.brand .wp-block-site-title a {
	text-decoration: none;
	color: var(--ink);
}

.brand .wp-block-site-tagline {
	margin: 4px 0 0;
	font-size: 0.95rem;
	line-height: 1.3;
	color: var(--ink);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0;
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--sand);
	font-weight: 600;
	cursor: pointer;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: auto;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 4px;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
}

.primary-nav a:hover {
	text-decoration: underline;
	text-underline-offset: 0.28em;
}

.primary-nav a.nav-subscribe {
	display: none;
}

.tools.is-layout-flow {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tools.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.mast .wp-block-search {
	margin: 0;
}

.mast .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
	background: transparent;
}

.mast .wp-block-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	background: transparent;
	color: var(--ink);
	border: 0;
	cursor: pointer;
}

.subscribe-open,
.inline-form button,
.note-card button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	background: var(--sage);
	color: #fff;
	border: 0;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.subscribe-open:hover,
.inline-form button:hover,
.note-card button[type="submit"]:hover {
	background: var(--ink);
	color: #fff;
}

.home-main.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.home-main.is-layout-flow > * + * {
	margin-block-start: 56px;
}

.front.is-layout-flow {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.72fr);
	grid-template-rows: auto auto;
	column-gap: 40px;
	row-gap: 18px;
	align-items: start;
}

.front > .wp-block-query,
ul.front-lead,
ul.front-lead > li {
	display: contents;
}

.front-photo {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.front-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(35, 36, 34, 0.96) 0%, rgba(35, 36, 34, 0.9) 42%, rgba(35, 36, 34, 0.55) 62%, rgba(35, 36, 34, 0) 82%);
	pointer-events: none;
}

.front-copy {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: end;
	z-index: 2;
	padding: 8px 28px 28px;
	color: #fff;
}

.front-copy,
.front-copy a,
.front-copy .kicker,
.front-copy .kicker a {
	color: #fff;
}

.front-copy .kicker {
	margin: 0;
}

.wire-col {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.front.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

ul.front-lead.is-layout-flow,
ul.wire.is-layout-flow,
ul.gallery.is-layout-flow,
ul.index-list.is-layout-flow {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.front-lead.is-layout-flow > li,
ul.wire.is-layout-flow > li,
ul.gallery.is-layout-flow > li,
ul.index-list.is-layout-flow > li {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.front-photo,
.gal-photo {
	position: relative;
	overflow: hidden;
	margin: 0;
}

.front-photo {
	aspect-ratio: 4 / 3;
}

.front-photo img,
.gal-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front .kicker,
.wire .kicker,
.gallery .kicker {
	display: block;
	margin: 14px 0 0;
}

.front .kicker a,
.wire .kicker a,
.gallery .kicker a,
.index-name a {
	min-height: 0;
	text-decoration: none;
}

.front-title {
	margin: 6px 0 0;
	max-width: 12em;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(2.1rem, 3.1vw, 3.25rem);
	line-height: 1.05;
	color: #fff;
}

.front-deck {
	margin: 10px 0 0;
	max-width: 36rem;
}

.front-deck .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.front-copy .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 14px;
	padding: 0 16px;
	background: var(--ground);
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.front-title a,
.wire-title a,
.gal-title a,
.index-title a {
	text-decoration: none;
}

.front-title a:hover,
.wire-title a:hover,
.gal-title a:hover,
.index-title a:hover,
.index-name a:hover {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.wire-label {
	margin: 0 0 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

ul.wire.is-layout-flow {
	display: flex;
	flex-direction: column;
}

ul.wire > li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--sand);
}

.wire-photo {
	width: 96px;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
}

.wire-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wire-copy {
	min-width: 0;
}

.wire .kicker {
	margin: 0;
}

.wire-title {
	margin: 2px 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1.25;
}

ul.gallery.is-layout-flow {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 22px;
	align-items: start;
}

.gal-photo,
ul.gallery > li:first-child .gal-photo {
	height: 440px;
	aspect-ratio: auto;
	margin-bottom: 0;
}

.gal-title {
	margin: 8px 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.2;
}

ul.gallery > li:first-child .gal-title {
	font-size: 1.7rem;
}

.index.is-layout-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 32px;
	padding-top: 8px;
	border-top: 1px solid var(--sand);
}

.index.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.index-name {
	margin: 0 0 12px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1;
}

ul.index-list.is-layout-flow {
	display: flex;
	flex-direction: column;
}

ul.index-list > li {
	padding: 9px 0;
	border-top: 1px solid var(--sand);
}

.index-title {
	margin: 0;
	font-family: var(--text);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.35;
}

.hero.is-layout-flow {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.82fr);
	gap: 28px;
	align-items: stretch;
	min-height: 0;
}

.hero.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.hero > .wp-block-query,
.hero > .wp-block-query ul.lead,
.hero > .wp-block-query ul.lead > li,
.lead-card {
	height: 100%;
}

.rail.is-layout-flow {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 24px;
	height: 100%;
	align-content: stretch;
}

.rail.is-layout-flow > .wp-block-query:last-child,
.rail ul.side-home,
.rail ul.side-home > li,
.side-stack.is-layout-flow {
	height: 100%;
	min-height: 0;
}

.rail.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

ul.lead,
ul.side-beauty,
ul.side-home,
ul.story-cell,
ul.more,
ul.archive-list,
ul.card-style,
ul.card-beauty,
ul.card-home,
ul.card-finds {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.lead.is-layout-flow > li,
ul.side-beauty.is-layout-flow > li,
ul.side-home.is-layout-flow > li,
ul.story-cell.is-layout-flow > li,
ul.more.is-layout-flow > li,
ul.archive-list.is-layout-flow > li,
ul.card-style.is-layout-flow > li,
ul.card-beauty.is-layout-flow > li,
ul.card-home.is-layout-flow > li,
ul.card-finds.is-layout-flow > li,
.lead-card.is-layout-flow > *,
.lead-copy.is-layout-flow > *,
.side-split.is-layout-flow > *,
.side-stack.is-layout-flow > *,
.side-copy.is-layout-flow > *,
.desk-card.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.lead-card {
	position: relative;
	min-width: 0;
}

.lead-photo,
.side-photo,
.side-photo-wide,
.desk-photo,
.story-photo,
.archive-photo,
.related-photo,
.story-hero {
	position: relative;
	overflow: hidden;
	margin: 0;
}

.lead-photo {
	height: 100%;
	min-height: 480px;
}

.lead-photo img,
.side-photo-wide img {
	position: absolute;
	inset: 0;
}

.lead-photo img,
.side-photo img,
.side-photo-wide img,
.desk-photo img,
.story-photo img,
.archive-photo img,
.related-photo img,
.story-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lead-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(35, 36, 34, 0.92) 0%, rgba(35, 36, 34, 0.62) 46%, rgba(35, 36, 34, 0.08) 72%);
	pointer-events: none;
	z-index: 1;
}

.lead-copy {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 28px 24px;
	color: #fff;
}

.lead-copy,
.lead-copy a {
	color: #fff;
}

.lead-title {
	margin: 8px 0 10px;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(2rem, 3vw, 3.15rem);
	line-height: 1.05;
	max-width: 16ch;
}

.lead-title a {
	text-decoration: none;
}

.lead-copy .wp-block-post-excerpt__excerpt {
	margin: 0 0 16px;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lead-copy .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	background: var(--ground);
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.kicker,
.kicker a {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
}

.kicker a {
	display: inline;
}

.side-copy .kicker,
.desk-copy .kicker,
.story-cell .kicker,
.story-cell .kicker a {
	color: var(--terra);
}

.lead-copy .kicker,
.lead-copy .kicker a {
	color: #fff;
	min-height: 0;
}

.side-split.is-layout-flow {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	gap: 14px;
	align-items: center;
}

.side-stack.is-layout-flow {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.side-photo {
	aspect-ratio: 1 / 1;
}

.side-photo-wide {
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: auto;
}

.side-title {
	margin: 0 0 8px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.45rem;
	line-height: 1.15;
}

.side-title a {
	text-decoration: none;
}

.side-copy .wp-block-post-excerpt__excerpt {
	margin: 0 0 2px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.side-copy .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	border-bottom: 2px solid var(--terra);
}

.side-copy .wp-block-read-more::after,
.explore::after {
	content: "\00a0\2192";
}

.wp-block-post-excerpt__more-text {
	display: none;
}

.desks.is-layout-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.desks.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.desk-card.is-layout-flow {
	display: flex;
	gap: 16px;
	align-items: stretch;
	min-width: 0;
}

.desk-card .wp-block-query {
	width: 108px;
	flex: none;
}

.desk-photo {
	width: 108px;
	aspect-ratio: 3 / 4;
}

.desk-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.desk-copy .kicker {
	margin: 0;
}

.desk-points {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.35;
}

.desk-points li {
	margin: 0;
}

.explore {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	border-bottom: 2px solid var(--terra);
}

.band.is-layout-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
	gap: 24px;
	align-items: center;
	background: var(--sand);
	padding: 28px 32px;
}

.band.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.band-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(1.45rem, 2vw, 1.85rem);
	line-height: 1.25;
}

.band-copy p:last-child {
	margin: 0;
}

.inline-form {
	position: relative;
}

.inline-form label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.inline-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.inline-form input[type="email"] {
	flex: 1 1 180px;
	min-width: 180px;
	width: auto;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid var(--ink);
	background: var(--ground);
	color: var(--ink);
	font-size: 1rem;
}

.form-error {
	min-height: 1.4em;
	margin: 6px 0 0;
	font-weight: 600;
}

.form-error:empty {
	display: none;
}

.inline-done {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.35;
}

.benefits {
	list-style: none;
	margin: 0;
	padding: 0;
}

.benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
}

.benefits li::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--terra);
	flex: none;
}

.row-head {
	margin: 0 0 16px;
}

.row-head .kicker {
	margin: 0;
}

.story-grid.is-layout-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.story-grid.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

ul.story-cell {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.story-cell > li {
	min-width: 0;
}

.story-photo {
	aspect-ratio: 3 / 2;
	margin-bottom: 10px;
}

.story-cell .kicker {
	display: block;
	margin: 12px 0 6px;
}

.story-cell .wp-block-post-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.story-cell .wp-block-post-title a {
	text-decoration: none;
}

.colophon.is-layout-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	border-top: 1px solid var(--sand);
	margin-top: 48px;
	padding: 28px 0 48px;
}

.colophon.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.colophon .wp-block-site-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.85rem;
	line-height: 1;
}

.colophon .wp-block-site-title a {
	text-decoration: none;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.copyright {
	margin: 0;
	flex-basis: 100%;
}

.story-open {
	width: min(1120px, calc(100% - 48px));
	margin: 32px auto 0;
}

.story-open.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.story-spread.is-layout-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 336px;
	grid-template-areas:
		"story rail"
		"signup rail";
	column-gap: 48px;
	row-gap: 28px;
	align-items: start;
	width: min(1120px, calc(100% - 48px));
	margin: 36px auto 0;
}

.story-spread.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
	min-width: 0;
}

.story-spread .story,
.story-spread .story-open {
	width: auto;
	margin: 0;
}

.story-spread .story {
	grid-area: story;
}

.story-spread .story-rail {
	grid-area: rail;
}

.story-spread > .rail-note {
	grid-area: signup;
	margin-top: 0;
}

.story {
	width: min(var(--reading), calc(100% - 40px));
	margin: 28px auto 0;
}

.rail-note {
	margin-top: 22px;
	padding: 18px 18px 16px;
	background: var(--sand);
}

.rail-note-title {
	margin: 0 0 8px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1.2;
}

.rail-note p {
	margin: 0 0 14px;
}

.rail-form {
	position: relative;
}

.rail-form label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rail-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rail-form input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 10px;
	border: 1px solid var(--ink);
	background: var(--ground);
	color: var(--ink);
	font-size: 1rem;
}

.rail-form button {
	flex: none;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	background: var(--sage);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.rail-done {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
}

.rail-heading {
	margin: 0 0 12px;
	font-family: var(--text);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

ul.more.rail-posts.is-layout-flow {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: rail;
}

ul.rail-posts.is-layout-flow > li {
	margin-block-start: 0;
}

ul.rail-posts > li {
	counter-increment: rail;
	display: grid;
	grid-template-columns: 1.4rem 4.5rem minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--sand);
}

ul.rail-posts > li::before {
	grid-column: 1;
	grid-row: 1;
	content: counter(rail);
	font-family: var(--display);
	font-size: 1.35rem;
	line-height: 1;
}

ul.rail-posts > li .rail-photo {
	grid-column: 2;
	grid-row: 1;
}

ul.rail-posts > li .rail-title {
	grid-column: 3;
	grid-row: 1;
	min-width: 0;
}

ul.rail-posts > li .image-credit {
	display: none;
}

.rail-photo {
	aspect-ratio: 1;
	margin: 0;
}

.rail-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.25;
}

.rail-title a {
	display: block;
	text-decoration: none;
}

.story-open .story-title {
	max-width: none;
	margin: 8px 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(2.05rem, 2.6vw, 2.75rem);
	line-height: 1.16;
	text-wrap: balance;
}

.story-open .kicker::after {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin-top: 8px;
	background: var(--terra);
}

.story-open .kicker a {
	min-height: 0;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 16px 0 0;
	font-size: 0.95rem;
}

.byline-name {
	font-weight: 600;
	text-decoration: none;
}

.byline-name::before {
	content: "By ";
	font-weight: 400;
}

.byline-name::after {
	content: "·";
	margin-left: 12px;
	font-weight: 400;
}

.byline:has(.read-time) .wp-block-post-date::after {
	content: "·";
	margin-left: 12px;
}

.read-time {
	font-weight: 500;
}

.story-deck {
	margin: 12px 0 0;
	max-width: 38rem;
	font-size: 1.15rem;
	line-height: 1.45;
}

.story-deck .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.author-box {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--sand);
}

.author-box-name {
	margin: 0;
	font-weight: 600;
}

.author-box-bio {
	margin: 6px 0 0;
	max-width: 40rem;
}

.story-open .story-hero {
	margin: 22px 0 0;
	aspect-ratio: 16 / 9;
}

.story-open .story-hero img {
	aspect-ratio: 16 / 9;
}

.image-credit,
.wp-block-image figcaption,
.wp-block-gallery figcaption {
	margin: 8px 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.image-credit a,
.wp-block-image figcaption a,
.wp-block-gallery figcaption a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.wp-block-post-content > * + * {
	margin-block-start: 1.15rem;
}

.wp-block-post-content p,
.wp-block-post-content li {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.wp-block-post-content h2,
.wp-block-post-content h3 {
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.2;
}

.story .wp-block-post-content > p:first-of-type {
	font-size: 1.2rem;
	line-height: 1.55;
}

.story .wp-block-post-content h2,
.story .wp-block-post-content h3 {
	padding-top: 1.25rem;
	border-top: 1px solid var(--sand);
}

.wp-block-post-content h2 {
	font-size: 1.65rem;
	margin-top: 2.6rem;
	margin-bottom: 0.7rem;
}

.wp-block-post-content h3 {
	font-size: 1.3rem;
	margin-top: 2.2rem;
	margin-bottom: 0.55rem;
}

.wp-block-post-content a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.wp-block-post-content img {
	height: auto;
}

.wp-block-post-content blockquote {
	margin: 1.4rem 0;
	padding: 0.2rem 0 0.2rem 1rem;
	border-left: 3px solid var(--terra);
	font-family: var(--display);
	font-size: 1.35rem;
	line-height: 1.35;
}

.slug-privacy-policy .wp-block-post-content em,
.slug-privacy-policy .wp-block-post-content i,
.slug-terms-of-use .wp-block-post-content em,
.slug-terms-of-use .wp-block-post-content i,
.slug-affiliate-disclosure .wp-block-post-content em,
.slug-affiliate-disclosure .wp-block-post-content i {
	font-style: normal;
}

.related {
	margin-top: 48px;
	margin-bottom: 16px;
}

.related-heading {
	margin: 0 0 18px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.75rem;
}

ul.more.is-layout-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

ul.more > li {
	min-width: 0;
}

.related-photo {
	aspect-ratio: 3 / 2;
	margin-bottom: 10px;
}

.related-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.25;
}

.related-title a {
	text-decoration: none;
}

.archive-wrap,
.page-wrap,
.miss {
	width: min(var(--measure), calc(100% - 48px));
	margin: 8px auto 48px;
}

.page-wrap,
.story {
	width: min(var(--reading), calc(100% - 40px));
}

.story-spread .story {
	width: auto;
	max-width: none;
	margin: 0;
}

.archive-title,
.page-title,
.miss h1 {
	margin: 0 0 22px;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.12;
}

ul.archive-list.is-layout-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 20px;
}

.archive-photo {
	aspect-ratio: 3 / 2;
	margin-bottom: 12px;
}

.archive-list .wp-block-post-title {
	margin: 0 0 8px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1.2;
}

.archive-list .wp-block-post-title a {
	text-decoration: none;
}

.archive-list .wp-block-post-excerpt__excerpt {
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wp-block-query-pagination {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 28px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.miss .wp-block-search__input,
.page-wrap .wp-block-search__input {
	min-height: 44px;
	border: 1px solid var(--ink);
	background: var(--ground);
	padding: 0 12px;
}

.miss .wp-block-search__button,
.page-wrap .wp-block-search__button {
	min-height: 44px;
	padding: 0 16px;
	background: var(--sage);
	color: #fff;
	border: 0;
	font-weight: 600;
}

.home-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	border-bottom: 2px solid var(--terra);
	text-decoration: none;
}

.empty-note {
	margin: 0 0 16px;
	font-size: 1.15rem;
}

.note {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
}

.note-scrim {
	position: absolute;
	inset: 0;
	background: rgba(35, 36, 34, 0.46);
}

.note-card {
	position: relative;
	z-index: 1;
	width: min(440px, calc(100% - 32px));
	padding: 28px 24px 22px;
	background: var(--ground);
	color: var(--ink);
	border: 1px solid var(--sand);
}

.note-card h2 {
	margin: 0 76px 8px 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.85rem;
	line-height: 1.15;
}

.note-card p {
	margin: 0 0 8px;
}

.note-card label {
	display: block;
	margin-top: 12px;
	font-weight: 600;
}

.note-card input[type="email"] {
	width: 100%;
	margin-top: 6px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--ink);
	background: #fff;
	color: var(--ink);
}

.note-card button[type="submit"] {
	width: 100%;
	margin-top: 12px;
}

.note-close {
	position: absolute;
	top: 8px;
	right: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	background: transparent;
	border: 0;
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
}

.note-decline,
.note-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin-top: 4px;
	background: transparent;
	border: 0;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.note-privacy a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.note-open {
	overflow: hidden;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.lead-photo img,
	.side-photo img,
	.side-photo-wide img,
	.desk-photo img,
	.story-photo img,
	.archive-photo img,
	.related-photo img {
		transition: transform 200ms ease;
	}

	.lead-photo:hover img,
	.side-photo:hover img,
	.side-photo-wide:hover img,
	.desk-photo:hover img,
	.story-photo:hover img,
	.archive-photo:hover img,
	.related-photo:hover img {
		transform: scale(1.04);
	}

	.note-card {
		transform: translateY(12px);
		transition: transform 200ms ease;
	}

	.note.is-open .note-card {
		transform: none;
	}

	.note-scrim {
		opacity: 0;
		transition: opacity 200ms ease;
	}

	.note.is-open .note-scrim {
		opacity: 1;
	}
}

@media (max-width: 1000px) {
	.desks.is-layout-flow,
	ul.archive-list.is-layout-flow,
	.story-grid.is-layout-flow,
	.index.is-layout-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	ul.more.is-layout-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hero.is-layout-flow {
		display: grid;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hero > .wp-block-query,
	.hero > .wp-block-query ul.lead,
	.hero > .wp-block-query ul.lead > li,
	.lead-card,
	.lead-photo,
	.rail.is-layout-flow,
	.rail ul.side-home,
	.rail ul.side-home > li,
	.side-stack.is-layout-flow,
	.side-photo-wide {
		height: auto;
	}

	.lead-photo {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.side-photo-wide {
		aspect-ratio: 16 / 10;
		flex: none;
		min-height: 0;
	}
}

@media (max-width: 1040px) {
	.story-spread.is-layout-flow {
		grid-template-columns: 1fr;
		grid-template-areas:
			"story"
			"rail"
			"signup";
	}
}

@media (max-width: 780px) {
	.frame,
	.archive-wrap,
	.miss,
	.story-open,
	.story-spread.is-layout-flow {
		width: min(var(--measure), calc(100% - 32px));
	}

	.mast.is-layout-flow {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
		padding: 8px 0 10px;
		margin-bottom: 14px;
	}

	.brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
	}

	.brand .wp-block-site-title {
		font-size: 1.5rem;
	}

	.brand .wp-block-site-tagline {
		display: none;
	}

	.tools {
		order: 2;
		flex: none;
	}

	.menu-toggle {
		order: 3;
		display: inline-flex;
		flex: none;
	}

	.primary-nav {
		order: 4;
		display: none;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		margin-left: 0;
		gap: 0;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav a.nav-subscribe {
		display: inline-flex;
	}

	body.single .primary-nav a.nav-subscribe,
	.subscribe-open {
		display: none;
	}

	.home-main.is-layout-flow > * + * {
		margin-block-start: 28px;
	}

	.front-photo,
	.front-copy,
	.wire-col {
		grid-column: 1;
		grid-row: auto;
	}

	.front-photo::after {
		content: none;
	}

	.front-copy {
		align-self: start;
		z-index: auto;
		padding: 0;
		color: var(--ink);
	}

	.front-copy,
	.front-copy a,
	.front-copy .kicker,
	.front-copy .kicker a,
	.front-title {
		color: var(--ink);
	}

	.front-title {
		max-width: none;
		font-size: clamp(1.85rem, 8vw, 2.4rem);
	}

	.front-copy .wp-block-read-more {
		background: var(--ink);
		color: #fff;
	}

	ul.gallery.is-layout-flow {
		gap: 0;
	}

	ul.gallery > li {
		display: grid;
		grid-template-columns: 84px minmax(0, 1fr);
		column-gap: 12px;
		align-items: center;
		padding: 10px 0;
		border-top: 1px solid var(--sand);
	}

	ul.gallery > li .gal-photo {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	ul.gallery > li .kicker,
	ul.gallery > li .gal-title {
		grid-column: 2;
		min-width: 0;
	}

	.gal-photo,
	ul.gallery > li:first-child .gal-photo {
		width: 84px;
		height: 84px;
		aspect-ratio: 1;
	}

	ul.gallery > li .kicker {
		margin: 0;
	}

	.gal-title,
	ul.gallery > li:first-child .gal-title {
		margin: 2px 0 0;
		font-size: 1.05rem;
	}

	ul.wire > li {
		grid-template-columns: 84px minmax(0, 1fr);
		padding: 8px 0;
	}

	.wire-photo {
		width: 84px;
	}

	.hero.is-layout-flow,
	.front.is-layout-flow,
	.desks.is-layout-flow,
	.band.is-layout-flow,
	.side-split.is-layout-flow,
	.story-grid.is-layout-flow,
	ul.gallery.is-layout-flow,
	.index.is-layout-flow,
	ul.archive-list.is-layout-flow,
	ul.more.is-layout-flow {
		display: grid;
		grid-template-columns: 1fr;
	}

	.lead-copy {
		position: static;
		padding: 28px 0 0;
		color: var(--ink);
	}

	.lead-copy,
	.lead-copy a,
	.lead-copy .kicker,
	.lead-copy .kicker a {
		color: var(--ink);
	}

	.lead-photo::after {
		content: none;
	}

	.lead-title {
		max-width: none;
	}

	.lead-copy .wp-block-read-more {
		background: var(--ink);
		color: #fff;
		padding: 0 16px;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		border-bottom: 0;
	}

	.inline-row {
		flex-direction: column;
	}

	.inline-form input[type="email"] {
		flex: none;
		width: 100%;
		min-width: 0;
		height: 48px;
		min-height: 48px;
		max-height: 48px;
	}

	body.single .mast.is-layout-flow {
		margin-bottom: 0;
		padding-top: 4px;
		padding-bottom: 2px;
	}

	body.single .wp-block-site-logo img.custom-logo {
		width: 168px;
	}

	body.single .story-spread.is-layout-flow,
	body.single .story-open {
		margin-top: 0;
	}

	body.single .story-open .kicker::after {
		margin-top: 4px;
	}

	body.single .story-open .story-title {
		margin-top: 0;
		font-size: 1.85rem;
		line-height: 1.12;
	}

	body.single .byline {
		margin-top: 2px;
	}

	body.single .story-deck {
		margin-top: 4px;
	}

	body.single .story-open .story-hero {
		margin-top: 6px;
	}

	.note {
		align-items: flex-end;
	}

	.note-card {
		width: 100%;
		max-width: none;
		border-radius: 16px 16px 0 0;
		padding-bottom: calc(22px + env(safe-area-inset-bottom));
	}

	.colophon.is-layout-flow {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.story-spread.is-layout-flow {
		grid-template-columns: 1fr;
		grid-template-areas:
			"story"
			"rail"
			"signup";
		width: min(var(--reading), calc(100% - 40px));
		margin-top: 0;
		row-gap: 22px;
	}

	.story-open .story-title {
		margin-top: 4px;
		font-size: 2.15rem;
	}

	.story-open .kicker::after {
		margin-top: 6px;
	}

	.byline {
		margin-top: 8px;
	}

	.story-deck {
		margin-top: 8px;
		font-size: 1.05rem;
	}

	.story-open .story-hero {
		margin-top: 12px;
	}

	.story .wp-block-post-content h2 {
		margin-top: 1.5rem;
		padding-top: 0.75rem;
	}

	.story .wp-block-post-content h3 {
		margin-top: 1.25rem;
		padding-top: 0.65rem;
	}
}

@media (max-width: 780px) and (prefers-reduced-motion: no-preference) {
	.note-card {
		transform: translateY(100%);
	}

	.note.is-open .note-card {
		transform: none;
	}
}
