/* ===========================
   GRID
=========================== */
.rw-show-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .rw-show-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .rw-show-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===========================
   CARD
=========================== */
.rw-show-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rw-show-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* TITLE */
.cew-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.cew-card__title a {
  color: inherit;
  text-decoration: none;
}

/* EXCERPT */
.cew-card__excerpt {
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.45;
}

.cew-card__excerpt a {
  color: inherit;
  text-decoration: none;
}

/* CTA BUTTON */
.cew-card__cta {
  margin-top: auto;
}

.cew-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: 0.25s ease-in-out;
}

.cew-btn:hover {
  background: #B82121;
  color: #fff !important;
}

.cew-btn__icon {
  display: block;
}

.cew-btn svg path {
  transition: 0.25s ease-in-out;
}

/* ===========================
   PAGINATION
=========================== */
.rw-cew-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
}

.rw-page-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #B82121;
  color: #fff;
  border: none;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.rw-page-arrow.rw-disabled {
  background: #e4bcbc;
  cursor: default;
}

/* Page numbers */
.rw-numbers {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rw-page-num {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #000;
}

.rw-page-num.rw-active {
  font-weight: 700;
  color: #B82121;
}

.rw-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #B82121;
  margin-left: -10px;
}
/* ======================================
   FILTROS ESPECTÁCULOS – LAYOUT
====================================== */
.rw-show-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.rw-show-filters input[type="text"],
.rw-show-filters select {
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 180px;
}

.rw-show-filters input[type="text"] {
  flex: 1 1 280px;
}
/* Ajuste del campo Buscar */
.rw-show-filters input[name="search"] {
    flex: 0 0 280px !important;
}

.rw-show-filters select {
  flex: 0 0 250px;
}

.rw-filter-actions {
  margin-left: auto;
}

.rw-btn-reset {
  background: #ddd;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.rw-btn-reset:hover {
  background: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .rw-show-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .rw-filter-actions {
    margin-left: 0;
    width: 100%;
  }

  .rw-btn-reset {
    width: 100%;
  }
}

