/* PERRLA skin for the APA 101 Rise course (/apa-101/course-app/). Linked into the export by
   tools/import_rise_course.py. Colors, type and buttons only: layout stays Rise's own.
   Rise's class names can change between exports: after an import, open /apa-101/course and check. */
@import url("/assets/fonts.css");

:root {
  --p-navy: #153c6e; --p-navy-9: #0a2851; --p-blue: #27669b; --p-blue-7: #1e5785; --p-blue-1: #7fbee0;
  --p-yellow: #ffd266; --p-ink: #212529; --p-ink-2: #5c666e; --p-rule: #dee2e6; --p-tint: #f1f7fc;
  --p-sans: "PERRLA Sans", "Helvetica Neue", Arial, sans-serif;
  --p-head: "Aleo", Georgia, serif;
}

/* Articulate's AI Tutor is hidden here: it reports use to Articulate and stores prompts there. */
[class*="ai-learner-popout-module__wrapper"] { display: none !important; }

/* Focus, the site's way. */
:focus-visible { outline: 3px solid var(--p-blue-1) !important; outline-offset: 2px !important; }

/* Cover: the site's dark field, ruled like the course cover art, with the yellow marker under the title. */
.cover__header-content {
  background-color: var(--p-navy) !important;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(127, 190, 224, 0.14) 31px 32px) !important;
}
.cover__header-content-title::after {
  content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--p-yellow); margin-top: 18px;
}
.cover__header-content-action-link {
  border-radius: 8px !important; text-transform: none !important; letter-spacing: 0 !important;
  font-family: var(--p-sans) !important; font-weight: 700 !important; font-size: 16px !important;
  color: var(--p-navy) !important; background: #fff !important;
  box-shadow: 0 1px 2px rgba(10, 40, 81, 0.2), 0 6px 14px -6px rgba(10, 40, 81, 0.5) !important;
}
.cover__header-content-action-link:hover { background: var(--p-yellow) !important; }
.cover__header-content-action-link *, .block-process-card__start-btn *, .block-process-card__restart-btn *, .quiz-card__button *, .pill-button * {
  text-transform: none !important; letter-spacing: 0 !important; font-family: var(--p-sans) !important;
}
/* Rise's built-in labels arrive in capitals ("START COURSE", "SUBMIT"): show them in sentence case. */
.cover__header-content-action-link-text, .block-process-card__start-btn-text, .block-process-card__restart-btn-text, .quiz-card__button {
  display: inline-block; text-transform: lowercase !important;
}
.cover__header-content-action-link-text::first-letter, .block-process-card__start-btn-text::first-letter,
.block-process-card__restart-btn-text::first-letter, .quiz-card__button::first-letter { text-transform: uppercase !important; }

/* Sidebar header: navy, like the site's dark sections. */
.nav-sidebar-header__graphic { background-color: var(--p-navy) !important; }
.progress__indicator { background-color: var(--p-blue) !important; }

/* Lesson title rule: the yellow marker instead of a blue bar. */
.lesson-header__top-wrap::after { background-color: var(--p-yellow) !important; height: 5px !important; border-radius: 3px; }

/* Buttons: the site's rounded rectangle, sentence case, PERRLA Sans. */
.block-process-card__start-btn, .block-process-card__restart-btn, .quiz-card__button, .pill-button,
.blocks-button__button, .continue-btn, [class*="button__button"]:not([class*="lx-button"]) {
  border-radius: 8px !important; text-transform: none !important; letter-spacing: 0 !important;
  font-family: var(--p-sans) !important; font-weight: 600 !important; font-size: 15px !important;
}
.block-process-card__start-btn, .quiz-card__button { background-color: var(--p-blue) !important; border-color: var(--p-blue) !important; }
.block-process-card__start-btn:hover, .quiz-card__button:hover { background-color: var(--p-blue-7) !important; border-color: var(--p-blue-7) !important; }
.block-process-card__number { background-color: var(--p-navy) !important; }

/* Notes: body type, not the heading face; the site's tint and radius. */
.block-statement__note-card { border-radius: 8px !important; background-color: var(--p-tint) !important; border-color: var(--p-blue) !important; }
.block-statement__note-card, .block-statement__note-card p, .block-statement__note-card .fr-view { font-family: var(--p-sans) !important; }
.block-statement__divider-top { background-color: var(--p-yellow) !important; }
.quiz-card__button, .quiz-card__button * { text-transform: lowercase !important; }
.quiz-card__button { display: inline-block !important; text-align: center; }
