/* ============================================================
   ATNS Microsite — content building blocks
   ------------------------------------------------------------
   Reusable, top-aligned CONTENT patterns for deliverable pages
   (Sitemap, Brand Voice, Audience, etc.). Loaded after brand.css
   + microsite.css.

   Why this file exists: the brand mirror (brand.css) styles the
   full-viewport landing "sections" (centered, min-height 100vh).
   Real deliverable pages need flowing, top-aligned content. Rather
   than re-inventing per-page classes each time (the old per-page
   sitemap.css / peer-review.css pattern), every reusable block
   lives here, once, and is documented + rendered on components.html.

   To build a new page: link this file, drop the blocks you need,
   fill in the content. Don't fork these into a new per-page sheet
   unless the pattern is genuinely one-off. When you add a NEW
   reusable block here, also add it to components.html so the
   library stays the source of truth.

   All blocks use the brand color tokens from brand.css
   (--midnight, --coral, --cream, --charcoal, --text-dark, etc.).
   ============================================================ */

/* ---- Page wrapper ---- */
/* Replaces the brand <section> full-viewport behavior with a
   normal, top-aligned content column. */
.content {
  padding: 96px 48px 90px;
  min-height: auto;
  display: block;
}
.content-inner { max-width: 960px; margin: 0 auto; width: 100%; }
.content-inner.narrow { max-width: 760px; }
.content-inner.wide { max-width: 1140px; }

/* ---- Page header (eyebrow + title + lede) ---- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 20px;
}
.content-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--midnight); margin-bottom: 24px;
}
.content-title em { font-style: italic; color: var(--coral); }
.lede {
  font-weight: 300; font-size: 1.22rem; line-height: 1.75;
  color: var(--text-dark); max-width: 700px; margin-bottom: 16px;
}

/* ---- A content block (titled sub-section, divided from the one above) ---- */
.content-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(27, 27, 33, 0.10);
}
.content-block.no-rule { border-top: none; padding-top: 0; }
.block-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400; font-size: 1.7rem;
  color: var(--midnight); margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.block-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}

/* ---- Prose: body copy, lists, links inside content ---- */
.prose { max-width: 700px; }
.prose p {
  font-weight: 300; font-size: 1.08rem; line-height: 1.75;
  color: var(--charcoal); margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 12px 0 18px 24px;
  font-size: 1.05rem; line-height: 1.75; color: var(--charcoal);
}
.prose li { margin-bottom: 8px; }
.prose li b, .prose p b { color: var(--midnight); font-weight: 600; }
.prose a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { opacity: 0.8; }

/* ---- Divider (standalone coral rule) ---- */
.rule { width: 64px; height: 2px; background: var(--coral); margin: 32px 0; }

/* ---- Card grid + card (generic content card) ---- */
.card-grid {
  display: grid; gap: 20px; margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid rgba(27, 27, 33, 0.08);
  border-radius: 12px;
  padding: 28px 30px;
}
.card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400; font-size: 1.35rem;
  color: var(--midnight); margin-bottom: 10px; line-height: 1.25;
}
.card-body { font-weight: 300; font-size: 0.98rem; line-height: 1.7; color: var(--text-dark); }
.card-body + .card-body { margin-top: 10px; }
.card-body ul, .card-body ol { margin: 0; padding-left: 18px; }
.card-body li { margin-bottom: 7px; }
.card-body li:last-child { margin-bottom: 0; }
.card-body li b, .card-body p b { color: var(--midnight); font-weight: 600; }
.card-body a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.card-body a:hover { opacity: 0.8; }

/* ---- Data table ---- */
.data-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 1rem;
}
.data-table thead th {
  text-align: left; padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: var(--midnight);
}
.data-table thead th:first-child { border-top-left-radius: 10px; }
.data-table thead th:last-child { border-top-right-radius: 10px; }
.data-table tbody td {
  padding: 14px 18px; vertical-align: top;
  font-weight: 300; line-height: 1.6; color: var(--charcoal);
  border-bottom: 1px solid rgba(27, 27, 33, 0.10);
  background: var(--white);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody td b { color: var(--midnight); font-weight: 600; }

/* ---- Callout (highlighted aside) ---- */
.callout {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid rgba(27, 27, 33, 0.10);
  border-left: 3px solid var(--coral);
  border-radius: 10px;
}
.callout.on-sage { background: var(--sage); border-color: rgba(27,27,33,0.06); border-left-color: var(--coral); }
.callout-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 8px;
}
.callout p { font-weight: 300; font-size: 1.02rem; line-height: 1.7; color: var(--charcoal); }
.callout p + p { margin-top: 10px; }

/* ---- Pull quote ---- */
.pullquote {
  margin: 36px 0;
  border-left: 2px solid var(--coral);
  padding-left: 24px;
}
.pullquote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 400;
  font-size: 1.5rem; line-height: 1.45;
  color: var(--midnight);
}
.pullquote cite {
  display: block; margin-top: 14px;
  font-family: 'Inter', sans-serif; font-style: normal;
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dark);
}

/* ---- Tags / chips ---- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  display: inline-block;
  padding: 6px 14px; border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(222, 119, 90, 0.10);
  border: 1px solid rgba(222, 119, 90, 0.22);
  color: var(--charcoal);
}

/* ---- Responsive video / embed (16:9 default) ---- */
.video-embed { margin: 40px 0; }
.video-embed-frame {
  position: relative; height: 0;
  padding-bottom: 56.25%; /* 16:9 — override inline for a different ratio */
  background: var(--midnight);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(27, 27, 33, 0.10);
}
.video-embed-frame iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}

/* ---- Jump link / boxed call-to-action link ---- */
.jump-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 16px 22px;
  border: 1px solid rgba(27, 27, 33, 0.14);
  border-radius: 10px; background: var(--white);
  text-decoration: none; color: var(--midnight);
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.98rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.jump-link:hover {
  border-color: var(--coral);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 27, 33, 0.08);
}
.jump-link .arrow { font-size: 1.1rem; color: var(--coral); }

/* ---- Full-bleed iframe (embed a prototype edge-to-edge) ---- */
.bleed-frame { display: block; width: 100%; height: 100vh; border: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .content { padding: 80px 28px 80px; }
  .content-title { font-size: 2.3rem; }
  .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .data-table { font-size: 0.92rem; }
  .data-table thead th, .data-table tbody td { padding: 11px 13px; }
  .pullquote blockquote { font-size: 1.25rem; }
}
