
/* PixelRealm Games — catégories */

.prg-category-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 72px;
  box-sizing: border-box;
  background: #0b1220;
  border-bottom: 1px solid #27344d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 28px;
}

.prg-category-brand {
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
}

.prg-category-brand span {
  color: #a78bfa;
}

.prg-category-toplinks .seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.prg-category-toplinks a {
  color: #c4b5fd;
  text-decoration: none;
}

.prg-category-toplinks a:hover {
  color: #fff;
}

main.seo-main {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 26px 24px 45px !important;
}

.prg-category-layout {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: start;
  gap: 22px;
}

.prg-category-content {
  min-width: 0;
  width: 100%;
}

.prg-category-ad {
  box-sizing: border-box;
  width: 100%;
  min-height: 420px;
  border: 1px dashed #5c477f;
  border-radius: 13px;
  background: #141728;
  color: #a6a4b8;
  text-align: center;
  padding: 14px 8px;
}

.prg-category-ad > span,
.prg-category-amazon > span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  margin-bottom: 15px;
}

.prg-category-ad-placeholder {
  font-size: 12px;
  opacity: .75;
}

.prg-category-amazon {
  box-sizing: border-box;
  width: min(100%, 1250px);
  min-height: 115px;
  margin: 44px auto 0;
  padding: 18px;
  border: 1px dashed #5c477f;
  border-radius: 13px;
  background: #141728;
  color: #a6a4b8;
  text-align: center;
}

body > footer.pr-footer {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body > footer.pr-footer .pr-footer-inner,
body > footer.pr-footer .pr-footer-bottom {
  box-sizing: border-box;
  width: min(100%, 1500px);
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.prg-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
}

.prg-pagination .prg-page-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #354461;
  border-radius: 10px;
  background: #141d31;
  color: #e9e5ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.prg-pagination a.prg-page-btn:hover {
  background: #30224c;
  border-color: #a78bfa;
}

.prg-pagination .prg-page-active {
  background: #6d42c5;
  border-color: #b69aff;
  color: white;
  box-shadow: 0 0 0 2px #9c78ee33;
}

.prg-pagination .prg-page-dots {
  color: #a6a4b8;
  padding: 0 4px;
}

.prg-pagination .prg-page-count {
  width: 100%;
  text-align: center;
  color: #a6a4b8;
  font-size: 12px;
  margin-top: 6px;
}

@media (max-width: 1200px) {
  .prg-category-layout {
    grid-template-columns: 115px minmax(0, 1fr) 115px;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .prg-category-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .prg-category-ad {
    min-height: 100px;
  }

  .prg-category-ad-left {
    order: -1;
  }

  .prg-category-ad-right {
    order: 2;
  }

  .prg-category-topbar {
    flex-wrap: wrap;
    padding: 14px;
  }

  main.seo-main {
    padding: 18px 12px 30px !important;
  }
}

@media (max-width: 520px) {
  .prg-pagination .prg-page-edge {
    font-size: 11px;
    padding: 8px;
  }

  .prg-pagination .prg-page-btn {
    min-width: 36px;
    min-height: 38px;
  }
}
