/*
Theme Name: Raparapu
Theme URI: https://raparapu.com
Author: Raparapu
Author URI: https://raparapu.com
Description: A black and white company theme for Raparapu with a ready-to-use blog. Activate it and the homepage, blog page and main menu are set up for you. Edit every homepage text in Appearance > Customize > Raparapu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raparapu
Tags: blog, one-column, grid-layout, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, editor-style, wide-blocks
*/

/* ---------- Font ---------- */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--black: #000;
	--white: #fff;
	--graphite: #5c5c5c;
	--rule: #d9d9d9;
	--mist: #f2f2f2;

	--font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--narrow: 44rem;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(4.5rem, 10vw, 8rem);
	--corner: 0 1.25em 0 0; /* echoes the shoulder of the r in the logo */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
	margin: 0;
	background: var(--white);
	color: var(--black);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--white); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(1100px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--black); color: var(--white); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9em 1.5em;
	background: var(--black); color: var(--white);
	border: 2px solid var(--black); border-radius: var(--corner);
	font: inherit; font-weight: 600; line-height: 1.1; text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--small { padding: .6em 1.1em; font-size: .9375rem; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: var(--black); color: var(--white); }

.link-arrow { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-arrow:hover { text-decoration-thickness: 3px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--rule);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1.5rem; }

.site-logo, .custom-logo-link { display: inline-flex; flex-shrink: 0; }
.site-logo img { height: 28px; width: auto; }
.custom-logo { max-height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav .menu { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { font-weight: 500; text-decoration: none; }
.site-nav .menu a:hover,
.site-nav .current-menu-item > a:not([href*="#"]),
.site-nav .current_page_parent > a:not([href*="#"]) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none; align-items: center; gap: .6rem;
	background: none; border: 0; padding: .5rem 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 859px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 1.5rem;
		padding: 1.5rem var(--gutter) 2rem;
		background: var(--white); border-bottom: 1px solid var(--rule);
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: .8rem 0; font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--rule); }
	.site-nav .btn { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem); }
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "title mark" "foot foot";
	column-gap: clamp(2rem, 5vw, 5rem);
	row-gap: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}
.hero__title {
	grid-area: title;
	margin: 0;
	font-size: clamp(2.75rem, 7vw, 6.25rem);
	font-weight: 750;
	line-height: .98;
	letter-spacing: -.035em;
	max-width: 13ch;
	text-wrap: balance;
}
.hero__mark { grid-area: mark; width: clamp(9rem, 24vw, 21rem); }
.hero__mark svg { width: 100%; }
.hero__foot {
	grid-area: foot;
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 2rem 4rem; align-items: end;
	padding-top: 2rem; border-top: 2px solid var(--black);
}
.hero__text { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; justify-self: end; }

/* The one moment of motion: the two r's rise into the mark on load. */
.hero__r { transform-box: fill-box; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero__r--2 { animation-delay: .14s; }
@keyframes rise { from { transform: translateY(140%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.hero__r { animation: none; }
	html { scroll-behavior: auto; }
}

@media (max-width: 759px) {
	.hero__grid { grid-template-columns: 1fr; grid-template-areas: "mark" "title" "foot"; }
	.hero__mark { width: 5.5rem; }
	.hero__foot { grid-template-columns: 1fr; }
	.hero__actions { justify-self: start; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.03em; margin: 0 0 .4em; }
.section-title--small { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-intro { color: var(--graphite); max-width: 36ch; margin: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head .section-title { margin: 0; }

/* Services */
.services { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.split__head { align-self: start; position: sticky; top: 110px; }
.service-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.service {
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: .5rem 2rem;
	padding: 1.75rem 0; border-top: 1px solid var(--rule);
}
.service:first-child { border-top: 2px solid var(--black); }
.service__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0; letter-spacing: -.02em; }
.service__text { margin: 0; color: var(--graphite); }
@media (max-width: 859px) {
	.split { grid-template-columns: 1fr; }
	.split__head { position: static; }
	.service { grid-template-columns: 1fr; }
}

/* Home page editor content */
.home-content { border-top: 1px solid var(--rule); }
.home-content .entry-content { max-width: var(--narrow); }

/* Process */
.process { background: var(--mist); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--black); padding-top: 1.25rem; }
.step::before {
	content: counter(step);
	display: block; margin-bottom: 1.5rem;
	font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 750; line-height: 1; letter-spacing: -.04em;
	font-variant-numeric: lining-nums;
}
.step__title { font-size: 1.35rem; margin: 0 0 .4rem; }
.step__text { margin: 0; color: var(--graphite); }
@media (max-width: 959px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 2rem; }
@media (max-width: 959px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .card-grid { grid-template-columns: 1fr; gap: 3rem; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); margin-bottom: 1.1rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.card__placeholder img { width: 56px; height: 56px; }
.card__title { font-size: 1.4rem; line-height: 1.2; margin: .15rem 0 .5rem; letter-spacing: -.02em; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__excerpt { color: var(--graphite); margin: 0; }

.mono-images .card__media img,
.mono-images .article__image img { filter: grayscale(1); }
.mono-images .card:hover .card__media img { filter: none; }

.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; padding-bottom: 3.5rem; border-bottom: 1px solid var(--rule); }
.card--featured .card__media { margin: 0; }
.card--featured .card__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.05; margin-bottom: .75rem; }
.card--featured .card__excerpt { margin-bottom: 1.5rem; font-size: 1.125rem; }
@media (max-width: 759px) { .card--featured { grid-template-columns: 1fr; } }

.post-meta { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; font-size: .875rem; color: var(--graphite); }
.post-meta__cat { color: var(--black); font-weight: 600; text-decoration: none; }
.post-meta__cat:hover { text-decoration: underline; }
.post-meta__sep { color: var(--rule); }

/* ---------- Contact ---------- */
.contact { background: var(--black); color: var(--white); }
.contact .section-intro { color: #bdbdbd; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__email {
	display: inline-block; margin-top: 2.5rem;
	font-size: clamp(2rem, 5.2vw, 4.5rem); font-weight: 750; line-height: 1; letter-spacing: -.035em;
	text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em;
	overflow-wrap: anywhere;
}
.contact__email:hover { text-decoration-thickness: 6px; }
@media (max-width: 859px) { .contact__grid { grid-template-columns: 1fr; } }

.contact-form .field { margin: 0 0 1.5rem; }
.contact-form label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .4rem; }
.contact-form input, .contact-form textarea {
	width: 100%; padding: .7rem 0;
	background: transparent; color: var(--white);
	border: 0; border-bottom: 2px solid #6b6b6b; border-radius: 0;
	font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--white); }
.contact-form textarea { resize: vertical; min-height: 7rem; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: .9rem 1rem; margin: 0 0 1.5rem; font-weight: 500; border: 2px solid var(--white); }
.form-notice--ok { background: var(--white); color: var(--black); }

/* ---------- Page header and listings ---------- */
.page-head { padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem; border-bottom: 1px solid var(--rule); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-head__title { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.035em; line-height: 1; margin: 0; }
.page-head__desc { color: var(--graphite); max-width: 52ch; margin-top: 1rem; }
.page-head__desc p:last-child { margin-bottom: 0; }
.page-head .search-form { margin-top: 1.75rem; }
.page-head--404 { border-bottom: 0; }
.page-head--404 .btn { margin-top: 1.5rem; }

.listing { padding-bottom: var(--section); }

.filter { margin-top: 2rem; }
.filter ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.filter a {
	display: inline-block; padding: .4em 1em; font-size: .9375rem; font-weight: 500; text-decoration: none;
	border: 1px solid var(--rule); border-radius: var(--corner);
}
.filter a:hover { border-color: var(--black); }
.filter a[aria-current] { background: var(--black); color: var(--white); border-color: var(--black); }

.search-form { display: flex; gap: .5rem; max-width: 30rem; }
.search-form input {
	flex: 1; min-width: 0; padding: .6rem .9rem; font: inherit;
	border: 2px solid var(--black); border-radius: 0; background: var(--white);
}

.pagination { margin-top: 4rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .9rem;
	border: 1px solid var(--rule); text-decoration: none; font-weight: 600;
}
.pagination a:hover { border-color: var(--black); }
.pagination .current { background: var(--black); color: var(--white); border-color: var(--black); }

.empty { padding: 2rem 0; max-width: 40rem; }
.empty .search-form { margin-top: 1rem; }

/* ---------- Single article ---------- */
.article__head { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: 2rem; }
.article__back { margin-bottom: 1.5rem; font-weight: 600; }
.article__back a { text-decoration: none; }
.article__back a::before { content: "\2190\00a0"; }
.article__back a:hover { text-decoration: underline; }
.article__title { font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.25rem; text-wrap: balance; }
.article__lede { font-size: 1.3rem; line-height: 1.45; color: var(--graphite); margin-bottom: 1.5rem; }
.article__image { margin-top: 1rem; margin-bottom: 3rem; }
.article__image img { width: 100%; }
.article__image figcaption { font-size: .875rem; color: var(--graphite); margin-top: .6rem; }
.article__foot { padding-bottom: var(--section); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 3rem 0 0; padding: 0; }
.tags a { display: inline-block; padding: .3em .85em; font-size: .875rem; text-decoration: none; background: var(--mist); }
.tags a::before { content: "#"; color: var(--graphite); }
.tags a:hover { background: var(--black); color: var(--white); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 2.5rem; padding: 1.25rem 0; border-top: 2px solid var(--black); border-bottom: 1px solid var(--rule); }
.share__label { font-weight: 700; }
.share__list { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.share__copy { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

.author { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; }
.author img { border-radius: 50%; flex-shrink: 0; filter: grayscale(1); }
.author__name { font-weight: 700; margin: 0; }
.author__bio { color: var(--graphite); margin: .25rem 0 0; font-size: 1rem; }

.post-navigation { margin-top: 3rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post-navigation a { display: block; text-decoration: none; padding-top: 1rem; border-top: 1px solid var(--rule); }
.post-navigation a:hover .post-nav__title { text-decoration: underline; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-nav__label { display: block; font-size: .875rem; color: var(--graphite); margin-bottom: .25rem; }
.post-nav__title { font-weight: 700; line-height: 1.25; }

.related { background: var(--mist); }
.related .card__media { background: var(--white); }

/* ---------- Content typography ---------- */
.entry-content { font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 900px) { .entry-content { font-size: 1.1875rem; } }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 1.85em; margin-top: 2em; margin-bottom: .6em; letter-spacing: -.025em; }
.entry-content h3 { font-size: 1.4em; margin-top: 1.75em; margin-bottom: .5em; }
.entry-content h4 { font-size: 1.15em; margin-top: 1.5em; margin-bottom: .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { text-decoration-thickness: 2px; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-left: 0; margin-right: 0; padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--black); font-size: 1.2em; line-height: 1.5; font-weight: 500;
}
.entry-content blockquote cite { display: block; margin-top: .75em; font-size: .75em; font-style: normal; color: var(--graphite); }
.entry-content .wp-block-pullquote { border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); padding: 2em 0; }
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: var(--mist); padding: .1em .35em; }
.entry-content pre { background: var(--black); color: var(--white); padding: 1.25em 1.5em; overflow-x: auto; font-size: .85em; line-height: 1.55; }
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 3em 0; }
.entry-content img { height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-caption-text { font-size: .8125rem; color: var(--graphite); margin-top: .5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9em; }
.entry-content th, .entry-content td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--rule); }
.entry-content th { border-bottom: 2px solid var(--black); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .alignwide { max-width: min(1100px, 100vw - var(--gutter) * 2); margin-left: 50%; transform: translateX(-50%); width: min(1100px, 100vw - var(--gutter) * 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-button__link { background: var(--black); color: var(--white); border-radius: var(--corner); font-weight: 600; padding: .85em 1.4em; text-decoration: none; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--black); border: 2px solid var(--black); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { /* WordPress core classes */ }
.page-links { margin: 2em 0; font-weight: 600; }

/* ---------- Comments ---------- */
.comments-wrap { padding-bottom: var(--section); }
.comments { border-top: 2px solid var(--black); padding-top: 2rem; }
.comments__title { font-size: 1.6rem; margin-bottom: 1.5rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.comment-author img { border-radius: 50%; filter: grayscale(1); }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8125rem; color: var(--graphite); margin: .2rem 0 .75rem; }
.comment-metadata a { text-decoration: none; }
.comment-content p:last-child { margin-bottom: .5rem; }
.reply a { font-size: .875rem; font-weight: 600; }
.comment-respond { margin-top: 2.5rem; }
.comment-form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .7rem .8rem; font: inherit; border: 2px solid var(--black); border-radius: 0; background: var(--white);
}
.comment-form .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: baseline; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { font-size: .9375rem; color: var(--graphite); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.contact + .site-footer, .site-main:has(> .contact:last-child) + .site-footer { border-top: 0; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(10rem, 1fr)); gap: 2.5rem 3rem; }
.site-footer__brand p { color: var(--graphite); max-width: 32ch; margin-top: 1.25rem; }
.site-footer__title { font-size: 1rem; margin-bottom: .9rem; }
.site-footer__col p { margin: 0 0 .5rem; }
.site-footer__menu, .site-footer__social { list-style: none; margin: 0; padding: 0; }
.site-footer__menu li, .site-footer__social li { margin-bottom: .45rem; }
.site-footer__menu a, .site-footer__social a { text-decoration: none; }
.site-footer__menu a:hover, .site-footer__social a:hover { text-decoration: underline; }
.site-footer__social { margin-top: 1rem; }
.footer-widget { margin-bottom: 1.5rem; }
.footer-widget__title { font-size: 1rem; margin-bottom: .9rem; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--graphite); }
.site-footer__bottom p { margin: 0; }
.to-top { text-decoration: none; }
.to-top:hover { text-decoration: underline; }
@media (max-width: 759px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .share, .related, .comments-wrap, .post-navigation { display: none; }
}

/* Default block widgets in the footer */
.footer-widget h2, .footer-widget .wp-block-heading { font-size: 1rem; margin: 0 0 .9rem; letter-spacing: -.01em; }
.footer-widget ul { margin-bottom: 1.75rem; }
.footer-widget li { margin-bottom: .45rem; }
.footer-widget a { text-decoration: none; }
.footer-widget a:hover { text-decoration: underline; }
.footer-widget .wp-block-group > * + * { margin-top: 0; }
