/* Coach listing (/best-health-coach) — visual refresh to match the Unlimitr web design.
   Presentation only: every selector targets markup that already exists in
   views/trainer/index_v2.php (or the card template inside its JS), so filters,
   search, sorting, infinite scroll and tracking keep working untouched.
   Tokens use a --cl- prefix because stylesheet.css declares its palette on `*`,
   which would shadow same-named variables set on :root. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root{
  --cl-white:#fff;--cl-bg:#f9f9f9;--cl-ink:#2a2a2a;
  --cl-blue-100:#f0f2f8;--cl-blue-300:#88bbed;--cl-blue-600:#0080dd;--cl-blue-dark:#0d3256;
  --cl-green-100:#daefe0;--cl-green-700:#00b259;--cl-green:#008944;--cl-green-hover:#006432;--cl-green-800:#008944;
  --cl-orange-light:#fff5e6;--cl-orange-dark:#ff7300;
  --cl-muted:#606060;--cl-muted-light:#9a9a9a;--cl-border:#e8e8e8;--cl-placeholder:#f1f1f1;
  --cl-font:'Outfit',system-ui,sans-serif;--cl-max:1180px;
  --cl-r:14px;--cl-r-lg:20px;--cl-r-xl:28px;--cl-pill:999px;
  --cl-shadow-sm:0 4px 16px rgba(42,42,42,.06);--cl-shadow-md:0 12px 40px rgba(42,42,42,.08);
}

/* ── Page canvas & type ── */
.listbanner,#listing,.cl-promo,.cat-intro,section.faq{font-family:var(--cl-font);color:var(--cl-ink)}
#listing,.cl-promo,.cat-intro,section.faq{background:var(--cl-bg)}
#listing button,#listing input,#listing select{font-family:var(--cl-font)}

/* ── Hero (same asset, crop and copy as the reference .cl-hero) ── */
/* The CMS banner section stays in the markup (and its PHP/Swiper code still runs) but is not shown. */
.listbanner{display:none !important}
.cl-hero{
  position:relative;min-height:400px;overflow:hidden;background:#fff;display:flex;align-items:center;
  font-family:var(--cl-font);line-height:20px;color:var(--cl-ink);
}
/* Crop: show the banner's 22%–83% height band (top white space removed, so the phone and coach start right
   under the header) and end the hero at 76% of its width (the plant/dumbbell rack on the right is cut off).
   height 164% = 100/0.61; translate(24%,-22%) pushes the right 24% and top 22% outside the hero.
   On very wide screens any space left of the image is white and sits under the white overlay. */
.cl-hero-img{
  position:absolute;top:0;right:0;width:auto;height:138%;max-width:none;transform:translate(24%,-21.4%);display:block;
  /* soft left edge so the green band never shows a hard cut where the image starts */
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%);
}
.cl-hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(100deg,#fff 0%,#fff 36%,rgba(255,255,255,.85) 46%,rgba(255,255,255,.3) 54%,rgba(255,255,255,0) 62%);
}
/* width:100% — as a flex item the inner column would otherwise shrink to its text and the auto margins
   would centre that narrow block, leaving a wide empty band on the left of the hero image. */
/* Left gap scales with the viewport (≈154px at 1920, ≈109px at 1366, 24px minimum) instead of following the
   centred 1180px column, so wide screens don't show a large blank area left of the heading. */
.cl-hero-inner{position:relative;z-index:1;width:100%;margin:0;padding:64px 24px 100px clamp(24px,8vw,160px)}
.cl-hero-eyebrow{
  display:inline-block;background:#fff;border:1px solid var(--cl-border);border-radius:var(--cl-pill);
  padding:6px 14px;font-size:11px;line-height:20px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--cl-blue-dark);
  margin-bottom:18px;
}
.cl-hero-title{
  font-family:var(--cl-font);font-size:44px;line-height:1.15;font-weight:800;letter-spacing:-.01em;color:var(--cl-ink);
  max-width:600px;margin:0 0 16px;text-transform:none;
}
.cl-hero-title span{color:var(--cl-green)}
.cl-hero-sub{font-size:18px;color:var(--cl-muted);max-width:440px;line-height:1.5;margin:0}

/* ── Content column: reference .wrap (1180px incl. 24px gutters), pulled 56px over the hero ── */
#listing .tb-pad.right{max-width:var(--cl-max);margin:0 auto;padding-top:0;padding-bottom:40px}
#listing .tb-pad.right .lr-pad{padding-left:24px;padding-right:24px}
#listing .filter_cont{position:relative;z-index:6;margin-top:-56px;margin-bottom:0}

/* ── Search bar ── */
#listing .unified-search-filter{
  background:var(--cl-white);border-radius:var(--cl-r-lg);box-shadow:var(--cl-shadow-md);
  padding:10px;gap:12px;margin-bottom:0;position:relative;z-index:2;align-items:flex-start;
}
#listing .unified-search-filter .search{height:54px}
#listing .unified-search-filter .search input{
  height:54px;border:0;border-radius:0;padding:10px 44px 10px 44px;font-size:16px;line-height:20px;color:var(--cl-ink);background-color:transparent;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:16px center;background-size:18px;
}
#listing .unified-search-filter .search input::placeholder{color:var(--cl-muted-light)}
#listing .unified-search-filter .search input:focus{box-shadow:none;border:0}
#listing .unified-search-filter .filter-icon-btn{
  flex-shrink:0;width:48px;height:48px;border-radius:var(--cl-r);border:1px solid var(--cl-border);
  background:var(--cl-white);transition:background .2s,border-color .2s;
}
#listing .unified-search-filter .filter-icon-btn:hover{background:var(--cl-blue-100);border-color:var(--cl-blue-300)}
#listing .unified-search-filter .filter-icon-btn svg path{stroke:var(--cl-blue-dark)}
#listing .unified-search-filter .filter-icon-btn .count{background:var(--cl-green)}
#listing .cl-search-btn{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:54px;padding:0 24px;line-height:18px;
  border-radius:var(--cl-r);border:2px solid var(--cl-green);background:var(--cl-green);color:#fff;
  font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 6px 24px rgba(0,137,68,.28);
  transition:background .22s,border-color .22s,transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;
}
#listing .cl-search-btn:hover{background:var(--cl-green-hover);border-color:var(--cl-green-hover);transform:translateY(-2px);box-shadow:0 10px 32px rgba(0,137,68,.36)}

/* ── Quick filter chips ── */
#listing .quick-filter-chip{
  padding:7px 16px;border-radius:var(--cl-pill);border:1px solid var(--cl-border);background:var(--cl-white);
  color:var(--cl-ink);font-size:14px;font-weight:600;
}
#listing .quick-filter-chip:hover{border-color:var(--cl-green-700);background:var(--cl-white)}
#listing .quick-filter-chip.active{background:var(--cl-green);border-color:var(--cl-green);color:#fff}

/* ── Category pills ── */
/* top:0 cancels the -20px offset from assets/css/pages/stylesheet.css so the row sits 24px under the search card */
#listing .stickybox{background:var(--cl-bg);padding:24px 0 0;top:0}
/* Reference row: [34px arrow] 8px [scroller, 2px inset] 8px [34px arrow] — arrows always shown */
#listing .categories{padding:2px 44px;margin-bottom:0}
#listing .categories .navbtn{position:absolute;top:8px;width:34px;height:34px;padding:0}
#listing .categories .navbtn[aria-disabled="true"],#listing .categories .navbtn.swiper-button-disabled{display:flex;opacity:1;cursor:default}
#listing .categories .nav-prev{left:0}
#listing .categories .nav-next{right:0}
#listing .categories .swiper-slide .slidebox{
  gap:8px;padding:10px 18px;height:42px;border:1px solid var(--cl-border);border-radius:var(--cl-pill);
  background:var(--cl-white);color:var(--cl-ink);opacity:1;transition:background .2s,border-color .2s,color .2s;
}
#listing .categories .swiper-slide .slidebox:hover{border-color:var(--cl-green-700);background:var(--cl-white)}
#listing .categories .swiper-slide .slidebox .icon{width:16px;height:16px}
#listing .categories .swiper-slide .slidebox p{font-size:14px;line-height:20px;font-weight:700;color:var(--cl-ink);padding:0;white-space:nowrap}
#listing .categories .swiper-slide .slidebox p::after{display:none}
#listing .categories .swiper-slide .slidebox.selected{background:var(--cl-green) !important;border-color:var(--cl-green) !important}
#listing .categories .swiper-slide .slidebox.selected p{color:#fff !important;font-weight:700}
#listing .categories .swiper-slide .slidebox.dot::after{background:var(--cl-green) !important;right:6px;bottom:auto;top:6px;height:7px;width:7px}
#listing .categories .swiper-slide .slidebox.dot.selected::after{background:#fff !important}
#listing .navbtn{width:34px;height:34px;border:1px solid var(--cl-border);background:var(--cl-white)}
#listing .navbtn svg{width:16px;height:16px}
#listing .navbtn svg path{stroke:var(--cl-ink);stroke-width:2.5}
#listing .navbtn:hover{background:var(--cl-green-100);border-color:var(--cl-green-700)}
#listing .navbtn:hover svg path{stroke:var(--cl-ink)}
#listing .categories .navbtn{top:4px}

/* ── Sub-category chips & panel ── */
#listing .sub-cats .swiper-slide .slidebox{border-radius:var(--cl-pill);border-color:var(--cl-border);background:var(--cl-white)}
#listing .sub-cats .swiper-slide .slidebox p{color:var(--cl-ink);font-weight:600}
#listing .sub-cats .swiper-slide .slidebox.active{background:var(--cl-green-100);border-color:var(--cl-green)}
#listing .sub-cats .swiper-slide .slidebox.active p{color:var(--cl-green)}
#listing .sub-cats .swiper-slide .slidebox.active svg .border{stroke:var(--cl-green);fill:var(--cl-green)}
#listing .sub-cats .bottom .cta-button,#listing .filterctas .cta-button:not(.white){
  background:var(--cl-green);border-color:var(--cl-green);color:#fff;border-radius:10px;font-weight:600;
}
#listing .filterctas .cta-button.white{border-color:var(--cl-border);border-radius:10px;font-weight:600}
/* Mobile bottom sheet (≤991px, same breakpoint listing.js uses). The sheet (.sub-cats, z 999) and its
   backdrop (.subbg, z 9) live inside .stickybox, whose position:relative + z-index:5 traps them at layer 5:
   the search card (.filter_cont, z 6) and sticky header (.site-nav, z 300) painted over the sheet and
   stayed undimmed. Lift the row above them only while listing.js has the backdrop shown. */
@media only screen and (max-width:991px){
  #listing .stickybox:has(.subbg[style*="display: block"]){z-index:1000}
}

/* ── Filter drawer ── */
#listing .filter-container .top-bar p{font-family:var(--cl-font);font-weight:800;color:var(--cl-ink)}
#listing .filters_list .filterlistcont .titlebox p{font-family:var(--cl-font);font-weight:700;color:var(--cl-ink)}
#listing .filt_list input[type=checkbox],#listing .filt_list input[type=radio]{accent-color:var(--cl-green)}

/* ── Active filter chips ── */
#listing .active_filters{margin-top:44px}
#listing .active_filters .clearbtn{color:var(--cl-green);text-decoration:none;font-weight:700;line-height:20px}
#listing .active_filters .clearbtn:hover{text-decoration:underline}
#listing .active_filters p.allfilters{background:transparent;color:var(--cl-green);font-weight:700;text-decoration:none;white-space:nowrap}
#listing .active_filters p.allfilters:hover{text-decoration:underline}
@media only screen and (min-width:992px){
  /* Keep "See all / See less" pinned beside the first chip row instead of stretching to the expanded height */
  #listing .active_filters{align-items:flex-start}
  #listing .active_filters .act_fitls_cont{flex:1;min-width:0}
  #listing .active_filters p.allfilters{width:auto;flex-shrink:0;height:34px;margin-top:8px;justify-content:flex-end}
}

/* ── Toolbar: results count + sort ── */
#listing .listing_cont{margin-top:28px}
#listing .listtitle{align-items:center;padding-bottom:4px}
#listing .listtitle .left_count p,#listing .listtitle .left_count p span{
  font-size:18px !important;font-weight:700 !important;color:var(--cl-ink) !important;font-family:var(--cl-font);
}
#listing .sort label p{font-size:14px;font-weight:700;color:var(--cl-ink)}
#listing .sort select{
  height:auto;border:1px solid var(--cl-border);border-radius:var(--cl-r);background-color:var(--cl-white);
  padding:9px 34px 9px 14px;font-size:14px;font-weight:600;color:var(--cl-ink);text-align:left;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-size:14px;background-position:calc(100% - 12px) center;
}
#listing .view-toggle-btn{border-color:var(--cl-border);border-radius:10px}
#listing .view-toggle-btn.active{background:var(--cl-green);border-color:var(--cl-green);color:#fff}

/* ── Grid: 4 / 3 columns on desktop (tablet & mobile keep the list/grid toggle rules) ── */
#listing .listing{gap:22px}
@media only screen and (min-width:992px){
  #listing .listing tr,#listing .listing .col-3{grid-column:span 3 !important}
}
@media only screen and (min-width:992px) and (max-width:1080px){
  #listing .listing tr,#listing .listing .col-3{grid-column:span 4 !important}
}

/* ── Coach card ── */
#listing .doc-card{
  display:flex;flex-direction:column;padding-bottom:0;background:var(--cl-white);
  border:1px solid var(--cl-border);border-radius:var(--cl-r-lg) !important;overflow:hidden;
  box-shadow:var(--cl-shadow-sm);transition:transform .25s,box-shadow .25s;
}
#listing .doc-card:hover{transform:translateY(-4px);box-shadow:var(--cl-shadow-md);border-color:var(--cl-border)}
#listing .doc-card>a:first-child{display:flex;flex-direction:column;flex:1;color:inherit}
#listing .doc-card .imagebox{border-radius:0;background:var(--cl-placeholder)}
/* 3:4 photo like the reference. Full shorthand on purpose: stylesheet.css also sets
   aspect-ratio:1 + padding-bottom:100%, which would stack on top of padding-top. */
/* Tablet (768–991px) keeps its square photo: the list view there is a single full-width card,
   where 3:4 would make the card taller than the screen. */
@media only screen and (max-width:767px),only screen and (min-width:992px){
  #listing .listing:not(.two-column) .doc-card .imagebox{padding:133.333% 0 0;aspect-ratio:auto}
}
#listing .doc-card .imagebox img{object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
#listing .doc-card:hover .imagebox img{transform:scale(1.06)}
#listing .doc-card .available-badge{
  left:10px;right:auto;bottom:10px;background:var(--cl-green);border-radius:var(--cl-pill);
  padding:4px 10px;font-size:11px;font-weight:700;box-shadow:none;
}
#listing .doc-card .content{display:flex;flex-direction:column;flex:1;padding:16px 18px 0}
/* Reference order: name → specialty → badges → meta → tags → footer rule */
#listing .doc-card .content .name{order:0;align-items:flex-start;justify-content:space-between;gap:8px}
#listing .doc-card .content .sub{order:1}
#listing .doc-card .content .badge-chips{order:2}
#listing .doc-card .content .meta-info{order:3}
#listing .doc-card .content .specialties-section{order:4}
#listing .doc-card .content::after{content:"";order:10;margin-top:auto;padding-top:14px;border-bottom:1px solid var(--cl-border)}
#listing .doc-card .content .name p{
  display:flex;align-items:center;gap:5px;font-size:20px;line-height:30px;font-weight:700;letter-spacing:-.01em;color:var(--cl-ink);
}
#listing .doc-card .content .name .country{height:18px;width:18px;flex-shrink:0}
/* stylesheet.css sizes the flag img at a fixed 20px (object-fit:cover), wider than this box, so the
   name's overflow:hidden clipped its right edge; fit the (square, 18×18) flag SVG to the box instead */
#listing .doc-card .content .name .country img{width:100%;height:100%;object-fit:contain;border-radius:0}
#listing .doc-card .rating-badge{
  flex-shrink:0;background:none;padding:0;margin-top:6px;gap:3px;font-size:13px;font-weight:700;color:var(--cl-ink);
}
#listing .doc-card .rating-badge svg{width:12px;height:12px;color:#f5a623}
#listing .doc-card .content .sub{
  margin:4px 0 0;font-size:16px;line-height:20px;color:var(--cl-muted);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
#listing .doc-card .badge-chips{gap:6px;margin:10px 0 0;flex-wrap:wrap}
#listing .doc-card .badge-chip{
  display:inline-flex;align-items:center;gap:4px;border-radius:var(--cl-pill);padding:3px 9px;
  font-size:10.5px;font-weight:800;letter-spacing:.02em;
}
#listing .doc-card .badge-chip.top-rated{background:var(--cl-orange-light);color:var(--cl-orange-dark)}
#listing .doc-card .badge-chip.verified{background:var(--cl-green-100);color:var(--cl-green)}
#listing .doc-card .badge-chip.verified::before{
  content:"";width:6px;height:3px;margin:0 1px 2px 0;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);
}
#listing .doc-card .meta-info{gap:12px;margin:10px 0 0;flex-wrap:wrap;justify-content:flex-start}
#listing .doc-card .specialties-tags{justify-content:flex-start}
#listing .doc-card .meta-item{gap:4px;font-size:12px;color:var(--cl-muted)}
#listing .doc-card .meta-item .icon{width:13px;height:13px}
#listing .doc-card .meta-item .icon svg path{stroke:var(--cl-muted-light)}
#listing .doc-card .meta-item .icon img{width:13px;height:13px;opacity:.55;filter:grayscale(1)}
#listing .doc-card .specialties-section{margin-top:10px}
#listing .doc-card .specialties-tags{gap:6px}
#listing .doc-card .specialty-tag{
  background:var(--cl-placeholder) !important;color:var(--cl-ink) !important;
  border-radius:var(--cl-pill);padding:4px 10px;font-size:11px;font-weight:600;
}
#listing .doc-card .specialty-tag.more-count{background:var(--cl-blue-100) !important;color:var(--cl-blue-dark) !important;padding:4px 10px !important}
/* Book Now — inset green CTA instead of the full-bleed navy bar */
#listing .doc-card .bookcta{
  position:static;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 6px;
  width:auto;margin:14px 18px 18px;min-height:44px;padding:8px 16px;
  border-radius:10px;border:2px solid var(--cl-green);background:var(--cl-green);color:#fff;
  font-size:14px;line-height:18px;font-weight:600;text-align:center;box-shadow:0 6px 24px rgba(0,137,68,.28);
  transition:background .22s,border-color .22s,transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;
}
#listing .doc-card .bookcta::after{
  content:"";width:14px;height:14px;flex-shrink:0;background-repeat:no-repeat;background-size:14px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
#listing .doc-card .bookcta span{color:#fff}
/* Priced cards: reference footer — price on the left, "Book Now →" pill on the right.
   Same link and text; the "Book Now ·" text node is visually hidden and redrawn as the pill.
   Free ("for Free") and "Message Coach" cards keep the full-width button above. */
#listing .doc-card .bookcta:has(>span:not(.free)){
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;column-gap:0;
  position:relative;margin:0 18px 18px;min-height:0;padding:14px 0 0;border:0;border-radius:0;background:none;box-shadow:none;
  font-size:0;line-height:0;text-align:left;
}
#listing .doc-card:hover .bookcta:has(>span:not(.free)),#listing .doc-card .bookcta:has(>span:not(.free)):hover{background:none;transform:none;box-shadow:none}
#listing .doc-card .bookcta:has(>span:not(.free))>span{
  order:1;min-width:0;margin-right:10px;color:var(--cl-ink);font-size:13px;line-height:20px;font-weight:700;white-space:nowrap;
}
#listing .doc-card .bookcta:has(>span:not(.free))>.price-original{order:0;font-size:11px;line-height:14px;font-weight:600;color:var(--cl-muted-light);opacity:1;margin:0;position:absolute;left:0;top:17px;white-space:nowrap}
#listing .doc-card .bookcta:has(>span:not(.free))::after{display:none}
#listing .doc-card .bookcta:has(>span:not(.free))::before{
  content:"Book Now";order:2;margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;box-sizing:border-box;
  min-height:54px;padding:8px 36px 8px 16px;border-radius:10px;border:2px solid var(--cl-green);background-color:var(--cl-green);
  color:#fff;font-size:14px;line-height:18px;font-weight:600;white-space:nowrap;box-shadow:0 6px 24px rgba(0,137,68,.28);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-size:14px;background-position:right 16px center;
  transition:background-color .22s,border-color .22s,transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;
}
#listing .doc-card .bookcta:has(>span:not(.free)):hover::before{
  background-color:var(--cl-green-hover);border-color:var(--cl-green-hover);transform:translateY(-2px);box-shadow:0 10px 32px rgba(0,137,68,.36);
}
#listing .listing.two-column .doc-card .bookcta:has(>span:not(.free)){margin:0 12px 12px;padding:10px 0 0}
#listing .listing.two-column .doc-card .bookcta:has(>span:not(.free)){flex-wrap:wrap}
#listing .listing.two-column .doc-card .bookcta:has(>span:not(.free))>.price-original{position:static;flex-basis:100%;margin-bottom:2px}
#listing .listing.two-column .doc-card .bookcta:has(>span:not(.free))>span{font-size:11px;line-height:16px;white-space:normal;margin-right:6px}
#listing .listing.two-column .doc-card .bookcta:has(>span:not(.free))::before{min-height:34px;padding:6px 26px 6px 10px;font-size:12px;background-position:right 9px center;background-size:12px}
#listing .doc-card:hover .bookcta,#listing .doc-card .bookcta:hover{background:var(--cl-green-hover);border-color:var(--cl-green-hover)}
#listing .doc-card .bookcta:hover{transform:translateY(-2px);box-shadow:0 10px 32px rgba(0,137,68,.36)}
#listing .listing.two-column .doc-card .content{padding:12px 12px 0}
#listing .listing.two-column .doc-card .content .name p{font-size:16px;line-height:22px}
#listing .listing.two-column .doc-card .bookcta{margin:12px;font-size:12px;padding:6px 10px}

/* ── App promo ── */
.cl-promo{padding:70px 0}
.cl-promo .cl-promo-wrap{width:100%;max-width:var(--cl-max);margin:0 auto;padding:0 24px}
.cl-promo-box{
  background:linear-gradient(135deg,var(--cl-green-100) 0%,#eafaf0 100%);border-radius:var(--cl-r-xl);
  display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:32px;padding:56px;overflow:hidden;position:relative;
}
.cl-promo-copy h2{font-size:28px;font-weight:800;line-height:42px;letter-spacing:-.01em;margin:0 0 14px;color:var(--cl-ink);font-family:var(--cl-font)}
.cl-promo-copy h2 span{color:var(--cl-green);display:block}
.cl-promo-copy p{font-size:18px;line-height:1.4;color:var(--cl-muted);max-width:420px;margin:0 0 24px}
.cl-store-badges{display:flex;gap:12px;flex-wrap:wrap}
.cl-store-badges img{display:block;height:40px;width:auto}
.cl-promo-visual{position:relative;height:340px;display:flex;align-items:center;justify-content:center}
.cl-promo-phone{position:absolute;height:340px;width:auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.15))}
.cl-promo-phone--a{left:0;transform:rotate(-6deg);z-index:1}
.cl-promo-phone--b{right:0;transform:rotate(5deg);z-index:2;height:360px}
@media (max-width:860px){
  .cl-promo-box{grid-template-columns:1fr;text-align:center;padding:40px 28px}
  .cl-promo-copy p{margin-left:auto;margin-right:auto}
  .cl-store-badges{justify-content:center}
  .cl-promo-visual{height:260px;margin-top:12px}
  .cl-promo-phone,.cl-promo-phone--b{height:250px}
  .cl-promo-phone--a{left:8%}
  .cl-promo-phone--b{right:8%}
}

/* ── Category intro copy ── */
.cat-intro>.lr-pad{max-width:var(--cl-max);margin:0 auto;padding-left:24px;padding-right:24px}
.cat-intro .cat-intro-title{font-family:var(--cl-font);font-size:28px;line-height:42px;font-weight:800;color:var(--cl-ink)}
.cat-intro h3{font-family:var(--cl-font);color:var(--cl-ink);font-size:20px}
.cat-intro p,.cat-intro ul li{color:var(--cl-muted)}

/* ── FAQ ── */
section.faq>.lr-pad{max-width:var(--cl-max);margin:0 auto;padding-left:24px;padding-right:24px;padding-bottom:80px}
section.faq .faqtitle{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
section.faq .faqtitle p{
  position:relative;padding-bottom:10px;font-family:var(--cl-font);font-size:28px;line-height:42px;font-weight:800;
  letter-spacing:-.01em;color:var(--cl-ink);overflow:visible;
}
section.faq .faqtitle p::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:3px;background:var(--cl-green);border-radius:2px}
section.faq .faq_gr.t-pad{padding-top:28px}
section.faq .faq-block{gap:12px;max-width:840px;margin:0}
section.faq .faq-item{border:1px solid var(--cl-border);border-radius:var(--cl-r);background:var(--cl-white);padding:0;overflow:hidden}
section.faq .faq-question{flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:14px;padding:18px 20px}
section.faq .faq-question h2{font-family:var(--cl-font);font-size:18px;line-height:1.35;font-weight:700;color:var(--cl-ink)}
/* Existing plus/minus SVG restyled into the reference's green round toggle */
section.faq .faq-question svg.icon{
  flex-shrink:0;width:26px;height:26px;padding:7px;border-radius:50%;background:var(--cl-green);transform:none !important;
}
section.faq .faq-question svg.icon path{fill:#fff}
section.faq .faq-question svg.icon path:first-child{transition:opacity .2s}
section.faq .faq-item.active .faq-question svg.icon path:first-child{opacity:0}
section.faq .faq-answer{padding:0 20px 0 60px}
section.faq .faq-item.active .faq-answer{padding-bottom:20px}
section.faq .faq-answer p,section.faq .faq-answer li{font-size:16px;line-height:1.6;color:var(--cl-muted)}
section.faq .faq-answer ul{list-style:none;padding-left:0;display:flex;flex-direction:column;gap:8px}
section.faq .faq-answer ul li{position:relative;padding-left:26px}
section.faq .faq-answer ul li::before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:50%;background:var(--cl-green-100)}
section.faq .faq-answer ul li::after{
  content:"";position:absolute;left:4.5px;top:7px;width:7px;height:4px;border-left:2px solid var(--cl-green);
  border-bottom:2px solid var(--cl-green);transform:rotate(-45deg);
}

/* ── Mobile ── */
@media only screen and (max-width:640px){
  .cl-hero{min-height:320px}
  /* The coach photo sits behind the centred copy on narrow screens: wash it out so the text reads */
  .cl-hero-img{object-position:75% 20%}
  .cl-hero-overlay{background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 55%,rgba(255,255,255,.78) 100%)}
  .cl-hero-eyebrow{font-size:10px;padding:4px 12px;margin-bottom:14px}
  .cl-hero-title{font-size:28px;line-height:1.2;margin-left:auto;margin-right:auto;margin-bottom:12px}
  .cl-hero-inner{width:100%;padding:36px 20px 76px;text-align:center}
  .cl-hero-sub{font-size:15px;margin-left:auto;margin-right:auto}
  #listing .filter_cont{margin-top:-40px}
}
/* ── Mobile hero: stack copy above the photo instead of layering it over the image ── */
@media only screen and (max-width:640px){
  .cl-hero{flex-direction:column;align-items:stretch;min-height:0;background:var(--cl-bg);padding-bottom:48px}
  .cl-hero-inner{order:2;padding:32px 20px 20px}
  /* Same crop on mobile: banner x 20%–76%, y 22%–83% (178.6% = 100/0.56; margins are % of hero width) */
  .cl-hero-img{
    order:1;position:static;inset:auto;width:178.6%;height:auto;transform:none;object-fit:contain;object-position:center;
    margin:-18% 0 -9.8% -35.7%;-webkit-mask-image:none;mask-image:none;
  }
  .cl-hero-overlay{display:none}
}
@media only screen and (max-width:767px){
  #listing .tb-pad.right .lr-pad{padding-left:16px;padding-right:16px}
  #listing .unified-search-filter{gap:8px;padding:8px;align-items:center;border-radius:var(--cl-r)}
  /* Match the input row to the 44px buttons beside it */
  #listing .unified-search-filter .search{flex:1;min-width:0;height:44px}
  #listing .unified-search-filter .search input{height:44px;padding:10px 32px 10px 36px;background-position:10px center;background-size:16px;font-size:14px;text-overflow:ellipsis}
  #listing .unified-search-filter .filter-icon-btn,#listing .cl-search-btn{width:44px;height:44px;border-radius:12px}
  #listing .cl-search-btn{padding:0;gap:0;box-shadow:0 4px 14px rgba(0,137,68,.24)}
  #listing .cl-search-btn .cl-search-btn-label{display:none}
  #listing .stickybox{padding-top:20px}
  /* Toolbar: count on its own row, then [list/grid toggle] … [Sort By ▾] on one line */
  #listing .listing_cont{margin-top:20px}
  #listing .listtitle{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}
  #listing .listtitle .left_count{justify-content:flex-start}
  #listing .listtitle .left_count p,#listing .listtitle .left_count p span{font-size:17px !important}
  #listing .listtitle .right-controls{width:100%;justify-content:space-between;gap:10px}
  #listing .sort label{gap:8px}
  #listing .sort label p{white-space:nowrap;font-size:13px}
  #listing .listtitle .right-controls .sort{flex:1;min-width:0;display:flex;justify-content:flex-end}
  #listing .sort label{min-width:0}
  #listing .sort select{min-width:0;width:100%;padding:9px 30px 9px 12px;font-size:13px;max-width:180px}
  #listing .listing{gap:16px}

  /* ── Grid view (two cards per row) ── */
  #listing .listing.two-column{gap:12px}
  #listing .listing.two-column .doc-card{border-radius:16px !important}
  #listing .listing.two-column .doc-card .content{padding:12px 10px 0}
  /* Name wraps as text with the flag inline after it; rating drops to its own line */
  #listing .listing.two-column .doc-card .content .name{flex-direction:column;align-items:flex-start;gap:2px !important}
  #listing .listing.two-column .doc-card .content .name p{
    display:block;max-width:100%;font-size:14px !important;line-height:19px;
    overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  #listing .listing.two-column .doc-card .content .name .country{display:inline-block;vertical-align:-3px;width:16px;height:16px;margin-left:4px}
  #listing .listing.two-column .doc-card .content .name .country img{width:100% !important;height:100% !important}
  #listing .listing.two-column .doc-card .rating-badge{margin-top:0;font-size:12px}
  #listing .listing.two-column .doc-card .content .sub{font-size:12px !important;line-height:16px}
  #listing .listing.two-column .doc-card .badge-chips{gap:4px;margin-top:8px}
  #listing .listing.two-column .doc-card .badge-chip{font-size:9px !important;padding:2px 6px !important}
  #listing .listing.two-column .doc-card .meta-info{gap:4px;margin-top:8px}
  #listing .listing.two-column .doc-card .meta-item{font-size:11px}
  #listing .listing.two-column .doc-card .specialties-section{margin-top:8px}
  #listing .listing.two-column .doc-card .specialties-tags{justify-content:flex-start !important;flex-wrap:wrap !important;gap:4px !important}
  #listing .listing.two-column .doc-card .specialty-tag{max-width:100%;padding:3px 8px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #listing .listing.two-column .doc-card .specialty-tag.more-count{padding:3px 8px !important}
  #listing .listing.two-column .doc-card .content::after{padding-top:10px}
  /* Footer: price on its own line, full-width Book Now underneath */
  #listing .listing.two-column .doc-card .bookcta:has(>span:not(.free)){margin:0 10px 10px;padding:8px 0 0}
  #listing .listing.two-column .doc-card .bookcta:has(>span:not(.free))>span{flex-basis:100%;margin:0 0 8px;font-size:12px;line-height:16px}
  #listing .listing.two-column .doc-card .bookcta:has(>span:not(.free))::before{
    flex-basis:100%;justify-content:center;margin-left:0;min-height:36px;padding:6px 28px;background-position:right 12px center;
  }
  #listing .listing.two-column .doc-card .bookcta{margin:10px;min-height:36px}
  section.faq>.lr-pad,.cat-intro>.lr-pad{padding-left:16px;padding-right:16px}
  section.faq .faq-answer{padding-left:20px}
  .cl-promo{padding:48px 0}
  .cl-promo .cl-promo-wrap{padding:0 16px}
}
