/*
Theme Name: RoadSafe Traffic Planning
Theme URI: https://roadsafetraffic.au/
Author: CrumpIT
Author URI: https://crumpit.com.au/
Description: A custom classic WordPress theme for RoadSafe Traffic Planning, a NSW traffic engineering consultancy. Features a full-screen animated hero, service and pricing listings, client reviews, and an accessible quote-request form. Built mobile-first with WCAG 2.1 AA contrast and keyboard support.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
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: roadsafe
Tags: business, portfolio, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready, block-styles, wide-blocks
*/

/* ============================================================
   NOTE
   The main design stylesheet lives in assets/css/theme.css and
   is enqueued separately. This file holds the theme header plus
   the WordPress core classes every classic theme must provide.
============================================================ */

/* ------------------------------------------------------------
   Screen reader text (required for accessibility)
------------------------------------------------------------ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #0f2447;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ------------------------------------------------------------
   WordPress core alignment classes
------------------------------------------------------------ */
.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

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

.alignwide {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------
   WordPress core caption / gallery classes
------------------------------------------------------------ */
.wp-caption {
	margin-bottom: 1.5rem;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text,
.wp-caption-text {
	font-size: 0.8125rem;
	color: #4a4a4a;
	margin: 0.5rem 0;
	text-align: center;
}

.gallery-caption {
	display: block;
	font-size: 0.8125rem;
	color: #4a4a4a;
}

/* ------------------------------------------------------------
   WordPress core sticky / bypass classes
------------------------------------------------------------ */
.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

.post-password-form input[type="password"] {
	font-family: inherit;
	font-size: 0.9375rem;
	border: 1.5px solid #dde2ed;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	min-height: 48px;
}

/* ------------------------------------------------------------
   Custom logo sizing (Appearance > Customize > Site Identity)
------------------------------------------------------------ */
.custom-logo-link {
	display: block;
}

.custom-logo {
	height: 44px;
	width: auto;
	display: block;
}
