/**
 * Ashby: the look of the four demos.
 *
 * Tokens first, then the parts every look shares (type, buttons, header,
 * footer), then what each look changes. The look is a body class
 * (look-nora, look-helena, look-ivy, look-lina) with its heading, emphasis
 * and button classes beside it, so a Theme Options change applies at once.
 */

/* Tokens
   ------------------------------------------------------------------------- */

body {
	--wide: var(--ashby-width, 1240px);
	--gutter: clamp(1.25rem, 3.4vw, 2.5rem);
	--header-height: 92px;

	--font-heading: var(--wp--preset--font-family--heading);
	--font-body: var(--wp--preset--font-family--text);
	--font-label: var(--wp--preset--font-family--label);
	--font-accent: var(--wp--preset--font-family--accent);
	--font-hand: var(--wp--preset--font-family--hand);

	--c-dark: var(--wp--preset--color--deep);
	--c-on-dark: var(--wp--preset--color--base-alt);

	--label-size: 12px;
	--label-track: 0.22em;
	--label-weight: 500;

	--heading-weight: 300;
	--heading-1: clamp(56px, 6vw, 88px);
	--heading-2: clamp(40px, 4vw, 58px);
	--heading-3: clamp(24px, 2.2vw, 30px);
	--heading-line: 1.06;
	--heading-track: -0.005em;

	--button-size: 12px;
	--button-track: 0.22em;

	font-family: var(--font-body);
	font-size: var(--wp--preset--font-size--medium, 17px);
	line-height: 1.75;
	background: var(--c-bg);
	color: var(--c-text);
}

/* No orphans: headings and labels break into even lines, paragraphs never end on one word. */
h1,
h2,
h3,
blockquote,
figcaption,
.ashby-label,
.ashby-script,
.elementor-heading-title {
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

a {
	color: var(--c-accent);
}

a:hover {
	color: var(--c-dark);
}

/* Type
   ------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	line-height: var(--heading-line);
	letter-spacing: var(--heading-track);
}

.ashby-label,
.ashby-label .elementor-heading-title,
.ashby-label .elementor-widget-container {
	font-family: var(--font-label);
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	line-height: 1.6;
	text-transform: uppercase;
}

/* The script line (a signature or a short phrase) and the handwritten note with its pen line.
   Always set on a plain background: script over a busy photo is not readable. */
.ashby-script .elementor-heading-title,
.ashby-note .elementor-heading-title,
.ashby-script,
.ashby-note {
	font-family: var(--font-accent);
	font-size-adjust: var(--accent-adjust, 0.34);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	word-spacing: 0.14em;
	text-transform: none;
	color: var(--c-accent);
}

.ashby-note .elementor-heading-title,
.ashby-note {
	display: block;
	transform: rotate(-2deg);
	transform-origin: 50% 50%;
	font-family: var(--font-hand);
	font-size-adjust: var(--hand-adjust, 0.3);
	color: var(--c-text);
	word-spacing: 0.16em;
}

/* The pen line under a handwritten note. */
.ashby-note .elementor-heading-title::after,
p.ashby-note::after {
	content: "";
	display: block;
	width: min(260px, 60%);
	height: 0.24em;
	max-height: 16px;
	margin: 0.16em auto 0;
	background-color: currentColor;
	opacity: 0.8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 11C60 4 120 14 180 8S268 5 297 9' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 11C60 4 120 14 180 8S268 5 297 9' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Emphasised words: typed between <em> in a heading. */
.emphasis-thin h1 em,
.emphasis-thin h2 em,
.emphasis-thin .elementor-heading-title em {
	font-style: normal;
	font-weight: 100;
}

.emphasis-italic h1 em,
.emphasis-italic h2 em,
.emphasis-italic .elementor-heading-title em {
	font-style: italic;
	text-transform: none;
}

.emphasis-none .elementor-heading-title em {
	font-style: normal;
}

/* Capital headings (Helena: spaced capitals; Ivy: capitals with italic words). */
.headings-capitals .ashby-title-caps .elementor-heading-title,
.headings-capitals-italic .ashby-title-caps .elementor-heading-title {
	text-transform: uppercase;
}

.headings-capitals .ashby-title-caps .elementor-heading-title {
	letter-spacing: 0.07em;
	line-height: 1.1;
}

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

.ashby-button,
[class*="ashby-button-widget"] .elementor-button {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 32px;
	border: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: var(--c-text);
	font-family: var(--font-label);
	font-size: var(--button-size);
	font-weight: 500;
	letter-spacing: var(--button-track);
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background-color var(--transition),
		color var(--transition),
		border-color var(--transition);
}

.ashby-button:hover,
[class*="ashby-button-widget"] .elementor-button:hover {
	background: var(--c-text);
	border-color: var(--c-text);
	color: var(--c-bg);
}

.buttons-pill .ashby-button,
.buttons-pill [class*="ashby-button-widget"] .elementor-button {
	border-radius: 999px;
}

.buttons-underline .ashby-button,
.buttons-underline [class*="ashby-button-widget"] .elementor-button {
	min-height: 0;
	padding: 12px 4px;
	border-width: 0 0 1px;
	font-size: 10.5px;
}

.buttons-underline .ashby-button:hover,
.buttons-underline [class*="ashby-button-widget"] .elementor-button:hover {
	background: transparent;
	color: var(--c-accent);
	border-color: var(--c-accent);
}

.buttons-box .ashby-button::after,
.buttons-box [class*="ashby-button-widget"] .elementor-button-text::after {
	content: "\2192";
	margin-left: 10px;
	font-size: 14px;
	letter-spacing: 0;
}

/* In Elementor's button the arrow sits inside the words, so it also takes the
   space the theme button puts between its words and the arrow. */
.buttons-box [class*="ashby-button-widget"] .elementor-button-text::after {
	margin-left: calc(10px + 0.6rem);
}

.buttons-solid .ashby-button,
.buttons-solid [class*="ashby-button-widget"] .elementor-button {
	min-height: 48px;
	padding: 0 34px;
	background: var(--c-text);
	border-color: var(--c-text);
	color: var(--c-bg);
}

.buttons-solid .ashby-button:hover,
.buttons-solid [class*="ashby-button-widget"] .elementor-button:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: var(--c-bg);
}

/* Light buttons on dark bands and photos. */
.ashby-on-dark .ashby-button,
.ashby-on-dark [class*="ashby-button-widget"] .elementor-button,
.ashby-button-widget-dark .elementor-button {
	color: var(--c-bg);
	border-color: var(--c-bg);
}

.buttons-solid .ashby-on-dark .ashby-button,
.buttons-solid .ashby-on-dark [class*="ashby-button-widget"] .elementor-button,
.buttons-solid .ashby-button-widget-dark .elementor-button {
	background: var(--c-bg);
	color: var(--c-text);
}

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

.site-header__inner {
	max-width: calc(1360px + 2 * var(--gutter));
}

.site-name {
	color: var(--c-text);
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: var(--heading-weight);
	line-height: 1;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
}

.site-name:hover {
	color: var(--c-text);
}

.site-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__menu a,
.site-header__button {
	white-space: nowrap;
}

.site-nav__menu a {
	color: var(--c-text);
	font-family: var(--font-label);
	font-size: var(--menu-size, 13px);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav__menu .current-menu-item > a,
.site-nav__menu a:hover {
	color: var(--c-text);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}

.site-header__actions {
	gap: 30px;
}

@media (min-width: 1025px) {
	.site-header--split .site-header__inner,
	.site-header--centred-menu .site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		gap: 24px;
	}

	.site-header--split .site-header__brand {
		justify-content: center;
	}

	.site-header--centred-menu .site-header__brand {
		justify-content: flex-start;
	}

	.site-header__actions {
		justify-content: flex-end;
		margin-left: 0;
	}

	.site-header--logo-left .site-header__inner {
		justify-content: space-between;
	}

	.site-header--logo-left .site-nav--main {
		margin-left: auto;
	}

	.site-header--logo-left .site-header__actions {
		margin-left: 36px;
	}
}

@media (max-width: 1024px) {
	.site-header .site-header__button,
	.site-header .site-nav {
		display: none;
	}

	.site-header__inner {
		justify-content: space-between;
	}

	.site-name {
		font-size: 26px;
	}
}

.menu-panel .site-name {
	font-size: 26px;
}

.menu-panel__menu + .menu-panel__menu {
	margin-top: 1.5rem;
}

/* Thin bar above the header (Nora). */
.top-bar {
	background: var(--c-accent);
	color: var(--c-bg);
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
}

.top-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	max-width: calc(1360px + 2 * var(--gutter));
	margin: 0 auto;
	padding: 9px var(--gutter);
}

.top-bar a,
.top-bar .ashby-social a {
	color: inherit;
}

.top-bar__note {
	margin: 0;
}

.top-bar__note a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.top-bar__inner:has(> .top-bar__note:only-child) {
	justify-content: center;
}

.look-ivy .top-bar {
	background: var(--c-dark);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
}

/* Header with the name only (sign up pages). */
.site-header--minimal {
	border-bottom: 1px solid var(--c-line);
}

/* Name in the middle, a way back to the site on the left. */
.site-header--minimal .site-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	min-height: 0;
	padding-block: 30px;
}

.site-header--minimal .site-header__brand {
	text-align: center;
}

.site-header__back {
	justify-self: start;
	color: inherit;
	font-family: var(--font-label);
	font-size: 11px;
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-decoration: none;
	text-transform: uppercase;
}

.site-header__back:hover,
.site-header__back:focus-visible {
	color: var(--c-accent);
}

@media (max-width: 600px) {
	.site-header--minimal .site-header__inner {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 12px;
	}

	.site-header__back {
		justify-self: center;
	}

	.site-header__back-space {
		display: none;
	}
}

.site-footer--minimal .site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	color: var(--c-soft);
	font-size: 14px;
}

@media (max-width: 767px) {
	.top-bar .ashby-social {
		display: none;
	}

	.top-bar__inner {
		justify-content: center;
	}
}

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

.site-footer {
	margin-top: 0;
	padding: 0;
	border: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-size: 15.5px;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.site-footer .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__inner {
	max-width: calc(1360px + 2 * var(--gutter));
	margin: 0 auto;
	padding: 34px var(--gutter);
}

.site-footer__name {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	line-height: 1;
}

.site-footer__title {
	font-family: var(--font-label);
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: inherit;
	opacity: 0.7;
}

.site-footer__strip {
	display: grid;
	grid-template-columns: repeat(var(--ashby-strip, 6), minmax(0, 1fr));
}

.site-footer__photo {
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.site-footer__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 28px;
	max-width: calc(1360px + 2 * var(--gutter));
	margin: 0 auto;
	padding: 24px var(--gutter);
	font-size: 13.5px;
	opacity: 0.8;
}

/* Signature: dark band, menu, the name large, a line about you, photo strip. */
.site-footer--signature {
	background: var(--c-dark);
	color: var(--c-on-dark);
}

.site-footer--signature .site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 34px;
	padding-top: 90px;
	padding-bottom: 50px;
	text-align: center;
}

.site-footer--signature .menu--footer {
	justify-content: center;
	gap: 8px 46px;
	font-family: var(--font-label);
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
}

.site-footer--signature .site-footer__name {
	color: var(--c-bg);
	font-size: clamp(56px, 8vw, 120px);
	letter-spacing: 0.06em;
}

.site-footer--signature .site-footer__tagline {
	max-width: 520px;
	margin: 0;
}

/* Line and Row: one quiet line of name, contact and links. */
.site-footer--line,
.site-footer--row {
	border-top: 1px solid var(--c-line);
}

.site-footer--line .site-footer__inner,
.site-footer--row .site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 14px;
}

.site-footer--row .site-footer__inner {
	padding-top: 60px;
	padding-bottom: 60px;
	font-size: 14px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

.site-footer__links p,
.site-footer__links .ashby-social {
	margin: 0;
}

.site-footer--line .site-footer__name {
	font-size: 17px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-footer--row .site-footer__name {
	font-size: 30px;
	text-transform: uppercase;
}

/* Columns: three photos, then a dark band in four columns. */
.site-footer--columns .site-footer__strip {
	grid-template-columns: 1.2fr 1fr 1fr;
	height: 420px;
}

.site-footer--columns .site-footer__photo {
	aspect-ratio: auto;
}

.site-footer__band {
	background: var(--c-dark);
	color: var(--c-on-dark);
}

.site-footer--columns .site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
	gap: 50px;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	padding-top: 90px;
	padding-bottom: 40px;
	font-size: 15px;
}

.site-footer--columns .site-footer__name {
	color: var(--c-bg);
	font-size: 40px;
}

.site-footer__about,
.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__col p,
.site-footer__about p {
	margin: 0;
}

.site-footer--columns .menu--footer {
	flex-direction: column;
	gap: 10px;
}

.site-footer--columns .site-footer__bottom {
	max-width: calc(var(--wide) + 2 * var(--gutter));
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
	.site-footer--columns .site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer--columns .site-footer__strip {
		height: 260px;
	}
}

@media (max-width: 640px) {
	.site-footer--columns .site-footer__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-footer--columns .site-footer__strip {
		grid-template-columns: 1fr 1fr;
		height: 200px;
	}

	.site-footer--columns .site-footer__photo:first-child {
		display: none;
	}
}

/* Gentle parallax (assets/js/ashby.js). The frame clips, the photo inside drifts. */
.has-motion .ashby-drift {
	overflow: hidden;
}

.has-motion .ashby-drift img {
	transform: translate3d(0, var(--ashby-drift, 0), 0) scale(1.16);
	will-change: transform;
}

/* A small photo above a heading slides under the words that follow it. */
.has-motion .is-under {
	position: relative;
	z-index: 1;
	will-change: transform;
}

.has-motion .is-under ~ * {
	position: relative;
	z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
	.has-motion .ashby-drift img {
		transform: none;
	}
}

/* Looks
   ------------------------------------------------------------------------- */

/* Nora: light serif headings with thin words, round buttons. */
.look-nora {
	--heading-1: clamp(56px, 6vw, 88px);
	--heading-2: clamp(40px, 4vw, 58px);
}

/* Helena: smaller spaced capitals, quieter labels, the name spaced wide. */
.look-helena {
	--heading-1: clamp(48px, 4.6vw, 68px);
	--heading-2: clamp(36px, 3.6vw, 52px);
	--heading-line: 1.04;
	--label-size: 11.5px;
	--header-height: 76px;
	font-size: 17px;
}

.look-helena .site-name {
	font-size: 19px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.look-helena .site-nav__menu {
	gap: 0 28px;
}

.look-helena .site-nav__menu a {
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

/* Ivy: Playfair in capitals, menu in the heading font, a line under the header. */
.look-ivy {
	--heading-weight: 400;
	--heading-1: clamp(48px, 5vw, 72px);
	--heading-2: clamp(40px, 4.2vw, 60px);
	--heading-line: 1.08;
	--label-weight: 400;
	--label-track: 0.2em;
	font-size: 17px;
}

.look-ivy .site-header {
	border-bottom: 1px solid var(--c-line);
}

.look-ivy .site-name {
	font-size: 32px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.look-ivy .site-nav__menu {
	gap: 0 36px;
}

.look-ivy .site-nav__menu a {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.06em;
}

.look-ivy .ashby-label {
	color: var(--c-soft);
}

/* Lina: soft serif headings, the name in spaced capitals, solid buttons. */
.look-lina {
	--heading-weight: 400;
	--heading-1: clamp(44px, 4.4vw, 62px);
	--heading-2: clamp(36px, 3.6vw, 50px);
	--heading-line: 1.12;
	--label-size: 11.5px;
	font-size: 17px;
}

.look-lina .site-header__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter));
}

.look-lina .site-name {
	font-family: var(--font-label);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.look-lina .site-nav__menu {
	flex-wrap: nowrap;
	gap: 0 24px;
}

/* Single post
   ------------------------------------------------------------------------- */

.is-single .entry-header {
	max-width: 820px;
	gap: 1.1rem;
}

.is-single .entry-title {
	font-size: var(--heading-2);
	text-wrap: balance;
}

.entry-by {
	margin: 0;
	color: var(--c-soft);
	font-size: 0.875rem;
}

.is-single .entry-image {
	max-width: calc(1040px + 2 * var(--gutter));
}

.is-single .entry-image img {
	padding: 10px;
	border: 1px solid var(--wp--preset--color--line);
	aspect-ratio: 16 / 9;
	max-height: none;
}

.is-single .entry-content {
	max-width: calc(700px + 2 * var(--gutter));
	font-size: 16.5px;
	line-height: 1.85;
}

.is-single .entry-content > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	color: var(--c-accent);
	font-family: var(--font-heading);
	font-size: 4.2em;
	line-height: 0.8;
}

.entry-author {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: 700px;
	margin: clamp(3rem, 6vw, 4.5rem) auto 0;
	padding: 2rem var(--gutter) 0;
	border-top: 1px solid var(--wp--preset--color--line);
	box-sizing: content-box;
}

.entry-author__photo {
	flex: 0 0 88px;
}

.entry-author__photo img {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.entry-author p {
	margin: 0;
}

.entry-author__name {
	margin: 0.35rem 0 0.4rem !important;
	font-family: var(--font-heading);
	font-size: var(--heading-3);
	line-height: 1.2;
}

.entry-author__text {
	color: var(--c-soft);
	font-size: 0.95rem;
	line-height: 1.7;
}

.related-posts {
	max-width: var(--wide);
	margin: clamp(4.5rem, 9vw, 7rem) auto 0;
	padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) 0;
	border-top: 1px solid var(--wp--preset--color--line);
	text-align: center;
}

.related-posts__title {
	margin: 0.9rem 0 clamp(2rem, 4vw, 3rem);
	font-size: var(--heading-2);
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
	text-align: left;
}

.related-post__link {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	color: inherit;
	text-decoration: none;
}

.related-post__photo {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.related-post__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.related-post__link:hover .related-post__photo img,
.related-post__link:focus-visible .related-post__photo img {
	transform: scale(1.03);
}

.related-post__title {
	font-family: var(--font-heading);
	font-size: var(--heading-3);
	line-height: 1.2;
}

@media (max-width: 860px) {
	.related-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-author {
		align-items: flex-start;
	}
}

/* Page not found
   ------------------------------------------------------------------------- */

.not-found.has-photo {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 6rem);
	max-width: calc(var(--wide) + 2 * var(--gutter));
	padding-bottom: clamp(4rem, 8vw, 6rem);
	text-align: left;
}

.not-found__words {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.not-found.has-photo .not-found__words {
	align-items: flex-start;
}

.not-found__code {
	font-weight: var(--heading-weight);
}

.not-found__photo {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.not-found__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 860px) {
	.not-found.has-photo {
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.not-found.has-photo .not-found__words {
		align-items: center;
	}

	.not-found__photo {
		max-width: 360px;
		margin: 0 auto;
	}
}

.is-single .comments {
	margin-top: clamp(4rem, 8vw, 6rem);
}
