/* Movie category / archive template */
.phim-category-page {
  background: #171923;
  padding-bottom: 70px;
}
.phim-category-hero {
  height: 175px;
  display: flex;
  align-items: center;
  gap: 55px;
  padding: 0 70px;
  background: radial-gradient(
    circle at 55% 50%,
    #633196 0,
    #22155a 35%,
    #080c28 72%
  );
  overflow: hidden;
}
.phim-category-hero__brand {
  font-size: 51px;
  line-height: 0.8;
  color: #27e4ef;
  font-weight: 900;
  font-style: italic;
}
.phim-category-hero__brand span {
  color: #fff;
}
.phim-category-hero__brand small {
  display: block;
  margin-top: 20px;
  font-size: 17px;
  color: #fff;
  font-style: normal;
}
.phim-category-hero__art {
  flex: 1;
  text-align: center;
  font-size: 45px;
  letter-spacing: 18px;
}
.phim-category-hero__copy {
  font-size: 33px;
  font-weight: 900;
  line-height: 1;
}
.phim-category-hero__copy b {
  color: #f5d343;
}
.phim-category-hero > strong {
  background: linear-gradient(135deg, #ffdc6c, #ff8069);
  color: #16345c;
  border-radius: 12px;
  padding: 18px 28px;
  text-align: center;
  font-size: 22px;
}
.phim-category-casino {
  height: 88px;
  margin: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #2e3240;
  border-radius: 14px;
  overflow: hidden;
}
.phim-category-casino > b {
  flex: 0 0 105px;
  color: #fff;
  font-style: italic;
  font-size: 15px;
  line-height: 1.05;
}
.phim-category-casino > span {
  flex: 0 0 79px;
  text-align: center;
  padding: 10px 5px 0;
  border-radius: 9px;
  background: linear-gradient(145deg, #272b3b, #11131c);
  color: #ffdc39;
  font-weight: 900;
  font-style: italic;
}
.phim-category-casino small {
  display: block;
  margin: 9px -5px -7px;
  padding: 4px 1px;
  background: #ff343a;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}
.phim-category-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 5px 25px 22px;
}
.phim-category-heading h1 {
  font-size: 26px;
  color: #fff;
  margin: 0 0 24px;
}
.phim-category-heading button {
  border: 0;
  background: transparent;
  color: #d8d9de;
  padding: 0;
}
.phim-category-heading nav {
  display: flex;
  gap: 12px;
}
.phim-category-heading nav a {
  border: 1px solid #05a14a;
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.phim-category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px 16px;
  padding: 0 25px;
}
.phim-category-card {
  min-width: 0;
}
.phim-category-card__poster {
  display: block;
  aspect-ratio: 2/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background-color: #303447;
}
.phim-category-card__poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #08090c80, transparent 45%);
}
.phim-category-card__poster span {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #ddd;
  color: #30323a;
  border-radius: 4px 4px 0 0;
  padding: 5px 10px;
  font-size: 9px;
}
.phim-category-card h2 {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin: 10px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phim-category-card h2 a {
  color: #f0f0f2;
}
.phim-category-card p {
  text-align: center;
  color: #969aa6;
  font-size: 10px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phim-category-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 58px;
}
.phim-category-pagination > a,
.phim-category-pagination > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #292d3d;
  color: #fff;
  font-size: 20px;
}
.phim-category-pagination b {
  height: 45px;
  display: flex;
  align-items: center;
  border-radius: 25px;
  background: #292d3d;
  padding: 0 18px;
  color: #b6b9c2;
}
.phim-category-pagination input {
  width: 55px !important;
  height: 31px !important;
  margin: 0 8px !important;
  background: #303548 !important;
  border: 1px solid #4d5262 !important;
  color: #fff !important;
  text-align: center !important;
  box-shadow: none !important;
}
@media screen and (max-width: 768px) {
  .phim-category-hero {
    padding: 0 30px;
    gap: 25px;
  }
  .phim-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .phim-category-hero__art {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .phim-category-hero {
    height: 140px;
    padding: 20px;
  }
  .phim-category-hero__brand {
    font-size: 37px;
  }
  .phim-category-hero__brand small {
    font-size: 11px;
  }
  .phim-category-hero__copy {
    margin-left: auto;
    font-size: 20px;
  }
  .phim-category-hero > strong {
    display: none;
  }
  .phim-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
    padding: 0 14px;
  }
  .phim-category-heading {
    padding: 5px 14px 20px;
  }
  .phim-category-heading nav {
    display: none;
  }
  .phim-category-casino {
    margin: 12px 8px;
    overflow-x: auto;
  }
  .phim-category-card h2 {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .phim-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

