/* ═══════════════════════════════════════════════════════════════
   /the-faith-received/resources/ (2026-10-20): Resources. One tab today, Articles.

   A working surface: body face throughout (no display face), thin rules, muted meta, text controls and no pills.
   Loaded from moHead, so it comes before screen.min.css: every rule is scoped under .fr-res, and the one element
   that also carries .container (the section's wrapper) is left alone; the padding sits on .fr-res-body.
   ═══════════════════════════════════════════════════════════════ */

.fr-res .fr-res-body {
  --fr-ink: var(--color-dark, #2d2927);
  --fr-muted: var(--color-muted, #6b6660);
  --fr-rule: var(--color-rule, #d9c6a7);
  --fr-accent: color-mix(in srgb, var(--color-secondary, #c1593c) 75%, var(--color-dark, #2d2927));
  max-width: none;
  margin: 0;
  padding: 8px 0 24px;
  font-family: var(--font-body);
  color: var(--fr-ink);
}

.fr-res .fr-res-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The tablist: plain labels on one baseline rule, the current one underlined (as the Topic Desk's About tabs). */
.fr-res .fr-res-tabs { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0 0 22px; padding: 0; border-bottom: 1px solid var(--fr-rule); }
.fr-res .fr-res-tab {
  margin: 0 0 -1px; min-height: 44px; padding: 10px 0 9px; font: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fr-muted); background: none; border: 0;
  border-bottom: 3px solid transparent; border-radius: 0; cursor: pointer;
}
.fr-res .fr-res-tab:hover { color: var(--fr-ink); border-bottom-color: var(--fr-rule); }
.fr-res .fr-res-tab[aria-selected="true"] { color: var(--fr-ink); border-bottom-color: var(--fr-accent); }
.fr-res .fr-res-tab:focus-visible,
.fr-res .fr-res-panel:focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 2px; }
.fr-res .fr-res-panel[hidden] { display: none; }

.fr-res .fr-res-intro { max-width: 70ch; margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--fr-muted); }

/* Width and gutters are the theme's .container (1180px, 28px), the same as the hero above and the other TFR pages. Nothing here overrides it. */

/* Search */
.fr-res .fr-res-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fr-muted); }
.fr-res .fr-res-field { position: relative; max-width: 560px; }
.fr-res .fr-res-input {
  display: block; width: 100%; max-width: 560px; box-sizing: border-box; min-height: 48px; margin: 0; padding: 10px 76px 10px 14px;
  font: inherit; font-size: 17px; color: var(--fr-ink); background: transparent;
  border: 1px solid var(--fr-rule); border-radius: 3px; -webkit-appearance: none; appearance: none;
}
.fr-res .fr-res-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.fr-res .fr-res-input:focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 2px; border-color: var(--fr-ink); }
.fr-res .fr-res-clear {
  position: absolute; top: 2px; right: 2px; min-width: 44px; min-height: 44px; padding: 0 12px; font: inherit; font-size: 14px;
  color: var(--fr-muted); background: none; border: 0; border-radius: 3px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.fr-res .fr-res-clear[hidden] { display: none; }
.fr-res .fr-res-clear:hover { color: var(--fr-ink); }

/* Filters and sort: text links that act as toggles. The pressed one is underlined. */
.fr-res .fr-res-controls { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 4px; }
.fr-res .fr-res-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.fr-res .fr-res-grouplabel { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fr-muted); }
.fr-res .fr-res-opt {
  min-height: 44px; padding: 10px 0; margin: 0; font: inherit; font-size: 15px; color: var(--fr-muted); background: none; border: 0;
  border-radius: 0; cursor: pointer; text-decoration: none;
}
.fr-res .fr-res-opt:hover { color: var(--fr-ink); text-decoration: underline; text-underline-offset: 4px; }
.fr-res .fr-res-opt[aria-pressed="true"] { color: var(--fr-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--fr-accent); }
.fr-res .fr-res-opt:focus-visible,
.fr-res .fr-res-link:focus-visible,
.fr-res .fr-res-clear:focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 2px; }

.fr-res .fr-res-count { margin: 10px 0 6px; padding-top: 10px; border-top: 1px solid var(--fr-rule); font-size: 14px; color: var(--fr-muted); }

/* Results: a full-width grid of cards, 8 across from 1600px down to 1 under 480px. */
.fr-res .fr-res-section + .fr-res-section { margin-top: 34px; }
.fr-res .fr-res-h { margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--fr-rule); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--fr-ink); }
.fr-res .fr-res-n { font-size: 14px; font-weight: 400; color: var(--fr-muted); margin-left: 6px; }
.fr-res .fr-res-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; align-items: start; gap: 28px 20px; grid-template-columns: minmax(0, 1fr); }
.fr-res .fr-res-h + .fr-res-grid { margin-top: 0; }
@media (min-width: 520px) { .fr-res .fr-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .fr-res .fr-res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fr-res .fr-res-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fr-res .fr-res-card { margin: 0; min-width: 0; content-visibility: auto; contain-intrinsic-size: auto 190px; }
.fr-res .fr-res-cardlink { display: block; min-height: 44px; color: var(--fr-ink); text-decoration: none; }
.fr-res .fr-res-cardlink:focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 4px; }
.fr-res .fr-res-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: color-mix(in srgb, var(--fr-rule) 45%, transparent); border-radius: 8px; }
.fr-res .fr-res-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.fr-res .fr-res-ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; box-sizing: border-box; border-radius: 8px; padding: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.4; color: var(--fr-muted);
}
.fr-res .fr-res-ctitle {
  display: block; margin: 10px 0 4px; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere;
}
.fr-res .fr-res-cardlink:hover .fr-res-ctitle { color: var(--fr-accent); text-decoration: underline; text-underline-offset: 3px; }
/* Nothing on a card is clipped: text wraps and the card grows. */
.fr-res .fr-res-cmeta { display: block; font-size: 13px; line-height: 1.45; color: var(--fr-muted); }
.fr-res .fr-res-cwhy { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--fr-ink); }
.fr-res .fr-res-cmore { display: block; margin-top: 3px; font-size: 12.5px; font-style: italic; line-height: 1.35; color: var(--fr-muted); }
.fr-res .fr-res-ckind { display: block; margin-top: 6px; font-size: 11px; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fr-muted); }
.fr-res .fr-res-ckind--first { margin: 10px 0 0; }
.fr-res .fr-res-ckind--first + .fr-res-ctitle { margin-top: 3px; }
.fr-res .fr-res-ctitle mark { color: inherit; background: color-mix(in srgb, var(--fr-accent) 16%, transparent); border-radius: 2px; padding: 0 1px; }


.fr-res .fr-res-empty { margin: 18px 0 0; font-size: 16px; color: var(--fr-muted); }
.fr-res .fr-res-empty[hidden] { display: none; }
.fr-res .fr-res-link {
  min-height: 44px; padding: 10px 0; margin: 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--fr-accent);
  background: none; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.fr-res .fr-res-link:hover { color: var(--fr-ink); }

@media (max-width: 640px) {
  .fr-res .fr-res-body { padding-top: 0; }
  .fr-res .fr-res-intro { font-size: 16px; }
  .fr-res .fr-res-group { gap: 0 16px; }
  .fr-res .fr-res-h { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fr-res .fr-res-opt, .fr-res .fr-res-tab { transition: color 0.14s, border-color 0.14s; }
}
