/* ---------------------------------------------------
   Free resources, Oct 2026: Journal Prompts (/free-journal-prompts/) and Meditations (/free-meditations/).
   Built by build.py (RESOURCES), loaded after listings.css. Featured one picked daily by js/resources.js.
     - Prompt cards: number of prompts, name, "Goes with Episode N". No photos, no teaser.
     - Meditation cards: a site color with the name centered (MED_COLORS in build.py). Image only.
   Every set / meditation is listed, the featured one included.
--------------------------------------------------- */

/* featured: prompts */
.rf[hidden] { display: none; }
.rf-prompt { display: block; background: #fff; border-radius: 8px; padding: 24px 26px; border-left: 4px solid var(--blue); }
.rf-prompt .lbl, .rf-cap .lbl { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.rf-prompt h2 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin-top: 6px; }
.rf-n { font-size: 13px; color: var(--muted); }
.rf-prompt ol { margin: 14px 0 0 18px; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; }
.rf-prompt ol li::marker { color: var(--blue); font-weight: 600; }
.rf-b { display: inline-block; margin-top: 16px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 4px; }
.rf-prompt:hover .rf-b { background: var(--blue); }

/* featured: meditation */
.rf-med { display: block; background: #fff; border-radius: 8px; overflow: hidden; }
.rf-med .cc { position: relative; aspect-ratio: 16 / 9; border-radius: 0; }
.rf-cap { padding: 16px 20px 18px; }
.rf-cap h2 { font-size: 20px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.rf-med:hover h2 { color: var(--blue); }

/* list */
.res .lp-head + .res-list { padding-top: 32px; }
.res-list { display: grid; gap: 14px; padding-top: 26px; }
.res-list .card-item { margin: 0; padding: 0; border: 0; }

.rc-prompt { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 18px !important; border: 1px solid var(--rule) !important;
  border-radius: 8px; background: #fff; }
.rc-prompt:hover { border-color: var(--navy) !important; }
.rc-n { font-size: 12px; font-weight: 600; color: var(--blue); }
.rc-prompt h3 { font-size: 20px; font-weight: 600; line-height: 1.25; margin: 0; }
.rc-ep { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--muted); }

/* meditation color card */
.cc { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 28px; }
.cc-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.cc-t { font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 6px; }
.cc .play { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92);
  color: var(--navy); display: grid; place-items: center; font-size: 12px; padding-left: 2px; }
.rf-med .cc-t { font-size: 24px; }
.rf-med .play { width: 44px; height: 44px; font-size: 15px; }
.rc-med:hover .cc { filter: brightness(1.08); }

@media (min-width: 861px) {
  .res-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .res-meditations .res-list { gap: 24px; }
  .rf-med .cc-t { font-size: 28px; }
  .cc-t { font-size: 18px; }
}

/* Today's Prompt (Journal Prompts) */
.rf-today { background: #fff; border-radius: 8px; padding: 26px 26px 22px; border-left: 4px solid var(--blue); }
.rf-today .lbl { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.rf-today q { display: block; quotes: none; font-size: 22px; line-height: 1.4; font-weight: 500; margin-top: 10px; }
.rf-today .from { display: block; font-size: 13px; color: var(--muted); margin-top: 14px; }
.rf-today .from a { color: var(--blue); font-weight: 600; }
.rf-today button { margin-top: 14px; font: inherit; font-size: 13px; font-weight: 600; color: var(--navy); background: none;
  border: 1px solid rgba(7,8,79,.25); border-radius: 4px; padding: 6px 12px; cursor: pointer; }
.rf-today button:hover { border-color: var(--navy); }
/* "Ask a Question" link in an intro never breaks across two lines */
.lp-head p a { white-space: nowrap; }
