/* Team archive: whole photographs, original badges, native story buttons. */
.teams-showcase {
  --team-paper: #f0f0eb;
  --team-ink: #151713;
  --team-red: #ed292b;
  --team-line: #b8b9b1;
  --team-ease: cubic-bezier(.22, 1, .36, 1);
}

.teams-showcase .section-heading h2 span { color: var(--team-red); }
.teams-showcase .team-archive-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 2px solid var(--team-ink);
  font: 10px/1.5 monospace;
  letter-spacing: 1.3px;
}
.teams-showcase .team-archive-bar > span:first-child::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--team-red);
}
.teams-showcase .team-grid {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--team-line);
  perspective: none;
  isolation: isolate;
}
.teams-showcase .team-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--team-line);
  background: var(--team-paper);
  color: var(--team-ink);
  text-align: left;
  transition: flex-grow .7s var(--team-ease), background .45s, color .45s;
}
.teams-showcase .team-card:last-child { border-right: 0; }
.teams-showcase .team-card::after { display: none; }
.teams-showcase .team-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 84px;
  gap: 12px;
  padding: 19px 20px;
  line-height: 1;
}
.teams-showcase .team-top > span { opacity: 1; }
.teams-showcase .team-top .team-number {
  font: 800 40px/.9 CNCSDisplay, Impact, sans-serif;
  letter-spacing: -1px;
  color: var(--team-red);
}
.teams-showcase .team-top .team-era {
  font: 9px/1.7 Arial, 'Microsoft YaHei', sans-serif;
  letter-spacing: .5px;
}
.teams-showcase .team-top .team-card-cross {
  margin-left: auto;
  font: 24px/1 monospace;
  color: var(--team-red);
}
.teams-showcase .team-photo-frame {
  display: grid;
  place-items: center;
  height: clamp(178px, 18vw, 280px);
  background: #11120f;
  border-block: 1px solid var(--team-ink);
}
.teams-showcase .team-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: grayscale(.7);
  transition: filter .65s var(--team-ease);
}
.teams-showcase .team-photo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 12px;
  padding: 12px 20px 0;
  font: 9px/1.6 monospace;
  letter-spacing: .35px;
}
.teams-showcase .team-photo-caption > span:last-child {
  font-family: Arial, 'Microsoft YaHei', sans-serif;
  color: #65685f;
}
.teams-showcase .team-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-height: 240px;
  padding: 26px 20px 24px;
  text-align: left;
}
.teams-showcase .team-identity > strong {
  position: relative;
  display: block;
  min-height: 1.82em;
  font: 800 clamp(40px, 4.45vw, 80px)/.91 CNCSDisplay, Impact, sans-serif;
  letter-spacing: -1.7px;
  transition: color .45s;
}
.teams-showcase .team-identity > small {
  max-width: 100%;
  color: #62675d;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 1px;
}
.teams-showcase .team-identity > img {
  width: 59px;
  height: 48px;
  margin-top: auto;
  object-fit: contain;
  object-position: left center;
  filter: none;
  transform: none;
}
.teams-showcase .team-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--team-line);
  font-size: 12px;
  line-height: 1.55;
}
.teams-showcase .team-bottom small {
  margin-top: 6px;
  font-size: 10px;
  opacity: .7;
}
.teams-showcase .team-card .team-bottom b {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 21px;
  font-weight: 400;
  transform: none;
  transition: background .35s, border-color .35s, color .35s;
}
.teams-showcase .team-card:focus-visible {
  outline: 3px solid var(--team-red);
  outline-offset: 5px;
  z-index: 4;
}
.teams-showcase .team-card:is(:hover, :focus-visible) {
  background: var(--team-ink);
  color: var(--team-paper);
}
.teams-showcase .team-card:is(:hover, :focus-visible) .team-photo { filter: grayscale(0); }
.teams-showcase .team-card:is(:hover, :focus-visible) .team-identity > strong { color: #ff4547; }
.teams-showcase .team-card:is(:hover, :focus-visible) .team-identity > img { transform: none; }
.teams-showcase .team-card:is(:hover, :focus-visible) .team-identity > small,
.teams-showcase .team-card:is(:hover, :focus-visible) .team-photo-caption > span:last-child { color: #bfc3b8; }
.teams-showcase .team-card:is(:hover, :focus-visible) .team-bottom { border-color: #ffffff35; }
.teams-showcase .team-card:is(:hover, :focus-visible) .team-bottom b {
  background: var(--team-red);
  border-color: var(--team-red);
  color: white;
  transform: none;
}
.teams-showcase .team-archive-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 22px;
}
.teams-showcase .teams-caption { margin: 0; color: #64685e; }
.teams-showcase .team-photo-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
  color: #64685e;
}
.teams-showcase .team-photo-sources a {
  color: var(--team-ink);
  text-decoration: underline;
  text-decoration-color: #b8b9b1;
  text-underline-offset: 4px;
}
.teams-showcase .team-photo-sources a:hover { color: #bd151a; }

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .teams-showcase .team-card:is(:hover, :focus-visible) { flex-grow: 1.45; }
}
@media (max-width: 1100px) {
  .teams-showcase .team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-showcase .team-card:nth-child(2) { border-right: 0; }
  .teams-showcase .team-card:nth-child(-n+2) { border-bottom: 1px solid var(--team-line); }
  .teams-showcase .team-photo-frame { height: clamp(200px, 28vw, 290px); }
  .teams-showcase .team-identity { min-height: 236px; }
  .teams-showcase .team-identity > strong { font-size: clamp(52px, 7vw, 74px); }
}
@media (hover: none), (pointer: coarse) {
  .teams-showcase .team-photo { filter: none; }
}
@media (max-width: 600px) {
  .teams-showcase .team-archive-bar { font-size: 9px; letter-spacing: .4px; }
  .teams-showcase .team-top { gap: 8px; min-height: 71px; padding: 16px 14px; }
  .teams-showcase .team-top .team-number { font-size: 31px; }
  .teams-showcase .team-top .team-era { font-size: 8px; letter-spacing: 0; }
  .teams-showcase .team-top .team-card-cross { display: none; }
  .teams-showcase .team-photo-frame { height: 31vw; min-height: 130px; }
  .teams-showcase .team-photo-caption { padding: 10px 14px 0; gap: 3px; font-size: 8px; }
  .teams-showcase .team-photo-caption > span { width: 100%; }
  .teams-showcase .team-identity { min-height: 207px; padding: 19px 14px; gap: 12px; }
  .teams-showcase .team-identity > strong { font-size: clamp(37px, 8.3vw, 49px); letter-spacing: -1px; }
  .teams-showcase .team-identity > small { font-size: 8px; letter-spacing: .4px; }
  .teams-showcase .team-identity > img { width: 48px; height: 42px; }
  .teams-showcase .team-bottom { gap: 7px; min-height: 84px; padding: 16px 14px; font-size: 11px; }
  .teams-showcase .team-card .team-bottom b { width: 26px; height: 26px; font-size: 19px; }
  .teams-showcase .teams-caption { font-size: 10px; }
  .teams-showcase .team-photo-sources { gap: 14px; }
}
@media (max-width: 380px) {
  .teams-showcase .team-grid { grid-template-columns: minmax(0, 1fr); }
  .teams-showcase .team-card { border-right: 0; }
  .teams-showcase .team-card:not(:last-child) { border-bottom: 1px solid var(--team-line); }
  .teams-showcase .team-photo-frame { height: 58vw; }
  .teams-showcase .team-top { padding: 18px; }
  .teams-showcase .team-top .team-card-cross { display: block; }
  .teams-showcase .team-photo-caption { padding-inline: 18px; }
  .teams-showcase .team-photo-caption > span { width: auto; }
  .teams-showcase .team-identity { min-height: 232px; padding: 23px 18px; }
  .teams-showcase .team-identity > strong { font-size: 55px; }
  .teams-showcase .team-bottom { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .teams-showcase .team-card,
  .teams-showcase .team-card *,
  .teams-showcase .team-card::after {
    animation: none !important;
    transition: none !important;
  }
  .teams-showcase .team-card:is(:hover, :focus-visible) { flex-grow: 1; }
  .teams-showcase .team-photo { filter: none; }
}
