/* gate1.css - lisasedanservice.com 2026 theme, Kit Gate 1: match the owner-approved homepage reference
   (kit/approved-homepage-reference.png). B.E.T.H. 2026-11-23 for V.A.U.G.H.N. Loaded after site.css.
   Colors come from the theme's own variables in site.css (--blue #081694, --yellow #ffef18, --cream2 #fff9e6).
   Several selectors carry one extra class so they beat the Elementor kit (post 16), which is still loaded for
   page content and sets every link #FFFFFF and every heading near-black. */

/* 1. Topbar: one large bold phone number, as in the reference. The Livonia line is in the footer. */
.site-header .topbar { min-height: 54px; }
.site-header .topbar .container { justify-content: flex-start; }
.site-header .topbar a[href^="tel:"] {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: clamp(22px, 2.1vw, 30px); font-weight: 900; letter-spacing: .3px; color: #000;
}
.site-header .topbar a[href^="tel:"] .icon { width: 1em; height: 1em; vertical-align: middle; }
.site-header .topbar .extra { display: none; }

/* 2. Header photo: the live header's own photo (morning-traffic, Media Library 1636), cropped from the top so
   the trees, the road sign and the overpass show, as in the reference. */
.site-header .brand-strip { background-position: center top; }

/* 3. Social icons: yellow circles with black glyphs. */
.site-header .brand-social a { background: var(--yellow); color: #000; border-color: #000; border-width: 2px; }
.site-header .brand-social a:hover, .site-header .brand-social a:focus-visible { background: #fff; }

/* 4. Nav (desktop and tablet): bold white items spread across the full width with "|" dividers, Home in
   yellow, no highlight box. The phone menu below 721px keeps the theme's stacked layout. */
@media (min-width: 721px) {
  .site-header .nav .nav-inner { width: min(1320px, calc(100% - 40px)); justify-content: space-between; gap: 0; }
  .site-header .nav .nav-inner a {
    position: relative; flex: 1 1 auto; padding: 15px clamp(8px, 1.6vw, 24px); border-radius: 0; background: none;
    color: #fff; font-size: clamp(15px, 1.45vw, 21px); font-weight: 800; line-height: 1.25;
  }
  .site-header .nav .nav-inner a + a::before {
    content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 2px; background: rgba(255, 255, 255, .9);
  }
  .site-header .nav .nav-inner a[aria-current=page],
  .site-header .nav .nav-inner a:hover,
  .site-header .nav .nav-inner a:focus-visible { color: var(--yellow); background: none; }
}

/* 5. Tagline: italic, with a line on each side. */
.hero-note {
  display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.4vw, 30px);
  background: transparent; border-bottom: 0; padding: 18px 16px 8px; /* one cream field, as in the reference */
  font-style: italic; font-weight: 900; color: var(--blue);
}
.hero-note::before, .hero-note::after { content: ""; flex: 0 1 300px; min-width: 14px; height: 3px; border-radius: 2px; }
.hero-note::before { background: linear-gradient(90deg, rgba(8, 22, 148, 0), var(--blue)); }
.hero-note::after { background: linear-gradient(90deg, var(--blue), rgba(8, 22, 148, 0)); }
/* one line from tablet up (the side lines shrink instead); phones may wrap so nothing runs past the edge */
@media (min-width: 481px) { .hero-note { white-space: nowrap; } }
/* phones: short side lines so the sentence keeps its width (two lines at most) */
@media (max-width: 480px) { .hero-note { gap: 8px; } .hero-note::before, .hero-note::after { flex: 0 0 22px; min-width: 22px; } }
/* three panels side by side need the desktop width; below 961px they stack full width, so no card is a narrow column */
@media (max-width: 960px) { body.home .panel-grid { grid-template-columns: 1fr; } }

/* 6. Home panels: wider row like the reference, navy titles and navy list text, big navy icons, compact lists,
   italic footer strips. */
body.home .main > .container { width: min(1320px, calc(100% - 40px)); }
.panel .panel-inner { display: flex; flex-direction: column; padding: 18px 22px 12px; }
.panel .panel-title { color: var(--blue); font-size: clamp(19px, 1.6vw, 23px); font-weight: 900; line-height: 1.1; letter-spacing: 0; gap: 14px; margin-bottom: 10px; }
.panel .panel-title .icon,
.panel .panel-title .lss-ref-icon { width: clamp(38px, 3.8vw, 54px); height: clamp(38px, 3.8vw, 54px); flex: none; stroke-width: 2.3; color: var(--blue); }
/* the list sits in the middle of whatever height the row's tallest card sets, so no card ends in an empty band */
.panel .panel-inner ul { margin: auto 0; padding: 0 0 4px 24px; line-height: 1.28; }
.panel .panel-inner li { margin-bottom: 3px; color: var(--blue); font-size: clamp(15px, 1.22vw, 17.5px); font-weight: 700; letter-spacing: 0; }
.panel .panel-inner li::marker { color: var(--blue); }
.panel .panel-foot { font-style: italic; font-size: clamp(15px, 1.35vw, 20px); font-weight: 900; padding: 9px 18px; min-height: 0; }

/* 7. The yellow and blue wave above the footer. */
.site-footer { position: relative; margin-top: 64px; border-top: 0; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -58px; height: 60px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C300 6 760 2 1440 26V60H0Z' fill='%23ffef18'/%3E%3Cpath d='M0 48C300 18 760 14 1440 38V60H0Z' fill='%23081694'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* 8. Home row under the panels (front-page.php markup by C.O.L.E.): feature lines with icon + "|" divider on
   the left, the reference's big royal-blue call pill on the right, two smaller pills and the confirmation note. */
.lss-ref-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; margin-top: 32px; }
.lss-ref-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lss-ref-features li { display: flex; align-items: center; gap: 14px; }
.lss-ref-features p { margin: 0; color: #111; font-size: 17px; line-height: 1.4; }
.lss-ref-ficon { width: 30px; height: 30px; flex: none; color: var(--blue); }
.lss-ref-div { flex: none; display: inline-block; width: 2px; height: 30px; background: var(--blue); color: transparent; overflow: hidden; }
.lss-ref-more { margin-top: 18px; }
.lss-ref-call { display: grid; justify-items: center; gap: 14px; }
.main .lss-ref-callpill {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 64px; width: 100%; max-width: 470px;
  padding: 12px 34px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none;
  font-size: clamp(22px, 2.1vw, 31px); font-weight: 900; line-height: 1.15;
  box-shadow: 0 6px 14px rgba(8, 22, 148, .35), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.main .lss-ref-callpill .lss-ref-ficon { width: 1.1em; height: 1.1em; color: #fff; }
.main .lss-ref-callpill .lss-ref-div { height: 1.2em; background: #fff; }
.main .lss-ref-callpill:hover, .main .lss-ref-callpill:focus-visible { background: #05105f; color: #fff; outline: 3px solid var(--yellow); outline-offset: 3px; }
.lss-ref-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 6px; }
.lss-ref-ctas .lss-ref-note { flex-basis: 100%; }
.main .lss-ref-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 999px;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); text-decoration: none; font-size: 17px; font-weight: 800;
}
.main .lss-ref-pill.lss-ref-pill-alt { background: var(--yellow); color: var(--blue); }
.main .lss-ref-pill:hover, .main .lss-ref-pill:focus-visible { background: #05105f; border-color: #05105f; color: #fff; }
.lss-ref-note { margin: 0; text-align: center; color: #333; font-size: 15px; }
@media (max-width: 720px) {
  .lss-ref-row { grid-template-columns: 1fr; }
  .lss-ref-features p { font-size: 16px; }
  .main .lss-ref-callpill { min-height: 56px; padding: 10px 20px; }
}
