/*
Theme Name: Gibsons
Theme URI:
Author: Gibsons Ltd
Author URI:
Description: A fast, accessible, mobile friendly block theme for Gibsons Ltd, chartered surveyors. Plain, trustworthy design with a simple text logo placeholder. Built for WordPress full site editing.
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gibsons
*/

/*
Most of the styling for this theme is set in theme.json.
The rules below cover a few custom helpers used in the page content
(the call to action buttons and the service cards) and some
accessibility touches. Keep this file small so the site stays fast.
*/

/* Visible focus outline for keyboard users (accessibility) */
a:focus,
button:focus,
input:focus,
textarea:focus,
.wp-block-button__link:focus {
	outline: 3px solid #1a1a1a;
	outline-offset: 2px;
}

/* Skip link, shown only when focused */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #ffffff;
	color: #a11437;
	padding: 0.75rem 1rem;
	z-index: 1000;
}
.skip-link:focus {
	left: 0;
}

/* Service cards: keep each card the same height and let the link sit at the foot */
.gibsons-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.gibsons-card .wp-block-buttons,
.gibsons-card p:last-child {
	margin-top: auto;
}

/* A quiet style for the bracketed placeholders so they are easy to spot before launch */
.gibsons-placeholder {
	color: #a11437;
	font-style: italic;
}
