/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.6;
}

a {
  color: #0ea5e9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Top Nav === */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1a2332;
  color: #f0f4f8;
  padding: 0 1.5rem;
  height: 56px;
}

.top-nav__home {
  color: #f0f4f8;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.top-nav__home:hover {
  color: #0ea5e9;
  text-decoration: none;
}

.top-nav__title {
  font-size: 0.9rem;
  opacity: 0.85;
}

.top-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.top-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #f0f4f8;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === Layout === */
.layout {
  display: flex;
  margin-top: 56px;
  min-height: calc(100vh - 56px);
}

/* === Sidebar === */
.sidebar {
  width: 280px;
  min-width: 280px;
  background-color: #f0f4f8;
  border-right: 1px solid #e0e0e0;
  padding: 1rem 0;
  overflow-y: auto;
  height: calc(100vh - 56px);
  position: sticky;
  top: 56px;
}

.sidebar__module {
  border-bottom: 1px solid #e0e0e0;
}

.sidebar__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2332;
  text-align: left;
  transition: background-color 0.2s ease;
}

.sidebar__toggle:hover {
  background-color: #e2e8f0;
}

.sidebar__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sidebar__pages {
  list-style: none;
  display: none;
  padding-bottom: 0.5rem;
}

.sidebar__module--active .sidebar__pages {
  display: block;
}

.sidebar__link {
  display: block;
  padding: 0.4rem 1rem 0.4rem 2.5rem;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sidebar__link:hover {
  background-color: #e2e8f0;
  text-decoration: none;
}

.sidebar__link--current {
  border-left-color: #0ea5e9;
  color: #1a2332;
  font-weight: 600;
  background-color: #e2e8f0;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 49;
}

/* === Content === */
.content {
  flex: 1;
  min-width: 0; /* without this a wide table or URL widens the whole column past the screen */
  padding: 1.5rem 2rem 3rem;
  max-width: 900px;
  overflow-wrap: break-word;
}

.content a {
  overflow-wrap: anywhere;
}

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumbs a {
  color: #0ea5e9;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  color: #999;
  margin: 0 0.15rem;
}

.breadcrumbs__current {
  color: #333;
  font-weight: 500;
}

/* === Content Typography === */
.content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 1rem;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2332;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a2332;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
}

.content blockquote {
  border-left: 4px solid #0ea5e9;
  background-color: #f0f4f8;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.content ul, .content ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.content li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}

/* === Reading Content Area === */
.reading-content {
  max-width: 750px;
}

/* === Prev/Next Navigation === */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.page-nav__link {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 48%;
}

.page-nav__link:hover {
  border-color: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.page-nav__link:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}

.page-nav__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.25rem;
}

.page-nav__title {
  font-weight: 600;
  color: #1a2332;
}

.page-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.page-nav__link--filled {
  background-color: #0369a1;
  border-color: #0369a1;
  color: #fff;
}

.page-nav__link--filled .page-nav__label,
.page-nav__link--filled .page-nav__title {
  color: #fff;
}

.page-nav__link--filled:hover {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
}

/* === Unit Overview === */
.unit-overview__toc {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.unit-overview__toc li {
  margin: 0;
}

.unit-overview__toc a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  color: #1a2332;
  font-weight: 500;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.unit-overview__toc a:hover {
  border-color: #0ea5e9;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.unit-overview__begin {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background-color: #0369a1;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.unit-overview__begin:hover {
  background-color: #0ea5e9;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* === Course Landing Page === */
.course-hero {
  text-align: center;
  padding: 2rem 0 0.5rem;
}

.course-hero h1 {
  font-size: 2.2rem;
  color: #1a2332;
  margin-bottom: 0.5rem;
}

.course-hero .subtitle {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-grid--single {
  grid-template-columns: 1fr;
}

.module-grid--units {
  grid-template-columns: repeat(3, 1fr);
}

.module-card {
  display: block;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #0ea5e9;
  text-decoration: none;
}

.module-card:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}

.module-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.module-card__title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0.5rem;
}

.module-card__desc {
  display: block;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: #1a2332;
  color: #f0f4f8;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer a {
  color: #0ea5e9;
}

.footer a:hover {
  text-decoration: underline;
}

/* === Accordions === */
.accordion {
  margin: 1.5rem 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background-color: #f0f4f8;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2332;
  text-align: left;
  transition: background-color 0.2s ease;
}

.accordion__header:hover {
  background-color: #e2e8f0;
}

.accordion__chevron {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: #666;
}

.accordion__item--open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__item--open .accordion__header {
  background-color: #fff;
  border-bottom: 2px solid #0ea5e9;
}

.accordion__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background-color: #0ea5e9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__body {
  padding: 1.5rem;
}

.accordion__body h3:first-child {
  margin-top: 0;
}

.accordion__body h3:not(:first-child),
.accordion__body h4 {
  margin-top: 1.5rem;
}

/* === Callout Boxes === */
.callout {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-left: 4px solid #e0e0e0;
  border-radius: 0 8px 8px 0;
  background-color: #f5f7fa;
}

.callout__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.callout__content {
  flex: 1;
}

.callout__content p:last-child {
  margin-bottom: 0;
}

.callout--concept {
  border-left-color: #0ea5e9;
  background-color: #f0f9ff;
}

.callout--note {
  border-left-color: #2d6a4f;
  background-color: #ecfdf5;
}

.callout--connection {
  border-left-color: #d97706;
  background-color: #fffbeb;
}

/* === Tables === */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.content thead {
  background-color: #1a2332;
  color: #f0f4f8;
}

.content th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.6;
}

.content tr:last-child td {
  border-bottom: none;
}

.content tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.content tbody tr:hover {
  background-color: #f0f4f8;
}

.content td:first-child {
  font-weight: 600;
  color: #1a2332;
  white-space: nowrap;
}

/* === Argument Blocks === */
.argument-block {
  background-color: #f8f9fa;
  border-left: 4px solid #6b7280;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-family: 'Georgia', serif;
  line-height: 1.8;
}

/* === Hero Image === */
.page-hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* === Video Embeds === */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Download Links === */
.download-row {
  margin: 0.5rem 0;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #1a2332;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.download-link::before {
  content: "\1F4C4";
}

.download-link:hover {
  border-color: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.download-link__badge {
  margin-left: auto;
  padding-left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 0.05em;
}

/* === Quiz === */
.quiz {
  margin: 1.5rem 0;
}

.quiz__question {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.quiz__question-text {
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.quiz__question-text p {
  margin: 0;
}

.quiz__choices {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quiz__choice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quiz__choice:hover {
  background-color: #f0f4f8;
}

.quiz__choice label {
  cursor: pointer;
  line-height: 1.5;
  flex: 1;
}

.quiz__choice input[type="radio"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.quiz__choice--correct {
  background-color: #ecfdf5;
  border-left: 3px solid #2d6a4f;
}

.quiz__choice--incorrect {
  background-color: #fef2f2;
  border-left: 3px solid #dc2626;
}

.quiz__score-tracker {
  padding: 0.75rem 1rem;
  background-color: #f0f4f8;
  border-radius: 8px;
  font-weight: 600;
  color: #1a2332;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.quiz__top-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.quiz__start-over {
  margin-left: 1rem;
  padding: 0.5rem 1.5rem;
  background: none;
  border: 2px solid #0ea5e9;
  border-radius: 8px;
  color: #0ea5e9;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quiz__start-over:hover {
  background-color: #0ea5e9;
  color: #fff;
}

.quiz__question--answered .quiz__choices {
  pointer-events: none;
}

.quiz__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background-color: #0ea5e9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

/* === Quiz Feedback === */
.quiz__feedback {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quiz__feedback--correct {
  background-color: #ecfdf5;
  border-left: 3px solid #2d6a4f;
  color: #1a2332;
}

.quiz__feedback--incorrect {
  background-color: #fef2f2;
  border-left: 3px solid #dc2626;
  color: #1a2332;
}

/* === Reflection Prompt === */
.reflection {
  margin: 1.5rem 0;
}

.reflection__prompt {
  margin-bottom: 1.5rem;
}

.reflection__textarea {
  width: 100%;
  min-height: 200px;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.reflection__textarea:focus {
  outline: none;
  border-color: #0ea5e9;
}

.reflection__note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* === Responsive === */
@media (max-width: 899px) {
  .top-nav__hamburger {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar--open {
    transform: translateX(0);
  }

  .sidebar-backdrop--visible {
    display: block;
  }

  .content {
    padding: 1rem 1.25rem 2rem;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-nav {
    flex-direction: column;
  }

  .page-nav__link {
    max-width: 100%;
  }

  .page-nav__link--next {
    text-align: left;
  }
}

@media (max-width: 599px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .course-hero h1 {
    font-size: 1.6rem;
  }

  .content h1 {
    font-size: 1.6rem;
  }
}

/* === Gallery / Watch & Listen === */
.gallery { margin: 0 0 2rem; }
.gallery__title { margin: 0 0 0.75rem; font-size: 1.15rem; }
.gallery__strip { display: flex; gap: 0.5rem; list-style: none; margin: 0 0 1rem; padding: 0 0 0.5rem; overflow-x: auto; }
.gallery__strip li { flex: 0 0 auto; margin: 0; }
.gallery__thumb { display: block; width: 110px; height: 84px; border: 2px solid #d0c4b8; border-radius: 4px; overflow: hidden; background: #fff; }
.content .gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.gallery__thumb--current { border-color: #d4a843; outline: 2px solid #6b1d2a; }
.gallery__thumb:focus-visible { outline: 3px solid #6b1d2a; outline-offset: 2px; }
.gallery__viewer { margin: 0; padding: 1rem; background: #fff; border: 1px solid #d0c4b8; border-radius: 4px; }
.content .gallery__media img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; margin: 0 auto; }
.gallery__media--video { position: relative; height: 0; padding-bottom: 56.25%; }
.gallery__media--video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.gallery__missing { text-align: center; color: #666; margin: 1rem 0; }
.gallery__credit { margin: 0.6rem 0 0; font-size: 0.8rem; color: #666; text-align: center; }
.gallery__notice { margin: 0.5rem 0 0; }
.gallery__notice:not(:empty)::before { content: "What to notice: "; font-weight: 700; }

/* === Experience It === */
.callout--experience { border-left-color: #d4a843; background: #faf6f0; }

/* === Theme overrides (hand-written; keep above the generated block, higher specificity) === */
body.theme-gallery .top-nav__home:hover { color: #d4a843; }
body.theme-gallery .footer a { color: #d4a843; }
body.theme-gallery .callout--experience { border-left-color: #d4a843; background-color: #faf6f0; }
/* Filled buttons: the generated link color would otherwise win over white text on burgundy. */
body.theme-gallery .unit-overview__begin,
body.theme-gallery .page-nav__link--filled .page-nav__label,
body.theme-gallery .page-nav__link--filled .page-nav__title { color: #fff; }
body.theme-gallery .unit-overview__begin:hover,
body.theme-gallery .page-nav__link--filled:hover { background-color: #8a2a3a; border-color: #d4a843; color: #fff; }

/* === Theme: gallery (generated by scripts/make-theme.js) === */
body.theme-gallery { background-color: #faf6f0; }
.theme-gallery a { color: #6b1d2a; }
.theme-gallery .top-nav { background-color: #6b1d2a; color: #f3ece0; }
.theme-gallery .top-nav__home { color: #f3ece0; }
.theme-gallery .top-nav__home:hover { color: #6b1d2a; }
.theme-gallery .top-nav__hamburger span { background-color: #f3ece0; }
.theme-gallery .sidebar { background-color: #f3ece0; border-right: 1px solid #d0c4b8; }
.theme-gallery .sidebar__module { border-bottom: 1px solid #d0c4b8; }
.theme-gallery .sidebar__toggle { color: #6b1d2a; }
.theme-gallery .sidebar__toggle:hover { background-color: #d0c4b8; }
.theme-gallery .sidebar__link:hover { background-color: #d0c4b8; }
.theme-gallery .sidebar__link--current { border-left-color: #d4a843; color: #6b1d2a; background-color: #d0c4b8; }
.theme-gallery .breadcrumbs a { color: #6b1d2a; }
.theme-gallery .content h1 { color: #6b1d2a; }
.theme-gallery .content h2 { color: #6b1d2a; }
.theme-gallery .content h3 { color: #6b1d2a; }
.theme-gallery .content blockquote { border-left: 4px solid #d4a843; background-color: #f3ece0; }
.theme-gallery .page-nav { border-top: 1px solid #d0c4b8; }
.theme-gallery .page-nav__link { border: 2px solid #d0c4b8; }
.theme-gallery .page-nav__link:hover { border-color: #d4a843; }
.theme-gallery .page-nav__link:focus-visible { outline: 3px solid #d4a843; }
.theme-gallery .page-nav__title { color: #6b1d2a; }
.theme-gallery .page-nav__link--filled { background-color: #6b1d2a; border-color: #6b1d2a; }
.theme-gallery .page-nav__link--filled:hover { background-color: #6b1d2a; border-color: #d4a843; }
.theme-gallery .unit-overview__toc a { border: 1px solid #d0c4b8; color: #6b1d2a; }
.theme-gallery .unit-overview__toc a:hover { border-color: #d4a843; }
.theme-gallery .unit-overview__begin { background-color: #6b1d2a; }
.theme-gallery .unit-overview__begin:hover { background-color: #6b1d2a; }
.theme-gallery .course-hero h1 { color: #6b1d2a; }
.theme-gallery .module-card { border: 2px solid #d0c4b8; }
.theme-gallery .module-card:hover { border-color: #d4a843; }
.theme-gallery .module-card:focus-visible { outline: 3px solid #d4a843; }
.theme-gallery .module-card__title { color: #6b1d2a; }
.theme-gallery .footer { background-color: #6b1d2a; color: #f3ece0; }
.theme-gallery .footer a { color: #6b1d2a; }
.theme-gallery .accordion { border: 1px solid #d0c4b8; }
.theme-gallery .accordion__item { border-bottom: 1px solid #d0c4b8; }
.theme-gallery .accordion__header { background-color: #f3ece0; color: #6b1d2a; }
.theme-gallery .accordion__header:hover { background-color: #d0c4b8; }
.theme-gallery .accordion__item--open .accordion__header { border-bottom: 2px solid #d4a843; }
.theme-gallery .accordion__number { background-color: #6b1d2a; }
.theme-gallery .callout { border-left: 4px solid #d0c4b8; background-color: #faf6f0; }
.theme-gallery .callout--concept { border-left-color: #d4a843; }
.theme-gallery .content table { border: 1px solid #d0c4b8; }
.theme-gallery .content thead { background-color: #6b1d2a; color: #f3ece0; }
.theme-gallery .content td { border-bottom: 1px solid #d0c4b8; }
.theme-gallery .content tbody tr:hover { background-color: #f3ece0; }
.theme-gallery .content td:first-child { color: #6b1d2a; }
.theme-gallery .download-link { border: 2px solid #d0c4b8; color: #6b1d2a; }
.theme-gallery .download-link:hover { border-color: #d4a843; }
.theme-gallery .quiz__question { border: 1px solid #d0c4b8; }
.theme-gallery .quiz__question-text { color: #6b1d2a; }
.theme-gallery .quiz__choice:hover { background-color: #f3ece0; }
.theme-gallery .quiz__score-tracker { background-color: #f3ece0; color: #6b1d2a; border: 1px solid #d0c4b8; }
.theme-gallery .quiz__start-over { border: 2px solid #d4a843; color: #6b1d2a; }
.theme-gallery .quiz__start-over:hover { background-color: #6b1d2a; }
.theme-gallery .quiz__number { background-color: #6b1d2a; }
.theme-gallery .quiz__feedback--correct { color: #6b1d2a; }
.theme-gallery .quiz__feedback--incorrect { color: #6b1d2a; }
.theme-gallery .reflection__textarea { border: 2px solid #d0c4b8; }
.theme-gallery .reflection__textarea:focus { border-color: #d4a843; }
