/*
Theme Name: Astra Child - All Star Insurance
Theme URI: https://www.allstarinsuranceflorida.com/
Description: Astra child theme for All Star Insurance. Holds the legacy breakpoint match and any custom CSS so parent updates stay safe.
Author: SEO Agency USA
Author URI: https://seoagencyusa.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Custom CSS goes below this line. */


/* ==========================================================================
   ASI Global Header
   Namespaced under .asi-header. Direct property values, not var() indirection:
   on this stack a var() change on the container does not re-resolve in the
   consuming declarations (verified 2026-08-23), so the stuck state sets
   height/padding explicitly.
   ========================================================================== */
.asi-header .asi-util{padding-block:8px}
.asi-header .asi-nav-row{padding-block:14px}
.asi-header .asi-logo img{height:52px !important;width:auto !important;max-width:100%;display:block}

/* stuck state - html.asi-stuck is toggled by the footer script */
html.asi-stuck .asi-header{box-shadow:0 2px 12px rgba(20,33,78,.14)}
/* REMOVED - changed header height while Elementor measured it (flicker) */
/* REMOVED - same reason */
/* REMOVED - the logo shrink was the visible half of the flicker.
   The header is now a CONSTANT 153px in both states, which is what
   .asi-letter{top:171px} on the About page already assumes. */

/* in-page anchors must clear the sticky bar across all 68 pages */
html{scroll-padding-top:132px}
@media (max-width:1024px){html{scroll-padding-top:96px}}

@media (max-width:1024px){
  .asi-header .asi-logo img{height:40px !important}
  /* REMOVED - mobile logo shrink, same reason */
}
@media (max-width:600px){
  .asi-header .asi-phones .elementor-icon-list-text{display:none}
  .asi-header .asi-phones .elementor-icon-list-item{margin-inline-end:10px}
}

/* ASI-NAV9 */
/* 9-item nav (IA decided 2026-08-23). At 1025-1199px the desktop menu no longer
   fits beside the logo at 15px/13px and wraps to a second row, which breaks the
   constant 153px header. Tighten item padding and font in that band only;
   >=1200 is untouched. Elementor's own rule is 5 classes deep, so !important. */
@media (min-width:1025px) and (max-width:1199px){
  .asi-header .asi-nav .elementor-nav-menu--main .elementor-item{padding-left:7px !important;padding-right:7px !important;font-size:14px !important}
}
/* ASI-NAV9-END */

/* ASI-FOOTER-CSS-START */
/* ==========================================================================
   ASI Global Footer  (Elementor Theme Builder template 794)
   Namespaced under .asi-footer. Palette is the Astra global palette:
   navy #14214E band, #0E1735 bottom bar, #22A7F0 for every interactive
   state. Brand red #AF1518 only reaches 2.2:1 on navy, so it carries
   decorative rules ONLY - never text, never a hover colour.
   The two link lists use the plain WordPress Menu widget, not Elementor's
   Nav Menu widget: the latter also emits a hidden mobile clone, which
   duplicated all 15 footer links on every page.
   ========================================================================== */
.asi-footer{color:#E4E9F2;font-family:'Open Sans',sans-serif;font-size:14px;line-height:1.6}
.asi-footer a{color:#C9D2E3;text-decoration:none;transition:color .18s ease}
.asi-footer a:hover,.asi-footer a:focus-visible{color:#22A7F0}
.asi-footer a:focus-visible{outline:2px solid #22A7F0;outline-offset:3px}

/* 4-up grid. A boxed Elementor container renders .e-con > .e-con-inner and
   the columns live inside .e-con-inner, so the grid MUST go on the inner
   element - putting it on .asi-footer-grid itself makes the single inner
   div the only grid item. (0,3,0) also clears Elementor's own .e-con-inner
   flex rule. */
.asi-footer .asi-footer-grid > .e-con-inner{display:grid;grid-template-columns:1.05fr .85fr 1fr 1.1fr;gap:48px;align-items:start}

/* column headings */
.asi-footer .asi-fhead{position:relative;margin:0 0 22px;padding-bottom:12px}
.asi-footer .asi-fhead::after{content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;background:#AF1518}

/* link lists (WordPress menus footer-menu2 and footer-menu1) */
.asi-footer .asi-fmenu ul{list-style:none;margin:0;padding:0}
.asi-footer .asi-fmenu li{position:relative;padding:0 0 14px 17px;line-height:1.45}
.asi-footer .asi-fmenu li:last-child{padding-bottom:0}
.asi-footer .asi-fmenu li::before{content:"\203A";position:absolute;left:0;top:0;color:#22A7F0;font-weight:700;line-height:1.45}

/* contact column */
.asi-footer .asi-fcontact p{margin:0 0 18px}
.asi-footer .asi-fcontact p:last-child{margin-bottom:0}
.asi-footer .asi-fcontact strong{display:block;margin-bottom:3px;color:#FFFFFF;font-family:'Poppins',sans-serif;font-weight:600;font-size:15px}
.asi-footer .asi-fcontact a{color:#FFFFFF;font-weight:600}
.asi-footer .asi-fcontact a:hover{color:#22A7F0}

/* brand column */
.asi-footer .asi-flogo img{width:180px !important;height:auto !important;max-width:100% !important;display:block;margin-bottom:18px}
.asi-footer .asi-fbrand p{margin:0 0 16px}
.asi-footer .asi-habla{display:inline-block;margin:0 !important;padding:8px 14px;border-left:3px solid #AF1518;background:rgba(255,255,255,.07);color:#FFFFFF;font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;font-style:italic}

/* Proudly Serving strip. Separators are borders, not text nodes, so no stray
   pipe characters land in the accessibility tree. */
.asi-footer .asi-fserving p{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.asi-footer .asi-serving-label{margin-right:18px;color:#FFFFFF;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}
.asi-footer .asi-fserving a+a{margin-left:14px;padding-left:14px;border-left:1px solid rgba(255,255,255,.22)}

/* bottom bar */
.asi-footer .asi-fcopy p{margin:0;text-align:center}

@media (max-width:1024px){
  .asi-footer .asi-footer-grid > .e-con-inner{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:767px){
  .asi-footer .asi-footer-grid > .e-con-inner{grid-template-columns:1fr;gap:34px}
  .asi-footer .asi-serving-label{width:100%;margin:0 0 10px;text-align:center}
}
@media (max-width:480px){
  .asi-footer .asi-fserving a{margin-left:0 !important;padding-left:0 !important;border-left:0 !important}
  .asi-footer .asi-fserving p{gap:6px 18px}
}

/* ASI-HOME-CSS-START */
/* ==========================================================================
   ASI Homepage (page 4). Namespaced under .asi-* classes set on the
   Elementor containers, so nothing here can leak into other templates.
   Palette: navy #14214E, red #AF1518, blue #005C8E, accent #22A7F0,
   body #333, alt band #F2F2F5, border #E8E8E8.
   CONTRAST NOTE: #AF1518 is only 2.17:1 on navy, so on dark backgrounds it is
   DECORATION ONLY. Text/links on navy use #FFF or #22A7F0 (5.79:1).
   ========================================================================== */

/* NOTE: the duplicate "Home" entry-title H1 and Astra's content container are
   removed by switching page 4 to the "elementor_header_footer" (Elementor Full
   Width) template, NOT by CSS - hiding an H1 with display:none leaves it in the
   DOM and Google still counts it. */

/* ---------- shared band scaffolding ---------- */
.asi-band{width:100%}
.asi-band--light{background:#fff}
.asi-band--alt{background:#F2F2F5}
.asi-hero,.asi-band{padding:0}
.asi-band > .e-con-inner,
.asi-hero > .e-con-inner{padding-left:20px;padding-right:20px}

.asi-intro,
.asi-band--alt,
.asi-band--light,
.asi-carriers{padding-top:72px;padding-bottom:72px}
.asi-cards{background:#fff;padding-top:64px;padding-bottom:8px}

.asi-intro-inner{max-width:860px;margin:0 auto;text-align:left}
.asi-centred .asi-intro-inner{text-align:center}

/* headings + body inside the homepage bands */
.asi-band h2,
.asi-band h2.elementor-heading-title{
  font-size:32px;line-height:1.25;color:#14214E;margin:0 0 18px;font-weight:600;
}
.asi-band h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 0;
}
.asi-centred h2::after{margin-left:auto;margin-right:auto}
.asi-band p{font-size:17px;line-height:1.72;color:#333;margin:0 0 16px}
.asi-band p:last-child{margin-bottom:0}

/* ---------- 1. HERO ---------- */
.asi-hero{
  background:linear-gradient(135deg,#14214E 0%,#14214E 46%,#0E1735 100%);
  padding-top:64px;padding-bottom:64px;
}
.asi-hero .asi-hero-grid > .e-con-inner{
  display:grid;grid-template-columns:1.12fr .88fr;gap:52px;align-items:start;
}
.asi-hero .asi-hero-title .elementor-heading-title{
  color:#fff;font-size:52px;line-height:1.06;font-weight:600;letter-spacing:-.5px;
}
.asi-hero-title{margin:0 0 10px}
.asi-hero .asi-hero-sub .elementor-heading-title{
  color:#22A7F0;font-size:22px;line-height:1.3;font-weight:600;
}
.asi-hero-sub{margin:0 0 20px}
.asi-hero-lead p{color:#E7EAF3;font-size:17px;line-height:1.7;margin:0 0 22px}

.asi-chips{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-wrap:wrap;gap:10px 12px}
.asi-chips li{
  color:#fff;font-size:13.5px;font-weight:600;letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:7px 14px;
}
.asi-chips li:first-child{border-color:#AF1518;box-shadow:inset 3px 0 0 #AF1518}

.asi-hero-ctas{display:flex;flex-wrap:wrap;gap:12px}
.asi-hero-ctas--center{justify-content:center;margin-top:28px}
.asi-btn{
  display:inline-block;border-radius:4px;font-weight:600;font-size:15px;line-height:1;
  padding:15px 22px;text-decoration:none;transition:background .18s,color .18s,border-color .18s;
}
.asi-btn--primary{background:#AF1518;color:#fff}
.asi-btn--primary:hover,.asi-btn--primary:focus{background:#8E1114;color:#fff}
.asi-btn--ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45)}
.asi-btn--ghost:hover,.asi-btn--ghost:focus{border-color:#22A7F0;color:#22A7F0}

/* quote form card */
.asi-hero-form{
  background:#fff;border-radius:8px;padding:28px 26px 24px;
  box-shadow:0 18px 44px rgba(0,0,0,.28);
}
.asi-hero .asi-form-title .elementor-heading-title{
  font-size:22px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-form-title{margin:0 0 4px}
.asi-hero-form .asi-form-title::after{
  content:"";display:block;width:38px;height:3px;background:#AF1518;margin:12px 0 18px;
}
.asi-hero-form input[type=text],
.asi-hero-form input[type=email],
.asi-hero-form input[type=tel],
.asi-hero-form select,
.asi-hero-form textarea{
  width:100%;border:1px solid #CBD1DE;border-radius:4px;padding:11px 12px;
  font-size:15px;color:#333;background:#fff;margin:0 0 10px;
}
.asi-hero-form textarea{min-height:96px}
.asi-hero-form input:focus,
.asi-hero-form select:focus,
.asi-hero-form textarea:focus{outline:2px solid #005C8E;outline-offset:1px;border-color:#005C8E}
.asi-hero-form input[type=submit]{
  background:#AF1518;color:#fff;border:0;border-radius:4px;padding:14px 24px;
  font-size:15px;font-weight:600;cursor:pointer;width:100%;
}
.asi-hero-form input[type=submit]:hover{background:#8E1114}
.asi-form-disc p{font-size:12.5px;line-height:1.55;color:#5A6070;margin:12px 0 0}

/* ---------- 2. FOUR-UP CARDS ---------- */
.asi-cards .asi-card-grid > .e-con-inner{
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px;align-items:stretch;
}
.asi-card{display:flex;flex-direction:column}
.asi-card > .elementor-widget:last-child{margin-top:auto}
.asi-card{
  background:#fff;border:1px solid #E8E8E8;border-radius:8px;overflow:hidden;
  padding:0 0 22px;transition:box-shadow .2s,transform .2s;
}
.asi-card:hover{box-shadow:0 14px 30px rgba(20,33,78,.14);transform:translateY(-3px)}
.asi-card .asi-card-img img{width:100%;height:170px;object-fit:cover;display:block}
.asi-band .asi-card-title .elementor-heading-title{
  font-size:19px;line-height:1.3;color:#14214E;font-weight:600;
}
.asi-card-title{margin:20px 22px 8px}
.asi-card-text p{font-size:14.5px;line-height:1.6;color:#484848;margin:0 22px}
.asi-card-link{
  display:inline-block;margin:14px 22px 0;color:#AF1518;font-weight:600;font-size:14.5px;
  text-decoration:none;
}
.asi-card-link:hover,.asi-card-link:focus{color:#005C8E;text-decoration:underline}

/* ---------- 4/6. SPLIT SECTIONS ---------- */
.asi-split > .e-con-inner{
  display:grid;grid-template-columns:.92fr 1.08fr;gap:48px;align-items:center;
}
.asi-split--rev > .e-con-inner{grid-template-columns:1.08fr .92fr}
.asi-round img{width:100%;height:auto;display:block;border-radius:8px}

/* ---------- 7. CARRIERS ---------- */
.asi-carriers .asi-intro-inner{max-width:1000px;text-align:center}
.asi-carriers h2::after{margin-left:auto;margin-right:auto}
.asi-logos{
  list-style:none;margin:34px 0 6px;padding:0;
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px 26px;
}
.asi-logos li{
  background:#fff;border:1px solid #E8E8E8;border-radius:6px;padding:14px 18px;
  display:flex;align-items:center;justify-content:center;min-width:160px;
}
.asi-logos img{max-width:150px;height:auto;display:block;filter:grayscale(1);opacity:.78;transition:filter .2s,opacity .2s}
.asi-logos li:hover img{filter:none;opacity:1}
.asi-btn-wrap{margin-top:26px}
.asi-carriers .elementor-button{
  background:#14214E;color:#fff;border-radius:4px;padding:14px 26px;font-weight:600;font-size:15px;
}
.asi-carriers .elementor-button:hover{background:#005C8E;color:#fff}

/* ---------- 8. CTA BAND ---------- */
.asi-cta{
  background:linear-gradient(rgba(20,33,78,.86),rgba(14,23,53,.9)),
             url("https://allstar-rebuild.10web.cloud/wp-content/uploads/2018/03/all-star-insurance-tampa-florida-cta.jpg") center 58%/cover no-repeat;
  padding-top:78px;padding-bottom:78px;
}
.asi-cta-inner{text-align:center}
.asi-cta .asi-cta-title .elementor-heading-title{
  color:#fff;font-size:32px;line-height:1.3;font-weight:600;
}
.asi-cta-title{margin:0 auto 6px;max-width:820px}
.asi-cta h2::after{content:none}
.asi-cta .asi-cta-title::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:16px auto 0;
}
.asi-offices{
  display:flex;justify-content:center;flex-wrap:wrap;gap:26px 64px;margin:34px 0 0;text-align:center;
}
.asi-office h3{color:#fff;font-size:19px;font-weight:600;margin:0 0 8px}
.asi-office p{color:#DDE2EE;font-size:15.5px;line-height:1.6;margin:0 0 6px}
.asi-office-tel a{color:#22A7F0;font-size:19px;font-weight:600;text-decoration:none}
.asi-office-tel a:hover,.asi-office-tel a:focus{color:#fff;text-decoration:underline}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .asi-hero .asi-hero-grid > .e-con-inner{grid-template-columns:1fr;gap:38px}
  .asi-hero .asi-hero-title .elementor-heading-title{font-size:42px}
  .asi-hero-form{max-width:560px}
  .asi-cards .asi-card-grid > .e-con-inner{grid-template-columns:1fr 1fr;gap:22px}
  .asi-split > .e-con-inner,
  .asi-split--rev > .e-con-inner{grid-template-columns:1fr;gap:30px}
  .asi-split--rev .asi-split-media{order:-1}
  .asi-band h2.elementor-heading-title{font-size:28px}
  .asi-cta .asi-cta-title .elementor-heading-title{font-size:28px}
  .asi-intro,.asi-band--alt,.asi-band--light,.asi-carriers{padding-top:56px;padding-bottom:56px}
}
@media (max-width:767px){
  .asi-hero{padding-top:44px;padding-bottom:48px}
  .asi-hero .asi-hero-title .elementor-heading-title{font-size:34px}
  .asi-hero .asi-hero-sub .elementor-heading-title{font-size:19px}
  .asi-cards .asi-card-grid > .e-con-inner{grid-template-columns:1fr;gap:20px}
  .asi-card .asi-card-img img{height:190px}
  .asi-band h2.elementor-heading-title{font-size:25px}
  .asi-cta .asi-cta-title .elementor-heading-title{font-size:25px}
  .asi-band p{font-size:16px}
  .asi-hero-ctas .asi-btn{width:100%;text-align:center}
  .asi-offices{gap:24px;flex-direction:column;align-items:center}
  .asi-cta{padding-top:56px;padding-bottom:56px}
  .asi-logos{gap:14px}
  .asi-logos li{min-width:44%;padding:12px}
}
@media (max-width:480px){
  .asi-hero .asi-hero-title .elementor-heading-title{font-size:29px}
  .asi-chips li{font-size:12.5px;padding:6px 11px}
  .asi-hero-form{padding:22px 18px 20px}
  .asi-logos li{min-width:100%}
}
/* ASI-HOME-CSS-END */

/* ASI-ABOUT-CSS-START */
/* ==========================================================================
   ASI About page (page 6). Reuses the shared scaffolding defined in the
   ASI-HOME block above - .asi-band / .asi-band--light / .asi-band--alt /
   .asi-btn / .asi-chips / .asi-hero-ctas / .asi-cta / .asi-office* /
   .asi-round / .asi-intro-inner. Only the About-specific pieces live here.
   Same palette and the same rule: #AF1518 is decoration only on navy.
   ========================================================================== */

/* ---------- compact page hero (no quote form, unlike the homepage) ---------- */
.asi-phero{
  width:100%;
  background:linear-gradient(135deg,#14214E 0%,#14214E 46%,#0E1735 100%);
  padding:58px 0 56px;
}
.asi-phero > .e-con-inner{padding-left:20px;padding-right:20px}
.asi-phero-title,
.asi-phero-lead{max-width:900px}
.asi-phero .asi-phero-title .elementor-heading-title{
  color:#fff;font-size:44px;line-height:1.1;font-weight:600;letter-spacing:-.4px;
}
.asi-phero-title{margin:0 0 14px}
.asi-phero-lead p{color:#E7EAF3;font-size:17.5px;line-height:1.7;margin:0 0 22px;max-width:640px}

/* ---------- main content + letter aside ---------- */
.asi-about{padding-top:70px;padding-bottom:70px}
.asi-about .asi-about-grid > .e-con-inner{
  display:grid;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);
  gap:56px;align-items:start;
}

.asi-prose{min-width:0}
.asi-prose .elementor-widget-heading:not(:first-child){margin-top:14px}
.asi-about .asi-prose h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-prose p{font-size:17px;line-height:1.75;color:#333;margin:0 0 18px}
.asi-prose a{color:#AF1518;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.asi-prose a:hover,.asi-prose a:focus{color:#005C8E}
.asi-prose-img img{margin:6px 0 4px}

/* pull-quote for the "responsibility to the Tampa Bay community" line */
.asi-pull{
  margin:4px 0 22px;padding:18px 22px;border-left:4px solid #AF1518;
  background:#F2F2F5;border-radius:0 6px 6px 0;
}
.asi-pull p{
  margin:0;font-size:18.5px;line-height:1.6;color:#14214E;font-weight:600;
}

/* ---------- owner's letter ---------- */
.asi-letter{
  min-width:0;background:#F2F2F5;border:1px solid #E8E8E8;border-top:4px solid #AF1518;
  border-radius:8px;padding:28px 26px 24px;position:sticky;top:171px;
}
.asi-about .asi-letter h2.elementor-heading-title{
  font-size:21px;line-height:1.3;color:#14214E;font-weight:600;
}
.asi-letter-title{margin:0 0 14px}
body.admin-bar .asi-letter{top:203px}
.asi-letter p{font-size:15.5px;line-height:1.72;color:#484848;margin:0 0 14px}
.asi-letter .asi-signoff{margin:0 0 2px}
.asi-letter .asi-signer{margin:0}
.asi-letter .asi-signer strong{color:#14214E;font-weight:600;line-height:1.5}

/* ---------- internal link row ---------- */
.asi-links{padding-top:44px;padding-bottom:48px}
.asi-links .asi-intro-inner{max-width:1000px;text-align:center}
.asi-links h2::after{margin-left:auto;margin-right:auto}
.asi-linkrow{
  list-style:none;margin:26px 0 0;padding:0;
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px 14px;
}
.asi-linkrow a{
  display:inline-block;background:#fff;border:1px solid #E8E8E8;border-radius:999px;
  padding:11px 20px;color:#14214E;font-weight:600;font-size:15px;text-decoration:none;
  transition:border-color .18s,color .18s,background .18s;
}
.asi-linkrow a:hover,.asi-linkrow a:focus{border-color:#AF1518;color:#AF1518;background:#fff}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .asi-about .asi-about-grid > .e-con-inner{grid-template-columns:1fr;gap:38px}
  .asi-letter{position:static;top:auto;max-width:640px}
  .asi-phero{padding:48px 0 46px}
  .asi-phero .asi-phero-title .elementor-heading-title{font-size:36px}
  .asi-about{padding-top:56px;padding-bottom:56px}
  .asi-about .asi-prose h2.elementor-heading-title{font-size:27px}
}
@media (max-width:767px){
  .asi-phero{padding:40px 0 40px}
  .asi-phero .asi-phero-title .elementor-heading-title{font-size:29px}
  .asi-phero-lead p{font-size:16px}
  .asi-about .asi-prose h2.elementor-heading-title{font-size:24px}
  .asi-prose p{font-size:16px}
  .asi-pull p{font-size:17px}
  .asi-pull{padding:15px 17px}
  .asi-letter{padding:22px 19px 20px}
  .asi-linkrow{gap:10px}
  .asi-linkrow a{font-size:14px;padding:10px 16px}
}
@media (max-width:480px){
  .asi-phero .asi-phero-title .elementor-heading-title{font-size:26px}
  .asi-linkrow{flex-direction:column;align-items:stretch}
  .asi-linkrow a{text-align:center}
}
/* ASI-ABOUT-CSS-END */

/* ASI-CONTACT-CSS-START */
/* ==========================================================================
   ASI Contact page (page 16). Reuses the shared scaffolding in the ASI-HOME
   block (.asi-band, .asi-btn*, .asi-hero-ctas, .asi-cta, .asi-office*,
   .asi-intro-inner) and the .asi-phero hero from the ASI-ABOUT block.
   ========================================================================== */

.asi-schema{display:none !important}

/* hero gets a subhead here, unlike About */
.asi-phero .asi-phero-sub .elementor-heading-title{
  color:#22A7F0;font-size:21px;line-height:1.3;font-weight:600;
}
.asi-phero-sub{margin:0 0 12px}

/* ---------- office cards ---------- */
.asi-offices-band{padding-top:60px;padding-bottom:56px}
.asi-oc-wrap{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.asi-oc{
  background:#fff;border:1px solid #E8E8E8;border-top:4px solid #AF1518;border-radius:8px;
  padding:26px 26px 24px;
}
.asi-oc-name{font-size:21px;line-height:1.3;color:#14214E;font-weight:600;margin:0 0 12px}
.asi-oc-addr{
  font-style:normal;font-size:16.5px;line-height:1.65;color:#333;margin:0 0 12px;display:block;
}
.asi-oc-tel{margin:0 0 16px}
.asi-oc-tel a{
  color:#AF1518;font-size:21px;font-weight:600;text-decoration:none;letter-spacing:.01em;
}
.asi-oc-tel a:hover,.asi-oc-tel a:focus{color:#005C8E;text-decoration:underline}
.asi-oc-hours{border-top:1px solid #E8E8E8;padding-top:14px}
.asi-oc-hlabel{
  display:block;font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:#5A6070;margin:0 0 6px;
}
.asi-oc-hrow{display:block;font-size:15.5px;line-height:1.6;color:#333}
.asi-oc-note{
  margin:22px 0 0;font-size:14.5px;line-height:1.6;color:#484848;text-align:center;
}

/* ---------- form band ---------- */
.asi-formband{padding-top:64px;padding-bottom:64px}
.asi-form-inner{max-width:820px;margin:0 auto}
.asi-formband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-formband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 0;
}
.asi-form-sub p{font-size:16.5px;line-height:1.7;color:#333;margin:0 0 22px}

/* CF7 inside the form band */
.asi-formband .wpcf7{
  background:#fff;border:1px solid #E8E8E8;border-radius:8px;padding:28px 26px 22px;
}
.asi-formband .wpcf7-form p{margin:0 0 14px;font-size:15px;color:#333}
.asi-formband .wpcf7-form strong{
  display:block;font-size:14px;font-weight:600;color:#14214E;margin:0 0 6px;
}
.asi-formband .wpcf7-form input[type=text],
.asi-formband .wpcf7-form input[type=email],
.asi-formband .wpcf7-form input[type=tel],
.asi-formband .wpcf7-form select,
.asi-formband .wpcf7-form textarea{
  width:100%;border:1px solid #CBD1DE;border-radius:4px;padding:11px 12px;
  font-size:15px;color:#333;background:#fff;
}
.asi-formband .wpcf7-form textarea{min-height:120px}
.asi-formband .wpcf7-form input:focus,
.asi-formband .wpcf7-form select:focus,
.asi-formband .wpcf7-form textarea:focus{
  outline:2px solid #005C8E;outline-offset:1px;border-color:#005C8E;
}
.asi-formband .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:4px}
.asi-formband .wpcf7-checkbox .wpcf7-list-item{margin:0}
.asi-formband .wpcf7-checkbox label{
  display:flex;align-items:center;gap:7px;font-size:14.5px;color:#333;cursor:pointer;
}
.asi-formband .wpcf7-checkbox input{accent-color:#AF1518}
.asi-formband .wpcf7-form input[type=submit]{
  background:#AF1518;color:#fff;border:0;border-radius:4px;padding:15px 30px;
  font-size:15.5px;font-weight:600;cursor:pointer;width:auto;min-width:200px;
}
.asi-formband .wpcf7-form input[type=submit]:hover{background:#8E1114}
.asi-formband .asi-form-disc p{font-size:12.5px;line-height:1.55;color:#5A6070;margin:14px 0 0}

/* ---------- maps ---------- */
.asi-mapband{padding-top:64px;padding-bottom:70px}
.asi-map-inner{max-width:1200px;text-align:center}
.asi-mapband h2::after{margin-left:auto;margin-right:auto}
.asi-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:32px;text-align:left}
.asi-map-name{font-size:19px;line-height:1.3;color:#14214E;font-weight:600;margin:0 0 12px}
.asi-map-frame{
  border:1px solid #E8E8E8;border-radius:8px;overflow:hidden;line-height:0;background:#F2F2F5;
}
.asi-map-frame iframe{display:block;width:100%;height:360px;border:0}
.asi-map-addr{font-size:15px;line-height:1.6;color:#484848;margin:12px 0 0}
.asi-map-addr a{color:#AF1518;font-weight:600;text-decoration:none}
.asi-map-addr a:hover,.asi-map-addr a:focus{color:#005C8E;text-decoration:underline}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .asi-oc-wrap{grid-template-columns:1fr;gap:20px}
  .asi-map-grid{grid-template-columns:1fr;gap:26px}
  .asi-offices-band,.asi-formband,.asi-mapband{padding-top:50px;padding-bottom:50px}
  .asi-formband h2.elementor-heading-title{font-size:27px}
  .asi-map-frame iframe{height:320px}
}
@media (max-width:767px){
  .asi-phero .asi-phero-sub .elementor-heading-title{font-size:18px}
  .asi-oc{padding:22px 20px 20px}
  .asi-oc-name{font-size:19px}
  .asi-oc-tel a{font-size:19px}
  .asi-formband h2.elementor-heading-title{font-size:24px}
  .asi-formband .wpcf7{padding:20px 17px 18px}
  .asi-formband .wpcf7-form input[type=submit]{width:100%;min-width:0}
  .asi-map-frame iframe{height:280px}
  .asi-map-addr{font-size:14.5px}
}
/* ASI-CONTACT-CSS-END */

/* ASI-CARRIERS-CSS-START */
/* ==========================================================================
   ASI Carriers page (page 14, /insurance-companies-we-represent/).
   Reuses the shared scaffolding in the ASI-HOME block and .asi-phero from
   the ASI-ABOUT block. The carrier grid is generic and count-agnostic - when
   the carrier list changes, only the data changes, never this CSS.
   ========================================================================== */

.asi-carrierband{padding-top:62px;padding-bottom:70px}
.asi-cr-inner{max-width:1200px;margin:0 auto}
.asi-carrierband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-carrierband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 0;
}
.asi-cr-sub p{font-size:16.5px;line-height:1.7;color:#333;margin:0 0 8px;max-width:760px}

/* auto-fit so the grid never needs editing when carriers are added or removed */
.asi-cr-grid{
  list-style:none;margin:30px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;
}
.asi-cr{
  background:#fff;border:1px solid #E8E8E8;border-radius:8px;padding:20px 20px 18px;
  display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s,border-color .2s;
}
.asi-cr:hover{box-shadow:0 12px 26px rgba(20,33,78,.12);transform:translateY(-2px);border-color:#CBD1DE}
.asi-cr-logo{
  height:74px;display:flex;align-items:center;justify-content:center;
  border-bottom:1px solid #F0F0F3;margin:0 0 14px;padding:0 0 12px;
}
.asi-cr-logo img{max-width:150px;max-height:56px;width:auto;height:auto;display:block}
.asi-cr-name{
  font-size:16px;line-height:1.35;color:#14214E;font-weight:600;margin:0 0 12px;
}
.asi-cr-nums{margin-top:auto}
.asi-cr-row{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  font-size:14.5px;line-height:1.5;padding:5px 0;border-top:1px solid #F0F0F3;
}
.asi-cr-row:first-child{border-top:0}
.asi-cr-label{
  font-size:11.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
  color:#5A6070;flex:0 0 auto;
}
.asi-cr-row a{color:#AF1518;font-weight:600;text-decoration:none;white-space:nowrap}
.asi-cr-row a:hover,.asi-cr-row a:focus{color:#005C8E;text-decoration:underline}
.asi-cr-vanity{color:#333;font-weight:600;text-align:right}
.asi-cr-row--none .asi-cr-vanity{font-weight:400;font-size:13.5px;color:#484848}
.asi-cr-note{
  margin:26px 0 0;font-size:14.5px;line-height:1.65;color:#484848;max-width:760px;
}

@media (max-width:1024px){
  .asi-carrierband{padding-top:50px;padding-bottom:54px}
  .asi-carrierband h2.elementor-heading-title{font-size:27px}
  .asi-cr-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
}
@media (max-width:767px){
  .asi-carrierband h2.elementor-heading-title{font-size:24px}
  .asi-cr-grid{grid-template-columns:1fr 1fr;gap:14px}
  .asi-cr{padding:16px 15px 14px}
  .asi-cr-logo{height:62px;margin:0 0 12px;padding:0 0 10px}
  .asi-cr-logo img{max-width:120px;max-height:46px}
  .asi-cr-name{font-size:14.5px}
  .asi-cr-row{font-size:13.5px;flex-direction:column;align-items:flex-start;gap:1px}
  .asi-cr-vanity{text-align:left}
}
@media (max-width:420px){
  .asi-cr-grid{grid-template-columns:1fr}
  .asi-cr-row{flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px}
}
/* ASI-CARRIERS-CSS-END */

/* ASI-AUTO-CSS-START */
/* ==========================================================================
   ASI Auto Insurance page (page 10). Reuses the shared scaffolding in the
   ASI-HOME block, .asi-phero from ASI-ABOUT and .asi-linkrow / .asi-links
   from ASI-ABOUT. Only the auto-specific split rows and the SR-22/FR-44
   block live here. These .asi-au-* rules are generic enough to reuse for
   the remaining service pages (homeowners, business).
   ========================================================================== */

.asi-auband{padding-top:64px;padding-bottom:64px}
.asi-auband .asi-au-split > .e-con-inner{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:50px;align-items:center;
}
.asi-auband .asi-au-split--rev > .e-con-inner{
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
}
.asi-au-copy{min-width:0}
.asi-au-media{min-width:0}

.asi-auband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-auband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 18px;
}
.asi-auband h3.elementor-heading-title{
  font-size:19.5px;line-height:1.35;color:#005C8E;font-weight:600;
}
.asi-au-sub{margin:0 0 10px}
.asi-au-copy .elementor-widget-heading:not(:first-child){margin-top:18px}
.asi-auband p{font-size:17px;line-height:1.75;color:#333;margin:0 0 16px}
.asi-auband p:last-child{margin-bottom:0}
.asi-auband a{color:#AF1518;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.asi-auband a:hover,.asi-auband a:focus{color:#005C8E}

.asi-au-fig{margin:0}
.asi-au-fig img{width:100%;height:auto;display:block;border-radius:8px}

/* ---------- SR-22 / FR-44 ---------- */
.asi-srband{padding-top:60px;padding-bottom:64px}
.asi-sr-inner{max-width:1000px;margin:0 auto}
.asi-srband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-srband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 0;
}
.asi-sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0 0}
.asi-sr-card{
  background:#F2F2F5;border:1px solid #E8E8E8;border-left:4px solid #AF1518;
  border-radius:0 8px 8px 0;padding:22px 24px;
}
.asi-sr-card p{font-size:16px;line-height:1.7;color:#333;margin:0}
.asi-sr-close p{
  font-size:17px;line-height:1.7;color:#14214E;font-weight:600;margin:24px 0 0;
}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .asi-auband .asi-au-split > .e-con-inner,
  .asi-auband .asi-au-split--rev > .e-con-inner{grid-template-columns:1fr;gap:32px}
  .asi-auband .asi-au-split--rev .asi-au-media{order:-1}
  .asi-auband,.asi-srband{padding-top:52px;padding-bottom:52px}
  .asi-auband h2.elementor-heading-title,
  .asi-srband h2.elementor-heading-title{font-size:27px}
  .asi-au-media{max-width:620px}
}
@media (max-width:767px){
  .asi-auband h2.elementor-heading-title,
  .asi-srband h2.elementor-heading-title{font-size:24px}
  .asi-auband h3.elementor-heading-title{font-size:18px}
  .asi-auband p{font-size:16px}
  .asi-sr-grid{grid-template-columns:1fr;gap:16px}
  .asi-sr-card{padding:18px 18px}
  .asi-sr-card p{font-size:15.5px}
  .asi-sr-close p{font-size:16px}
}
/* ASI-AUTO-CSS-END */

/* ASI-HOWN-CSS-START */
/* ==========================================================================
   ASI Homeowners Insurance page (page 8). Reuses the shared scaffolding in
   the ASI-HOME block (.asi-band / --light / --alt, .asi-btn*, .asi-chips,
   .asi-hero-ctas, .asi-cta, .asi-office*, .asi-intro-inner), .asi-phero and
   .asi-linkrow / .asi-links from ASI-ABOUT, and the generic split rows
   .asi-au-split / --rev / .asi-au-copy / .asi-au-media / .asi-au-fig /
   .asi-au-sub from ASI-AUTO. Only the two homeowners-specific blocks live
   here: the Florida question cards and the coverage-options grid.
   Same palette; #AF1518 stays decoration-only on navy.
   ========================================================================== */

.asi-hoband{padding-top:64px;padding-bottom:64px}
.asi-ho-inner{max-width:1040px;margin:0 auto}

.asi-hoband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-hoband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 18px;
}
.asi-hoband p{font-size:17px;line-height:1.75;color:#333;margin:0 0 16px}
.asi-hoband p:last-child{margin-bottom:0}
.asi-hoband a{color:#AF1518;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.asi-hoband a:hover,.asi-hoband a:focus{color:#005C8E}

/* ---------- Florida coverage question cards ---------- */
.asi-ho-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:22px;margin:28px 0 0;
}
.asi-ho-card{
  background:#fff;border:1px solid #E8E8E8;border-left:4px solid #AF1518;
  border-radius:0 8px 8px 0;padding:22px 24px;
}
.asi-hoband .asi-ho-card h3{
  font-size:18px;line-height:1.35;color:#14214E;font-weight:600;margin:0 0 10px;
}
.asi-hoband .asi-ho-card p{font-size:15.5px;line-height:1.7;color:#484848;margin:0}
.asi-hoband p.asi-ho-note{
  font-size:14px;line-height:1.65;color:#5A6070;margin:22px 0 0;
}

/* ---------- coverage options grid ---------- */
.asi-ho-opts{
  list-style:none;margin:22px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:0 30px;
}
.asi-ho-opts li{
  position:relative;padding:11px 0 11px 24px;font-size:16px;line-height:1.5;
  color:#333;border-bottom:1px solid #E8E8E8;
}
.asi-ho-opts li::before{
  content:"";position:absolute;left:2px;top:17px;width:9px;height:9px;
  border-radius:2px;background:#AF1518;
}
.asi-hoband .asi-ho-opts a{text-decoration:none}
.asi-hoband .asi-ho-opts a:hover,
.asi-hoband .asi-ho-opts a:focus{text-decoration:underline}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .asi-hoband{padding-top:52px;padding-bottom:52px}
  .asi-hoband h2.elementor-heading-title{font-size:27px}
}
@media (max-width:767px){
  .asi-hoband h2.elementor-heading-title{font-size:24px}
  .asi-hoband p{font-size:16px}
  .asi-ho-grid{grid-template-columns:1fr;gap:16px;margin-top:24px}
  .asi-ho-card{padding:18px 18px}
  .asi-hoband .asi-ho-card h3{font-size:17px}
  .asi-hoband .asi-ho-card p{font-size:15px}
  .asi-ho-opts{grid-template-columns:1fr;gap:0}
  .asi-ho-opts li{font-size:15.5px}
}
/* ASI-HOWN-CSS-END */

/* ASI-EZLYNX-CSS-START */
/* ==========================================================================
   EZLynx embeds - Consumer Quoting (/get-a-quote/) and Client Center
   (/client-center/). Reuses the shared scaffolding in the ASI-HOME block
   (.asi-band / --light / --alt, .asi-btn*, .asi-chips, .asi-hero-ctas,
   .asi-cta, .asi-office*, .asi-intro-inner) and .asi-phero / .asi-links from
   ASI-ABOUT. Only the iframe shell is new.

   WHY THIS IS THE FIRST NEW CSS SINCE THE HOMEPAGE REBUILD: a cross-origin
   iframe cannot be auto-sized from the parent page, so its height has to be
   declared. The quoting height is EZLynx's own recommended 1500px. The portal
   height is set to the login screen rather than the vendor's 1600px, because
   1600 leaves a large void around a short sign-in form; the portal scrolls
   internally once a customer is authenticated.
   BOTH HEIGHTS ARE TUNABLE - revisit after watching a real quote run through.
   ========================================================================== */

.asi-ezband{padding-top:52px;padding-bottom:60px}
.asi-ez-inner{max-width:1120px;margin:0 auto}

.asi-ezband h2.elementor-heading-title{
  font-size:30px;line-height:1.25;color:#14214E;font-weight:600;
}
.asi-ezband h2::after{
  content:"";display:block;width:44px;height:3px;background:#AF1518;margin:14px 0 18px;
}
.asi-ezband p{font-size:17px;line-height:1.75;color:#333;margin:0 0 16px}
.asi-ezband p:last-child{margin-bottom:0}
.asi-ezband a{color:#AF1518;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.asi-ezband a:hover,.asi-ezband a:focus{color:#005C8E}

/* ---------- the iframe shell ---------- */
.asi-ez-frame{
  margin:26px 0 0;background:#fff;border:1px solid #E8E8E8;border-top:4px solid #AF1518;
  border-radius:8px;overflow:hidden;box-shadow:0 2px 12px rgba(20,33,78,.07);
}
.asi-ez-frame iframe{display:block;width:100%;height:1500px;border:0}
.asi-ez-frame--portal iframe{height:820px}
.asi-ez-note{font-size:14px;line-height:1.65;color:#5A6070;margin:18px 0 0}

/* ---------- "what happens next" points ---------- */
.asi-ez-points{
  list-style:none;margin:24px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px 30px;
}
.asi-ez-points li{
  position:relative;padding:10px 0 10px 24px;font-size:16px;line-height:1.55;color:#333;
}
.asi-ez-points li::before{
  content:"";position:absolute;left:2px;top:17px;width:9px;height:9px;
  border-radius:2px;background:#AF1518;
}
.asi-ez-points li strong{color:#14214E;font-weight:600}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .asi-ezband{padding-top:44px;padding-bottom:50px}
  .asi-ezband h2.elementor-heading-title{font-size:27px}
  .asi-ez-frame iframe{height:1650px}
  .asi-ez-frame--portal iframe{height:900px}
}
@media (max-width:767px){
  .asi-ezband h2.elementor-heading-title{font-size:24px}
  .asi-ezband p{font-size:16px}
  .asi-ez-frame{margin-top:22px;border-radius:6px}
  .asi-ez-frame iframe{height:1850px}
  .asi-ez-frame--portal iframe{height:1000px}
  .asi-ez-points{grid-template-columns:1fr;gap:0}
  .asi-ez-points li{font-size:15.5px}
}
/* ASI-EZLYNX-CSS-END */

/* ---------- Client Center link in the header utility bar ---------- */
/* margin-inline-start:auto absorbs the free space, so this and the GET A QUOTE
   button sit together on the right whatever justify-content the bar uses. */
.asi-header .asi-clientlink{margin-inline-start:auto;margin-inline-end:18px;line-height:1}
.asi-header .asi-clientlink a{
  color:#DDE2EE;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;
  display:inline-flex;align-items:center;gap:7px;
}
.asi-header .asi-clientlink a:hover,
.asi-header .asi-clientlink a:focus{color:#fff;text-decoration:underline}
.asi-header .asi-clientlink svg{width:13px;height:13px;fill:currentColor;flex:none}
@media (max-width:767px){
  .asi-header .asi-clientlink{margin-inline-end:12px}
  .asi-header .asi-clientlink a{font-size:13px}
}

/* ASI-HEROBG-CSS-START */
/* ==========================================================================
   Homepage hero: crossfading background images.
   Mirrors what the LIVE site does with FlexSlider (3 slides, ~6s each, fade,
   no arrows, no dots, autoplay) but with NO slider library and NO JavaScript -
   three <img> elements and one CSS keyframe. Cheaper, and it cannot break the
   way a jQuery slider breaks.

   🔑 THE NAVY OVERLAY IS LOAD-BEARING. It is what keeps the white hero text at
   AA over photographs. Do not lower its alpha to "let the photo through" - the
   photos are decoration, the copy is the job.
   ========================================================================== */

.asi-hero{position:relative;overflow:hidden;background:#14214E}
.asi-hero > *{position:relative;z-index:1}
.asi-hero > .asi-herobg{position:absolute;inset:0;z-index:0;margin:0;padding:0;width:100%}

.asi-herobg img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
  opacity:0;animation:asiHeroCycle 18s linear infinite;
  will-change:opacity;
}
.asi-herobg img:nth-of-type(1){animation-delay:0s}
.asi-herobg img:nth-of-type(2){animation-delay:-12s}
.asi-herobg img:nth-of-type(3){animation-delay:-6s}

/* the overlay sits above the photos because ::after paints after the children */
/* Desktop: hold a heavy scrim under the copy column (which ends at ~52% of the
   hero) and let it fall away to the right, where there is no text - so the photo
   is actually visible instead of being a rumor. MEASURED, not guessed: the
   binding constraint is the #22A7F0 subtitle, which needs >=4.5:1 and only
   clears it (4.74) while the scrim is about .92 or heavier. White text would
   tolerate .70, so if the photos should show more, the subtitle color is the
   thing to revisit - not this alpha. */
.asi-herobg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to right,
    rgba(20,33,78,.74) 0%,
    rgba(20,33,78,.72) 52%,
    rgba(20,33,78,.58) 72%,
    rgba(17,28,64,.44) 100%);
}
/* The hero subtitle is WHITE, not #22A7F0. That is what buys the lighter scrim:
   measured worst-case over the brightest pixel of all three photos, #22A7F0 hits
   4.74:1 at a .93 scrim and FAILS below it, while white clears 5.8:1 even at .70.
   If the blue ever comes back, the scrim has to go back to .93 with it. */
.asi-hero .asi-hero-sub .elementor-heading-title,
.asi-hero .asi-hero-sub{color:#fff !important}
/* Tablet/mobile: the hero grid collapses to ONE column, so the copy spans the
   full width and the directional scrim above would drop text onto a bright
   photo. Go back to a flat heavy scrim. */
@media (max-width:1024px){
  /* one column here, so the copy crosses the whole width - keep it flat and a
     touch heavier than desktop, but still much lighter than the old .93 */
  .asi-herobg::after{
    background:linear-gradient(135deg,
      rgba(20,33,78,.78) 0%,rgba(20,33,78,.78) 46%,rgba(14,23,53,.80) 100%);
  }
}

/* A TRUE CROSSFADE: each image fades out over 5.04s->6.0s while the next fades
   in over exactly the same window (94.5%->100% of its own offset cycle). Fading
   out to 0 and only then fading the next one in would flash bare navy between
   slides - which is what a naive 0%/2%/31%/33% keyframe does. */
@keyframes asiHeroCycle{
  0%{opacity:1}
  28%{opacity:1}
  33.3%{opacity:0}
  94.5%{opacity:0}
  100%{opacity:1}
}

/* honor a reduced-motion preference: freeze on the first image */
@media (prefers-reduced-motion:reduce){
  .asi-herobg img{animation:none}
  .asi-herobg img:nth-of-type(1){opacity:1}
}
/* ASI-HEROBG-CSS-END */


/* ASI-STICKY-HARDEN */
/* The header is a CONSTANT 153px in both the normal and the stuck state. Nothing
   inside it may change LAYOUT on scroll - Elementor's sticky module sizes its
   spacer once, so any height change makes header and spacer disagree and the
   whole page judders. Only paint-level properties (shadow, background) are
   allowed to change. Astra/Elementor put transition:all on the logo, which
   animated every property that moved; pin it. */
.asi-header .asi-logo img{transition:none !important}
.asi-header,.asi-header .asi-util,.asi-header .asi-nav-row{
  transition:box-shadow .25s ease, background .25s ease;
}
.asi-header{backface-visibility:hidden}
/* ASI-STICKY-HARDEN-END */


/* ASI-H1-LINE2 */
/* The hero's second line used to be a separate H2 widget. It now lives INSIDE the
   H1 so the heading reads as one entity statement - "All Star Insurance -
   Independent Insurance Agency in Tampa, Florida" - which is a far better anchor
   for AI passage extraction than a bare brand name. The look is unchanged: these
   values are copied from the measured live rendering of the old H2.
   🔑 letter-spacing MUST be reset - the span inherits -.5px from the H1 and the
   old H2 rendered at normal. */
.asi-hero .asi-hero-title .elementor-heading-title .asi-h1-line2{
  display:block;
  font-size:22px;
  line-height:1.3;
  font-weight:600;
  letter-spacing:normal;
  margin-top:20px;
}
/* the H1 widget now carries the spacing the old H2 widget used to provide */
.asi-hero .asi-hero-title{margin:0 0 20px}
@media (max-width:767px){
  .asi-hero .asi-hero-title .elementor-heading-title .asi-h1-line2{font-size:19px;margin-top:16px}
}
/* ASI-H1-LINE2-END */
