/* AR: Home map teaser and finish (Nov 22, 2026, design council move 1 + map upgrade).
   Home page only. /locations/ keeps the full directory (filters, list view, zoom, office buttons).
   Pairs with JS snippet "AR: Home council updates, JS (map teaser, low job counts)". */

/* 1. Teaser: drop the filters, toolbar (results, Clear, Map/List, zoom) and the eight office buttons. */
body.home .ar-home-locations #ar-office-map > :is(.ar-map-filters,.ar-map-toolbar,.ar-map-list,.ar-map-empty),
body.home #fl-main-content#fl-main-content .ar-home-locations .ar-home-location-grid{display:none!important}

/* 2. The recruiter panel reads as a result card on the warm map surface (white card, 12px radius, 24px padding). */
body.home #fl-main-content .ar-home-locations #ar-office-panel{
  align-self:start;
  padding:24px!important;
  background:#fff!important;
  border:1px solid var(--ar-border,#E7E6E3)!important;
  border-radius:var(--ar-radius-card,12px)!important;
  box-shadow:0 8px 24px -16px rgba(31,36,61,.25);
}
body.home .ar-home-locations .ar-map-kicker-count{
  margin:0 0 12px;font:700 12px/1.4 Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ar-brand-red,#9B1B24);
}
body.home .ar-home-locations .ar-map-start{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:16px;padding:10px 16px;
  border:1px solid var(--ar-brand-navy,#1F243D);border-radius:var(--ar-radius-control,6px);
  background:#fff;color:var(--ar-brand-navy,#1F243D);font:600 14px/1.4 Inter,Arial,sans-serif;cursor:pointer;
  transition:background-color var(--ar-motion-hover,150ms) var(--ar-ease-enter,ease),color var(--ar-motion-hover,150ms) var(--ar-ease-enter,ease);
}
body.home .ar-home-locations .ar-map-start:hover{background:var(--ar-brand-navy,#1F243D);color:#fff}

/* 3. Pins: show they respond. Fill eases to navy and a soft shadow lifts the pin (no transform: the pin's
   position lives in its transform attribute, which a CSS transform would override). */
body.home #ar-office-map .ar-recruiter-pin{cursor:pointer;transition:filter var(--ar-motion-hover,150ms) var(--ar-ease-enter,ease)}
body.home #ar-office-map .ar-recruiter-pin .ar-pin-shape{transition:fill var(--ar-motion-hover,150ms) var(--ar-ease-enter,ease)}
body.home #ar-office-map .ar-recruiter-pin:is(:hover,:focus-visible,[aria-pressed="true"]){filter:drop-shadow(0 4px 6px rgba(31,36,61,.35))}

@media (prefers-reduced-motion:reduce){
  body.home #ar-office-map .ar-recruiter-pin,
  body.home #ar-office-map .ar-recruiter-pin .ar-pin-shape,
  body.home .ar-home-locations .ar-map-start{transition:none!important}
}

/* 4. Low job counts read as an invitation, not a number (see JS). Lets the longer line wrap inside the pill. */
body.home .ar-home-industry .ar-hp-count.ar-hp-count--talk{white-space:normal!important;text-align:left}

/* 5. Testimonials: recruiter line reads "Recruiter: Name" on one line (design council move 3).
   The label style is a !important rule in @layer ar-profile-clean, so this sits in that layer with higher
   specificity. Loaded in the footer so the layer already exists and layer order is unchanged. */
@layer ar-profile-clean{
  html body.home #fl-main-content#fl-main-content#fl-main-content #ar-featured-reviews .ar-hp-rec small{
    display:inline!important;font:inherit!important;letter-spacing:0!important;text-transform:none!important;color:inherit!important;margin:0!important;
  }
}
body.home #ar-featured-reviews .ar-hp-rec small::after{content:": "}

/* Dec 1, 2026: the "Talk to ... about current searches" pill did not wrap, because the nowrap rule for
   .ar-hp-count sits in @layer ar-profile-clean, and a layered !important beats an unlayered one.
   Same layer, higher specificity, so the longer line wraps inside the card. */
@layer ar-profile-clean{
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-count.ar-hp-count--talk{white-space:normal!important;text-align:left;max-width:100%}
}

/* Dec 1, 2026 (Jenn's screenshot): industry card dividers line up across all four cards.
   The faces row sits at the bottom of every card, faces are a little smaller and overlap
   so the jobs pill stays on one line, and the row has equal space above and below. */
@layer ar-profile-clean{
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-meta{margin-top:auto!important;padding-top:16px!important;padding-bottom:16px!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-meta + span{margin-top:0!important}
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-faces{min-width:0;align-items:center}
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-faces img{width:32px!important;height:32px!important;flex:0 0 32px!important}
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-faces img + img{margin-left:-10px!important}
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-faces img:nth-of-type(n+4),html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-more{display:none!important} /* max three faces; the jobs pill carries the number */
  html body.home #fl-main-content#fl-main-content .ar-home-industry .ar-hp-count:not(.ar-hp-count--talk){flex:0 0 auto!important;white-space:nowrap!important}
}


/* Scoped closing-section layout: preserves the original form button and its handlers. */
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;
 width:calc(100% - 48px)!important;max-width:1160px!important;margin:24px auto 64px!important;
 padding:0!important;box-sizing:border-box!important;
}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps > section:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
 gap:24px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:32px!important;
 background:#fff!important;border:1px solid #dbe0e7!important;border-radius:12px!important;box-sizing:border-box!important;
}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps > section > div:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {flex:1!important;max-width:none!important;}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps h2:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {
 font-family:"Archivo Black",Inter,sans-serif!important;font-size:28px!important;line-height:1.25!important;font-weight:400!important;
 max-width:100%!important;margin:0 0 12px!important;color:#1f243d!important;
}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps p:not(.ar26p-eyebrow):is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {
 font:400 16px/1.65 Inter,Arial,sans-serif!important;max-width:100%!important;margin:0!important;color:#494441!important;
}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps .ar26p-eyebrow {display:none!important;}
body.page-id-4530 #fl-main-content .ar-testimonial-next-steps > section > :is(a,button):is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;align-self:flex-start!important;
 margin:0!important;padding:14px 20px!important;min-height:48px!important;max-width:100%!important;
 border-radius:6px!important;font:600 16px/1.4 Inter,Arial,sans-serif!important;white-space:normal!important;text-align:center!important;
}
@media(max-width:767px){
 body.page-id-4530 #fl-main-content .ar-testimonial-next-steps:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 40px)!important;gap:16px!important;margin:16px auto 40px!important;}
 body.page-id-4530 #fl-main-content .ar-testimonial-next-steps > section:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {padding:24px!important;gap:20px!important;}
 body.page-id-4530 #fl-main-content .ar-testimonial-next-steps h2:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {font-size:24px!important;}
}
/* The application instruction must remain visible even when an ATS intro exists. */
#fl-main-content .hmg-cp-detail-body > p.ar-apply-ending:is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {display:block!important;}
body.page-id-4530 #fl-main-content .ar26p-page-body:has(+ .ar-testimonial-next-steps):is(#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close#ar-close, *) {padding-bottom:0!important;}
