/* ── DPDP readiness sector picker (pages/dpdp-readiness.php), built on home-dashboard.css.
   The checks themselves (e.g. dpdp-readiness-pharma.php) still use readiness.css. ── */
.rd-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.rd-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1.5px solid rgba(32,33,31,.3);
  border-radius: 999px;
  color: #3c3d38;
  font-size: 12.5px;
  font-weight: 500;
}

.rd-page .hd-welcome h1 { max-width: 820px; }
.rd-lede { max-width: 660px; margin: 20px 0 0; color: #3c3d38; font-size: 16px; line-height: 1.6; }

.rd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rd-meta span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--hd-ink); font-size: 13px; font-weight: 500; }
.rd-meta span:first-child { background: var(--hd-accent); }

.rd-page .hd-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.rd-start {
  padding: 13px 24px;
  border-radius: 999px;
  background: #20211f;
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(32,33,31,.18);
  transition: background .15s, color .15s, transform .15s;
}

.rd-start:hover { transform: translateY(-1px); background: var(--hd-accent); color: var(--hd-ink); }

/* Sector cards */
.rd-section { margin-top: 10px; }
.rd-section-head { align-items: flex-end; gap: 24px; }
.rd-section-head .rd-kicker { margin-bottom: 10px; }
.rd-section-head > p { max-width: 420px; margin: 0; color: #3c3d38; font-size: 14.5px; line-height: 1.6; }

.rd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rd-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  color: var(--hd-ink);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.rd-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }

.rd-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; background: #fff; color: var(--hd-ink); box-shadow: 0 4px 14px rgba(32,33,31,.07); transition: background .18s ease, transform .18s ease; }
.rd-icon svg { width: 22px; height: 22px; }

.rd-status { padding: 5px 12px; border-radius: 999px; background: rgba(32,33,31,.07); color: #3c3d38; font-size: 12px; font-weight: 500; }

.rd-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.rd-card p { margin: 0; color: #3c3d38; font-size: 14px; line-height: 1.6; }

.rd-action { margin-top: auto; padding-top: 22px; font-size: 13.5px; font-weight: 500; }
.rd-action.is-muted { color: var(--hd-muted); }

/* Available sector: dark card */
.rd-card.is-live { padding: 24px; background: radial-gradient(circle at 100% 100%, var(--hd-glow), transparent 55%), var(--hd-dark); color: #fff; }
.rd-card.is-live .rd-icon { background: var(--hd-accent); }
.rd-card.is-live .rd-status { background: var(--hd-accent); color: var(--hd-ink); }
.rd-card.is-live p { color: rgba(255,255,255,.75); }
.rd-card.is-live .rd-action { color: var(--hd-accent); }
.rd-card.is-live .rd-action span { display: inline-block; transition: transform .18s ease; }
.rd-card.is-live:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--hd-accent), 0 22px 44px rgba(32,33,31,.25); }
.rd-card.is-live:hover .rd-icon { transform: rotate(-8deg) scale(1.06); }
.rd-card.is-live:hover .rd-action span { transform: translateX(5px); }

/* Gap analysis hub: light sector cards, with the skin colour on hover. */
.rd-card.is-live.rd-hub-card { background: rgba(255,255,255,.82); color: var(--hd-ink); }
.rd-card.is-live.rd-hub-card p { color: #3c3d38; }
.rd-card.is-live.rd-hub-card .rd-action { color: var(--hd-ink); }
.rd-card.is-live.rd-hub-card:hover { background: color-mix(in srgb, var(--hd-accent) 22%, #fff); box-shadow: 0 0 0 2px var(--hd-accent), 0 18px 36px rgba(32,33,31,.12); }

/* Coming soon: light card */
.rd-card.is-soon:hover { transform: translateY(-3px); background: rgba(255,255,255,.88); }
.rd-card.is-soon:hover .rd-icon { background: var(--hd-accent); }

.rd-disclaimer {
  margin: 18px 0 0;
  padding: 14px 20px;
  border-left: 5px solid var(--hd-accent-hover);
  border-radius: 20px;
  background: rgba(255,255,255,.6);
  color: #3c3d38;
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rd-page .hd-top-right { align-items: flex-start; }
  .rd-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-section-head { flex-direction: column; align-items: flex-start; }
}

/* Sector landing pages (includes/sector-landing.php) */
.sl-page .sl-card { min-height: 0; padding: 24px; }
.sl-page .sl-card h3 { font-size: 19px; }
.sl-page .sl-read { margin-top: 14px; }
.sl-page .sl-article { display: block; padding: 28px; color: var(--hd-ink); text-decoration: none; transition: transform .18s ease; }
.sl-page .sl-article:hover { transform: translateY(-3px); }
.sl-page .sl-article h2 { margin: 8px 0 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.sl-page .sl-article p { max-width: 720px; margin: 0; color: #3c3d38; font-size: 15px; line-height: 1.6; }
