/* styles/football-graphics-feed.css */

:root {
  --graphics-ink: #14213d;
  --graphics-muted: #667085;
  --graphics-border: #e4e7ec;
  --graphics-pale: #f7f8fa;
  --graphics-primary: #0021a5;
  --graphics-secondary: #fa4616;
  --graphics-link: #003cc5;
  --graphics-ready: #287a4d;
}

.graphics-feed-production-hero,
.graphics-feed-production-featured,
.graphics-feed-production-group,
.graphics-feed-production-coming,
.graphics-feed-section-nav {
  width: min(100%, 94rem);
  margin-right: auto;
  margin-left: auto;
}

.graphics-feed-production-hero {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.7rem);
  border: 1px solid var(--graphics-border);
  border-radius: 1.25rem;
  background: #ffffff;
}

.graphics-feed-kicker,
.graphics-feed-card-section {
  margin: 0 0 0.4rem;
  color: var(--graphics-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.graphics-feed-production-hero h1 {
  margin: 0;
  color: var(--graphics-ink);
  font-size: clamp(2rem, 5vw, 4rem);
}

.graphics-feed-production-lede {
  max-width: 62rem;
  margin: 0.8rem 0 0;
  color: var(--graphics-muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.graphics-feed-production-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.graphics-feed-production-stat {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--graphics-border);
  border-radius: 0.8rem;
  background: var(--graphics-pale);
  color: var(--graphics-muted);
  font-size: 0.86rem;
}

.graphics-feed-production-stat-value {
  color: var(--graphics-ink);
  font-size: 1.35rem;
  font-weight: 800;
}

.graphics-feed-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
  padding: 0.85rem;
  border: 1px solid var(--graphics-border);
  border-radius: 0.9rem;
  background: #ffffff;
}

.graphics-feed-section-nav a {
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: var(--graphics-pale);
  color: var(--graphics-link);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.graphics-feed-section-nav a:hover,
.graphics-feed-section-nav a:focus {
  background: #eef3ff;
  text-decoration: underline;
}

.graphics-feed-production-featured,
.graphics-feed-production-group,
.graphics-feed-production-coming {
  margin-bottom: 3.5rem;
  scroll-margin-top: 1.5rem;
}

.graphics-feed-production-section-heading {
  margin-bottom: 1.15rem;
}

.graphics-feed-production-section-heading h2 {
  margin: 0;
  color: var(--graphics-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.graphics-feed-production-section-heading p:last-child {
  max-width: 62rem;
  margin: 0.55rem 0 0;
  color: var(--graphics-muted);
  line-height: 1.6;
}

.graphics-feed-production-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.graphics-feed-production-grid--florida-snapshot,
.graphics-feed-production-grid--historical-records {
  grid-template-columns: minmax(0, 1fr);
}

.graphics-feed-production-card {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  overflow: visible;
  border: 1px solid var(--graphics-border);
  border-radius: 1rem;
  background: #ffffff;
}

.graphics-feed-production-card--wide,
.graphics-feed-production-card--tall {
  grid-column: 1 / -1;
}

.graphics-feed-production-card--featured {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-width: 2px;
  border-color: #ccd7f8;
}

.graphics-feed-production-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.graphics-feed-production-card h2 {
  margin: 0;
  color: var(--graphics-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.graphics-feed-production-card-subtitle {
  margin: 0.38rem 0 0;
  color: var(--graphics-muted);
  line-height: 1.5;
}

.graphics-feed-production-format {
  flex: 0 0 auto;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--graphics-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.graphics-feed-production-image-link {
  display: block;
  overflow: visible;
  border-radius: 0.7rem;
  background: var(--graphics-pale);
}

.graphics-feed-production-card picture,
.graphics-feed-production-card img {
  display: block;
  width: 100%;
}

.graphics-feed-production-card img {
  height: auto;
  object-fit: contain;
}

.graphics-feed-production-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.9rem;
  color: var(--graphics-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.graphics-feed-production-card figcaption p {
  max-width: 65rem;
  margin: 0;
}

.graphics-feed-production-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.graphics-feed-production-actions a {
  padding: 0.38rem 0.58rem;
  border: 1px solid var(--graphics-border);
  border-radius: 0.5rem;
  color: var(--graphics-link);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.graphics-feed-production-actions a:hover,
.graphics-feed-production-actions a:focus {
  border-color: #aebce6;
  background: #f5f7ff;
  text-decoration: underline;
}

.graphics-feed-coming-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.graphics-feed-coming-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--graphics-border);
  border-radius: 0.85rem;
  background: #ffffff;
}

.graphics-feed-coming-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.graphics-feed-coming-geometry,
.graphics-feed-coming-status {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.graphics-feed-coming-geometry {
  background: var(--graphics-pale);
  color: var(--graphics-muted);
}

.graphics-feed-coming-status {
  background: #ecfdf3;
  color: var(--graphics-ready);
}

.graphics-feed-coming-card h3 {
  margin: 0.85rem 0 0.4rem;
  color: var(--graphics-ink);
  font-size: 1rem;
}

.graphics-feed-coming-card p {
  margin: 0;
  color: var(--graphics-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .graphics-feed-coming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .graphics-feed-production-stats,
  .graphics-feed-production-grid,
  .graphics-feed-coming-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .graphics-feed-production-card--wide,
  .graphics-feed-production-card--tall {
    grid-column: auto;
  }

  .graphics-feed-production-card-head,
  .graphics-feed-production-card figcaption {
    flex-direction: column;
  }

  .graphics-feed-production-actions {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .graphics-feed-production-hero {
    padding: 1.15rem;
  }

  .graphics-feed-production-card {
    padding: 0.75rem;
  }

  .graphics-feed-section-nav {
    align-items: stretch;
  }

  .graphics-feed-section-nav a {
    text-align: center;
  }
}
