/*
Theme Name: SPG Live
Theme URI: https://stalagmite.com.au
Author: JRNY Digital
Description: Stalagmite Property Group — the approved design, built as a WordPress theme. Markup, styles and scripts are carried over verbatim from the signed-off build; WordPress handles routing, editable contact details and form handling.
Version: 1.0.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: spg
*/

/* Theme styles load from assets/css/. This file is loaded last, so anything
   added here overrides the design — use it for site-specific tweaks only. */

/* Honeypot — off-screen without display:none, which bots detect. */
.spg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Skip link, hidden until focused. */
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	clip-path: none !important;
	padding: 12px 20px !important;
	margin: 0 !important;
	background: #000;
	color: #fff;
	border-radius: 6px;
	font: 600 15px/1 Poppins, system-ui, sans-serif;
	text-decoration: none;
}

/* An image that failed to load — usually one of the few still hosted on a
   third-party CDN. Rather than an unexplained gap, show a neutral tile so the
   layout holds and the omission is obvious during review. */
img.spg-img-missing {
	min-height: 120px;
	background: repeating-linear-gradient(
		45deg,
		rgba(0, 0, 0, .05),
		rgba(0, 0, 0, .05) 10px,
		rgba(0, 0, 0, .09) 10px,
		rgba(0, 0, 0, .09) 20px
	);
	object-fit: cover;
}

/* Build credit in the footer. Sits with the copyright line, deliberately
   quieter so it reads as a credit rather than a second message. The rest of
   the footer is the client's to fill — we only mark the work as ours. */
.foot-credit {
	display: inline;
	opacity: .8;
}
.foot-credit::before {
	content: "\00b7";
	margin: 0 7px;
	opacity: .6;
}
.foot-credit a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .38);
	transition: border-color .2s ease, color .2s ease;
}
.foot-credit a:hover,
.foot-credit a:focus {
	color: var(--gold-bright, #E4C271);
	border-bottom-color: currentColor;
}
@media (max-width: 680px) {
	.foot-credit { display: block; opacity: .7; }
	.foot-credit::before { content: none; }
}
