/*
Theme Name: Cut Above Carpentry Theme
Theme URI: https://cutabovecarpentry.ca/
Author: King Tide Marketing
Description: Custom classic theme for Cut Above Carpentry & General Contracting, with in-theme Gutenberg blocks.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cutabove
*/

/* Templates that are not built from blocks: plain-text pages (privacy policy),
 * the index fallback and the interim 404. Tokens, base and shared pieces live in
 * assets/css/design-system.css; do NOT declare `body` here (it loads later and
 * would clobber the design's font). */

.ca-prose {
	max-width: 760px;
	padding-block: clamp(48px, 6vw, 80px) var(--ca-section);
}
.ca-prose h1 {
	margin-bottom: 24px;
	font-size: var(--ca-h2);
	line-height: 1.08;
	letter-spacing: -0.022em;
}
.ca-prose h2 {
	margin: 1.6em 0 0.5em;
	font-size: 1.5rem;
	line-height: 1.2;
}
.ca-prose h3 {
	margin: 1.4em 0 0.4em;
	font-size: 1.125rem;
}
.ca-prose p,
.ca-prose ul,
.ca-prose ol {
	margin: 0 0 1em;
}
.ca-prose__image {
	width: 100%;
	margin: 0 0 24px;
	border-radius: var(--ca-img-radius);
}
.ca-prose a {
	color: var(--ca-copper-ink);
	text-underline-offset: 3px;
}

.ca-404 h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.ca-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.ca-404__links a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--ca-rule);
	border-radius: 999px;
	background: #fff;
	color: var(--ca-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}
.ca-404__links a:hover,
.ca-404__links a:focus-visible {
	border-color: var(--ca-copper);
}
.ca-404__call {
	margin-top: 24px;
	font-size: var(--ca-lead);
}
.ca-404__call a {
	color: var(--ca-ink);
	font-weight: 700;
	text-decoration-color: var(--ca-copper);
	text-underline-offset: 4px;
}
