/* v277: publishing section heading + catalogue card titles. */
/* Keep the existing typography, but stack title and subtitle on the same left edge. */
#books .section-heading-row{
  display:block !important;
  margin-bottom:34px !important;
  text-align:left !important;
}
#books .section-heading-row > h2{
  display:block !important;
  width:auto !important;
  margin:0 !important;
  text-align:left !important;
}
#books .section-heading-row > p{
  display:block !important;
  margin:12px 0 0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  text-align:left !important;
}
@media (min-width:1000px){
  #books .section-heading-row > p{white-space:nowrap !important;}
}
@media (max-width:999px){
  #books .section-heading-row > p{white-space:normal !important;}
}
/* Explicit lines reproduce the printed cover's grouping without changing cards or links. */
#books .book-grid .book-card h3.aw-book-title-aligned {
  font-size:26px !important;
  line-height:1.42 !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  word-break:keep-all !important;
}
#books .book-grid .book-card h3.aw-book-title-aligned .aw-book-title-line{
  display:block;
  white-space:nowrap;
}
/* Only this especially long second line needs a small correction on narrow desktop cards. */
@media (min-width:761px) and (max-width:1320px){
  #books .book-grid .book-card[data-dialog="current-book-dialog-wife"] h3.aw-book-title-aligned{font-size:23px !important;}
}
@media (max-width:760px){
  #books .book-grid .book-card h3.aw-book-title-aligned{font-size:24px !important;}
}
@media (max-width:400px){
  #books .book-grid .book-card h3.aw-book-title-aligned .aw-book-title-line{white-space:normal;}
}
