/* Explore Professionals owns ONLY directory presentation; Card and Header remain Core canonical. */
body.bpro-page{--bpro-ink:#272c30;--bpro-line:#dfe3e1;--bpro-soft:#f5f6f5;color:var(--bpro-ink)!important;background:white!important;padding-bottom:0!important}
.bpro-page .bpro-main{width:min(1200px,100%);margin:0 auto;padding:0 clamp(16px,3vw,28px) 88px;min-width:0}
.bpro-page .bpro-main button,.bpro-page .bpro-main a{font:inherit;color:inherit}
.bpro-category-row{display:flex;justify-content:center;padding:26px 0 0;min-height:24px}
.bpro-segment{display:inline-flex;gap:2px;border:1px solid var(--bpro-line);padding:3px;background:#f5f6f5;border-radius:9px}
.bpro-segment a{font-size:13px!important;font-weight:460!important;padding:5px 12px!important;min-height:33px;border-radius:7px;display:flex;align-items:center}
.bpro-segment .is-active{background:var(--bpro-ink);color:#fff!important}
.bpro-search-open{display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:55px;margin:22px 0 26px;padding:14px 19px;border:1px solid #dce0dd!important;background:#fff!important;color:#90999b!important;border-radius:40px;font-size:clamp(13px,1.5vw,17px)!important;cursor:pointer;box-shadow:none!important;-webkit-tap-highlight-color:transparent}
.bpro-search-open svg{flex:none;color:var(--bpro-ink)}.bpro-search-open span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bpro-page-title{display:flex;align-items:flex-start;gap:14px;margin:0 0 18px;min-width:0}
.bpro-page-title>a{width:28px;height:31px;flex:none;display:grid;place-items:center}
.bpro-page-title>a svg{width:23px;height:23px}.bpro-page-title>div{min-width:0}
.bpro-page-title h1{font-size:clamp(27px,3.6vw,38px)!important;color:var(--bpro-ink)!important;font-weight:650!important;letter-spacing:-.035em;line-height:1.2;margin:0 0 8px!important}
.bpro-page-title p{font-size:14px!important;color:#7a8588!important;line-height:1.5;margin:0!important}
.bpro-grouping{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:24px 0 23px;flex-wrap:wrap}
.bpro-grouping>small{color:#788185;font-size:12px}
.bpro-group-switch{display:inline-flex;gap:2px;padding:3px;background:#f6f7f6;border:1px solid var(--bpro-line);border-radius:10px}
.bpro-group-switch a{font-size:12px!important;color:#646e73!important;padding:8px 11px!important;border-radius:7px;line-height:1.2}
.bpro-group-switch .is-active{color:var(--bpro-ink)!important;background:#fff;box-shadow:0 1px 4px #0001;font-weight:650!important}
.bpro-chips{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.bpro-chip{display:inline-flex;gap:9px;align-items:center;padding:7px 11px;border-radius:25px;background:var(--bpro-soft);border:1px solid #e1e4e1;font-size:12px!important}
.bpro-chip span{font-size:15px;color:#5c6669}
.bpro-section{margin:0 0 38px;min-width:0}.bpro-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e6e9e6;padding:0 0 12px;margin:0 0 15px}
.bpro-section-identity{display:flex;align-items:center;gap:11px;min-width:0;flex:1}
.bpro-developer-mark{width:45px;height:45px;display:grid;place-items:center;flex:0 0 45px;border:1px solid var(--bpro-line);border-radius:50%;background:#fff;overflow:hidden}
.bpro-developer-mark img{width:37px;height:37px;object-fit:contain}.bpro-developer-mark span{font-size:11px;font-weight:650}
.bpro-section-names{min-width:0}.bpro-section-names h2{margin:0 0 3px!important;font-size:clamp(15px,1.8vw,19px)!important;font-weight:650!important;line-height:1.3!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bpro-section-names p{margin:0!important;font-size:12px!important;color:#8b9598;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bpro-section-names .bpro-section-count{font-size:11px!important;margin-top:4px!important;color:#7d8689}
.bpro-section-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;flex:none;text-align:right}
.bpro-section-actions>span{font-size:11px;color:#7a8386;white-space:nowrap}
.bpro-section-actions>a{font-size:13px!important;font-weight:600!important;display:flex;align-items:center;gap:4px;white-space:nowrap}
.bpro-section-actions svg{width:15px;height:15px}
.bpro-page .bpro-track{display:flex;gap:16px;align-items:stretch;overflow-x:auto;scroll-snap-type:x proximity;padding:58px 0 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.bpro-page .bpro-track::-webkit-scrollbar{display:none}
.bpro-page .bpro-track>.bp-contact-card{flex:0 0 302px!important;width:302px!important;min-width:302px!important;max-width:302px!important;scroll-snap-align:start!important}
.bpro-track-arrows{display:flex;justify-content:flex-end;gap:6px;margin-top:7px}
.bpro-track-arrows button{border:1px solid #dce1de;background:#fff;border-radius:9px;height:32px;width:32px;display:grid;place-items:center;padding:0;cursor:pointer}
.bpro-page .bpro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:19px;row-gap:80px;padding:65px 0 24px}
.bpro-page .bpro-grid>.bp-contact-card{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important}
.bpro-page .bp-contact-card{min-height:322px!important;padding-bottom:0!important}
.bpro-page .bp-contact-card-body{min-height:150px!important;flex:1 1 auto!important}
.bpro-page .bp-contact-cta{font-weight:500!important;font-size:13px!important}
.bpro-page .bp-pro-portfolio{width:calc(100% + 44px);margin:14px -22px 0;background:var(--bpro-soft);border-top:1px solid #e5e8e5;border-radius:0 0 21px 21px;min-height:55px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:9px 7px;text-align:center;flex:none}
.bpro-page .bp-pro-portfolio span{font-size:12px;font-weight:650}.bpro-page .bp-pro-portfolio small{font-size:11px;color:#798285;display:block}
.bpro-more{text-align:center;margin:12px 0 40px}.bpro-more a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--bpro-line);padding:12px 20px;border-radius:11px;font-size:13px!important}
.bpro-empty{padding:70px 15px;text-align:center;color:#788185}.bpro-page .bp-pagination{margin-top:35px!important}
.bpro-overlay[hidden]{display:none!important}.bpro-overlay{position:fixed;inset:0;z-index:2200;display:flex;align-items:flex-end;justify-content:center;background:#181c1e5e}
.bpro-sheet{height:min(850px,91dvh);width:min(760px,100%);background:#fff;display:flex;flex-direction:column;border-radius:22px 22px 0 0;overflow:hidden}
.bpro-drag{background:#d9ddda;border-radius:20px;width:55px;height:5px;margin:14px auto 10px;flex:none}
.bpro-sheet-head{display:flex;gap:12px;align-items:center;padding:12px clamp(16px,4vw,36px) 21px;border-bottom:1px solid #e6e9e7;flex:none}
.bpro-field{display:flex;align-items:center;gap:12px;min-width:0;flex:1;border:1px solid #dadedd;border-radius:30px;padding:0 15px;height:51px}
.bpro-field>svg{color:#272c30;flex:none}.bpro-field input{width:100%;flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#272c30!important;font-size:14px!important;padding:0!important;margin:0!important}
.bpro-field button{border:0!important;border-radius:0!important;background:transparent!important;padding:5px!important;width:30px;height:30px;display:grid;place-items:center;line-height:1;color:#272c30!important;box-shadow:none!important;flex:none;cursor:pointer}.bpro-field button[hidden]{display:none!important}.bpro-field button svg{width:17px;height:17px;display:block}
.bpro-sheet-close{width:44px;height:44px;display:grid;place-items:center;border:0!important;background:#f1f3f2!important;border-radius:50%!important;line-height:1;color:#272c30!important;cursor:pointer;flex:none;box-shadow:none!important;padding:0!important}.bpro-sheet-close svg{width:18px;height:18px;display:block}
.bpro-search-results{overflow-y:auto;flex:1;padding:25px clamp(16px,4vw,36px)}.bpro-search-results>p{text-align:center;font-size:13px;color:#959e9f;margin:38px 0}
.bpro-result-title{padding:12px 15px;font-size:11px;letter-spacing:.1em;font-weight:750;background:#f5f6f5;border-left:3px solid #6e7b7d;border-radius:8px;margin:18px 0 8px}
.bpro-result{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;border:0!important;border-bottom:1px solid #eef0ee!important;background:#fff!important;padding:13px 11px;font-size:14px;cursor:pointer;color:#272c30!important;box-shadow:none!important;border-radius:6px;-webkit-tap-highlight-color:transparent}
.bpro-result.is-selected{background:#f5f6f5}.bpro-result span:last-child{font-size:16px;font-weight:650;color:#697779}
.bpro-search-picked{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 12px;border-bottom:1px solid #e7e9e7}
.bpro-search-picked button{border:1px solid #e1e4e2;border-radius:22px;background:#f5f6f5;padding:6px 9px;font-size:12px;color:#272c30}
.bpro-sheet-footer{border-top:1px solid #e5e9e7;background:#fff;padding:15px clamp(16px,4vw,36px) max(16px,env(safe-area-inset-bottom));flex:none;display:flex;justify-content:center}
.bpro-sheet-footer button{background:#272c30!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:13px 30px!important;font-size:15px!important;font-weight:450!important;line-height:1.35!important;min-width:min(400px,100%);min-height:48px;box-shadow:none!important;cursor:pointer}.bpro-sheet-footer button span{color:#fff!important;font:inherit!important;opacity:1!important}
.bpro-page :is(button,a):focus-visible{outline:2px solid #6b8185!important;outline-offset:3px}
@media(min-width:1024px){.bpro-overlay{align-items:center;justify-content:center;padding:32px}.bpro-sheet{height:min(840px,calc(100dvh - 64px));width:min(760px,100%);border-radius:20px}.bpro-drag{display:none}.bpro-sheet-head{padding-top:25px}}
@media(max-width:850px){.bpro-page .bpro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bpro-page .bpro-main{padding:0 16px 75px}.bpro-section-identity{gap:8px}.bpro-developer-mark{width:36px;height:36px;flex-basis:36px}.bpro-developer-mark img{width:30px;height:30px}.bpro-section-names h2{font-size:14px!important}.bpro-section-names p{font-size:11px!important}.bpro-section-actions>span{font-size:10px}.bpro-section-actions>a{font-size:12px!important}.bpro-grouping{justify-content:center;flex-direction:column;gap:8px}.bpro-grouping>small{display:block;text-align:center}.bpro-group-switch{justify-content:center;max-width:100%}.bpro-page .bpro-track>.bp-contact-card{flex-basis:min(82vw,316px)!important;width:min(82vw,316px)!important;min-width:min(82vw,316px)!important;max-width:min(82vw,316px)!important}.bpro-page .bpro-grid{grid-template-columns:1fr;row-gap:75px}.bpro-page .bpro-grid .bp-contact-card{width:min(100%,380px)!important;margin-inline:auto!important}.bpro-page .bp-pro-portfolio{width:calc(100% + 36px);margin:12px -18px 0}.bpro-page-title h1{font-size:27px!important}.bpro-section-head{gap:7px}}

/* Directory-owned controls: suppress inherited Astra/theme blue hover without muting focus-visible. */
.bpro-page .bpro-search-open:hover,.bpro-page .bpro-search-open:active,.bpro-page .bpro-search-open:focus{background:#fff!important;color:#90999b!important;border-color:#dce0dd!important;box-shadow:none!important}
.bpro-page .bpro-search-open:focus-visible{outline:2px solid #667176!important;outline-offset:2px}
.bpro-page .bpro-overlay .bpro-result:hover,.bpro-page .bpro-overlay .bpro-result:focus,.bpro-page .bpro-overlay .bpro-result:active{background:#f5f6f5!important;color:#272c30!important;box-shadow:none!important}
.bpro-page .bpro-overlay .bpro-result.is-selected{background:#eef0ee!important}
.bpro-page .bpro-overlay .bpro-field button:hover,.bpro-page .bpro-overlay .bpro-field button:focus{background:transparent!important;color:#272c30!important;box-shadow:none!important}
.bpro-page .bpro-overlay .bpro-sheet-close:hover,.bpro-page .bpro-overlay .bpro-sheet-close:focus{background:#e9ebea!important;color:#272c30!important}
.bpro-page .bpro-overlay .bpro-sheet-footer button:hover,.bpro-page .bpro-overlay .bpro-sheet-footer button:focus{background:#272c30!important;color:#fff!important;box-shadow:none!important}
.bpro-page .bpro-overlay button{-webkit-tap-highlight-color:transparent}
.bpro-developer-mark svg{width:22px;height:22px;color:#7b8587;stroke-width:1.6}
/* Professional discovery component states: no brand-blue hover/active leakage. */
.bpro-page .bpro-track-arrows button:is(:hover,:focus,:active),
.bpro-page .bpro-group-switch a:is(:hover,:focus),
.bpro-page .bpro-chips .bpro-chip:is(:hover,:focus),
.bpro-page .bpro-overlay .bpro-search-picked button:is(:hover,:focus),
.bpro-page .bpro-overlay .bpro-result:is(:hover,:focus,:active){background:#f0f2f0!important;color:#272c30!important;box-shadow:none!important}
.bpro-page .bpro-track-arrows button:focus-visible,
.bpro-page .bpro-search-picked button:focus-visible{outline:2px solid #68777b!important;outline-offset:2px}
.bpro-page .bpro-search-picked{gap:5px;padding-bottom:10px}
.bpro-page .bpro-search-picked button{padding:4px 7px;border-radius:16px;font-size:11px!important;line-height:1.3;color:#272c30!important;background:#f5f6f5!important;max-width:100%;overflow-wrap:anywhere}
.bpro-page .bpro-track-arrows button svg{width:16px;height:16px}
.bpro-section-actions{align-self:stretch;justify-content:flex-end;padding-bottom:2px}
.bpro-page .bpro-overlay .bpro-sheet-footer button:is(:hover,:active,:focus){background:#272c30!important;color:#fff!important}


/* 1.6.118 — prevent Portfolio strip from overshooting Professional-card borders at tablet/desktop widths. */
/* 1.6.119: one- or two-line summaries occupy the same minimum height. */
.bpro-page .bp-contact-card>.bp-pro-portfolio{box-sizing:border-box!important;width:auto!important;align-self:stretch!important;margin:14px -20px 0!important;padding:10px 9px!important;min-height:72px!important;min-width:0!important;max-width:none!important;border-bottom:1px solid transparent!important}
/* Directory See All: constrain card and footer independently of viewport size.
   Archive footer has a complete border, whereas the horizontal carousel keeps its flush footer. */
.bpro-page .bpro-grid>.bp-contact-card{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
/* 1.6.120: See All strips end flush at the inside edge of the card border.
   Avoid width:100% (which makes a panel inset within the padded card); let
   flex stretch + matching negative padding offsets define the actual width.
   We deliberately do not clip the card: the circular portrait overhangs it. */
.bpro-page .bpro-grid .bp-contact-card>.bp-pro-portfolio{
  box-sizing:border-box!important;align-self:stretch!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  margin:14px -20px 0!important;
  border:0!important;border-top:1px solid #e0e4e2!important;
  border-radius:0 0 21px 21px!important;
}
@media(max-width:800px){
  .bpro-page .bp-contact-card>.bp-pro-portfolio{margin:12px -18px 0!important}
  .bpro-page .bpro-grid .bp-contact-card>.bp-pro-portfolio{margin:12px -18px 0!important}
}
