/* Genres carousel: constrain the viewport, but let Owl Carousel size its moving wrapper.
   Do not set .owl-wrapper to width:100%; its inline width must equal all carousel items. */
body .doothemes_widget .list_genres,
body [id^="genre_"].list_genres {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body .doothemes_widget .list_genres .owl-wrapper-outer,
body [id^="genre_"].list_genres .owl-wrapper-outer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
/* Owl sets item widths inline. Keep each poster card/image filling its own item. */
body .doothemes_widget .list_genres .owl-item,
body [id^="genre_"].list_genres .owl-item {
  box-sizing: border-box;
}
/* Mobile Genres carousel: prevent global archive-grid rules from shrinking each card to half of its Owl item. */
@media screen and (max-width: 767px) {
  body [id^="genre_"].list_genres .owl-item > article.item,
  body .list_genres .owl-item > article.item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }
  body [id^="genre_"].list_genres .owl-item > article.item .poster,
  body .list_genres .owl-item > article.item .poster {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body [id^="genre_"].list_genres .owl-item > article.item .poster img,
  body .list_genres .owl-item > article.item .poster img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
}
