/* ============================================================
   RESOURCES MODULE — v1.0
   Dedicated stylesheet for the Resource Library
   ============================================================ */

/* ---------- Global Module Container ---------- */
.resources-module {
  max-width: 960px;
  margin: 0 auto 2rem auto;
  box-sizing: border-box;
}

/* ---------- Card Geometry ---------- */
.resources-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

/* ---------- Typography ---------- */

/* Resources Delta Typography Fix */
:root {
  --font-title: var(--font-body);
}

/* Title (h2) — force sans-serif, clean, modern */
.resources-card h2,
.resources-card .module-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}

/* Tagline — slightly smaller, scholarly, subtle */
.resources-tagline {
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Body text */
.resources-card p,
.resources-card li {
  font-size: 1rem;
  color: #333;
  line-height: 1.45;
}

/* List spacing */
.resources-card ul {
  margin-left: 1rem;
  padding-left: 1rem;
}

/* ---------- Link System (Unified Literal) ---------- */

/* Rest — black, clean, no underline */
.resources-card a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

/* Visited — also black (kills browser purple) */
.resources-card a:visited {
  color: #000000;
}

/* Hover — warm DI gold + parchment glow */
.resources-card a:hover {
  color: #b08d57;
  background: rgba(255, 248, 220, 0.35);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Active — slightly deeper gold */
.resources-card a:active {
  color: #8a6b3f;
}

/* Focus — accessibility ring */
.resources-card a:focus {
  outline: 2px solid #b08d57;
  outline-offset: 2px;
}

/* ---------- Inline Link Variant ---------- */
.inline-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.inline-links a:visited {
  color: #000000;
}

.inline-links a:hover {
  color: #b08d57;
  background: rgba(255, 248, 220, 0.35);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.inline-links a:active {
  color: #8a6b3f;
}

.inline-links a:focus {
  outline: 2px solid #b08d57;
  outline-offset: 2px;
}

.dl-header h2,
.dl-header {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
