/*
Theme Name: Parking Space Company
Theme URI: https://parkingspacecompany.com/
Author: The Parking Space Company
Description: Listings theme for The Parking Space Company. Pairs with the PSC Listings plugin, which holds all listing data so this theme can be swapped without losing a thing.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
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: psc-theme
Tags: custom-menu, featured-images, translation-ready, blog
*/

/* ---------------------------------------------------------------- tokens */

:root {
	--paper: #fbf9f5;
	--white: #ffffff;
	--tint: #e8e2d6;
	--line: #e0d9cb;
	--line-strong: #cfc6b4;

	--ink: #1a1a17;
	--ink-soft: #45453c;
	--ink-mute: #6b6b5e;

	--accent: #2b2e6e;
	--accent-dark: #1d1f4e;
	--accent-soft: #d4d5ea;
	--accent-mute: #a7a9d2;

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Karla", "Segoe UI", system-ui, sans-serif;

	--wrap: 1240px;
	--wrap-narrow: 760px;
	--gutter: 32px;
	--radius: 3px;
}

@media (max-width: 640px) {
	:root {
		--gutter: 20px;
	}
}

/* ------------------------------------------------------------------ base */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: var(--accent-dark);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin: 0 0 0.5em;
	text-wrap: pretty;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.625rem, 3vw, 2.125rem);
}

h3 {
	font-size: 1.3rem;
	font-weight: 500;
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	margin: 0 0 1.1em;
	padding-left: 1.2em;
}

blockquote {
	margin: 1.6em 0;
	padding-left: 20px;
	border-left: 2px solid var(--accent);
	font-family: var(--serif);
	font-size: 1.2rem;
}

code,
pre {
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	background: var(--white);
	border: 1px solid var(--line);
	padding: 16px;
}

table {
	border-collapse: collapse;
	width: 100%;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2.5rem 0;
}

figure {
	margin: 1.8em 0;
}

figcaption {
	font-size: 0.875rem;
	color: var(--ink-mute);
	margin-top: 8px;
}

/* --------------------------------------------------------------- layout */

.psc-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.psc-wrap--narrow {
	max-width: var(--wrap-narrow);
}

.psc-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: var(--white);
	padding: 12px 18px;
	z-index: 100;
}

.psc-skip:focus {
	left: 8px;
	top: 8px;
	color: var(--white);
}

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

/* --------------------------------------------------------------- header */

.psc-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: relative;
}

.psc-header__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	min-height: 80px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.psc-brand {
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-decoration: none;
	padding: 18px 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.psc-brand:hover {
	color: var(--accent);
}

.psc-brand img {
	max-height: 44px;
	width: auto;
}

.psc-nav-toggle {
	margin-left: auto;
	display: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	background: transparent;
	border: 1.5px solid var(--accent);
	color: var(--accent);
	padding: 11px 16px;
	border-radius: var(--radius);
	cursor: pointer;
	min-height: 44px;
}

.psc-nav {
	margin-left: auto;
}

.psc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px;
}

.psc-nav a {
	font-size: 0.95rem;
	color: var(--ink-soft);
	text-decoration: none;
}

.psc-nav a:hover,
.psc-nav .current-menu-item > a {
	color: var(--accent);
}

.psc-header__cta {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--accent);
	border: 1.5px solid var(--accent);
	padding: 12px 20px;
	border-radius: var(--radius);
	text-decoration: none;
	min-height: 44px;
}

.psc-header__cta:hover {
	background: var(--accent);
	color: var(--white);
}

@media (max-width: 880px) {
	.psc-nav-toggle {
		display: inline-block;
	}

	.psc-nav {
		flex-basis: 100%;
		margin-left: 0;
		display: none;
		padding-bottom: 20px;
	}

	.psc-nav.is-open {
		display: block;
	}

	.psc-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.psc-nav a {
		display: block;
		padding: 11px 0;
		font-size: 1.05rem;
	}
}

/* -------------------------------------------------------------- buttons */

.psc-btn {
	display: inline-block;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	padding: 15px 28px;
	min-height: 48px;
	cursor: pointer;
}

.psc-btn--primary {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--white);
}

.psc-btn--primary:hover,
.psc-btn--primary:focus {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: var(--white);
}

.psc-btn--ghost {
	background: transparent;
	border-color: var(--accent);
	color: var(--accent);
}

.psc-btn--ghost:hover {
	background: var(--accent);
	color: var(--white);
}

.psc-btn--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--accent);
}

.psc-btn--light:hover {
	background: var(--accent-soft);
	border-color: var(--accent-soft);
	color: var(--accent-dark);
}

.psc-btn--block {
	display: block;
	width: 100%;
}

/* ---------------------------------------------------------------- forms */

label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-mute);
	display: block;
	margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="password"],
select,
textarea {
	font: inherit;
	font-size: 1rem;
	width: 100%;
	padding: 13px 14px;
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--ink);
	min-height: 48px;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

::placeholder {
	color: var(--ink-mute);
	opacity: 1;
}

/* --------------------------------------------------------------- search */

.psc-search {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: 0 1px 2px rgba(26, 26, 23, 0.04);
}

.psc-search__main {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
}

.psc-search__field {
	margin: 0;
	flex: 1 1 170px;
	min-width: 0;
}

.psc-search__field--where {
	flex: 999 1 240px;
}

.psc-search__field--narrow {
	flex: 1 1 120px;
}

.psc-search__submit {
	flex: 0 0 auto;
}

.psc-search__more {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	margin-top: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
	.psc-search__submit {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ hero */

.psc-hero {
	padding: 64px 0 0;
}

.psc-hero__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}

.psc-hero__copy {
	flex: 999 1 420px;
	min-width: 0;
}

.psc-hero__copy h1 {
	max-width: 16ch;
	margin-bottom: 20px;
}

.psc-hero__lede {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 50ch;
	margin-bottom: 32px;
}

.psc-hero__media {
	flex: 1 1 360px;
	min-width: 0;
	min-height: 440px;
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.psc-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psc-hero__placeholder {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
	text-align: center;
	padding: 24px;
}

@media (max-width: 760px) {
	.psc-hero {
		padding-top: 40px;
	}

	.psc-hero__media {
		min-height: 260px;
	}
}

/* -------------------------------------------------------------- sections */

.psc-section {
	padding: 80px 0 0;
}

.psc-section--last {
	padding-bottom: 88px;
}

.psc-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.psc-section__head h2 {
	margin: 0;
}

.psc-section__more {
	margin-left: auto;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.psc-band {
	background: var(--accent);
	color: var(--white);
	margin-top: 80px;
}

.psc-band__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
	padding: 72px 0;
}

.psc-band__copy {
	flex: 999 1 400px;
	min-width: 0;
}

.psc-band h2 {
	color: var(--white);
	max-width: 22ch;
	margin-bottom: 16px;
}

.psc-band p {
	color: var(--accent-soft);
	font-size: 1.1rem;
	max-width: 48ch;
	margin-bottom: 28px;
}

.psc-band__stats {
	flex: 1 1 240px;
	min-width: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.psc-band__stats dt {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-mute);
}

.psc-band__stats dd {
	margin: 4px 0 0;
	font-family: var(--serif);
	font-size: 1.85rem;
	color: var(--white);
}

/* ----------------------------------------------------------- path cards */

.psc-paths {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}

.psc-path {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.psc-path:hover {
	border-color: var(--accent);
	color: inherit;
}

.psc-path h3 {
	margin: 0;
	font-size: 1.35rem;
}

.psc-path p {
	margin: 0;
	font-size: 0.97rem;
	color: var(--ink-soft);
}

.psc-path__go {
	margin-top: 6px;
	font-family: var(--sans);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--accent);
}

.psc-path--dark {
	background: var(--ink);
	border-color: var(--ink);
}

.psc-path--dark h3 {
	color: var(--white);
}

.psc-path--dark p {
	color: #c9c6bb;
}

.psc-path--dark .psc-path__go {
	color: var(--white);
}

/* --------------------------------------------------------- listing grid */

.psc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 32px 28px;
}

.psc-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.psc-card__media {
	position: relative;
	display: block;
	min-height: 220px;
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.psc-card__media img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.psc-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

.psc-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.psc-card__meta {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.psc-card__title {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.25;
}

.psc-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.psc-card__title a:hover {
	color: var(--accent);
}

.psc-card__where {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ink-mute);
}

.psc-card__price {
	margin: 8px 0 0;
}

.psc-card__link {
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	margin-top: 4px;
}

.psc-price {
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 500;
	color: var(--ink);
}

.psc-price__period {
	font-family: var(--sans);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--ink-mute);
}

.psc-price--none {
	font-size: 1.15rem;
	color: var(--ink-mute);
}

/* -------------------------------------------------------- archive layout */

.psc-archive {
	padding: 48px 0 88px;
}

.psc-archive__head {
	margin-bottom: 28px;
}

.psc-archive__head h1 {
	margin-bottom: 8px;
}

.psc-archive__count {
	margin: 0;
	color: var(--ink-mute);
	font-size: 0.97rem;
}

.psc-archive__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 28px 0 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.psc-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.psc-sort__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

.psc-sort ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psc-sort a {
	font-size: 0.92rem;
	text-decoration: none;
	color: var(--ink-soft);
}

.psc-sort a[aria-current="true"] {
	color: var(--accent);
	font-weight: 700;
	text-decoration: underline;
}

.psc-empty {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px;
	text-align: center;
}

.psc-empty h2 {
	margin-bottom: 10px;
}

.psc-empty p {
	color: var(--ink-soft);
	max-width: 52ch;
	margin: 0 auto 20px;
}

/* --------------------------------------------------------- single listing */

.psc-listing {
	padding: 40px 0 88px;
}

.psc-listing__breadcrumb {
	font-size: 0.9rem;
	color: var(--ink-mute);
	margin-bottom: 20px;
}

.psc-listing__breadcrumb a {
	text-decoration: none;
}

.psc-listing__head {
	margin-bottom: 28px;
}

.psc-listing__offer {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}

.psc-listing__head h1 {
	margin-bottom: 10px;
}

.psc-listing__where {
	font-size: 1.05rem;
	color: var(--ink-mute);
	margin: 0;
}

.psc-listing__layout {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.psc-listing__main {
	flex: 999 1 520px;
	min-width: 0;
}

.psc-listing__aside {
	flex: 1 1 320px;
	min-width: 0;
	position: sticky;
	top: 24px;
}

@media (max-width: 900px) {
	.psc-listing__aside {
		position: static;
	}
}

.psc-gallery__main {
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 12px;
}

.psc-gallery__main img {
	width: 100%;
	display: block;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.psc-gallery__placeholder {
	aspect-ratio: 3 / 2;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

.psc-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.psc-gallery__thumbs img {
	width: 100%;
	height: 72px;
	object-fit: cover;
	display: block;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.psc-gallery__thumbs a:hover img {
	border-color: var(--accent);
}

.psc-listing__body {
	font-size: 1.05rem;
}

.psc-listing__body h2 {
	font-size: 1.5rem;
	margin-top: 1.6em;
}

.psc-specs {
	margin: 0 0 36px;
	border-top: 1px solid var(--line);
}

.psc-specs div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}

.psc-specs dt {
	flex: 0 0 180px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-mute);
	padding-top: 2px;
}

.psc-specs dd {
	margin: 0;
	flex: 1 1 200px;
	min-width: 0;
}

.psc-pricebox {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	margin-bottom: 20px;
}

.psc-pricebox .psc-price {
	font-size: 2.1rem;
}

.psc-pricebox__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin: 0 0 6px;
}

.psc-pricebox__actions {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* -------------------------------------------------------- contact form */

.psc-contact {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	scroll-margin-top: 24px;
}

.psc-contact__title {
	margin: 0 0 6px;
	font-size: 1.4rem;
}

.psc-contact__row {
	margin: 0 0 16px;
}

.psc-optional {
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.psc-contact__submit {
	width: 100%;
}

.psc-contact__small {
	margin: 14px 0 0;
	font-size: 0.85rem;
	color: var(--ink-mute);
}

.psc-contact__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.psc-notice {
	border-radius: var(--radius);
	padding: 14px 16px;
	margin: 0 0 18px;
	font-size: 0.97rem;
}

.psc-notice p {
	margin: 0;
}

.psc-notice--ok {
	background: var(--accent-soft);
	border: 1px solid var(--accent-mute);
	color: var(--accent-dark);
}

.psc-notice--error {
	background: #fdeceb;
	border: 1px solid #e3a9a6;
	color: #7a1f1c;
}

/* ------------------------------------------------------------ term chips */

.psc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psc-chips a,
.psc-chip {
	display: inline-block;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 11px 15px;
	color: var(--ink);
	min-height: 44px;
}

.psc-chips a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.psc-chip--empty {
	color: var(--ink-mute);
	border-style: dashed;
}

/* ----------------------------------------------------------------- posts */

.psc-page {
	padding: 48px 0 88px;
}

.psc-entry {
	margin-bottom: 48px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}

.psc-entry:last-child {
	border-bottom: 0;
}

.psc-entry__meta {
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--ink-mute);
	margin: 0 0 10px;
}

.psc-entry__title {
	margin: 0 0 12px;
}

.psc-entry__title a {
	color: var(--ink);
	text-decoration: none;
}

.psc-entry__title a:hover {
	color: var(--accent);
}

.psc-entry__thumb {
	margin: 0 0 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.psc-entry__thumb img {
	width: 100%;
	display: block;
}

.psc-prose {
	font-size: 1.07rem;
}

.psc-prose > *:first-child {
	margin-top: 0;
}

.psc-prose h2 {
	margin-top: 1.8em;
	font-size: 1.6rem;
}

.psc-prose h3 {
	margin-top: 1.6em;
}

.psc-prose img {
	border-radius: var(--radius);
}

.wp-caption,
.alignnone {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------ pagination */

.psc-pagination {
	margin-top: 48px;
}

.psc-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	font-size: 0.95rem;
}

.psc-pagination .page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.psc-pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--white);
	font-weight: 700;
}

/* ---------------------------------------------------------------- footer */

.psc-footer {
	margin-top: 88px;
	border-top: 1px solid var(--line);
}

.psc-footer__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 48px var(--gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 40px;
}

.psc-footer__brand {
	font-family: var(--serif);
	font-size: 1.25rem;
	display: block;
	margin-bottom: 12px;
	color: var(--ink);
	text-decoration: none;
}

.psc-footer address {
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--ink-mute);
	margin-bottom: 10px;
}

.psc-footer__col h2,
.psc-widget__title {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin: 0 0 12px;
}

.psc-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.psc-footer__col a {
	font-size: 0.95rem;
	text-decoration: none;
}

.psc-footer__legal {
	border-top: 1px solid var(--line);
}

.psc-footer__legal-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 22px var(--gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	font-size: 0.87rem;
	color: var(--ink-mute);
}

/* ------------------------------------------------------------------ misc */

.psc-404 {
	padding: 88px 0;
	text-align: center;
}

.psc-404 p {
	color: var(--ink-soft);
	max-width: 50ch;
	margin: 0 auto 24px;
}

@media print {
	.psc-header,
	.psc-footer,
	.psc-contact,
	.psc-pagination {
		display: none;
	}
}
