/* /solutions hub: every solved paper, grouped by course.
 *
 * Deliberately plainer than the resource-hub listings. This page is read by a
 * student deciding whether we have their paper, so it is a list that answers
 * that in one glance, not a grid of cards competing for attention.
 *
 * ⛔ No left accent bars and no tinted panels: the same rule the solved pages
 * follow, so the hub and its destinations read as one thing.
 */

.mn-sol-hub {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
}

.mn-sol-lede {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2e2e2e;
}
.mn-sol-lede strong { font-weight: 700; color: #1a1a1a; }

/* The standalone count line is gone: the question-paper folders do not have
   one, so neither does this (owner, 2026-08-07). The count lives in the lede. */

.mn-sol-headnote { font-size: .82rem; color: #767676; }

/* Long note on a desktop row, short one on a phone, where the full sentence
   pushes the section title onto two lines. Same swap and same 768px breakpoint
   as .qp-note-long / .qp-note-short in qp-subject-page.css. */
.mn-sol-note-short { display: none; }
@media (max-width: 768px) {
  .mn-sol-note-long { display: none; }
  .mn-sol-note-short { display: inline; }
}

/* ---------- Body sections, mirroring the question-paper pages ---------- */

.mn-sol-faq, .mn-sol-about {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e4e4e4;
}
.mn-sol-faq h2, .mn-sol-about h2 {
  margin: 0 0 .9rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.mn-sol-faq-item { border-bottom: 1px solid #e4e4e4; padding: .7rem 0; }
.mn-sol-faq-item:last-child { border-bottom: none; }
.mn-sol-faq-item summary {
  cursor: pointer; font-size: 1rem; font-weight: 700; color: #1a1a1a;
  list-style: none; line-height: 1.45;
}
.mn-sol-faq-item summary::-webkit-details-marker { display: none; }
.mn-sol-faq-item summary::after { content: " +"; color: #767676; font-weight: 400; }
.mn-sol-faq-item[open] summary::after { content: " \2212"; }
.mn-sol-faq-item p { margin: .5rem 0 0; font-size: .95rem; line-height: 1.65; color: #2e2e2e; }

.mn-sol-about p { margin: 0 0 .8rem; font-size: 1rem; line-height: 1.7; color: #2e2e2e; }
.mn-sol-about p:last-child { margin-bottom: 0; }

.mn-sol-empty {
  padding: 1.6rem 0;
  font-size: 1rem;
  color: #555555;
}
.mn-sol-empty a { color: #6b1d1d; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- One course, its solved papers ---------- */

.mn-sol-course { margin-bottom: 2rem; }
.mn-sol-course-name {
  margin: 0 0 .7rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1a1a1a;
}

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

.mn-sol-item {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid #e4e4e4;
}
.mn-sol-item:last-child { border-bottom: none; }

.mn-sol-hub .mn-sol-link {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .7rem;
  text-decoration: none;
  color: #1a1a1a;
}
.mn-sol-hub .mn-sol-link:hover .mn-sol-subject { color: #6b1d1d; text-decoration: underline; text-underline-offset: 3px; }

.mn-sol-subject { font-size: 1.05rem; font-weight: 700; }
.mn-sol-meta { font-size: .92rem; color: #555555; }
.mn-sol-answers { font-size: .85rem; color: #767676; white-space: nowrap; }

.mn-sol-hub .mn-sol-paper {
  flex: 0 0 auto;
  font-size: .85rem;
  color: #767676;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mn-sol-hub .mn-sol-paper:hover { color: #6b1d1d; }

/* ---------- Closing matter ---------- */

.mn-sol-how {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
}
.mn-sol-how h2 {
  margin: 0 0 .9rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.mn-sol-how ol { margin: 0 0 1rem; padding-left: 1.5rem; list-style-type: decimal; }
.mn-sol-how li { margin-bottom: .55rem; font-size: 1rem; line-height: 1.6; color: #2e2e2e; }
.mn-sol-how strong { color: #1a1a1a; font-weight: 700; }

.mn-sol-note {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: #555555;
}

@media (max-width: 640px) {
  .mn-sol-hub { font-size: .98rem; }
  .mn-sol-item { flex-wrap: wrap; gap: .4rem; padding: .8rem 0; }
  .mn-sol-subject { font-size: 1rem; }
  /* The paper link drops under the title on a phone rather than squeezing the
     subject into two words. */
  .mn-sol-hub .mn-sol-paper { flex: 1 0 100%; }
}
