/* Exam catalog: compact, readable layout on phones */
@media (max-width: 600px) {
  #exams.section.shell { padding-left: 18px; padding-right: 18px; }
  #exams .section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  #exams .section-head > div, #exams .section-head > p { width: 100%; max-width: 100% !important; min-width: 0; }
  #exams .section-head h2 { font-size: clamp(27px, 7.2vw, 38px); line-height: 1.2; overflow-wrap: anywhere; }
  #exams .section-head p { margin: 0; font-size: 13px; line-height: 1.7; }
  #exams .featured-exam { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
  #exams .featured-cover { min-width: 0; min-height: 96px; padding: 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 9px; }
  #exams .featured-cover span, #exams .featured-cover small { min-width: 0; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
  #exams .featured-cover small { text-align: right; }
  #exams .featured-cover strong { min-width: 0; font-size: clamp(11px, 3vw, 15px); line-height: 1.1; }
  #exams .featured-copy { min-width: 0; align-items: stretch; }
  #exams .featured-copy h3 { font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
  #exams .featured-copy p { margin: 3px 0; font-size: 12px; }
  #exams .featured-meta { gap: 7px; margin: 10px 0 14px; }
  #exams .featured-copy button { width: 100%; max-width: 100%; white-space: normal; line-height: 1.4; }
  #exams .catalog-search { min-width: 0; }
  #exams .catalog-search input { min-width: 0; width: 100%; font-size: 16px; }
}
