/*
Theme Name:   Catalyst
Theme URI:
Description:  Standalone theme for the Jonnes LLC one-page site.
Author:       Peter
Author URI:
Version:      1.1.0
Requires at least: 6.0
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:  catalyst
*/

/* ==========================================================
   The site is styled with Tailwind (loaded in functions.php).
   This file holds the few rules Tailwind classes can't cover.
   Custom styles go below this line.
   ========================================================== */

/* Dotted background pattern */
.bg-grid-pattern {
	background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
	background-size: 28px 28px;
}

/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .catalyst-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .catalyst-site-header {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	.admin-bar .catalyst-site-header {
		top: 0;
	}
}

/* Accessible "skip to content" link: hidden until focused */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: #0d3b78;
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Basic spacing for editor content on regular pages/posts (index.php) */
.catalyst-content > * + * {
	margin-top: 1.25em;
}

.catalyst-content h2 {
	font-size: 1.5rem;
	font-weight: 800;
	color: #0d3b78;
}

.catalyst-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0d3b78;
}

.catalyst-content a {
	color: #0d3b78;
	text-decoration: underline;
}

.catalyst-content ul {
	list-style: disc;
	padding-left: 1.5em;
}

.catalyst-content ol {
	list-style: decimal;
	padding-left: 1.5em;
}
