/* Shared crisp photo treatment for the original team card layouts.
   Existing managed CMS images are never substituted or overwritten. */
.team-category-page .team-photo-shell{
  isolation:isolate;
  overflow:hidden;
  background-image:none!important;
  background-color:#063b27!important;
  background:linear-gradient(140deg,#04482b 0%,#0b6a41 52%,#032e20 100%)!important;
}
.team-category-page .youth-card-image.team-photo-shell{position:relative;height:108px}
.team-category-page .team-photo-img{
  display:block;
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  background:transparent;
  pointer-events:none;
  image-rendering:auto;
  backface-visibility:hidden;
}
.team-category-page .team-photo-shade{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,26,15,var(--team-shade,.38)),rgba(0,24,16,.05) 90%);
}
.team-category-page .youth-card-image .team-photo-shade{
  background:linear-gradient(0deg,rgba(0,26,15,.13),rgba(0,26,15,calc(var(--team-shade,.12) * .45)));
}
.team-category-page .team-photo-shell.is-fallback .team-photo-shade{
  background:linear-gradient(110deg,rgba(0,31,18,.08),rgba(0,19,13,.27));
}
.team-category-page .team-photo-brand{
  display:flex;
  position:absolute;
  inset:0;
  z-index:0;
  align-items:center;
  justify-content:center;
  gap:12px;
  overflow:hidden;
  padding:11px 18px;
  box-sizing:border-box;
  background:
    radial-gradient(ellipse at 17% 5%,rgba(134,231,174,.22),transparent 52%),
    linear-gradient(135deg,#075f39,#0a3c28 64%,#06291c);
  pointer-events:none;
}
.team-category-page .team-photo-brand:after{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(132deg,transparent 0,transparent 35px,rgba(255,255,255,.025) 36px,transparent 38px);
  pointer-events:none;
}
.team-category-page .team-photo-letter{
  position:absolute;
  left:6%;
  top:50%;
  transform:translateY(-52%);
  font-size:clamp(64px,9vw,135px);
  line-height:1;
  font-weight:950;
  letter-spacing:-.08em;
  color:rgba(226,255,237,.10);
}
.team-category-page .team-photo-brand>img{
  position:relative;
  z-index:1;
  display:block;
  flex:0 0 auto;
  width:60px;
  height:60px;
  max-width:30%;
  object-fit:contain;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.18));
}
.team-category-page .team-photo-brand-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  color:#edfff2;
  font-size:clamp(15px,1.7vw,23px);
  font-weight:950;
  line-height:1;
  letter-spacing:.06em;
  white-space:nowrap;
  text-shadow:0 1px 5px rgba(0,20,10,.18);
}
.team-category-page .team-photo-brand-copy small{
  font-size:.62em;
  font-weight:850;
  color:#a7ebc5;
  letter-spacing:.12em;
}
.team-category-page .herren-card-copy,
.team-category-page .team-card-copy{
  z-index:3;
  pointer-events:none;
}
.team-category-page .youth-card-image .team-photo-brand{
  gap:10px;
  padding:8px 12px;
}
.team-category-page .youth-card-image .team-photo-brand>img{
  width:49px;
  height:49px;
  max-width:30%;
}
.team-category-page .youth-card-image .team-photo-letter{font-size:75px}
.team-category-page .youth-card-image .team-photo-brand-copy{
  font-size:16px;
  letter-spacing:.04em;
}
.team-category-page .youth-card-image.team-photo-shell.is-fallback{
  border-bottom:1px solid rgba(210,242,222,.22);
}
@media(max-width:760px){
  .team-category-page .youth-card-image.team-photo-shell{height:102px}
  .team-category-page .youth-card-image .team-photo-brand>img{width:43px;height:43px}
  .team-category-page .youth-card-image .team-photo-brand-copy{font-size:14px}
}
@media(max-width:430px){
  .team-category-page .youth-card{
    grid-template-columns:132px minmax(0,1fr);
    min-height:98px;
  }
  .team-category-page .youth-card-image.team-photo-shell{
    width:100%;
    height:100%;
    min-height:98px;
  }
  .team-category-page .youth-card-image .team-photo-brand{
    flex-direction:column;
    gap:1px;
    padding:6px 8px;
  }
  .team-category-page .youth-card-image .team-photo-brand>img{
    width:44px;
    height:44px;
    max-width:55%;
  }
  .team-category-page .youth-card-image .team-photo-letter{font-size:75px}
  .team-category-page .youth-card-image .team-photo-brand-copy{
    font-size:10px;
    text-align:center;
    letter-spacing:.065em;
  }
  .team-category-page .youth-card-body{
    min-width:0;
    min-height:98px;
  }
  .team-category-page .youth-card-body strong,
  .team-category-page .youth-card-body span{
    overflow-wrap:anywhere;
    white-space:normal;
  }
}
@media(max-width:345px){
  .team-category-page .youth-card{grid-template-columns:112px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  .team-category-page .team-photo-img{transition:none!important}
}
