/**
 * Catégories vedettes — dark + classes Angar (feat_cat_style1 / feat_cat4).
 * Complète modules/angarhomecat/views/css/at_homecat.css (markup ul/li).
 */

.listenable-home-featured-cat #home_categories {
  margin-bottom: 0;
}

body.listenable-dark #home_categories .homecat_title {
  border-bottom-color: #444;
}

body.listenable-dark #home_categories .homecat_title span {
  border-bottom-color: var(--listenable-accent, #f17b00);
  color: #fff;
}

body.listenable-dark.feat_cat_style1 #home_categories ul li.cat_block,
body.listenable-dark.feat_cat_style1 #home_categories ul li {
  background: #1a1a1a !important;
  border-color: #444 !important;
}

body.listenable-dark.feat_cat_style4 #home_categories ul li .cat-container {
  background: transparent !important;
  border-color: transparent !important;
}

body.listenable-dark #home_categories ul li .homecat_name a {
  color: #fff;
}

body.listenable-dark #home_categories ul li .homecat_name span {
  background: var(--listenable-accent, #f17b00);
}

body.listenable-dark #home_categories ul.sub_categories li a {
  color: #bbb;
  font-size: 0.6875rem;
}

body.listenable-dark #home_categories ul.sub_categories li a:hover {
  color: #fff;
}

body.listenable-dark #home_categories ul li a.view_more {
  background: #282828;
  border-color: #282828;
}

body.listenable-dark #home_categories ul li a.view_more:hover {
  background: var(--listenable-accent, #f17b00);
  border-color: var(--listenable-accent, #f17b00);
  color: #111;
}

body.listenable-dark #home_categories ul.row {
  display: block;
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

body.listenable-dark #home_categories ul.row::after {
  clear: both;
  content: "";
  display: table;
}

body.listenable-dark #home_categories ul.row > li.cat_block {
  float: left;
  list-style: none;
}

@media (min-width: 992px) {
  body.listenable-dark.feat_cat4 #home_categories ul.row > li.cat_block {
    width: 25%;
  }

  body.listenable-dark.feat_cat4 #home_categories ul.row > li.cat_block:nth-child(4n + 1) {
    clear: both;
  }
}

body.listenable-dark #home_categories ul.sub_categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.listenable-dark #home_categories ul li img {
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  body.listenable-dark #home_categories ul li img {
    max-height: 120px;
  }
}
