/* Home card refinements - loaded after deploy with its own cache key. */
.book-card h3{margin-top:6px!important;margin-bottom:1px!important;line-height:1.45!important}
.book-card small{margin:0!important;line-height:1.35!important}
.book-card b{margin-top:3px!important;line-height:1.4!important}
.book-card{height:auto!important;min-height:0!important;padding-bottom:12px!important}
.book-card>a{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important}
.book-card button,.book-card>a>button{position:static!important;margin-top:8px!important;align-self:flex-start!important}
@media(max-width:767px){
  .partners-track,.partners-slider .swiper-wrapper,.professional-partners-track{column-gap:0!important;gap:0!important}
  .partner-card,.partners-slider .swiper-slide,.professional-partner-card{flex:0 0 100%!important;width:100%!important;min-width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .partner-card h3,.partner-card h4,.partner-card .title,.partners-slider .swiper-slide h3,.professional-partner-card h3{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;line-height:1.7!important}
}

/* Keep desktop popup interactions above the page instead of passing through it. */
@media(min-width:768px){
  .search-overlay,
  .search-popup,
  .site-search-popup,
  .menu-overlay,
  .menu-popup,
  .modal,
  .modal-backdrop{
    pointer-events:auto!important;
    overscroll-behavior:contain;
  }

  .search-overlay,
  .site-search-popup,
  .menu-overlay,
  .modal-backdrop{
    position:fixed;
    inset:0;
  }

  .search-popup,
  .search-results,
  .site-search-popup,
  .menu-popup,
  .modal{
    position:relative;
    z-index:10001!important;
    isolation:isolate;
  }
}
