/* Stable logo-only Around the W cards.
   No poster, sprite, background-image, wordmark, fanart or photo layer is used. */
.directory-grid.branded-team-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}
.team-directory-card.team-logo-card{
  position:relative;
  width:100%;
  min-width:0;
  overflow:hidden;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:#17131f;
  background:#fff;
  border:1px solid color-mix(in srgb,var(--team-primary) 34%,#ddd);
  box-shadow:0 14px 34px rgba(20,10,47,.10);
}
.team-logo-card-main{
  min-height:176px;
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:22px;
  align-items:center;
  padding:24px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--team-primary) 9%,white),#fff 62%);
  border-top:10px solid var(--team-primary);
}
.team-logo-card-logo{
  width:112px;
  height:112px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:13px;
  background:#fff;
  border:2px solid color-mix(in srgb,var(--team-primary) 48%,#ddd);
  box-shadow:0 10px 24px rgba(20,10,47,.10);
  overflow:hidden;
}
.team-logo-card-image{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.team-logo-card-fallback{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  border-radius:16px;
  background:var(--team-primary);
  color:#fff;
  font-size:1.55rem;
  font-weight:950;
  letter-spacing:.06em;
}
.team-logo-card-copy{
  min-width:0;
}
.team-logo-card-copy span{
  display:block;
  margin-bottom:8px;
  color:#71697b;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.2;
  text-transform:uppercase;
}
.team-logo-card-copy strong{
  display:block;
  margin:0;
  color:#17131f;
  font-size:clamp(1.7rem,3.3vw,2.55rem);
  font-weight:950;
  letter-spacing:-.045em;
  line-height:.98;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.team-logo-card .team-poster-footer{
  min-height:64px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:13px 18px;
  background:#17131f;
  color:#fff;
}
.team-logo-card .team-poster-footer>span:first-child{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  padding:9px 13px;
  border-radius:999px;
  background:var(--team-primary);
  color:#fff;
  font-weight:950;
  line-height:1;
}
.team-logo-card .team-poster-footer>span:nth-child(2){
  min-width:0;
  color:#fff;
  font-size:.95rem;
  font-weight:800;
  line-height:1.25;
}
.team-logo-card .team-poster-footer b{
  color:var(--team-accent);
  font-size:1.7rem;
  line-height:1;
}
.directory-expansion-label{
  grid-column:1/-1;
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.directory-expansion-label span{
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.1em;
  color:#6d35a8;
}
.directory-expansion-label strong{font-size:1rem;}
.expansion-preview-card{grid-column:1/-1;max-width:580px;}

@media(max-width:760px){
  .directory-grid.branded-team-grid{grid-template-columns:1fr;gap:18px;}
  .team-logo-card-main{grid-template-columns:92px minmax(0,1fr);gap:16px;min-height:148px;padding:18px;}
  .team-logo-card-logo{width:86px;height:86px;border-radius:20px;padding:10px;}
  .team-logo-card-copy strong{font-size:clamp(1.45rem,7vw,2rem);}
  .team-logo-card .team-poster-footer{gap:10px;padding:12px 16px;}
  .team-logo-card .team-poster-footer>span:first-child{min-width:64px;padding:8px 11px;}
  .team-logo-card .team-poster-footer>span:nth-child(2){font-size:.9rem;}
  .expansion-preview-card{max-width:none;}
}

@media(max-width:420px){
  .team-logo-card-main{grid-template-columns:78px minmax(0,1fr);gap:13px;padding:16px;}
  .team-logo-card-logo{width:74px;height:74px;border-radius:18px;padding:8px;}
  .team-logo-card-copy span{font-size:.72rem;margin-bottom:6px;}
  .team-logo-card-copy strong{font-size:1.45rem;}
  .team-logo-card .team-poster-footer{grid-template-columns:auto minmax(0,1fr) auto;}
}
