/* ==========================================================================
   abcBIM — content.css
   Enqueued on singular views, archives, search and 404.
   1. .prose        long-form content (single job / lesson / episode, pages,
                    community) incl. core block styles and alignments
   2. Breakout      .prose-scope + .prose--breakout (wide / full blocks on
                    full-width layouts: page.php, About, index singular)
   3. Generic page  .page-generic*, .page-links
   4. Post list     index.php fallback list (.post-list*)
   5. Search        .search-form*, .search-hero*, .search-result*, .search-empty*
   6. 404           .error-404*
   Reuses tokens and shared components from base.css.
   ========================================================================== */

/* ==========================================================================
   1. Prose
   ========================================================================== */
.prose {
	max-width: 720px;
	font-size: clamp(17px, 1.3vw, 18px);
	line-height: 1.7;
	color: var(--c-graphite);
	overflow-wrap: break-word;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- Text blocks ---------- */
.prose p,
.prose dl,
.prose address {
	margin: 0 0 1.2em;
}

.prose strong,
.prose b {
	font-weight: 600;
	color: var(--c-ink);
}

.prose small {
	font-size: 0.85em;
}

.prose mark {
	background: var(--c-mint);
	color: var(--c-ink);
	padding: 0 0.15em;
	border-radius: 2px;
}

.prose abbr[title] {
	text-decoration: underline dotted;
	text-underline-offset: 3px;
	cursor: help;
}

/* ---------- Headings ---------- */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	color: var(--c-ink);
	font-weight: 400;
	text-wrap: balance;
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h1,
.prose h2 {
	font-family: var(--f-serif);
	font-size: clamp(28px, 2.6vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 48px 0 16px;
}

.prose h1 {
	font-size: clamp(32px, 3vw, 40px);
}

.prose h3 {
	font-family: var(--f-serif);
	font-size: clamp(23px, 2vw, 26px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 40px 0 12px;
}

.prose h4 {
	font-family: var(--f-sans);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 32px 0 8px;
}

.prose h5,
.prose h6 {
	font-family: var(--f-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
	margin: 32px 0 10px;
}

/* ---------- Links ----------
   Only class-less links (rich-text links from the editor). Links that carry a
   class (.btn, core button/file links, pagination) keep their own styling. */
.prose a:not([class]) {
	color: var(--c-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.prose a:not([class]):hover {
	color: var(--c-ink);
}

/* ---------- Lists (custom markers) ----------
   base.css resets every ul/ol that has a class; content lists (no class, or the
   core .wp-block-list class) get their markers back here. */
.prose :is(ul, ol):not([class]),
.prose :is(ul, ol).wp-block-list {
	margin: 0 0 1.2em;
	padding: 0;
}

.prose ul:not([class]),
.prose ul.wp-block-list {
	list-style: none;
}

.prose ul:not([class]) > li,
.prose ul.wp-block-list > li {
	position: relative;
	padding-left: 1.6em;
}

.prose ul:not([class]) > li::before,
.prose ul.wp-block-list > li::before {
	content: "—";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--c-green);
	font-weight: 400;
}

.prose ol:not([class]),
.prose ol.wp-block-list {
	list-style: decimal-leading-zero outside;
	padding-left: 2.4em;
}

.prose ol:not([class]) > li,
.prose ol.wp-block-list > li {
	padding-left: 0.3em;
}

.prose ol:not([class]) > li::marker,
.prose ol.wp-block-list > li::marker {
	font-family: var(--f-mono);
	font-size: 0.78em;
	font-weight: 500;
	color: var(--c-green);
}

.prose :is(ul, ol):is(:not([class]), .wp-block-list) > li + li {
	margin-top: 0.45em;
}

.prose li > :is(ul, ol):is(:not([class]), .wp-block-list) {
	margin: 0.45em 0 0;
}

.prose li > p {
	margin: 0;
}

.prose li > p + p {
	margin-top: 0.6em;
}

.prose dt {
	font-weight: 600;
	color: var(--c-ink);
}

.prose dd {
	margin: 0 0 0.8em;
}

/* ---------- Quotes ---------- */
.prose blockquote,
.prose .wp-block-quote {
	margin: 40px 0;
	padding: 2px 0 2px 28px;
	border: 0;
	border-left: 2px solid var(--c-green);
	font-family: var(--f-serif);
	font-style: italic;
	font-size: clamp(22px, 2.1vw, 26px);
	line-height: 1.35;
	letter-spacing: -0.005em;
	color: var(--c-ink);
}

.prose blockquote p {
	margin: 0 0 0.6em;
}

.prose blockquote > :last-child {
	margin-bottom: 0;
}

.prose blockquote cite,
.prose blockquote footer,
.prose .wp-block-quote cite {
	display: block;
	margin-top: 14px;
	font-family: var(--f-mono);
	font-style: normal;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.prose .wp-block-quote.is-style-large,
.prose .wp-block-quote.is-large {
	font-size: clamp(26px, 2.6vw, 32px);
	padding-left: 32px;
}

.prose .wp-block-pullquote {
	margin: 48px 0;
	padding: 32px 0;
	border-top: 1px solid var(--c-ink);
	border-bottom: 1px solid var(--c-rule);
	text-align: left;
}

.prose .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: clamp(26px, 2.8vw, 34px);
	line-height: 1.25;
}

/* ---------- Media: images, figures, embeds ---------- */
.prose img,
.prose video {
	max-width: 100%;
	height: auto;
}

.prose figure,
.prose .wp-block-image,
.prose .wp-block-video,
.prose .wp-block-audio,
.prose .wp-block-gallery,
.prose .wp-block-embed {
	margin: 36px 0;
}

.prose figure img,
.prose .wp-block-image img,
.prose > p > img,
.prose .wp-block-video video {
	display: block;
	border-radius: var(--radius);
}

.prose figcaption,
.prose .wp-element-caption,
.prose .wp-caption-text {
	margin: 12px 0 0;
	font-family: var(--f-mono);
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--c-muted);
	text-align: left;
}

.prose .wp-caption {
	max-width: 100%;
}

.prose .wp-block-gallery {
	gap: 12px;
}

.prose .wp-block-gallery img {
	border-radius: var(--radius-sm);
}

.prose .wp-block-audio audio {
	width: 100%;
}

/* Responsive 16:9 embeds (YouTube, Vimeo …) */
.prose .wp-block-embed__wrapper {
	position: relative;
}

.prose .wp-block-embed:is(.wp-embed-aspect-16-9, .is-provider-youtube, .is-provider-vimeo) .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-ink);
}

.prose .wp-block-embed:is(.wp-embed-aspect-16-9, .is-provider-youtube, .is-provider-vimeo) .wp-block-embed__wrapper::before {
	display: none;
}

.prose .wp-block-embed:is(.wp-embed-aspect-16-9, .is-provider-youtube, .is-provider-vimeo) iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Bare oEmbed iframes from classic content */
.prose > iframe,
.prose > p > iframe,
.prose .wp-video,
.prose .wp-video video {
	display: block;
	width: 100% !important; /* core inline width on .wp-video */
	max-width: 100%;
}

.prose > iframe,
.prose > p > iframe {
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--radius);
}

/* ---------- Rules, code, tables ---------- */
.prose hr,
.prose .wp-block-separator {
	height: 0;
	margin: 48px 0;
	border: 0;
	border-top: 1px solid var(--c-rule);
	background: none;
	opacity: 1;
	color: var(--c-rule);
}

.prose .wp-block-separator.is-style-dots {
	height: auto;
	border-top: 0;
	text-align: center;
	color: var(--c-muted);
}

.prose code,
.prose kbd,
.prose samp {
	font-family: var(--f-mono);
	font-size: 0.84em;
}

.prose code {
	background: var(--c-mint);
	color: var(--c-green);
	padding: 0.12em 0.4em;
	border-radius: 4px;
}

.prose kbd {
	padding: 0.1em 0.4em;
	border: 1px solid var(--c-rule-strong);
	border-bottom-width: 2px;
	border-radius: 4px;
	background: var(--c-paper);
	color: var(--c-ink);
}

.prose pre,
.prose .wp-block-code,
.prose .wp-block-preformatted {
	margin: 32px 0;
	padding: 20px 22px;
	background: var(--c-mint);
	color: var(--c-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--f-mono);
	font-size: 14px;
	line-height: 1.65;
	overflow-x: auto;
	white-space: pre;
	tab-size: 4;
}

.prose pre code,
.prose .wp-block-code code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	border-radius: 0;
	white-space: inherit;
}

.prose .wp-block-verse {
	font-family: var(--f-serif);
	font-size: 1.05em;
	white-space: pre-wrap;
	margin: 32px 0;
	padding: 0;
	background: none;
}

.prose table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	margin: 32px 0;
	color: var(--c-slate);
}

.prose .wp-block-table {
	margin: 32px 0;
	overflow-x: auto;
}

.prose .wp-block-table table {
	margin: 0;
}

.prose th,
.prose td,
.prose .wp-block-table th,
.prose .wp-block-table td {
	padding: 12px 18px 12px 0;
	border: 0;
	border-bottom: 1px solid var(--c-rule);
	text-align: left;
	vertical-align: top;
}

.prose thead th,
.prose .wp-block-table thead th {
	font-family: var(--f-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
	border-bottom: 1px solid var(--c-ink);
	white-space: nowrap;
}

.prose tbody th {
	color: var(--c-ink);
	font-weight: 600;
}

.prose .wp-block-table thead,
.prose .wp-block-table tfoot {
	border: 0;
}

.prose .wp-block-table.is-style-stripes {
	border-bottom: 0;
}

.prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--c-paper);
}

.prose .wp-block-table.is-style-stripes td:first-child,
.prose .wp-block-table.is-style-stripes th:first-child {
	padding-left: 12px;
}

/* ---------- Buttons (core) — styled like .btn--primary / .btn--secondary ---------- */
.prose .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0;
}

.prose .wp-block-button {
	margin: 0;
}

.prose .wp-block-buttons .wp-block-button__link,
.prose .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	border: 1px solid var(--c-green);
	border-radius: 999px;
	background: var(--c-green);
	color: var(--c-sand);
	font-family: var(--f-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.prose .wp-block-buttons .wp-block-button__link:hover,
.prose .wp-block-buttons .wp-block-button__link:focus-visible,
.prose .wp-block-button__link.wp-element-button:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-sand);
}

.prose .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--c-ink);
	color: var(--c-ink);
	padding: 16px 28px;
}

.prose .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.prose .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--c-ink);
	color: var(--c-sand);
}

.prose .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 32px 0;
	padding: 18px 0;
	border-top: 1px solid var(--c-rule);
	border-bottom: 1px solid var(--c-rule);
	font-size: 16px;
}

.prose .wp-block-file .wp-block-file__button {
	display: inline-flex;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--c-ink);
	color: var(--c-sand);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.prose .wp-block-file .wp-block-file__button:hover {
	background: var(--c-green);
	color: var(--c-sand);
}

/* ---------- Layout blocks ---------- */
.prose .wp-block-columns {
	gap: 32px;
	margin: 32px 0;
}

.prose .wp-block-column > :last-child {
	margin-bottom: 0;
}

.prose .wp-block-group.has-background,
.prose .wp-block-columns.has-background {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--radius);
	margin: 36px 0;
}

.prose .wp-block-group > :first-child {
	margin-top: 0;
}

.prose .wp-block-group > :last-child {
	margin-bottom: 0;
}

.prose .wp-block-cover {
	border-radius: var(--radius);
	overflow: hidden;
	margin: 36px 0;
}

.prose .wp-block-details {
	margin: 0 0 1.2em;
	padding: 18px 0;
	border-top: 1px solid var(--c-rule);
	border-bottom: 1px solid var(--c-rule);
}

/* Stacked details read as one accordion: collapse the gap and shared rule. */
.prose .wp-block-details + .wp-block-details {
	margin-top: -1.2em;
	border-top: 0;
}

.prose .wp-block-details summary {
	cursor: pointer;
	font-family: var(--f-serif);
	font-size: 22px;
	line-height: 1.25;
	color: var(--c-ink);
}

.prose .wp-block-details[open] summary {
	margin-bottom: 12px;
}

.prose .wp-block-details > :last-child {
	margin-bottom: 0;
}

/* ---------- Alignments ---------- */
.prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
	clear: both;
}

.prose img.aligncenter,
.prose .wp-caption.aligncenter {
	display: block;
}

.prose .aligncenter > figcaption,
.prose .aligncenter .wp-element-caption {
	text-align: center;
}

.prose .alignleft {
	float: left;
	max-width: 50%;
	margin: 0.35em 32px 16px 0;
}

.prose .alignright {
	float: right;
	max-width: 50%;
	margin: 0.35em 0 16px 32px;
}

.prose .alignleft img,
.prose .alignright img {
	width: 100%;
}

/* Inside a plain .prose column wide/full blocks simply fill the column. */
.prose .alignwide,
.prose .alignfull {
	width: 100%;
	max-width: 100%;
	clear: both;
}

@media (max-width: 600px) {
	.prose .alignleft,
	.prose .alignright {
		float: none;
		max-width: 100%;
		margin: 32px 0;
	}
}

/* ---------- Password form ---------- */
.prose .post-password-form p {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.prose .post-password-form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 260px;
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.prose .post-password-form input[type="password"] {
	height: 48px;
	padding: 0 20px;
	border: 1px solid var(--c-rule-strong);
	border-radius: 999px;
	background: var(--c-paper);
	font-family: var(--f-sans);
	font-size: 16px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--c-ink);
}

.prose .post-password-form input[type="submit"] {
	height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--c-ink);
	color: var(--c-sand);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.prose .post-password-form input[type="submit"]:hover {
	background: var(--c-green);
}

/* ---------- Edge spacing (last in this section so it wins specificity ties) ---------- */
.prose > :first-child {
	margin-top: 0;
}

.prose > :last-child,
.prose > :is(ul, ol):last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   2. Breakout alignments
   Used where the .prose column sits at the left edge of a full-width
   .container inside a .prose-scope element (page.php, About). Wide blocks
   reach the container's right edge; full blocks bleed to the viewport edges.
   100cqw = the scope's width, so scrollbars never cause horizontal overflow.
   ========================================================================== */
.prose-scope {
	container-type: inline-size;
}

.prose-scope .prose--breakout > .alignwide {
	width: calc(min(100cqw, var(--container)) - 2 * var(--gutter));
	max-width: none;
}

.prose-scope .prose--breakout > .alignfull {
	width: 100cqw;
	max-width: none;
	margin-left: calc((min(100cqw, var(--container)) - 100cqw) / 2 - var(--gutter));
}

.prose--breakout > .alignfull img,
.prose--breakout > .alignfull.wp-block-cover,
.prose--breakout > .alignfull .wp-block-embed__wrapper {
	border-radius: 0;
}

.prose--breakout > .alignfull > figcaption,
.prose--breakout > .alignfull > .wp-element-caption {
	padding-inline: var(--gutter);
}

/* ==========================================================================
   3. Generic page (page.php)
   ========================================================================== */
.page-generic .page-hero > .page-hero__title:first-child {
	margin-top: 0;
}

.page-generic__body {
	padding-bottom: var(--section-y);
}

.page-generic__media {
	margin: 0 0 clamp(40px, 5vw, 64px);
}

.page-generic__caption {
	margin-top: 12px;
	font-family: var(--f-mono);
	font-size: 12px;
	line-height: 1.5;
	color: var(--c-muted);
}

/* wp_link_pages() */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--c-rule);
}

.page-links__label {
	margin-right: 8px;
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.prose .page-links .post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--c-rule-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-ink);
	text-decoration: none;
}

.prose .page-links a.post-page-numbers:hover {
	border-color: var(--c-ink);
}

.prose .page-links .post-page-numbers.current {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-sand);
}

/* ==========================================================================
   4. Post list (index.php fallback) + 5. search results share a row layout
   ========================================================================== */
.post-list-section,
.search-body {
	padding-bottom: var(--section-y);
}

.post-list,
.search-results {
	border-top: 1px solid var(--c-ink);
}

.post-list__entry,
.search-result__entry {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 40px;
	padding: 28px 0 30px;
	border-bottom: 1px solid var(--c-rule);
}

.post-list__date,
.search-result__type {
	flex: 0 0 180px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding-top: 9px;
	font-family: var(--f-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.search-result__type {
	color: var(--c-green);
}

.post-list__body,
.search-result__body {
	flex: 1 1 420px;
	min-width: 0;
	max-width: 780px;
}

.post-list__title,
.search-result__title {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.post-list__title a,
.search-result__title a {
	color: var(--c-ink);
	transition: color 0.15s ease;
}

.post-list__title a:hover,
.search-result__title a:hover {
	color: var(--c-green);
}

.search-result__meta {
	margin-top: 8px;
	font-size: 15px;
	color: var(--c-slate);
}

.post-list__excerpt,
.search-result__excerpt {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-slate);
	max-width: 680px;
}

.search-result__flag {
	padding: 3px 7px;
	border: 1px solid var(--c-rule-strong);
	border-radius: 4px;
	font-size: 10.5px;
	line-height: 1.2;
	color: var(--c-muted);
}

@media (max-width: 700px) {
	.post-list__date,
	.search-result__type {
		flex-basis: 100%;
		padding-top: 0;
	}
}

/* ==========================================================================
   5. Search form + search hero
   ========================================================================== */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	max-width: 640px;
}

.search-form__input {
	flex: 1 1 180px;
	min-width: 0;
	height: 48px;
	padding: 0 22px;
	border: 1px solid var(--c-rule-strong);
	border-radius: 999px;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.25;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease;
}

.search-form__input::placeholder {
	color: var(--c-subtle);
	opacity: 1;
}

.search-form__input:hover {
	border-color: var(--c-muted);
}

.search-form__input:focus {
	border-color: var(--c-ink);
}

.search-form__input:focus-visible {
	outline: 2px solid var(--c-green);
	outline-offset: 2px;
}

.search-form__input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.search-form__submit {
	flex: 0 0 auto;
	min-height: 48px;
}

.search-hero .page-hero__title {
	overflow-wrap: anywhere;
}

.search-hero__count {
	margin-top: 18px;
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.search-hero__form {
	margin-top: 32px;
}

.search-empty p {
	overflow-wrap: anywhere;
}

ul.search-empty__links {
	margin-top: 18px;
}

@media (max-width: 359.98px) {
	.search-form__submit {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   6. 404
   ========================================================================== */
.error-404 {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: var(--section-y);
}

.error-404__title {
	margin-top: 28px;
	max-width: 1000px;
}

.error-404__lead {
	margin-top: 28px;
	max-width: 620px;
}

/* Cards: shared .entry-cards / .entry-card (base.css). Page-specific: a fixed
   1 / 2 / 4 column grid, and the CTA turns ink on hover. */
.error-404__links {
	margin-top: clamp(48px, 6vw, 72px);
	grid-template-columns: 1fr;
}

.error-404__card:hover .entry-card__cta {
	color: var(--c-ink);
}

.error-404__search {
	margin-top: clamp(56px, 7vw, 88px);
	max-width: 640px;
}

.error-404__search .search-form {
	margin-top: 18px;
}

@media (max-width: 639.98px) {
	.error-404__card {
		min-height: 0;
		padding-right: 0;
	}

	.error-404__card .entry-card__cta {
		margin-top: 6px;
	}
}

@media (min-width: 640px) {
	.error-404__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.error-404__links {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
