/* ==========================================================================
   ABLENTRA V18 — NAVBAR BREAKPOINT + ORANGE CTA (2026-11-09, Agent 1)
   Override file. Loaded LAST in <head> (before </head>) on all 61 pages,
   so it wins ties over v15-nav.css / v16-averlo.css. It does NOT edit any
   other file and changes NO markup, NO copy, NO other section.

   REPRODUCED DEFECT (Playwright headless shell, http://127.0.0.1:8417):
   - The collapse breakpoint in v15-nav.css is `@media (max-width: 1300px)`
     (v15-nav.css:509): at 1300px the desktop nav is display:none and only
     logo + "Free website review" text + "Menu" toggle show; at 1301px the
     full navbar appears. Verified: 1280/1300 collapsed (0 links visible),
     1301/1366/1440/1518/1600/1920 full (8 links visible).
   - The owner's report (collapsed at 100% zoom, full at 90%) matches a
     1280px-wide laptop exactly: 100% = 1280 CSS px (<=1300, collapsed);
     90% = 1280/0.9 = 1422 CSS px (>1300, full). At 1440 CSS px the full
     navbar ALREADY appeared pre-fix, so the 1440-1600 hypothesis in the
     brief does not hold; the real breakpoint is 1300.
   FIX: collapse moves 1300 -> 1100. Full desktop navbar now shows at
   1101px and up (covers the owner's 1280 laptop with 180px margin, plus
   1366-1920). Phones/tablets <=1100px keep the exact V17 collapsed bar
   (logo + CTA + Menu toggle) and mobile menu — mobile behaviour unchanged.
   - Measured fit: bar is capped at max-width 1280px, so at every desktop
     width the bar's inner width is fixed; brand (165px @32px logo) +
     centre links + CTA must fit ~1216px. The new orange CTA is wider than
     the V17 text CTA, so desktop link padding eases .75rem -> .65rem and
     bar padding caps at 1.25rem (both invisible at a glance, links keep
     .95rem Manrope 500). Compact band 1101-1300px compacts further
     (28px logo, .9rem links, .45rem padding) — verified no-overlap at
     1101px in both bar and pill states (see QA probe).
   CTA (owner's explicit order, supersedes the V17 text-only navbar CTA):
   "Free website review" = solid #FE5C22 background, #111112 black text,
   full pill. Contrast #111112 on #FE5C22 = 6.08:1 (AA pass, >=4.5:1);
   white text would be 3.10:1 (fail) and is NOT used. The orange dot
   (.v15-cta-dot) is hidden inside this button — orange-on-orange would
   be invisible. data-cal-link / data-cal-config / href are untouched
   (markup is not changed at all). Hover uses #F26223, already the
   hover orange for .v15-cta-accent in v15-nav.css.
   Palette: only #FE5C22 / #F26223 (existing hover) / #111112 / #FFFFFF /
   #F6F6F4 — exactly the V17 palette. No new colours.
   ========================================================================== */

/* --- 1. ORANGE CTA — the bar button, all widths ---------------------------
   Scoped to .v15-bar-actions so the mobile-menu CTA (.v15-mmenu-cta,
   already orange) and every other .v15-cta are untouched. At <=560px the
   V17 two-row bar rules still govern layout (full-width centred row 2);
   this rule only recolours it, so mobile keeps the same colours/content/
   order as desktop (mobile_desktop_parity). */
#siteHeader.v15-nav .v15-bar-actions .v15-cta {
  background: #FE5C22;
  border: 1px solid #FE5C22;
  border-radius: 999px;
  color: #111112;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  padding: .55rem 1rem;
  gap: .5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
#siteHeader.v15-nav .v15-bar-actions .v15-cta:hover {
  background: #F26223;
  border-color: #F26223;
  color: #111112;
}
#siteHeader.v15-nav .v15-bar-actions .v15-cta:focus-visible {
  outline: 2px solid #111112;
  outline-offset: 3px;
}
/* Orange dot would be invisible on the orange button. */
#siteHeader.v15-nav .v15-bar-actions .v15-cta .v15-cta-dot {
  display: none;
}

/* --- 2. COLLAPSE BREAKPOINT: 1300 -> 1100 ---------------------------------
   Specificity (1,2,0) beats v15-nav.css `.v15-nav-desktop` / 
   `.v15-menu-toggle` (0,1,0), so these win at 1101-1300px even though the
   old max-width:1300px rule still exists in v15-nav.css. */
@media (min-width: 1101px) {
  #siteHeader.v15-nav .v15-nav-desktop { display: block; }
  #siteHeader.v15-nav .v15-menu-toggle { display: none; }
}
@media (max-width: 1100px) {
  #siteHeader.v15-nav .v15-nav-desktop { display: none; }
  #siteHeader.v15-nav .v15-menu-toggle { display: inline-flex; }
}

/* --- 3. DESKTOP FIT (>=1101px): make room for the wider orange CTA -------
   Bar padding caps at 1.25rem (was clamp(1rem, 3vw, 2rem) -> 2rem at wide
   viewports) and link side padding eases .75rem -> .65rem. Brand, type
   size/weight and 1280px bar cap are unchanged. */
@media (min-width: 1101px) {
  #siteHeader.v15-nav .v15-bar {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  #siteHeader.v15-nav .v15-nav-link,
  #siteHeader.v15-nav .v15-nav-trigger {
    padding-left: .65rem;
    padding-right: .65rem;
  }
}

/* --- 4. COMPACT DESKTOP BAND 1101-1300px ----------------------------------
   The bar shrinks with the viewport here, so the nav compacts to fit
   without overlap at 1101px (verified: bar + pill states, no overlap,
   no h-overflow). The V17 rule at 561-1300px sets the CTA's padding /
   font-size with !important, so this band re-asserts them with
   !important at higher specificity (1,3,0 vs 1,2,0). Below 1101px the
   V17 collapsed-bar CTA sizing stands untouched. */
@media (min-width: 1101px) and (max-width: 1300px) {
  #siteHeader.v15-nav .v15-bar {
    gap: .4rem;
    padding-left: .5rem;
    padding-right: .5rem;
  }
  #siteHeader.v15-nav .v15-nav-list { gap: .2rem; }
  #siteHeader.v15-nav .v15-nav-link,
  #siteHeader.v15-nav .v15-nav-trigger {
    padding: .375rem .45rem;
    font-size: .9rem;
  }
  #siteHeader.v15-nav .v15-brand-logo { height: 28px; }
  #siteHeader.v15-nav .v15-bar-actions .v15-cta {
    padding: .55rem .9rem !important;
    font-size: .9rem !important;
  }
  /* Floating pill in the compact band: same compaction inside the pill
     (pill bar is width calc(100% - 1.5rem) here per v15-nav.css). */
  #siteHeader.v15-nav.v15-pill-on .v15-bar {
    padding-left: .75rem;
    padding-right: .5rem;
  }
  #siteHeader.v15-nav.v15-pill-on .v15-nav-link,
  #siteHeader.v15-nav.v15-pill-on .v15-nav-trigger {
    padding-left: .45rem;
    padding-right: .45rem;
  }
}

/* --- 5. PILL STATE (>=1101px): orange CTA keeps working on scroll --------
   The pill bar is #F6F6F4 (v15-nav.css); the orange button sits on it
   unchanged. No extra rule needed — this block only guards the pill's
   link padding against the section-3 easing so the pill keeps its
   tighter V17 spacing at full desktop widths. */
@media (min-width: 1301px) {
  #siteHeader.v15-nav.v15-pill-on .v15-nav-link,
  #siteHeader.v15-nav.v15-pill-on .v15-nav-trigger {
    padding-left: .5rem;
    padding-right: .5rem;
  }
}
