sa-hero-loc-corbin v2026-06-06
Corbin location hero, form-rail variant with the city image pre-wired to the live Media Library URL. Optional upgrade hero (not a replacement) for the standard location-page template hero.
Source skill: · Updated 2026-06-15 14:52:00
When to use
Top of /locations/corbin/ as an optional upgrade over the standard location hero.
Rules & constraints
- 1. Full-bleed 100vw, CSS scoped to the element's BEM namespace so styles never leak.
- 2. Two-column split: copy left, translucent dark intake card right; collapses to single column under 900px.
- 3. H1 is a 3-line stack: ALL-CAPS question line + two title-support lines (last line orange).
- 4. Form-rail variants have NO hero subtext and NO hero CTA under the H1 — the form card is the only action.
- 5. Replace {{HERO_IMAGE_URL}} and {{FORM_ACTION_URL}} before publish. Hero image uses eager/no-lazy.
- 6. Button is orange #D97706; deepens to #B45309 on hover. No banned blues.
Live reference
Deployment notes
WordPress Custom HTML block. Image pre-wired: /wp-content/uploads/2026/03/welcome-to-corbin.webp. Replace {{FORM_ACTION_URL}} only.
HTML
<!-- sa-form-label-submit-guard-2026-06-15 -->
<style id="sa-form-label-submit-guard-2026-06-15">
.sa-custom-contact-intake-form .sa-field-control{display:flex!important;flex-direction:column;gap:5px;width:100%;min-width:0;margin:0 0 14px;color:inherit;box-sizing:border-box;}
.sa-custom-contact-intake-form .sa-field-control .sa-form-label{display:block!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.5px;color:inherit!important;margin:0!important;line-height:1.25!important;}
.sa-custom-contact-intake-form .sa-field-control > input,
.sa-custom-contact-intake-form .sa-field-control > select,
.sa-custom-contact-intake-form .sa-field-control > textarea{width:100%!important;margin:0!important;box-sizing:border-box;}
.sa-custom-contact-intake-form textarea.sa-form-field{height:auto!important;min-height:84px;resize:vertical;}
.sa-custom-contact-intake-form button[type="submit"],
.sa-custom-contact-intake-form .submit,
.sa-custom-contact-intake-form input[type="submit"]{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:46px;color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(0deg,#000 0%,#0B212D 100%)!important;border:2px solid #0B212D!important;border-radius:8px;opacity:1!important;visibility:visible!important;text-shadow:none!important;font-weight:700;text-transform:uppercase;cursor:pointer;}
</style>
<section aria-labelledby="sa-hero-loc-corbin-title" class="sa-hero-loc-corbin">
<img alt="Welcome to Corbin, Kentucky city sign" class="sa-hero-loc-corbin__bg skip-lazy no-lazy" data-no-lazy="1" decoding="async" height="900" loading="eager" src="https://aguiarinjurylawyers.com/wp-content/uploads/2026/03/welcome-to-corbin.webp" width="1600"/>
<div aria-hidden="true" class="sa-hero-loc-corbin__overlay"></div>
<div class="sa-hero-loc-corbin__grid">
<div class="sa-hero-loc-corbin__copy">
<h1 class="sa-hero-loc-corbin__title" id="sa-hero-loc-corbin-title">
<span class="sa-hero-loc-corbin__title-question">CORBIN CAR ACCIDENT?</span>
<span class="sa-hero-loc-corbin__title-support">Our Award-Winning Injury Attorneys</span>
<span class="sa-hero-loc-corbin__title-support">Are Ready To Work For You.</span>
</h1>
</div>
<form action="https://aguiarinjurylawyers.com/wp-json/sal/v1/contact-intake" class="sa-hero-loc-corbin__card sa-custom-contact-intake-form" data-rest-endpoint="https://aguiarinjurylawyers.com/?rest_route=/sal/v1/contact-intake" method="POST">
<h3>Tell Us About Your Corbin Case</h3>
<p>Same-day callbacks. Free, confidential case review.</p>
<label class="sa-field-control" for="sa-form-1-full-name"><span class="sa-form-label">Full Name</span><input class="sa-hero-loc-corbin__field sa-form-field" id="sa-form-1-full-name" name="full_name" placeholder="Full name" required="" type="text"/></label>
<label class="sa-field-control" for="sa-form-1-phone"><span class="sa-form-label">Phone Number</span><input class="sa-hero-loc-corbin__field sa-form-field" id="sa-form-1-phone" name="phone" placeholder="Phone" required="" type="tel"/></label>
<label class="sa-field-control" for="sa-form-1-email"><span class="sa-form-label">Email</span><input class="sa-hero-loc-corbin__field sa-form-field" id="sa-form-1-email" name="email" placeholder="Email" type="email"/></label>
<label class="sa-field-control" for="sa-form-1-message"><span class="sa-form-label">Tell Us What Happened</span><textarea class="sa-hero-loc-corbin__field sa-form-field" id="sa-form-1-message" name="message" placeholder="Tell us what happened." rows="3"></textarea></label>
<input name="case_type" type="hidden" value="Other"/>
<input name="injured_status" type="hidden" value="Not sure yet"/>
<input name="page_url" type="hidden" value=""/>
<input name="page_title" type="hidden" value=""/>
<input name="referrer" type="hidden" value=""/>
<input name="gclid" type="hidden" value=""/>
<input name="utm_source" type="hidden" value=""/>
<input name="utm_medium" type="hidden" value=""/>
<input name="utm_campaign" type="hidden" value=""/>
<input name="success_redirect" type="hidden" value="https://aguiarinjurylawyers.com/?sa_intake=success"/>
<input name="error_redirect" type="hidden" value="https://aguiarinjurylawyers.com/?sa_intake=error"/>
<input name="sal_contact_intake_submit" type="hidden" value="1"/>
<button class="sa-hero-loc-corbin__submit submit" type="submit">Start My Free Review</button>
<small>No fee unless we win.</small>
</form>
</div>
</section>
CSS
.sa-hero-loc-corbin{
--sa-navy:#0B212D;--sa-black:#000;--sa-orange:#D97706;--sa-orange-deep:#B45309;
--sa-white:#fff;--sa-soft:#E8EEF2;
position:relative;width:100vw;max-width:100vw;
margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
min-height:600px;overflow:hidden;isolation:isolate;
background:#0B212D;font-family:Poppins,system-ui,sans-serif;
}
.sa-hero-loc-corbin *,.sa-hero-loc-corbin *::before,.sa-hero-loc-corbin *::after{box-sizing:border-box;font-family:Poppins,system-ui,sans-serif;}
.sa-hero-loc-corbin__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.55;}
.sa-hero-loc-corbin__overlay{position:absolute;inset:0;z-index:-1;
background:linear-gradient(90deg,rgba(11,33,45,.92) 0%,rgba(11,33,45,.55) 60%,rgba(0,0,0,.78) 100%);}
.sa-hero-loc-corbin__grid{position:relative;z-index:1;max-width:1280px;margin:0 auto;
padding:72px 32px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;min-height:540px;}
.sa-hero-loc-corbin__copy{color:#fff;text-align:center;}
.sa-hero-loc-corbin__title{font-size:clamp(28px,2.8vw,38px);font-weight:700;line-height:1.18;color:#fff;
text-shadow:0 2px 12px rgba(0,0,0,.45);margin:0 auto;max-width:820px;letter-spacing:0;text-align:center;}
.sa-hero-loc-corbin__title-question{display:block;text-transform:uppercase;color:#fff;}
.sa-hero-loc-corbin__title-support{display:block;color:#fff;font-size:.80em;}
.sa-hero-loc-corbin__title-support:last-child{color:var(--sa-orange);}
.sa-hero-loc-corbin__card{background:rgba(11,33,45,.82);border:1px solid rgba(217,119,6,.45);border-radius:14px;
padding:32px 28px;box-shadow:0 22px 60px rgba(0,0,0,.5);color:#fff;}
.sa-hero-loc-corbin__card h3{font-size:22px;margin:0 0 6px;color:#fff;text-align:center;font-weight:700;}
.sa-hero-loc-corbin__card p{font-size:12px;color:#E8EEF2;margin:0 0 18px;text-align:center;line-height:1.45;}
.sa-hero-loc-corbin__field{display:block;width:100%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);
border-radius:6px;color:#fff;padding:14px 16px;font-size:15px;margin-bottom:12px;font-family:inherit;}
.sa-hero-loc-corbin__field::placeholder{color:#9aa1a8;}
.sa-hero-loc-corbin__field:focus{outline:none;border-color:var(--sa-orange);background:rgba(255,255,255,.10);}
.sa-hero-loc-corbin__submit{width:100%;background:linear-gradient(0deg,#000000 0%,#0B212D 100%);color:#fff;font-weight:700;border:none;border-radius:6px;
padding:16px;font-size:16px;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;
transition:background .2s ease,transform .2s ease;}
.sa-hero-loc-corbin__submit:hover{background:linear-gradient(0deg,#000000 0%,#0B212D 100%);color:#D97706;transform:translateY(-1px);}
.sa-hero-loc-corbin__card small{display:block;text-align:center;color:#9aa1a8;font-size:12px;margin-top:10px;}
@media (max-width:900px){
.sa-hero-loc-corbin{min-height:0;}
.sa-hero-loc-corbin__grid{grid-template-columns:1fr;gap:36px;padding:48px 22px;min-height:0;}
.sa-hero-loc-corbin__copy{text-align:center;}
}
@media (max-width:640px){
.sa-hero-loc-corbin__title{font-size:clamp(28px,9vw,36px);line-height:1.16;}
.sa-hero-loc-corbin__title-support{font-size:.91em;}
}