/* R.A.M.P. Pastors Course player: R.A.M.P. International Leadership Network palette */
.ramp-course {
  --rc-flame: #f6a33d;
  --rc-flame-deep: #e0662f;
  --rc-red: #c8553d;
  --rc-steel: #808285;
  --rc-steel-light: #b9babc;
  --rc-charcoal: #4a4a4c;
  --rc-panel: #19191b;
  --rc-panel-2: #222225;
  --rc-line: #333336;
  --rc-grad: linear-gradient(135deg, var(--rc-flame) 0%, var(--rc-flame-deep) 70%, var(--rc-red) 100%);
  margin-top: 0.5rem;
}
.ramp-course .btn-primary { background: var(--rc-grad); border-color: transparent; color: #fff; }
.ramp-course .btn-primary:hover { filter: brightness(1.08); color: #fff; }
.ramp-course .btn-ghost { border-color: var(--rc-steel); color: var(--rc-steel-light); }
.ramp-course .btn-ghost:hover { border-color: var(--rc-flame); color: var(--rc-flame); }
.ramp-course .btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.rc-top { display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; background: var(--rc-panel); border: 1px solid var(--rc-line); border-top: 3px solid var(--rc-flame-deep); border-radius: 4px; margin-bottom: 1.4rem; flex-wrap: wrap; }
.rc-logo { width: 72px; height: auto; background: #fff; padding: 0.45rem; border-radius: 3px; }
.rc-top-text { flex: 1 1 320px; min-width: 0; }
.rc-top h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0.2rem 0 0.8rem; }
.rc-eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.74rem; color: var(--rc-flame); }
.rc-progress { height: 8px; background: var(--rc-panel-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--rc-line); }
.rc-progress span { display: block; height: 100%; background: var(--rc-grad); transition: width 0.4s ease; }
.rc-progress-label { font-size: 0.82rem; color: var(--rc-steel-light); margin-top: 0.4rem; }

.rc-grid { display: grid; grid-template-columns: minmax(250px, 320px) 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 900px) { .rc-grid { grid-template-columns: 1fr; } }

.rc-side { background: var(--rc-panel); border: 1px solid var(--rc-line); border-radius: 4px; position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
@media (max-width: 900px) { .rc-side { position: static; max-height: none; } }
.rc-module + .rc-module { border-top: 1px solid var(--rc-line); }
.rc-module-head { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.1rem 0.6rem; }
.rc-module-num { font-family: var(--display); color: var(--rc-flame); font-size: 0.9rem; letter-spacing: 0.08em; }
.rc-module-title { flex: 1; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.86rem; color: var(--cream); line-height: 1.3; }
.rc-module-count { font-size: 0.74rem; color: var(--rc-steel); }
.rc-module ul { list-style: none; margin: 0; padding: 0 0 0.7rem; }
.rc-step { display: flex; gap: 0.7rem; align-items: flex-start; width: 100%; text-align: left; background: none; border: 0; border-left: 3px solid transparent; color: var(--rc-steel-light); font: inherit; font-size: 0.9rem; line-height: 1.4; padding: 0.55rem 1.1rem 0.55rem 1rem; cursor: pointer; }
.rc-step:hover:not([disabled]) { background: var(--rc-panel-2); color: var(--cream); }
.rc-step.is-current { border-left-color: var(--rc-flame-deep); background: var(--rc-panel-2); color: var(--cream); }
.rc-step.is-done .rc-ico { background: var(--rc-grad); color: #fff; border-color: transparent; }
.rc-step[disabled] { opacity: 0.5; cursor: not-allowed; }
.rc-ico { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rc-steel); display: inline-flex; align-items: center; justify-content: center; font-size: 0.66rem; color: var(--rc-steel-light); margin-top: 1px; }
.rc-soon { padding: 0 1.1rem 0.9rem; margin: 0; font-size: 0.84rem; color: var(--rc-steel); font-style: italic; }

.rc-main { background: var(--rc-panel); border: 1px solid var(--rc-line); border-radius: 4px; padding: clamp(1.2rem, 3vw, 2.4rem); min-height: 360px; scroll-margin-top: 1rem; }
.rc-crumb { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: var(--rc-flame); margin-bottom: 0.4rem; }
.rc-lesson h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.rc-body { color: var(--text); }
.rc-body h2, .rc-body h3, .rc-body h4 { color: var(--cream); margin-top: 1.4em; }
.rc-body a { color: var(--rc-flame); }
.rc-body blockquote { border-left: 3px solid var(--rc-flame-deep); margin: 1.2em 0; padding: 0.2em 0 0.2em 1.2em; color: var(--cream); font-family: var(--accent); font-style: italic; font-size: 1.2em; }
.rc-body img { border-radius: 3px; margin: 1em 0; }
.rc-video { margin: 0.6rem 0 1.6rem; background: #000; border-radius: 4px; overflow: hidden; }
.rc-video video { display: block; width: 100%; max-height: 70vh; }

.rc-downloads { margin: 1.8rem 0; padding: 1.2rem; background: var(--rc-panel-2); border: 1px solid var(--rc-line); border-radius: 4px; }
.rc-downloads h4 { font-size: 0.86rem; color: var(--rc-flame); margin-bottom: 0.8rem; }
.rc-file { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; color: var(--cream); border-top: 1px solid var(--rc-line); }
.rc-file:first-of-type { border-top: 0; }
.rc-file:hover { color: var(--rc-flame); }
.rc-file.is-off { color: var(--rc-steel); }
.rc-file-ico { width: 30px; height: 30px; border-radius: 3px; background: var(--rc-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

.rc-complete { margin: 1.8rem 0 0.6rem; }
.rc-done-tag { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--rc-flame); border: 1px solid var(--rc-flame-deep); padding: 0.55rem 1rem; border-radius: 3px; }
.rc-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--rc-line); }

.rc-quiz { margin-top: 1.4rem; }
.rc-q { border: 1px solid var(--rc-line); border-radius: 4px; padding: 1rem 1.2rem; margin: 0 0 1rem; }
.rc-q legend { padding: 0 0.4rem; color: var(--cream); font-weight: 600; }
.rc-q legend span { color: var(--rc-flame); }
.rc-opt { display: flex; gap: 0.6rem; align-items: center; padding: 0.35rem 0; cursor: pointer; color: var(--text); }
.rc-opt input { accent-color: var(--rc-flame-deep); }
.rc-q input[type="text"], .rc-q input[type="number"], .rc-q textarea { width: 100%; background: var(--rc-panel-2); border: 1px solid var(--rc-line); color: var(--cream); padding: 0.7rem; border-radius: 3px; font: inherit; }
.rc-quiz-result { margin-top: 1.4rem; padding: 1.4rem; border-radius: 4px; border: 1px solid var(--rc-line); background: var(--rc-panel-2); }
.rc-quiz-result.pass { border-color: var(--rc-flame-deep); }
.rc-score { font-family: var(--display); font-size: 3rem; line-height: 1; background: var(--rc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.6rem; }
.rc-feedback { list-style: none; padding: 0; margin: 1rem 0; }
.rc-feedback li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; border-top: 1px solid var(--rc-line); }
.rc-feedback li span { display: block; color: var(--rc-steel-light); font-size: 0.9rem; }
.rc-feedback li::before { position: absolute; left: 0; top: 0.5rem; }
.rc-feedback li.ok::before { content: "\2713"; color: var(--rc-flame); }
.rc-feedback li.no::before { content: "\2715"; color: var(--rc-red); }
.rc-empty { text-align: center; padding: 3rem 1rem; }