/*
Theme Name: G&H Home Services Theme
Description: G&H Home Services Theme
Author: Smoking Gun Creative Agency
Author URI: https://nosmokenofire.com
Author Email: jaeden@nosmokenofire.com
Version: 1.0.1
Text Domain: hello-elementor-child
Template: hello-elementor
*/

/*
Add your custom styles here
*/

/* ----------------------------------------
   Author Bio Box
   ---------------------------------------- */
.gh-author-box {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 2rem;
	background: #f9f9f9;
	border-left: 4px solid #333;
	margin-top: 3rem;
}

.gh-author-photo img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 50%;
}

.gh-author-name {
	margin: 0 0 0.25rem;
	font-size: clamp(1.125rem, 0.875rem + 1.25vw, 1.5rem);
}

.gh-author-title {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #666;
}

.gh-author-bio {
	font-size: 0.95rem;
	line-height: 1.6;
}

.gh-author-social {
	display: flex;
	gap: 1rem;
	margin-top: 0.75rem;
}

.gh-author-social a {
	font-size: 0.85rem;
	text-decoration: none;
	font-weight: 600;
}

@media (max-width: 600px) {
	.gh-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}
/* ----------------------------------------
   Safari font-rendering fix
   Overpass variable font uploaded to Elementor doesn't reliably
   surface weight axis to Safari, causing synthetic over-bolding.
   Forcing antialiased smoothing + disabling synthesis gets
   Safari to match Chrome's rendering.
   ---------------------------------------- */
body, body * {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------
   Safari <select> appearance fix (Contact Form 7 + generic forms)
   Safari applies its own native chrome styling (rounded corners,
   gradient, shadow) to <select> elements that overrides custom
   contact form styles. Kill the native appearance and restore a
   clean, branded dropdown arrow so Safari matches Chrome.
   ---------------------------------------- */
.wpcf7-form select,
.wpcf7-form select.wpcf7-form-control,
form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231e3295' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
  background-color: #ffffff;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 16px; /* prevents iOS Safari auto-zoom on focus */
}

/* Safari-specific: select focus ring can look off — normalize it */
.wpcf7-form select:focus,
form select:focus {
  outline: none;
}

/* ----------------------------------------
   CF7 Double-Submit Guard (bug G&HP-010)
   Belt-and-suspenders alongside the JS guard in utm-tracking.js.
   Visually + interactively dim the submit button while a request
   is in flight so duplicate clicks can't reach it.
   ---------------------------------------- */
.wpcf7-form[data-status="validating"] input[type="submit"],
.wpcf7-form[data-status="submitting"] input[type="submit"],
.wpcf7-form[data-status="sending"] input[type="submit"],
.wpcf7-form[data-status="validating"] button[type="submit"],
.wpcf7-form[data-status="submitting"] button[type="submit"],
.wpcf7-form[data-status="sending"] button[type="submit"] {
  pointer-events: none;
  opacity: 0.6;
  cursor: wait;
}
