.article-home.home-category-tabs-enhanced .article-home-heading {
  align-items: center;
  gap: 24px;
}

.home-category-switcher {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.home-category-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-category-tabs::-webkit-scrollbar {
  display: none;
}

.home-category-tab {
  min-height: 33px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #71808e;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.home-category-tab:hover,
.home-category-tab:focus-visible {
  color: #a66633;
  background: #fbf2e9;
  outline: 0;
}

.home-category-tab.active {
  color: #b8762c;
  background: #f8ecd9;
  box-shadow: 0 2px 6px rgba(182, 111, 46, .08);
  font-weight: 700;
}

.home-category-more {
  min-height: 33px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #71808e;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.home-category-more:hover,
.home-category-more:focus-visible {
  color: #a66633;
  background: #fbf2e9;
  outline: 0;
}

.home-category-empty-state {
  grid-column: 1 / -1;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  color: #8a7565;
  font-size: 14px;
  line-height: 1;
}

.home-category-empty-icon {
  width: 78px;
  height: 78px;
  position: relative;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 39%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 66% 39%, #fff 0 5px, transparent 6px),
    #858585;
}

.home-category-empty-icon::before {
  content: '';
  width: 14px;
  height: 20px;
  position: absolute;
  left: 18px;
  top: 45px;
  border-radius: 70% 35% 70% 55%;
  background: #fff;
  transform: rotate(35deg);
}

.home-category-empty-icon::after {
  content: '';
  width: 25px;
  height: 14px;
  position: absolute;
  left: 39px;
  top: 51px;
  border-top: 3px solid #fff;
  border-radius: 50%;
  transform: rotate(20deg);
  transform-origin: left top;
}

.home-category-empty-state[hidden] {
  display: none;
}

.article-card[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .article-home.home-category-tabs-enhanced .article-home-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-category-switcher {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .home-category-tabs {
    flex: 1 1 auto;
  }
}

@media (max-width: 620px) {
  .home-category-switcher {
    gap: 5px;
  }

  .home-category-tabs {
    gap: 5px;
  }

  .home-category-tab {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .home-category-more {
    min-height: 30px;
    padding-inline: 8px;
    font-size: 10px;
  }
}


html[data-theme='dark'] .home-category-tab,
html[data-theme='dark'] .home-category-more {
  color: #fff;
  background: #34485b;
  border: 1px solid #52677a;
}

html[data-theme='dark'] .home-category-tab:hover,
html[data-theme='dark'] .home-category-tab:focus-visible,
html[data-theme='dark'] .home-category-more:hover,
html[data-theme='dark'] .home-category-more:focus-visible {
  color: #fff;
  background: #466078;
  border-color: #6b8296;
}

html[data-theme='dark'] .home-category-tab.active {
  color: #fff;
  background: #5a4027;
  border-color: #9a6b3d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .24);
}
