/* V143 — Customer Clubhouse horizontal mobile directory approved preview.
   Scope: Clubhouse only. My Trip, Owner directories and other pages unchanged. */
.clubhouse-heading{margin:4px 0 20px}
.clubhouse-heading h1{margin:0 0 5px;font-size:clamp(27px,3.3vw,38px);line-height:1.12}
.clubhouse-heading p{margin:0;color:#81796f;font-size:14px}
.clubhouse-shell .member-slab-name-inline{display:none}

@media(max-width:640px){
 .clubhouse-shell .container{min-width:0}
 .clubhouse-shell .clubhouse-heading{margin:3px 0 15px}
 .clubhouse-shell .clubhouse-heading h1{font-size:29px}
 .clubhouse-shell .clubhouse-heading p{font-size:12px}
 .clubhouse-shell .club-tabs{gap:0;justify-content:space-between;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .clubhouse-shell .club-tabs a{font-size:11px;min-width:max-content;padding:8px 6px}
 .clubhouse-shell .member-board{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}
 .clubhouse-shell .member-board .member-slab{
  display:grid;grid-template-columns:108px minmax(0,1fr);grid-template-rows:auto;
  width:100%;min-width:0;min-height:162px;height:auto;
  background:#fffdfa;border:1px solid #d5bb8e;border-radius:12px;
  box-shadow:0 3px 12px rgba(28,24,20,.045);overflow:hidden;
 }
 .clubhouse-shell .member-board .member-slab.is-captain{border-color:#b9904a}
 .clubhouse-shell .member-board .member-slab-photo{
  position:relative;grid-column:1;grid-row:1;min-height:162px;height:auto;
  background:#e7dfd2;overflow:hidden;
 }
 .clubhouse-shell .member-board .member-slab-photo img,
 .clubhouse-shell .member-board .member-slab-photo .member-slab-fallback{
  position:absolute;inset:0;width:100%;height:100%;min-height:0;
  object-fit:cover;object-position:center 26%;
 }
 /* Move the name from the photo ribbon into the details column on mobile. */
 .clubhouse-shell .member-board .member-slab-photo strong{display:none!important}
 .clubhouse-shell .member-board .member-slab-body{
  grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;
  padding:10px 11px 9px;gap:2px;box-sizing:border-box;
 }
 .clubhouse-shell .member-board .member-slab-name-inline{
  display:block;margin:0 0 3px;font-family:inherit;font-size:16px;font-weight:750;
  color:#24211e;line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere;
 }
 .clubhouse-shell .member-board .member-slab-meta{min-height:0;margin:0 0 2px}
 .clubhouse-shell .member-board .member-slab-job{
  min-height:0;font-size:10.5px;letter-spacing:.04em;line-height:1.35;
  text-transform:none;font-weight:600;color:#655a4d;
 }
 .clubhouse-shell .member-board .member-slab-job:empty{display:none}
 .clubhouse-shell .member-board .member-slab-city{min-height:16px;font-size:11px;line-height:1.3}
 .clubhouse-shell .member-board .member-slab-quote-zone{
  min-height:0;flex:0 1 auto;max-height:28px;overflow:hidden;
 }
 .clubhouse-shell .member-board .member-slab-quote{
  font-size:11px;line-height:1.23;margin:2px 0 3px;-webkit-line-clamp:1;
 }
 .clubhouse-shell .member-board .member-slab-tags-zone{min-height:0;margin:4px 0 3px}
 .clubhouse-shell .member-board .member-slab-tags-zone .trip-capsules{gap:4px}
 .clubhouse-shell .member-board .member-slab-tags-zone .trip-capsules .tcap{
  font-size:9.5px;line-height:1.15;padding:3px 5px;border:1px solid #cba86c;
  background:#faf5ec;color:#6a4d25;border-radius:8px;max-width:100%;
 }
 .clubhouse-shell .member-board .member-slab-foot{
  min-height:0;margin-top:auto;padding-top:5px;border-top:1px solid #eee6da;
  font-size:9px;line-height:1.2;gap:5px;letter-spacing:0;
 }
 .clubhouse-shell .member-board .member-slab-milestone{max-width:64%;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .clubhouse-shell .member-board .member-slab{grid-template-columns:96px minmax(0,1fr)}
 .clubhouse-shell .member-board .member-slab-body{padding:9px 8px 8px}
 .clubhouse-shell .member-board .member-slab-name-inline{font-size:14.5px}
 .clubhouse-shell .member-board .member-slab-tags-zone .trip-capsules .tcap{font-size:9px}
}
