/* From Uiverse.io by mrhyddenn */
.premium {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box {
  width: 300px;
  height: 250px;
  border-radius: 20px;
  background: linear-gradient(
    170deg,
    rgba(58, 56, 56, 0.623) 0%,
    rgb(31, 31, 31) 100%
  );
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.card h2 {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
}

.card_box:hover {
  transform: scale(0.9);
}

.card span {
  position: absolute;
  overflow: hidden;
  width: 120px;
  height: 110px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card span::before {
  content: "Premium";
  position: absolute;
  width: 100%;
  height: 20px;
  background-image: linear-gradient(
    45deg,
    #ff6547 0%,
    #ffb144 51%,
    #ff7053 100%
  );
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.23);
}

.card span::after {
  content: "";
  position: absolute;
  width: 5px;
  bottom: 0;
  left: 0;
  height: 5px;
  z-index: -1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(
    45deg,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
}

@media (max-width: 480px) {
  .card_box {
    width: 90vw;
    max-width: 300px;
  }
}

/* ---- No results state ---- */
.no-results {
  width: 100%;
  text-align: center;
  color: var(--muted, #6b7280);
  font-size: 18px;
  padding: 40px 0;
}

/* ---- Pagination controls ----
     Uses the site's existing navy/gold theme variables (defined in
     style.css) instead of the orange ribbon colors above, since
     those are specific to the "Premium" corner badge, not the page theme.
     Named .pager-btn (not .page-btn) on purpose: style.css already
     defines a *different* .page-btn (a div-wrapper + inner <span> pattern
     used elsewhere), and reusing that name here silently inherited its
     rules and clashed with it. */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 10px;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #1c2333);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line, #ddd);
  box-shadow: var(--shadow-soft, 0 2px 8px rgba(0, 0, 0, 0.06));
  transition: all 0.2s ease;
}

a.pager-btn:hover {
  background: linear-gradient(
    135deg,
    var(--gold-soft, #f0dca6),
    var(--gold, #b8863b)
  );
  color: var(--navy-deep, #0a1226);
  border-color: transparent;
  transform: translateY(-2px);
}

.pager-btn.active {
  background: rgba(184, 134, 59, 0.14);
  border: 1px solid var(--gold, #b8863b);
  color: var(--gold-deep, #93691f);
  cursor: default;
}

.pager-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.pager-ellipsis {
  color: var(--muted, #6b7280);
  padding: 0 4px;
  user-select: none;
}

.pagination-info {
  text-align: center;
  color: var(--muted, #6b7280);
  font-size: 13px;
  margin-bottom: 40px;
}

@media (max-width: 480px) {
  .pager-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
}
