/* TMDB Hub for kinogo2021 */

.hub-page {
  padding: 0 0 20px;
}

.hub-breadcrumbs.speedbar {
  margin-bottom: 18px;
}

.hub-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
}

.hub-intro {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #464646;
  border-radius: 8px;
  background: linear-gradient(180deg, #333, #272727);
  color: #cfcfcf;
  line-height: 1.65;
}

.hub-count {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #3f3f3f;
  border: 1px solid #555;
  color: #fff;
  font-weight: 700;
}

.hub-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.hub-catalog__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid #4d4d4d;
  border-radius: 8px;
  background: linear-gradient(180deg, #383838, #2a2a2a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hub-catalog__item:hover {
  transform: translateY(-2px);
  border-color: #8f5151;
  background: linear-gradient(180deg, #3d3d3d, #2d2d2d);
}

.hub-catalog__name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hub-catalog__count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #232323;
  border: 1px solid #494949;
  color: #d7d7d7;
  font-size: 11px;
  white-space: nowrap;
}

.hub-kind-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hub-kind-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #343434;
  border: 1px solid #4f4f4f;
  color: #d8d8d8;
  font-weight: 700;
  transition: all .18s ease;
}

.hub-kind-tab strong {
  display: inline-block;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.hub-kind-tab:hover,
.hub-kind-tab.is-active {
  background: #5a2a2a;
  border-color: #8b4b4b;
  color: #fff;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 16px;
}

.hub-tile {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #474747;
  background: #1f1f1f;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hub-tile:hover {
  transform: translateY(-3px);
  border-color: #8f5151;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.hub-tile__poster {
  display: block;
  aspect-ratio: 200 / 286;
  background: #111;
}

.hub-tile__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-tile__body {
  display: block;
  padding: 12px;
}

.hub-tile__title {
  display: block;
  min-height: 38px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.hub-tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hub-tile__meta span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #2c2c2c;
  border: 1px solid #444;
  color: #d0d0d0;
  font-size: 11px;
}

.hub-tile--anime .hub-tile__meta span:first-child,
.hub-tile--series .hub-tile__meta span:first-child {
  border-color: #6b4a4a;
}

.hub-empty {
  padding: 18px;
  border: 1px solid #484848;
  border-radius: 8px;
  background: #262626;
  color: #d4d4d4;
}

.hub-pag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hub-pag a,
.hub-pag span {
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  text-align: center;
  border-radius: 6px;
  background: #343434;
  border: 1px solid #4a4a4a;
  color: #fff;
}

.hub-pag .is-current {
  background: #5a2a2a;
  border-color: #8b4b4b;
}

@media (max-width: 760px) {
  .hub-title {
    font-size: 21px;
  }

  .hub-catalog {
    grid-template-columns: 1fr;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hub-intro,
  .hub-empty {
    padding: 14px;
  }

  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hub-kind-tab {
    width: 100%;
    justify-content: space-between;
  }
}
