/* Home-ground photographs are archive editorial media; separate from club links. */
.home-ground-photo {
  --ground-ink:#132338;
  margin: clamp(.85rem,2vw,1.35rem) 0 0;
  max-inline-size: 720px;
  border: 1px solid #ced9e3;
  border-radius: .65rem;
  overflow: hidden;
  background: #f5f8fa;
  color: var(--ground-ink);
}
.home-ground-label {
  display:flex; flex-wrap:wrap; column-gap:.75rem; row-gap:.15rem;
  align-items:baseline; padding:.55rem .75rem;
}
.home-ground-label span {
  color:#45586d; font-size:.72rem; line-height:1.35;
  font-weight:750; letter-spacing:.08em; text-transform:uppercase;
}
.home-ground-label strong { font-size:1.04rem; color:var(--ground-ink); }
.home-ground-photo img { display:block; width:100%; height:auto; max-height:430px; object-fit:contain; object-position:center; }
.home-ground-photo figcaption {
  display:grid; gap:.13rem; padding:.5rem .75rem .58rem;
  font-size:.78rem; line-height:1.42; color:#45586d;
}
.home-ground-photo figcaption span:first-child { font-weight:650; color:var(--ground-ink); }
.home-ground-photo a { color:#1c5279; text-decoration:underline; text-underline-offset:.14em; }
.home-ground-photo a:focus-visible { outline:2px solid #0b4e80; outline-offset:2px; }
.home-ground-section { margin-block:.9rem 1.2rem; scroll-margin-top:6rem; }
.home-ground-section .home-ground-photo { margin-block:0; }
.club-masthead .home-ground-jump { margin:.25rem 0 .6rem; font-size:.91rem; color:#45586d; }
.club-masthead .home-ground-jump a { text-underline-offset:.18rem; }
/* Club name, full stadium photo, match panel, then navigation. */
.club-masthead .home-ground-section { margin-block:.7rem .45rem; }
.club-masthead .home-ground-photo { max-inline-size:none; }
.home-ground-photo{color-scheme:only light}
.home-ground-visual{position:relative;isolation:isolate;background:#122239}
.ground-match-card{
  position:relative;width:100%;box-sizing:border-box;
  color:#fff;background:#101c2d;
  padding:.5rem .86rem .6rem;border-radius:0;
  line-height:1.22;border-top:1px solid #33465c;
}
.ground-match-kicker{
  display:block;font-size:.66rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.1em;color:#c2ddf4;margin-bottom:.15rem;
}
.home-ground-visual .ground-match-title,.launch-club .club-masthead .home-ground-visual .ground-match-title{
  display:block;font-weight:800;font-size:clamp(1.05rem,3.6vw,1.44rem);color:#fff;text-decoration:underline;text-decoration-color:#b8d4eb;
}
.home-ground-visual .ground-match-title:focus-visible{outline-color:#fff}
.ground-match-line{display:flex;flex-wrap:wrap;gap:.15rem .7rem;margin-top:.3rem}
.ground-match-line time{color:#fff;font-size:.85rem;font-weight:700}
.ground-match-competition{font-size:.76rem;color:#d3e5f5}
.home-ground-photo figcaption{
  display:block;font-size:.68rem;padding:.3rem .65rem;line-height:1.38;color:#3f5268;overflow-wrap:anywhere;
}
@media(max-width:740px){
  .club-masthead .home-ground-photo img{max-height:none;}
  .ground-match-card{padding:.45rem .63rem .5rem}
}

/* The one link is the full card, including timetable and affordance. */
.home-ground-photo a.ground-match-link,.launch-club .club-masthead .home-ground-photo a.ground-match-link{
  display:block;min-height:44px;color:#fff;text-decoration:none;
}
.home-ground-photo a.ground-match-link:hover{background:#182d46}
.home-ground-photo a.ground-match-link:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.ground-match-title{overflow-wrap:anywhere}
.ground-match-read{display:block;margin-top:.32rem;color:#e2edf8;font-size:.78rem;font-weight:700}
.ground-match-card [hidden]{display:none}
