/*
Theme Name: Bigfoot SPED
Theme URI: https://bigfootsped.com/
Author: Bigfoot SPED
Description: A lightweight custom block theme for Bigfoot SPED, built for practical secondary special education resources.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bigfoot-sped
*/

:root {
	--bigfoot-header-height: 88px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--wp--preset--color--warm-cream);
}

a {
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-block-navigation a:focus-visible {
	outline: 3px solid var(--wp--preset--color--muted-clay);
	outline-offset: 4px;
}

.skip-link {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: absolute;
	text-decoration: none;
	top: 1rem;
	transform: translateY(-150%);
	z-index: 1000;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	border-bottom: 1px solid rgba(34, 40, 38, 0.1);
}

.site-header-logo img,
.site-footer-logo img {
	display: block;
	height: auto;
	max-width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 1.25rem;
}

.bigfoot-card,
.bigfoot-resource-frame,
.bigfoot-signup-box,
.wp-block-post-template .wp-block-post {
	border: 1px solid rgba(34, 40, 38, 0.1);
	box-shadow: 0 10px 28px rgba(34, 40, 38, 0.06);
}

.bigfoot-card {
	height: 100%;
}

.bigfoot-card a,
.bigfoot-text-link a {
	font-weight: 700;
	text-decoration-thickness: 2px;
}

.bigfoot-resource-frame {
	min-height: 280px;
	position: relative;
}

.bigfoot-resource-frame::before,
.bigfoot-resource-frame::after {
	background: rgba(47, 93, 80, 0.14);
	border: 1px solid rgba(47, 93, 80, 0.2);
	border-radius: 8px;
	content: "";
	position: absolute;
}

.bigfoot-resource-frame::before {
	height: 64%;
	left: 20%;
	top: 18%;
	transform: rotate(-5deg);
	width: 50%;
}

.bigfoot-resource-frame::after {
	height: 58%;
	right: 18%;
	top: 24%;
	transform: rotate(4deg);
	width: 48%;
}

.bigfoot-resource-frame .wp-block-paragraph {
	position: relative;
	z-index: 1;
}

.bigfoot-kicker {
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bigfoot-signup-input {
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(34, 40, 38, 0.18);
	border-radius: 8px;
	color: rgba(34, 40, 38, 0.7);
	padding: 0.9rem 1rem;
}

.bigfoot-hidden-until-connected {
	display: none;
}

.wp-block-button .wp-block-button__link {
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wp-block-button .wp-block-button__link:hover {
	background: var(--wp--preset--color--deep-evergreen);
	border-color: var(--wp--preset--color--deep-evergreen);
	color: var(--wp--preset--color--white);
}

@media (max-width: 780px) {
	.site-header .wp-block-group {
		gap: 1rem;
	}

	.site-header-logo {
		max-width: 225px;
	}

	.bigfoot-resource-frame {
		min-height: 220px;
	}
}
