/*
Theme Name: AccessPS Theme
Theme URI: https://accessps.com/
Author: AccessPS
Author URI: https://accessps.com/
Description: Custom WordPress theme for AccessPS.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: accesspstheme
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--color-background: #ffffff;
	--color-foreground: #161616;
	--color-muted: #5f6368;
	--color-border: #d9dde3;
	--color-accent: #0f766e;
	--content-width: 72rem;
	--space-page: clamp(1rem, 4vw, 2rem);
}

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

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

a {
	color: var(--color-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header,
.site-footer {
	border-color: var(--color-border);
}

.site-header {
	border-bottom: 1px solid var(--color-border);
}

.site-footer {
	margin-top: auto;
	border-top: 1px solid var(--color-border);
	color: var(--color-muted);
}

.site-header__inner,
.site-footer__inner,
.site-main {
	width: min(100% - (var(--space-page) * 2), var(--content-width));
	margin-inline: auto;
}

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

.site-branding {
	display: grid;
	gap: 0.15rem;
}

.site-title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.2;
}

.site-description {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-main {
	padding-block: clamp(2rem, 6vw, 4rem);
}

.entry {
	margin-block: 0 3rem;
}

.entry-title,
.page-title {
	margin-block: 0 0.75rem;
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 1.05;
}

.entry-meta,
.entry-footer {
	color: var(--color-muted);
	font-size: 0.925rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: #ffffff;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}

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