/* public/styles/reports.css */

/*
  The Accountability Report Podcast
  Reports and case files page styles.
*/

.reports-page {
  background: var(--color-background);
}

.reports-hero {
  border-bottom: 1px solid rgba(208, 216, 225, 0.78);
  background: #eef3f4;
  padding: clamp(4.5rem, 9vw, 7.2rem) 0 clamp(4.4rem, 8vw, 6.6rem);
}

/*
  Keep the hero content aligned with the first report card.
  The text itself remains limited by max-width rules below.
*/
.reports-hero__content {
  max-width: none;
}

.reports-kicker {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.reports-hero__title {
  max-width: 760px;
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5.4vw, 4.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.reports-hero__lead {
  max-width: 760px;
  margin: 1.35rem 0 0;
  color: var(--color-charcoal);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 500;
  line-height: 1.72;
}

.reports-catalog {
  background: var(--color-background);
  padding: clamp(3.5rem, 7vw, 5.3rem) 0 clamp(4.5rem, 8vw, 6.2rem);
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

.report-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 8.5rem;
  gap: 1.25rem;
  align-items: start;
  border: 1px solid rgba(176, 188, 203, 0.95);
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(1.2rem, 2.2vw, 1.55rem);
}

.report-card__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background: rgba(233, 240, 245, 0.72);
  color: var(--color-primary);
}

.report-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-card__content {
  min-width: 0;
}

.report-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0 0 0.62rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.35;
  text-transform: uppercase;
}

.report-card__meta span:first-child {
  color: var(--color-accent);
}

.report-card__meta span:last-child {
  color: var(--color-charcoal);
}

.report-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.report-card p:last-child {
  margin: 0.8rem 0 0;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.68;
}

.reports-notice {
  border-left: 2px solid var(--color-accent);
  background: #edf4f7;
  margin-top: clamp(2.6rem, 5vw, 3.5rem);
  padding: 1.1rem 1.25rem;
}

.reports-notice p {
  margin: 0;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

@media (max-width: 980px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .report-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .reports-hero {
    padding-top: 4rem;
    padding-bottom: 4.2rem;
  }

  .reports-hero__title {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .reports-catalog {
    padding-top: 3rem;
  }
}

@media (max-width: 560px) {
  .report-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .report-card__icon {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (max-width: 520px) {
  .reports-kicker,
  .report-card__meta {
    font-size: 0.64rem;
  }

  .reports-kicker {
    letter-spacing: 0.28em;
  }

  .report-card {
    padding: 1.1rem;
  }

  .report-card p:last-child,
  .reports-notice p {
    font-size: 0.88rem;
  }
}