/* =========================================================
   home — page-specific styles  →  assets/css/home.css
   Global styles live in assets/css/main.css
   ========================================================= */

/* ── News strip (below the hero) ─────────────────────── */
.news-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}

.news-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--pink-glow);
  border: 1px solid rgba(252, 67, 117, 0.25);
  border-left: 3px solid var(--pink);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.news-label {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-text);
  background: rgba(252, 67, 117, 0.12);
  border: 1px solid rgba(252, 67, 117, 0.25);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  margin-top: 0.1rem;
}

.news-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

.news-link {
  font-weight: 600;
  color: var(--pink-text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.news-link:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .news-strip {
    padding: 0 1.25rem 1.25rem;
  }
  .news-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ═════════════════════════════════════════════════════════
   Evaluating an AI answer — the section the quadrant map sits in
   ═════════════════════════════════════════════════════════
   Only the chrome lives here — the card, its header, the callout and the link out.
   The map itself is assets/css/quadmap.css, shared with the ten-minute guide.
   ═════════════════════════════════════════════════════════ */

.evalmap-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
}

.evalmap-inner {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

/* ── Header ───────────────────────────────── */
.evalmap-header {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.25rem;
}
.evalmap-eyebrow {
  font-family: var(--font-serif);
  font-variant-caps: all-small-caps;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal-text);
  margin-bottom: 0.4rem;
}
.evalmap-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.evalmap-intro {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ── Callout + link out ─────────────────────── */
.evalmap-callout {
  max-width: 58rem;
  margin: 2.25rem auto 0;
  font-size: 0.78rem;
}
.evalmap-link {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-teal);
  padding-bottom: 0.2rem;
}
.evalmap-link:hover { border-bottom-color: var(--teal); }

/* ── Narrow ───────────────────────────────── */
@media (max-width: 768px) {
  .evalmap-strip { padding: 0 1.25rem 2rem; }
  .evalmap-inner { padding: 1.5rem 1.25rem; }
}


/* ═════════════════════════════════════════════════════════
   Colophon — about this resource + contributor credits
   ═════════════════════════════════════════════════════════ */

.colophon {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.colophon-inner {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.5rem;
}

.colophon-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.6rem;
}
.colophon-about p {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.7;
}
.colophon-about a { color: var(--teal-text); }

/* A rule rather than a border on the box, so the two halves read as one colophon. */
.colophon-credits {
  border-left: 1px solid var(--border);
  padding-left: 2.5rem;
}
/* A real <ul>: assistive tech announces "list, N items", which is the whole point of
   a credit roll. list-style is dropped because the names are the content, not items
   in an argument. */
.colophon-names {
  list-style: none;
  margin-bottom: 0.9rem;
}
.colophon-names li {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}
.colophon-note {
  font-size: 0.7rem;
  color: var(--text-3);
  line-height: 1.6;
  text-wrap: pretty;
}
/* Sits tight under the heading it qualifies, pulling up into the heading's bottom
   margin, so it reads as part of the label rather than as a line of its own. */
.colophon-order {
  font-size: 0.68rem;
  color: var(--text-3);
  line-height: 1.5;
  margin: -0.45rem 0 0.6rem;
}

@media (max-width: 768px) {
  .colophon-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .colophon-credits {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}
