/* ============================================================
 * SoilDocs WP theme — visual overrides (v1.3, light-only)
 * Loaded AFTER soildocs.css so these rules win.
 * ============================================================ */

/* ---- 1. Hero headline white (hero section only) ---- */
.hero h1 {
	color: #ffffff !important;
}
.hero h1 .hero-accent,
.hero h1 em {
	color: #ffffff !important;
}

/* ---- 2. Punch-list intro: centered with a half-inch gap before the grid ---- */
.punch-list .section-head {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 0.5in !important;
}
.punch-list .section-head .eyebrow,
.punch-list .section-head h2,
.punch-list .section-head p {
	text-align: center !important;
	margin-left: auto;
	margin-right: auto;
}
.punch-list .section-head p {
	max-width: 760px;
}

/* ---- 3. Hide any lingering theme-toggle button (light-only site) ---- */
.theme-toggle,
[data-theme-toggle] {
	display: none !important;
}

/* ---- 4. Contact Form 7 — make CF7's default markup feel native to the
 *        SoilDocs lead section so it inherits brand styling without
 *        custom-tagging every field in the form template. ---- */
.lead-section .wpcf7 {
	max-width: var(--content-narrow, 720px);
	margin: 0 auto;
}
.lead-section .wpcf7-form p {
	margin: 0 0 var(--space-4, 1rem);
}
.lead-section .wpcf7-form label {
	display: block;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 6px;
	font-family: 'Open Sans', sans-serif;
}
.lead-section .wpcf7-form input[type="text"],
.lead-section .wpcf7-form input[type="email"],
.lead-section .wpcf7-form input[type="tel"],
.lead-section .wpcf7-form input[type="url"],
.lead-section .wpcf7-form textarea,
.lead-section .wpcf7-form select {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-family: 'Poppins', sans-serif;
	color: #1a2733;
	background: #ffffff;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: var(--radius-md, 10px);
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.lead-section .wpcf7-form input:focus,
.lead-section .wpcf7-form textarea:focus,
.lead-section .wpcf7-form select:focus {
	outline: 2px solid var(--color-coral, #ea9374);
	outline-offset: 2px;
}
.lead-section .wpcf7-form textarea { min-height: 110px; resize: vertical; }
.lead-section .wpcf7-form input[type="submit"] {
	display: inline-block;
	width: 100%;
	margin-top: var(--space-4, 1rem);
	padding: 16px 28px;
	background: var(--color-coral, #ea9374);
	color: #1a2733;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.0625rem;
	border: none;
	border-radius: var(--radius-md, 10px);
	cursor: pointer;
	transition: background 160ms ease;
}
.lead-section .wpcf7-form input[type="submit"]:hover {
	background: var(--color-coral-deep, #b35d44);
}
.lead-section .wpcf7-form .wpcf7-checkbox,
.lead-section .wpcf7-form .wpcf7-acceptance,
.lead-section .wpcf7-form .wpcf7-radio {
	display: block;
}
.lead-section .wpcf7-form .wpcf7-list-item {
	display: block;
	margin: 6px 0 6px 0;
	color: rgba(255,255,255,0.92);
}
.lead-section .wpcf7-form .wpcf7-list-item-label { margin-left: 8px; }
.lead-section .wpcf7-form .wpcf7-not-valid-tip {
	color: #ffd2c4;
	font-size: 0.85rem;
	margin-top: 4px;
}
.lead-section .wpcf7-form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 12px 16px;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: var(--radius-md, 10px);
	color: #ffffff;
	background: rgba(255,255,255,0.08);
}

/* CF7 not-installed admin warning block (shown to logged-in admins only). */
.soildocs-cf7-warning {
	max-width: 720px;
	margin: 1rem auto 2rem;
	padding: 18px 22px;
	border-radius: 10px;
	background: #fff4e0;
	border: 1px solid #e8c98f;
	color: #5a3d11;
	font-family: 'Poppins', sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
}
.soildocs-cf7-warning strong { color: #3a2607; }
.soildocs-cf7-warning code {
	background: #fff;
	padding: 2px 6px;
	border-radius: 4px;
	border: 1px solid #e8c98f;
}
