/* =====================================================
   ARCHIVO GENERAL SAN JUAN — normas.css
   Portada de Normas archivísticas (normas.html).
   Requiere shared.css antes.
   ===================================================== */

.pg-normas {
  flex: 1;
  background: var(--cbg);
  padding: 48px var(--gsj-container-pad) 80px;
}

.nr-wrap {
  max-width: 1060px;
  margin: 0 auto;
}

.nr-head h1 {
  font-family: var(--fu);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ct);
  line-height: 1.15;
  margin-bottom: 10px;
  text-wrap: balance;
}

.nr-sub {
  font-family: var(--fb);
  font-size: 16px;
  color: var(--ct2);
  line-height: 1.7;
  max-width: 70ch;
  margin-bottom: 40px;
}

/* ─── Entradas ───────────────────────────────────────────────────────── */
.nr-item {
  padding: 32px 0;
  border-top: 1px solid var(--cbrd);
}

.nr-item:last-child { border-bottom: 1px solid var(--cbrd); }

.nr-item h2 {
  font-family: var(--fu);
  font-size: 20px;
  font-weight: 700;
  color: var(--ct);
  line-height: 1.3;
  margin-bottom: 6px;
  text-wrap: pretty;
}

.nr-ref {
  font-family: var(--fu);
  font-size: 13px;
  color: var(--ct2);
  margin-bottom: 12px;
}

.nr-desc {
  font-family: var(--fb);
  font-size: 15.5px;
  color: var(--ct2);
  line-height: 1.7;
  max-width: 68ch;
  margin-bottom: 18px;
}

.nr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--cp-btn, oklch(55% 0.19 40));
  font-family: var(--fu);
  font-size: 14.5px;
  font-weight: 700;
  color: oklch(100% 0 0);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nr-btn:hover { background: var(--cp-btn-hover, oklch(49% 0.22 35)); }

.nr-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--cbrd2);
  border-radius: 9999px;
  background: var(--csurf);
  font-family: var(--fu);
  font-size: 14px;
  font-weight: 600;
  color: var(--ct);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nr-link:hover {
  border-color: var(--cp);
  background: oklch(from var(--cp) l c h / 0.04);
}

.nr-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--cp-act);
}

.nr-link .nr-meta {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ct3);
}
