/* Resource-category landing pages.
 *
 * Shared hero + footer chrome, plus 5 listing-layout families that switch via
 * the .rc-family-{slug} class on .rc-main:
 *   .rc-family-guide     → editorial 2-col article grid
 *   .rc-family-template  → 3-col document-mockup grid
 *   .rc-family-webinar   → 3-col video-thumb grid with play overlay
 *   .rc-family-report    → 3-col sample-report preview grid
 *   .rc-family-list      → fallback 3-col blog-card list
 */

.rc-main { background: var(--off-white-40); }

/* ── Hero ───────────────────────────────────────────────────────── */
.rc-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #FDFDFE, var(--off-white-60)); border-bottom: 1px solid var(--color-border); }
.rc-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.022em; line-height: 1.08; margin: 14px 0 12px; color: var(--anthracite-100); max-width: 720px; }
.rc-hero .lead { font-size: 18px; color: var(--color-text-muted); line-height: 1.55; max-width: 720px; }
.rc-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-text-subtle); margin-bottom: 18px; transition: color 160ms ease, gap 160ms ease; }
.rc-back:hover { color: var(--anthracite-100); gap: 10px; }
.rc-back svg { width: 14px; height: 14px; }

/* ── Listing wrapper ────────────────────────────────────────────── */
.rc-listing { padding: 56px 0 80px; }
.rc-empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed var(--color-border); border-radius: 16px; }
.rc-empty p { font-size: 16px; color: var(--color-text-muted); margin-bottom: 18px; }

/* Pagination */
.rc-pagination { margin-top: 48px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.rc-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); background: #fff; }
.rc-pagination .page-numbers.current { background: var(--anthracite-100); color: #fff; border-color: var(--anthracite-100); }
.rc-pagination .page-numbers:hover:not(.current) { border-color: var(--anthracite-100); color: var(--anthracite-100); }

/* ── GUIDE family ──────────────────────────────────────────────── */
.rc-guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.rc-guide-card { display: grid; grid-template-rows: 220px auto; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard), border-color 220ms var(--ease-standard); color: inherit; }
.rc-guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--anthracite-30); }
.rc-guide-card .thumb { background-color: var(--off-white-100); background-size: cover; background-position: center; position: relative; }
.rc-guide-card .thumb-fallback { display: flex; align-items: center; justify-content: center; color: var(--color-text-subtle); }
.rc-guide-card .thumb-fallback svg { width: 60px; height: 60px; opacity: 0.4; }
.rc-guide-card .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.rc-guide-card .badge { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--green-20); color: var(--green-100); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rc-guide-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.012em; line-height: 1.2; color: var(--anthracite-100); margin: 0; }
.rc-guide-card .excerpt { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.rc-guide-card .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--color-border-subtle); margin-top: 6px; }
.rc-guide-card .time { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-text-subtle); font-weight: 500; }
.rc-guide-card .cta { font-size: 13px; font-weight: 600; color: var(--green-100); display: inline-flex; align-items: center; gap: 4px; }

/* ── TEMPLATE family ───────────────────────────────────────────── */
.rc-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc-tpl-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; color: inherit; transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard), border-color 220ms var(--ease-standard); }
.rc-tpl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--anthracite-30); }
.rc-tpl-card .page { background: linear-gradient(180deg, #FAFBFD, #F0F2F6); border: 1px solid var(--color-border-subtle); border-radius: 8px; padding: 22px 18px 24px; aspect-ratio: 4/3; position: relative; display: flex; flex-direction: column; gap: 9px; }
.rc-tpl-card .page-corner { position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, #fff 0%, #fff 50%, transparent 50%); border-left: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.rc-tpl-card .page-bar { display: block; height: 7px; background: var(--anthracite-30); border-radius: 3px; opacity: 0.5; }
.rc-tpl-card .page-bar.w-40 { width: 40%; }
.rc-tpl-card .page-bar.w-50 { width: 50%; }
.rc-tpl-card .page-bar.w-60 { width: 60%; opacity: 0.85; }
.rc-tpl-card .page-bar.w-75 { width: 75%; }
.rc-tpl-card .page-bar.w-80 { width: 80%; }
.rc-tpl-card .page-bar.w-90 { width: 90%; }
.rc-tpl-card .meta h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.005em; color: var(--anthracite-100); margin: 8px 0 6px; }
.rc-tpl-card .meta p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; margin: 0 0 10px; }
.rc-tpl-card .industry { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--anthracite-60); }
.rc-tpl-card .cta { font-size: 13px; font-weight: 600; color: var(--green-100); display: inline-flex; align-items: center; gap: 4px; }

/* ── WEBINAR family ────────────────────────────────────────────── */
.rc-webinar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc-webinar-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; color: inherit; transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard); }
.rc-webinar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rc-webinar-card .player { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--anthracite-100) 0%, #2C3441 100%); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.rc-webinar-card .player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%); }
.rc-webinar-card .play { width: 56px; height: 56px; border-radius: 50%; background: var(--anthracite-90); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform 200ms ease; position: relative; z-index: 1; }
.rc-webinar-card .play svg { width: 22px; height: 22px; margin-left: 3px; }
.rc-webinar-card:hover .play { transform: scale(1.08); }
.rc-webinar-card .duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; z-index: 2; }
.rc-webinar-card .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.rc-webinar-card .topic { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-100); }
.rc-webinar-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.005em; color: var(--anthracite-100); margin: 4px 0; line-height: 1.25; }
.rc-webinar-card p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.rc-webinar-card .presenter { font-size: 12px; color: var(--color-text-subtle); margin-top: 4px; }
.rc-webinar-card .cta { font-size: 13px; font-weight: 600; color: var(--green-100); display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--color-border-subtle); }

/* ── REPORT family ─────────────────────────────────────────────── */
.rc-report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc-report-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; color: inherit; transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard); }
.rc-report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rc-report-card .preview { aspect-ratio: 4/5; position: relative; background: linear-gradient(180deg, #fff 0%, var(--off-white-60) 100%); border-bottom: 1px solid var(--color-border); background-size: cover; background-position: top center; overflow: hidden; }
.rc-report-card .preview::before { content: ""; position: absolute; inset: 24px 24px auto 24px; height: 8px; background: linear-gradient(90deg, var(--anthracite-30), var(--anthracite-30)) no-repeat 0 0/60% 100%, var(--off-white-100); border-radius: 4px; }
.rc-report-card .preview::after { content: ""; position: absolute; inset: 48px 24px 80px 24px; background-image: linear-gradient(var(--off-white-100) 6px, transparent 6px); background-size: 100% 16px; opacity: 0.6; }
.rc-report-card .preview .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, transparent 50%, rgba(20,28,40,0.4) 100%); opacity: 0; transition: opacity 200ms ease; }
.rc-report-card:hover .preview .overlay { opacity: 1; }
.rc-report-card .preview .btn-mock { padding: 10px 18px; border-radius: 8px; background: #fff; color: var(--anthracite-100); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); }
.rc-report-card .body { padding: 20px 22px 22px; }
.rc-report-card .body h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.005em; color: var(--anthracite-100); margin: 0 0 10px; line-height: 1.25; }
.rc-report-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rc-report-card .tag { font-size: 11px; font-weight: 600; padding: 3px 9px; background: var(--off-white-60); border: 1px solid var(--color-border-subtle); border-radius: 999px; color: var(--color-text-muted); }
.rc-report-card .tag.region { background: var(--green-20); border-color: transparent; color: var(--green-100); }
.rc-report-card .body p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

/* ── LIST family (generic fallback) ────────────────────────────── */
.rc-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc-list-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; color: inherit; transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard); }
.rc-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rc-list-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #C9D6E2 0%, #95A6B8 100%); background-size: cover; background-position: center; }
.rc-list-card .body { padding: 20px 24px 22px; }
.rc-list-card .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--color-text-subtle); margin-bottom: 8px; }
.rc-list-card .meta .cat { font-weight: 700; color: var(--green-100); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.rc-list-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.005em; color: var(--anthracite-100); margin: 0 0 8px; line-height: 1.25; }
.rc-list-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

/* ── Footer CTA ────────────────────────────────────────────────── */
.rc-cta { padding: 72px 0 96px; text-align: center; background: linear-gradient(180deg, var(--off-white-40) 0%, #fff 100%); border-top: 1px solid var(--color-border-subtle); }
.rc-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -0.018em; color: var(--anthracite-100); margin: 0 0 12px; }
.rc-cta p { font-size: 16px; color: var(--color-text-muted); max-width: 560px; margin: 0 auto 24px; line-height: 1.55; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .rc-hero h1 { font-size: 38px; }
  .rc-guide-grid { grid-template-columns: 1fr; }
  .rc-tpl-grid, .rc-webinar-grid, .rc-report-grid, .rc-list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rc-hero { padding: 48px 0 32px; }
  .rc-hero h1 { font-size: 30px; }
  .rc-listing { padding: 36px 0 56px; }
  .rc-tpl-grid, .rc-webinar-grid, .rc-report-grid, .rc-list-grid { grid-template-columns: 1fr; }
  .rc-guide-card { grid-template-rows: 180px auto; }
}

/* ── Press Media Pack (press category archive only) ──────────────
 * Utility section between the hero and the press-article listing on
 * /press/. Self-serve download for journalists / partners — sits high
 * so they don't have to scroll past articles to find press assets.
 * Tone is professional/credible, not marketing-flashy: white card,
 * neutral palette, no animation gimmicks. */
.press-mediapack { padding: 48px 0 64px; border-bottom: 1px solid var(--color-border-subtle); }
.press-mediapack-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }

.press-mediapack-copy h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 32px; letter-spacing: -0.018em;
  color: var(--anthracite-100);
  margin: 16px 0 14px; line-height: 1.18;
}
.press-mediapack-copy p.lead { font-size: 17px; color: var(--color-text-muted); line-height: 1.55; margin: 0 0 24px; }
.press-mediapack-includes-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; color: var(--color-text);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.press-mediapack-checklist {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.press-mediapack-checklist li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start;
  font-size: 14.5px; color: var(--color-text); line-height: 1.5;
}
.press-mediapack-checklist svg {
  width: 16px; height: 16px; stroke: var(--green-100);
  fill: none; stroke-width: 2.25; margin-top: 4px;
}
.press-mediapack-note {
  font-size: 13px; color: var(--color-text-subtle);
  line-height: 1.5; margin: 0;
  padding: 12px 14px; background: var(--off-white-40);
  border-left: 3px solid var(--color-border-strong);
  border-radius: 4px;
}

/* Download card — visually distinct from the marketing CTAs across
 * the rest of the site (white card on neutral background, not a
 * gradient hero block). Reads as "utility document, not a sales pitch". */
.press-mediapack-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-md);
  position: sticky; top: 100px;
}
.press-mediapack-card-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-20);
  color: var(--green-text);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.press-mediapack-card-ic svg { width: 24px; height: 24px; }
.press-mediapack-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.01em;
  color: var(--anthracite-100); margin: 0;
}
.press-mediapack-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.press-mediapack-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text-subtle); margin: 4px 0 14px;
}
.press-mediapack-card .btn { width: 100%; justify-content: center; }
.press-mediapack-card .btn .arr { width: 18px; height: 18px; }
.press-mediapack-secondary {
  text-align: center; padding-top: 10px;
  font-size: 14px; color: var(--color-text-muted);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 150ms var(--ease-standard);
}
.press-mediapack-secondary:hover { color: var(--anthracite-100); }

/* Press contact strip — compact "press enquiries" call-out below the card. */
.press-contact-strip {
  margin-top: 40px; padding: 24px 28px;
  background: var(--off-white-40);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.press-contact-strip h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.005em;
  color: var(--anthracite-100); margin: 0 0 4px;
}
.press-contact-strip p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.press-contact-strip-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 14px;
  color: var(--anthracite-100);
  transition: border-color 150ms var(--ease-standard), color 150ms var(--ease-standard);
}
.press-contact-strip-link:hover { border-color: var(--green-100); color: var(--green-100); }
.press-contact-strip-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; }

/* "Latest press" heading above the article grid (press-only). */
.press-listing-h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.01em;
  color: var(--anthracite-100);
  margin: 0 0 28px;
}

/* Media Pack — responsive overrides */
@media (max-width: 960px) {
  /* Stack Media Pack columns on tablet — card drops below the copy. */
  .press-mediapack-grid { grid-template-columns: 1fr; gap: 32px; }
  .press-mediapack-card { position: static; }
}
@media (max-width: 600px) {
  /* Single-column checklist + stacked contact strip on phones. */
  .press-mediapack { padding: 32px 0 48px; }
  .press-mediapack-copy h2 { font-size: 26px; }
  .press-mediapack-checklist { grid-template-columns: 1fr; gap: 8px; }
  .press-contact-strip { grid-template-columns: 1fr; padding: 20px 22px; }
}
