/* Official content migration: extend the existing NASK components. */
.archive-label { color: var(--nask-muted); font-size: 13px; }
.archive-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.archive-card .image-wrap { display: block; width: 100%; }
.archive-card .image-wrap img { aspect-ratio: 1; object-fit: contain; background: var(--nask-off-white); }
.archive-image { padding: 0; border: 0; text-align: left; }
.archive-card h3 { overflow-wrap: anywhere; }
.club-history-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.club-history-image { margin: 0; }
.club-history-image img { width: 100%; height: auto; }
figcaption { margin-top: 12px; font-size: 12px; color: var(--nask-muted); }
.history-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--nask-border); }
.history-timeline strong { color: var(--nask-green); font-family: var(--font-display); font-size: 36px; }
.history-timeline p { font-size: 14px; margin: 10px 0 0; }
.reading > h3 { margin-top: 32px; }
.reading p, .reading li { overflow-wrap: anywhere; }
.person-card .player-caption { align-items: start; }
.person-card-text { display: flex; align-items: center; min-height: 130px; border-top: 3px solid var(--nask-green); }
.person-card-text .player-caption { padding: 28px 20px; }
.archive-disclosure { border: 1px solid var(--nask-border); padding: 24px; }
.archive-disclosure summary { color: var(--nask-navy); cursor: pointer; font-weight: 600; }
.archive-disclosure[open] summary { margin-bottom: 28px; }
.gallery-masonry { columns: 3; column-gap: 20px; }
.gallery-masonry .gallery-item { display: block; width: 100%; margin-bottom: 20px; break-inside: avoid; }
.gallery-masonry .gallery-item img { width: 100%; height: auto; object-fit: contain; }
.news-detail figure { margin: 32px 0; }
.news-detail .gallery-item { width: 100%; background: var(--nask-off-white); }
.news-detail .gallery-item img { width: 100%; height: auto; object-fit: contain; }
.contact-socials { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-socials li { margin-bottom: 18px; }
.fixture-card time { display: block; color: var(--nask-muted); font-size: 13px; margin-bottom: 18px; }
.anchor-alias { scroll-margin-top: 100px; }
.lightbox { width: min(1100px, 94vw); }
.lightbox img { max-width: 100%; max-height: calc(95dvh - 140px); width: auto; height: auto; }
@media (max-width: 900px) {
  .archive-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-news-grid .news-card:first-child { grid-column: auto; }
  .club-history-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .club-history-image { max-width: 640px; }
  .gallery-masonry { columns: 2; }
}
@media (max-width: 600px) {
  .archive-news-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .history-timeline { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gallery-masonry { columns: 1; }
  .archive-disclosure { padding: 18px; }
  .lightbox { padding: 16px; }
  .news-detail figure { margin-block: 24px; }
}

/* Progressive archive browsing and the club's verified milestones. */
[data-collection-item][hidden], .collection-more[hidden] { display: none !important; }
.collection-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.collection-filter { min-height: 44px; padding: 11px 20px; border: 1px solid var(--nask-border); border-radius: 3px; background: var(--nask-white); color: var(--nask-navy); font-size: 12px; font-weight: 700; letter-spacing: .045em; }
.collection-filter:hover { border-color: var(--nask-green); }
.collection-filter[aria-pressed="true"] { color: var(--nask-white); background: var(--nask-green); border-color: var(--nask-green); }
.collection-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.collection-status { margin: 0; color: var(--nask-muted); font-size: 13px; }
.collection-more { min-width: 235px; }
.history-timeline { position: relative; border-top: 0; gap: 0; padding-top: 32px; }
.history-timeline::before { content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 2px; background: var(--nask-border); }
.timeline-milestone { position: relative; padding-right: 28px; }
.timeline-milestone::before { content: ''; position: absolute; left: 0; top: -26px; width: 16px; height: 16px; border: 4px solid var(--nask-white); border-radius: 50%; background: var(--nask-green); box-shadow: 0 0 0 1px var(--nask-green); }
.timeline-milestone strong { display: block; line-height: 1.2; }
@media (max-width: 600px) {
  .collection-toolbar { gap: 8px; }
  .collection-filter { flex: 1 1 calc(50% - 8px); padding-inline: 12px; }
  .history-timeline { padding: 0 0 0 28px; gap: 28px; }
  .history-timeline::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline-milestone { padding-right: 0; }
  .timeline-milestone::before { top: 8px; left: -28px; }
}
/* Current squad: the supplied green frame reference, scoped away from staff. */
.season-roster {
  position: relative;
  background: #00663d;
  background-image: radial-gradient(circle at 90% 8%, #12d98435, transparent 42%), radial-gradient(circle, #ffffff16 1.5px, transparent 2px);
  background-size: auto, 12px 12px;
  padding: 20px 16px 0;
}
.season-roster::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 80%;
  left: -25%;
  top: -14%;
  border-bottom: 4px solid #ffffffcf;
  border-radius: 50%;
  transform: rotate(-15deg);
  pointer-events: none;
}
.season-roster .roster-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 3px #09c878, 0 0 22px #12e88465;
  overflow: hidden;
}
.season-roster .roster-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.season-roster:hover .roster-photo img { transform: scale(1.025); }
.season-roster .player-caption {
  align-items: center;
  justify-content: center;
  min-height: 95px;
  padding: 20px 0 18px;
  gap: 10px;
  background: #00663d;
}
.season-roster .player-caption > div { min-width: 0; }
.season-roster .player-caption h3 {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}
.season-roster .jersey, .inner-page .season-roster .jersey {
  color: #b7ffda;
  font-size: 32px;
  flex-shrink: 0;
}
.roster-photo-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--nask-muted);
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .season-roster .roster-photo img { transition: none; }
  .season-roster:hover .roster-photo img { transform: none; }
}
/* Updated technical staff keeps the existing purple portrait frame. */
.staff-frame {
  aspect-ratio: 1;
  padding: 16px 18px 12px;
  background: #342280;
  background-image: radial-gradient(circle at 85% 8%, #996dff65, transparent 45%), radial-gradient(circle, #ffffff20 1px, transparent 2px);
  background-size: auto, 10px 10px;
}
.staff-portrait {
  width: 76%;
  margin-inline: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 2px #c1a6ff, 0 0 16px #ae79ff75;
}
.staff-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.person-card:hover .staff-portrait img { transform: scale(1.025); }
.staff-frame-label { min-height: 65px; padding-top: 16px; color: white; text-align: center; line-height: 1.2; }
.staff-frame-label span { display: block; font-size: 19px; font-weight: 600; }
.staff-frame-label small { display: block; margin-top: 4px; font-size: 12px; font-style: italic; }
@media (prefers-reduced-motion: reduce) {
  .staff-portrait img { transition: none; }
  .person-card:hover .staff-portrait img { transform: none; }
}
