/*
Theme Name:   Smith Co 2026
Template:     smithco
Description:  Child theme of Smith Co. Puts the 2026 header, page hero, page components, article and blog templates on every page and holds the 2026 style guide tokens. Switch back to Smith Co to roll back.
Version:      0.5.2
Author:       Distilled Communications
Text Domain:  smithco-2026
*/

/* ==========================================================================
   2026 style guide tokens
   Same values as the --sc-* tokens in the WPCode "Main Navigation" snippet
   and the --sf-* tokens in the "Footer" snippet. This file becomes the single
   source once those snippets are retired (plan phase 6).
   ========================================================================== */

:root {
	/* Color */
	--sc-red: #D81E2C;
	--sc-red-dark: #A8141F;
	--sc-red-light: #FFEBED;
	--sc-red-on-dark: #FF9AA0;
	--sc-ink: #1A1A1A;
	--sc-ink-deeper: #0F0F0F;
	--sc-charcoal: #2C2C2C;
	--sc-cream: #FAF7F2;
	--sc-warm: #F4EFE6;
	--sc-border: #E5E0D5;
	--sc-white: #FFFFFF;

	/* Type */
	--sc-font-serif: Georgia, 'Times New Roman', serif;
	--sc-font-sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--sc-text-section: clamp(28px, 3.5vw, 40px);
	--sc-text-card: 22px;
	--sc-text-body: 16px;
	--sc-text-small: 14px;
	--sc-text-label: 12px;

	/* Layout */
	--sc-container: 1280px;
	--sc-reading: 760px;
	--sc-radius-control: 4px;
	--sc-radius-card: 8px;
	--sc-radius-pill: 100px;
}

/* ==========================================================================
   Header: compact dropdowns for About, Resources and Contact
   Reuses the Main Navigation snippet's mega menu styles at a narrower width.
   ========================================================================== */

.smithco-mega.smithco-mega-compact {
	width: 300px;
}

.smithco-mega-compact .smithco-mega-inner {
	display: block;
}

.smithco-mega-compact .smithco-mega-col {
	padding: 20px 22px;
	border: 0;
}

/* Mobile drawer: expandable items (buttons) match the plain links. */
.smithco-mobile-drawer .smithco-mobile-link-toggle {
	font-family: var(--sc-font-serif) !important;
	padding: 16px 4px !important;
}

/* ==========================================================================
   Page hero (plan phase 3)
   Replaces the 2022 photo banner on pages, posts and the blog index.
   Markup: template-parts/content/content-page-title.php
   Selectors start at .site-main so they outrank the parent's
   ".page-content h1" and the Additional CSS post H1 rule.
   ========================================================================== */

.site-main .sc-hero {
	background: var(--sc-cream);
	border-bottom: 1px solid var(--sc-border);
	padding: 56px 0 48px;
	text-align: left;
}

.site-main .sc-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	max-width: var(--sc-container);
	margin: 0 auto;
	padding: 0 24px;
}

.site-main .sc-hero--photo .sc-hero__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
}

.site-main .sc-hero .sc-hero__eyebrow {
	margin: 0 0 14px;
	font-family: var(--sc-font-sans);
	font-size: var(--sc-text-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--sc-red);
}

.site-main .sc-hero .sc-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.site-main .sc-hero .sc-hero__eyebrow a:hover,
.site-main .sc-hero .sc-hero__eyebrow a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-main .sc-hero h1.sc-hero__title {
	max-width: 24ch;
	margin: 0;
	font-family: var(--sc-font-serif);
	font-size: clamp(32px, 4.2vw, 52px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.5px;
	text-align: left;
	text-shadow: none;
	text-transform: none;
	color: var(--sc-ink);
}

/* Post titles run longer, so they sit a size smaller. */
.single .site-main .sc-hero h1.sc-hero__title {
	max-width: 30ch;
	font-size: clamp(30px, 3.4vw, 44px);
}

.site-main .sc-hero .sc-hero__intro {
	max-width: 62ch;
	margin: 18px 0 0;
	font-family: var(--sc-font-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--sc-charcoal);
}

.site-main .sc-hero__photo {
	aspect-ratio: 16 / 10;
	border-top: 4px solid var(--sc-red);
	border-radius: var(--sc-radius-card);
	background-color: var(--sc-warm);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (max-width: 1023px) {
	.site-main .sc-hero {
		padding: 40px 0 36px;
	}

	.site-main .sc-hero--photo .sc-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Hidden, so phones and tablets don't download the photo. */
	.site-main .sc-hero__photo {
		display: none;
	}
}

@media (max-width: 767px) {
	.site-main .sc-hero {
		padding: 28px 0 24px;
	}

	.site-main .sc-hero__inner {
		padding: 0 20px;
	}

	.site-main .sc-hero .sc-hero__eyebrow {
		margin-bottom: 10px;
		letter-spacing: 1.5px;
	}
}

/* ==========================================================================
   Page body components (plan phase 4)
   Markup: template-parts/content/content-page.php (pages), single.php (posts),
   template-parts/listing.php and content-card.php (blog index and archives).

   .sc-prose styles only the plain elements placed directly in a row (and in an
   unclassed div inside it), so the WPCode snippet designs, which sit in their
   own classed wrapper, keep their styles.
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

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

.site-main .sc-prose > h2,
.site-main .sc-prose > div:not([class]) > h2 {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--sc-font-serif);
	font-size: var(--sc-text-section);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.3px;
	text-align: left;
	text-transform: none;
	color: var(--sc-ink);
}

.site-main .sc-prose > * + h2 {
	margin-top: 40px;
}

.site-main .sc-prose > h3 {
	margin: 28px 0 10px;
	padding: 0;
	font-family: var(--sc-font-serif);
	font-size: var(--sc-text-card);
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
	color: var(--sc-ink);
}

.site-main .sc-prose > h2 + h3 {
	margin-top: 12px;
}

.site-main .sc-prose > h4 {
	margin: 24px 0 8px;
	font-family: var(--sc-font-sans);
	font-size: var(--sc-text-label);
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--sc-red);
}

.site-main .sc-prose > p,
.site-main .sc-prose > ul,
.site-main .sc-prose > ol,
.site-main .sc-prose > div:not([class]) > p {
	max-width: 75ch;
	margin: 0 0 16px;
	font-family: var(--sc-font-sans);
	font-size: 17px;
	line-height: 1.65;
	text-align: left;
	color: var(--sc-charcoal);
}

.site-main .sc-prose > ul,
.site-main .sc-prose > ol {
	padding-left: 1.25em;
}

.site-main .sc-prose > ul > li,
.site-main .sc-prose > ol > li {
	margin-bottom: 8px;
}

.site-main .sc-prose > ul > li::marker,
.site-main .sc-prose > ol > li::marker {
	color: var(--sc-red);
}

.site-main .sc-prose > p a:not(.btn),
.site-main .sc-prose > ul a,
.site-main .sc-prose > ol a,
.site-main .sc-prose > div:not([class]) > p a:not(.btn) {
	color: var(--sc-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.site-main .sc-prose > p a:not(.btn):hover,
.site-main .sc-prose > ul a:hover,
.site-main .sc-prose > ol a:hover {
	color: var(--sc-red-dark);
}

.site-main .sc-prose > hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--sc-border);
	opacity: 1;
}

.site-main .sc-prose > *:last-child {
	margin-bottom: 0;
}

/* Quotes (some carry inline styles from the old editor, hence !important). */
.site-main .sc-prose > blockquote,
.site-main .sc-prose > div:not([class]) > blockquote {
	max-width: 75ch;
	margin: 0 0 16px !important;
	padding: 20px 24px !important;
	border: 0 !important;
	border-left: 3px solid var(--sc-red) !important;
	border-radius: 0 var(--sc-radius-card) var(--sc-radius-card) 0 !important;
	background: var(--sc-cream) !important;
	box-shadow: none !important;
	text-align: left !important;
}

.site-main .sc-prose > blockquote p,
.site-main .sc-prose > div:not([class]) > blockquote p,
.site-main .sc-article .sc-prose > blockquote p {
	margin: 0;
	font-family: var(--sc-font-serif);
	font-size: 19px;
	font-style: italic;
	line-height: 1.5;
	text-align: left;
	color: var(--sc-ink);
}

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

.site-main .sc-prose > a.btn,
.site-main .sc-prose > p > a.btn,
.site-main .sc-prose > div:not([class]) > p > a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	margin: 8px 12px 0 0;
	padding: 14px 26px;
	border: 2px solid var(--sc-red);
	border-radius: var(--sc-radius-control);
	background: var(--sc-red);
	box-shadow: none;
	font-family: var(--sc-font-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	color: var(--sc-white) !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-main .sc-prose > a.btn:hover,
.site-main .sc-prose > p > a.btn:hover,
.site-main .sc-prose > div:not([class]) > p > a.btn:hover {
	border-color: var(--sc-red-dark);
	background: var(--sc-red-dark);
}

/* A second button in the same line is the secondary (outline) style. */
.site-main .sc-prose > p > a.btn ~ a.btn {
	border-color: var(--sc-ink);
	background: transparent;
	color: var(--sc-ink) !important;
}

.site-main .sc-prose > p > a.btn ~ a.btn:hover {
	background: var(--sc-ink);
	color: var(--sc-white) !important;
}

/* Links given a button look with inline styles in the old editor. */
.site-main .sc-prose > p > a[style*="background"],
.site-main .sc-prose > div:not([class]) > p > a[style*="background"] {
	display: inline-flex !important;
	align-items: center;
	min-height: 48px;
	margin: 8px 12px 0 0 !important;
	padding: 14px 26px !important;
	border: 2px solid var(--sc-red) !important;
	border-radius: var(--sc-radius-control) !important;
	background: var(--sc-red) !important;
	font-family: var(--sc-font-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	text-decoration: none !important;
	text-transform: uppercase;
	color: var(--sc-white) !important;
}

.site-main .sc-prose > p > a[style*="background"]:hover,
.site-main .sc-prose > div:not([class]) > p > a[style*="background"]:hover {
	border-color: var(--sc-red-dark) !important;
	background: var(--sc-red-dark) !important;
}

/* Old "well" boxes (the team member cards) as 2026 cards. */
.site-main .sc-prose > .well {
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-card);
	background: var(--sc-cream);
	box-shadow: none;
	text-align: center;
}

.site-main .sc-prose > .well > br:first-child {
	display: none;
}

.site-main .sc-prose > .well img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sc-radius-card);
}

.site-main .sc-prose > .well > h3 {
	margin: 20px 0 8px;
	font-family: var(--sc-font-serif);
	font-size: var(--sc-text-card);
	font-weight: 700;
	line-height: 1.25;
	color: var(--sc-ink);
}

.site-main .sc-prose > .well > p {
	margin: 0 0 12px;
	font-family: var(--sc-font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sc-charcoal);
}

/* Posts that carry their own design (".smcsc-root"): point its colour and font
   settings at the 2026 tokens, so those posts match the rest of the site. */
.site-main .smcsc-root {
	--a: var(--sc-red);
	--a2: var(--sc-red-dark);
	--ink: var(--sc-ink);
	--bg2: var(--sc-cream);
	--line: var(--sc-border);
	--hf: var(--sc-font-serif);
	--bf: var(--sc-font-sans);
}

/* --- Rows and spacing ---------------------------------------------------- */

.site-main .sc-row {
	margin-top: 56px;
}

.site-main .sc-row:first-child {
	margin-top: 0;
}

.site-main .sc-row + .sc-full,
.site-main .sc-full + .sc-full,
.site-main .sc-row ~ .sc-entry-row.is-filled,
.site-main .sc-full ~ .sc-entry-row.is-filled {
	margin-top: 48px;
}

/* Two columns; the split (editor's column size) is set inline by the template. */
.site-main .sc-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: stretch;
}

/* Cards in a row of three or four. */
.site-main .sc-grid {
	display: grid;
	gap: 24px;
}

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

.site-main .sc-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Columns sized out of 12, with 24px gaps. */
.site-main .sc-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.site-main .sc-flex__col {
	flex: 1 1 0;
	min-width: 0;
}

.site-main .sc-flex__col[style] {
	flex: 0 0 calc((100% - 264px) / 12 * var(--sc-span) + 24px * (var(--sc-span) - 1));
}

/* --- Cards --------------------------------------------------------------- */

.site-main .sc-card {
	overflow: hidden;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-card);
	background: var(--sc-white);
}

.site-main .sc-card.sc-prose,
.site-main .sc-card__body {
	padding: 28px;
}

.site-main .sc-card__image {
	aspect-ratio: 16 / 10;
	background-color: var(--sc-warm);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-main .sc-card > h2,
.site-main .sc-card__body > h2 {
	font-size: var(--sc-text-card);
}

/* --- Callout: photo beside text ------------------------------------------ */

.site-main .sc-callout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	overflow: hidden;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-card);
	background: var(--sc-cream);
}

.site-main .sc-callout--image-right {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.site-main .sc-callout--image-right .sc-callout__image {
	order: 2;
}

.site-main .sc-callout__image {
	min-height: 320px;
	background-color: var(--sc-warm);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-main .sc-callout__text {
	align-self: center;
	padding: 48px;
}

/* --- Band: full-width message, dark over a photo, or cream ---------------- */

.site-main .sc-band {
	position: relative;
	overflow: hidden;
	border-radius: var(--sc-radius-card);
}

.site-main .sc-band--plain {
	border: 1px solid var(--sc-border);
	background: var(--sc-cream);
}

.site-main .sc-band--photo {
	border-top: 4px solid var(--sc-red);
	background-color: var(--sc-ink-deeper);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-main .sc-band--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.86);
}

.site-main .sc-band__inner {
	position: relative;
	padding: 56px;
}

.site-main .sc-band--photo .sc-band__inner > h2,
.site-main .sc-band--photo .sc-band__inner > h3 {
	color: var(--sc-white);
}

.site-main .sc-band--photo .sc-band__inner > p,
.site-main .sc-band--photo .sc-band__inner > ul,
.site-main .sc-band--photo .sc-band__inner > ol {
	color: rgba(255, 255, 255, 0.86);
}

.site-main .sc-band--photo .sc-band__inner > p a:not(.btn),
.site-main .sc-band--photo .sc-band__inner > ul a {
	color: var(--sc-red-on-dark);
}

/* --- Testimonials page (parent's testimonials template) ------------------- */

.site-main .testimonials-page {
	margin-top: 24px;
	padding: 0;
}

.site-main .testimonials-page .testimonial-item {
	max-width: 820px;
	margin: 0 0 20px;
}

.site-main .testimonials-page .testimonial-item figure {
	margin: 0;
}

.site-main .testimonials-page .testimonial-item blockquote {
	margin: 0;
	padding: 28px 32px;
	border: 0;
	border-left: 3px solid var(--sc-red);
	border-radius: 0 var(--sc-radius-card) var(--sc-radius-card) 0;
	background: var(--sc-cream);
	text-align: left;
}

.site-main .testimonials-page .testimonial-item blockquote em {
	display: block;
	font-family: var(--sc-font-serif);
	font-size: 19px;
	font-style: italic;
	line-height: 1.55;
	color: var(--sc-ink);
}

.site-main .testimonials-page .testimonial-item blockquote em p {
	margin: 0 0 12px;
	font: inherit;
	color: inherit;
}

.site-main .testimonials-page .testimonial-item cite {
	display: block;
	margin-top: 14px;
	font-family: var(--sc-font-sans);
	font-size: var(--sc-text-label);
	font-style: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sc-red);
}

/* --- Article (single posts) ---------------------------------------------- */

.site-main .sc-article {
	max-width: 800px;
	margin: 0 auto;
}

.site-main .sc-article--own-hero {
	max-width: 960px;
}

.site-main .sc-article__meta {
	margin: 0 0 24px;
	font-family: var(--sc-font-sans);
	font-size: var(--sc-text-label);
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sc-charcoal);
}

.site-main .sc-article__image {
	margin: 0 0 32px;
	overflow: hidden;
	border-radius: var(--sc-radius-card);
}

.site-main .sc-article__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Outrank the Additional CSS post rules (".wp-singular.post-template-default h2"). */
.site-main .sc-article .sc-prose > h2 {
	padding: 0;
	font-size: clamp(26px, 3vw, 32px);
}

.site-main .sc-article .sc-prose > h3 {
	padding: 0;
	font-size: 22px;
}

.site-main .sc-article .sc-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sc-radius-card);
}

/* --- Post cards, "Recent Posts" and the blog listing ----------------------- */

.site-main .sc-recent {
	padding: 56px 0 64px;
	border-top: 1px solid var(--sc-border);
	background: var(--sc-cream);
}

.site-main .sc-recent__inner {
	max-width: var(--sc-container);
	margin: 0 auto;
	padding: 0 24px;
}

.site-main .sc-recent .sc-recent__title {
	margin: 0 0 24px;
	font-family: var(--sc-font-serif);
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--sc-ink);
}

.site-main .sc-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.site-main .sc-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-card);
	background: var(--sc-white);
}

.site-main .sc-post-card__image {
	display: block;
	background: var(--sc-warm);
}

.site-main .sc-post-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.site-main .sc-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.site-main .sc-post-card .sc-post-card__date {
	margin: 0 0 8px;
	font-family: var(--sc-font-sans);
	font-size: var(--sc-text-label);
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sc-red);
}

.site-main .sc-post-card .sc-post-card__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--sc-font-serif);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

.site-main .sc-post-card .sc-post-card__title a {
	color: var(--sc-ink);
	text-decoration: none;
}

.site-main .sc-post-card .sc-post-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-main .sc-post-card__excerpt p {
	margin: 0 0 16px;
	font-family: var(--sc-font-sans);
	font-size: 15px;
	line-height: 1.6;
	color: var(--sc-charcoal);
}

.site-main .sc-post-card .sc-post-card__more {
	margin-top: auto;
	font-family: var(--sc-font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--sc-red);
}

.site-main .sc-post-card .sc-post-card__more:hover {
	color: var(--sc-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-main .sc-pagination {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}

.site-main .sc-pagination a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid var(--sc-ink);
	border-radius: var(--sc-radius-control);
	font-family: var(--sc-font-sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--sc-ink);
}

.site-main .sc-pagination a:hover {
	background: var(--sc-ink);
	color: var(--sc-white);
}

/* --- Smaller screens ----------------------------------------------------- */

@media (max-width: 1023px) {
	.site-main .sc-grid--3,
	.site-main .sc-grid--4,
	.site-main .sc-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-main .sc-callout__text {
		padding: 36px;
	}

	.site-main .sc-band__inner {
		padding: 44px 36px;
	}
}

@media (max-width: 767px) {
	.site-main .sc-row {
		margin-top: 40px;
	}

	.site-main .sc-row + .sc-full,
	.site-main .sc-full + .sc-full,
	.site-main .sc-row ~ .sc-entry-row.is-filled,
	.site-main .sc-full ~ .sc-entry-row.is-filled {
		margin-top: 36px;
	}

	.site-main .sc-cols {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 24px;
	}

	.site-main .sc-grid--3,
	.site-main .sc-grid--4,
	.site-main .sc-post-grid,
	.site-main .sc-callout,
	.site-main .sc-callout--image-right {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.site-main .sc-callout {
		gap: 0;
	}

	.site-main .sc-flex__col,
	.site-main .sc-flex__col[style] {
		flex: 1 1 100%;
	}

	.site-main .sc-callout--image-right .sc-callout__image {
		order: 0;
	}

	.site-main .sc-callout__image {
		min-height: 200px;
	}

	.site-main .sc-callout__text {
		padding: 28px 24px;
	}

	.site-main .sc-band__inner {
		padding: 36px 24px;
	}

	.site-main .sc-prose > p,
	.site-main .sc-prose > ul,
	.site-main .sc-prose > ol,
	.site-main .sc-prose > div:not([class]) > p {
		font-size: 16px;
	}

	.site-main .sc-prose > p > a.btn,
	.site-main .sc-prose > a.btn {
		width: 100%;
		margin-right: 0;
	}
}

/* ==========================================================================
   Search box, search results and "not found" page (plan phase 5)
   Markup: template-parts/searchform.php, search.php, 404.php
   ========================================================================== */

.site-main .sc-search {
	display: flex;
	gap: 12px;
	max-width: 640px;
	margin: 0 0 40px;
}

.site-main .sc-not-found .sc-search {
	margin: 24px 0 8px;
}

.site-main .sc-search__field {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid rgba(26, 26, 26, 0.45);
	border-radius: var(--sc-radius-control);
	background: var(--sc-white);
	font-family: var(--sc-font-sans);
	font-size: 16px;
	color: var(--sc-ink);
}

.site-main .sc-search__field:focus {
	border-color: var(--sc-red);
	outline: 2px solid var(--sc-red);
	outline-offset: 1px;
}

.site-main .sc-search__button {
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid var(--sc-ink);
	border-radius: var(--sc-radius-control);
	background: var(--sc-ink);
	font-family: var(--sc-font-sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sc-white);
	cursor: pointer;
}

.site-main .sc-search__button:hover,
.site-main .sc-search__button:focus-visible {
	border-color: var(--sc-charcoal);
	background: var(--sc-charcoal);
}

@media (max-width: 767px) {
	.site-main .sc-search {
		flex-direction: column;
	}
}