/*
Theme Name: Pressure Syndicate
Theme URI: https://loudforgood.org/
Author: Robar
Description: WordPress theme for the Pressure Syndicate Car Audio Club nonprofit website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pressure-syndicate
*/

:root {
	--ps-bg: #09111d;
	--ps-bg-soft: #132237;
	--ps-card: #f5f0e7;
	--ps-card-soft: #fffaf2;
	--ps-text: #10151d;
	--ps-text-light: #f6f8fb;
	--ps-muted: #6b7280;
	--ps-accent: #d97706;
	--ps-accent-dark: #b45309;
	--ps-border: rgba(16, 21, 29, 0.08);
	--ps-radius: 22px;
	--ps-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
	--wp--style--block-gap: 1.4rem;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	background:
		radial-gradient(circle at top, rgba(217, 119, 6, 0.15), transparent 40%),
		linear-gradient(180deg, var(--ps-bg) 0%, #0f1828 100%);
	color: var(--ps-text-light);
}

a {
	color: inherit;
}

.site-header,
.site-footer {
	background: rgba(9, 17, 29, 0.86);
	backdrop-filter: blur(14px);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.site-footer__inner,
.content-shell {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1rem 1.25rem;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
}

.site-brand__logo {
	width: 58px;
	height: auto;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
}

.site-brand__title {
	font-size: 1.1rem;
	font-weight: 700;
}

.site-brand__tagline {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.7);
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-nav__menu,
.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__menu a,
.site-footer__menu a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.85);
}

.site-main {
	min-height: calc(100vh - 160px);
}

.content-shell {
	padding-top: 3rem;
	padding-bottom: 4rem;
}

.entry {
	background: var(--ps-card);
	color: var(--ps-text);
	border-radius: var(--ps-radius);
	box-shadow: var(--ps-shadow);
	padding: 2rem;
}

.entry-front-page {
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.entry-title {
	margin-top: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.entry-content > * {
	max-width: 100%;
}

.entry-content .wp-block-group,
.entry-content .wp-block-cover,
.entry-content .wp-block-columns {
	border-radius: var(--ps-radius);
}

.entry-content .wp-block-group.has-background,
.entry-content .wp-block-cover,
.entry-content .wp-block-columns.has-background {
	padding: clamp(1.5rem, 4vw, 4rem);
}

.entry-content .wp-block-group.has-background {
	background: var(--ps-card);
	color: var(--ps-text);
	box-shadow: var(--ps-shadow);
}

.entry-content .wp-block-cover {
	overflow: hidden;
	min-height: 72vh;
}

.entry-content .wp-block-cover__inner-container,
.entry-content .wp-block-group__inner-container {
	max-width: 1120px;
	margin: 0 auto;
}

.entry-content .wp-block-heading,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
	line-height: 1.08;
}

.entry-content .is-style-outline > .wp-block-button__link,
.entry-content .wp-block-button__link {
	border-radius: 999px;
	padding: 0.95rem 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-content .wp-block-button__link {
	background: var(--ps-accent);
	color: #fff;
}

.entry-content .is-style-outline > .wp-block-button__link {
	border: 2px solid rgba(255, 255, 255, 0.7);
	background: transparent;
	color: #fff;
}

.entry-content .wp-block-columns {
	gap: 1.5rem;
}

.entry-content .wp-block-column.has-background {
	box-shadow: var(--ps-shadow);
}

.entry-content .wp-block-separator {
	border-color: rgba(255, 255, 255, 0.2);
}

.entry-front-page .wp-block-group.has-background,
.entry-front-page .wp-block-column.has-background {
	background: var(--ps-card-soft);
}

.entry-front-page .has-text-color,
.entry-front-page .has-link-color a {
	color: inherit;
}

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 782px) {
	.site-header__inner,
	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.entry {
		padding: 1.25rem;
	}
}
