/* Estilos extraidos de estilos.css para la plantilla page texture packs */

.mp-lucide{
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* PAGINACIÃ“N BLANCA CON BORDES GRUESOS */
.mp-pagination,
.mp-pagination .page-numbers,
.mp-pagination ul,
.mp-pagination ul.page-numbers {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0.1rem 0 0.1rem !important;
  padding: 1rem 0 !important;
  gap: 0.5rem !important;
  list-style: none !important;
}

.mp-pagination li {
  margin: 0 !important;
}

.mp-pagination a,
.mp-pagination .current {
  display: block !important;
  min-width: 44px !important;
  height: 44px !important;
  line-height: 42px !important;
  text-align: center !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  background: #ffffff !important; /* BLANCO PURO */
  border: 2px solid #d1d5db !important; /* BORDE GRUESO IGUAL AL SELECCIONADO */
  color: #6b7280 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.mp-pagination a:hover {
  background: #f9fafb !important;
  border-color: #9ca3af !important; /* Borde mÃ¡s oscuro en hover */
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  color: #374151 !important;
}

.mp-pagination .current {
  background: #f3f4f6 !important; /* GRIS LIGERO */
  border-color: #9ca3af !important; /* BORDE MÃS OSCURO */
  color: #1f2937 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  transform: scale(1.03) !important;
}

.mp-pagination .current:hover {
  background: #e5e7eb !important;
  border-color: #6b7280 !important;
  transform: scale(1.03) translateY(-1px) !important;
}

/* DOTS */
.mp-pagination a[href*="..."] {
  border-color: #e5e7eb !important;
  color: #9ca3af !important;
}

/* Responsive */
@media (max-width: 768px) {
  .mp-pagination a,
  .mp-pagination .current {
    min-width: 40px !important;
    height: 40px !important;
    line-height: 38px !important;
  }
}

/* TamaÃ±os por zona (si quieres) */
.mp-stat svg.lucide{ width:18px !important; height:18px !important; }
.mp-download-btn svg.lucide{ width:18px !important; height:18px !important; }

.mp-pagination svg.lucide{ width:20px !important; height:20px !important; }

/* ====== NUEVOS CAMBIOS (IA) - PEGAR ARRIBA DEL SPRITE SYSTEM ====== */

/* TÃ­tulo + stats base */
.mp-title {
  opacity: 0.7;
}
.mp-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
}


/* ===== BOTÃ“N DOWNLOAD (con icono) ===== */
.mp-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mp-download-btn::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 29px;
  background-image: url("https://minepacks.org/wp-content/uploads/2026/02/editadooo-1.png");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -670px -40px;
}


.mp-pack-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 0;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* QUITAR HOVER DE TARJETA GRANDE */
.mp-pack-card:hover {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
  z-index: auto !important;
}

.mp-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mp-thumb-wrap {
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  transform: none !important;
}

/* Imagen (card grande) */
.mp-pack-card .featured-image.mp-thumb {
  height: 260px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f3f3f3 !important;
  border-radius: 16px 16px !important;
  transition: transform .25s ease !important;
}

/* QUITAR ZOOM EN HOVER (card grande) */
.mp-pack-card:hover .featured-image.mp-thumb {
  transform: none !important;
}

/* Badges */
.mp-badges {
  position: absolute;
  top: 30px;   /* se mantiene tu posiciÃ³n */
  left: 12px;  /* se mantiene tu posiciÃ³n */
  display: flex;
  gap: 10px;
  z-index: 2;
  animation: float-badge 4s ease-in-out infinite; /* se mantiene tu animaciÃ³n */
}

.mp-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 8px 10px;      /* mÃ¡s compacto */
  border-radius: 999px;   /* pill */
  font-weight: 800;
  font-size: 12px;        /* letras mÃ¡s pequeÃ±as */
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;            /* mantengo tu color */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

/* Mantengo tus colores originales */
.mp-badge-version { background: rgba(0, 120, 255, 0.9); }
.mp-badge-res     { background: rgba(255, 0, 0, 0.92); }

@keyframes float-badge {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-4px); }
}



/* BotÃ³n + meta */
.mp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 14px 14px;
  margin-top: auto;
}

.mp-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 13px;
  background: #575760;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, background-color .15s ease;
  z-index: 1;
}

.mp-download-btn:hover {
  transform: translateY(-2px);
  background-color: #444343;
}

/* Shine */
.mp-download-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.5s ease;
  z-index: 2;
}
.mp-download-btn:hover::after {
  left: 125%;
}

/* Quitar hover del botÃ³n SOLO dentro de tarjetas grandes */
.mp-pack-card .mp-download-btn:hover {
  transform: none !important;
  background-color: #444343 !important;
}
.mp-pack-card .mp-download-btn:hover::after {
  left: -100% !important;
}

.postspagep { width: 100%; }
.mp-packs-header { max-width: 1200px; }
.mp-packs-intro  { margin-top: 10px; opacity: 0.9; }

.mp-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px auto 14px auto;
  max-width: 1200px;
  padding: 10px 12px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
}
.mp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mp-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #e4e3e3;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.mp-chip:hover {
  transform: translateY(-1px);
  background: #e4e4e4;
  border-color: #d8d8d8;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mp-chip.is-active {
  background: #575760;
  border-color: #575760;
  color: #fff;
}

.mp-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.mp-sort label {
  color: #333;
  opacity: 1;
  font-size: 14px;
}
.mp-sort select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 40px 10px 14px;
  border-radius: 12px;
  border: 1px solid #dddddd;
  background: #fff;
  color: #333;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
  background-image:
    linear-gradient(45deg, transparent 50%, #8a8a8a 50%),
    linear-gradient(135deg, #8a8a8a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.mp-sort select:hover {
  border-color: #cfcfcf;
  background-color: #fff;
}
.mp-sort select:focus {
  outline: none;
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
  background-color: #fff;
}
.mp-sort select option {
  background: #fff;
  color: #333;
}

@media (max-width: 768px) {
  .mp-filterbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .mp-sort {
    width: 100%;
    justify-content: space-between;
  }

  .mp-sort select {
    min-width: 160px;
  }
}


/* Grid MP */
.mp-pack-grid { max-width: 1200px; margin: 0 auto; }
.custom-grid.mp-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 1290px;
  margin-left: 0;
}

/* TÃ­tulo y stats (MP) */
.mp-title {
  font-size: 20px;
  margin: 12px 14px 0 14px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-stats {
  font-size: 15px;
  opacity: 0.9;
  display: flex;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1050px) {
  .custom-grid.mp-pack-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .mp-filterbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .custom-grid.mp-pack-grid {
    grid-template-columns: 1fr !important;
    width: 100%;
  }
}


.mp-pack-card {
  border-radius: 14px;
  border: 1px solid #e5eaf2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #fff;
}

.mp-pack-card .mp-thumb-wrap {
  margin: 8px 4px 0 4px;
  border-radius: 22px !important;
  overflow: hidden !important;
}

.mp-pack-card .featured-image.mp-thumb,
.mp-pack-card .placeholder-image.mp-thumb {
  display: block;
  width: 100%;
  height: 220px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #edf3ff !important;
  border-radius: 22px !important;
  clip-path: inset(0 round 22px);
}

.mp-pack-card .placeholder-image.mp-thumb {
  min-height: 230px;
}

.mp-pack-card .mp-title {
  margin: 10px 10px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  color: #1f2a3d;
  opacity: 1;
  font-weight: 800;
}

.mp-excerpt {
  margin: 6px 10px 0 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.mp-pack-card .mp-meta-row {
  display: block;
  padding: 10px 10px 10px 10px;
  border-radius: 0 0 14px 14px;
}

.mp-pack-card .mp-stats {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #4b5563;
  opacity: 1;
}

.mp-pack-card .mp-stat {
  font-size: 13px;
  font-weight: 700;
  gap: 5px;
}

.mp-pack-card .mp-downloads::before {
  width: 20px;
  height: 22px;
  margin-right: 4px;
  background-position: -670px -40px;
  transform: scale(0.9);
  transform-origin: left center;
}

.mp-pack-card .mp-download-btn {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px 14px;
  justify-content: center;
  gap: 8px;

  background: #444444;
  color: #fff !important;

  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mp-pack-card .mp-download-btn:hover,
.mp-pack-card .mp-download-btn:focus {
  background: #2f2f2f !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Fallback por si alguna tarjeta vieja todavia renderiza el boton */
.mp-pack-card .mp-download-btn {
  display: none !important;
}

.postspagep {
    min-height: 600px;
}

.post-grid-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

/* HOVER SUAVE */
.post-grid-item:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* IMAGEN */
.post-grid-item .featured-image {
    transition: transform 0.25s ease;
}

.post-grid-item:hover .featured-image {
    transform: scale(1.03);
}

/* TITULO */
.post-title {
    transition: transform 0.2s ease;
}

.post-grid-item:hover .post-title {
    transform: translateY(-1px);
}

/* STATS */
.pack-stats {
    transition: opacity 0.2s ease;
}

.post-grid-item:hover .pack-stats {
    opacity: 1;
}






.post-grid-item p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* MÃS CORTO */
    -webkit-box-orient: vertical;
    margin-bottom: 6px; /* controla el espacio */
}

.post-grid-item {
    display: flex;
    flex-direction: column;
}


.pack-stats {
    margin-bottom: 10px;
    font-size: 18px;
    opacity: 1.85;
    display: flex;
    gap: 13px;
}

.post-grid-item {
	padding-right: 1px;
	padding-left: 1px;
	min-width: 100px;
	border-radius: 10px;
	box-shadow: 0px 2px 5.9px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .custom-grid {
    grid-template-columns: 1fr !important;
  }
}

.post-grid-item a {
    color: black;
    text-decoration: none;
}

.post-grid-item a:hover {
    color: black;
    text-decoration: none;
}

.centered-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Contenido editable */
.page-content {
    margin-bottom: 30px;
    text-align: left;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 2100px;
    margin: 0 auto;
}

/* ImÃ¡genes destacadas */
.featured-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

/* Imagen por defecto cuando no hay thumbnail */
.placeholder-image {
    margin-top: 18px;
    width: 100%;
    height: 280px;
    background-color: #cacaca;
    border-radius: 10px;
}

/* TÃ­tulo de los posts */
.post-title {
    margin-top: 10px;
	  font-size: 28px;
}

/* Mensaje de â€œno se encontraron resultadosâ€ */
.no-results {
    text-align: center;
}

.custom-pagination {
	margin-top: 30px;
	text-align: center;
	font-size: 25px;
	
}

.entry-title {
	font-size: 45px;
	text-align: center;
}

/* ===== MP PACK CARD POLISH (solo cards de packs) ===== */
.mp-pack-card {
  border-radius: 14px;
  border: 1px solid #e5eaf2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #fff;
}

.mp-pack-card .mp-thumb-wrap {
  margin: 8px 8px 0 8px;
  border-radius: 11px;
  overflow: hidden;
}

.mp-pack-card .featured-image.mp-thumb,
.mp-pack-card .placeholder-image.mp-thumb {
  height: 220px !important;
  object-fit: contain !important;
  object-position: top center !important;
  background: #edf3ff !important;
  border-radius: 14px !important;
}

.mp-pack-card .placeholder-image.mp-thumb {
  min-height: 230px;
}

.mp-pack-card .mp-title {
  margin: 10px 10px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  color: #1f2a3d;
  opacity: 1;
  font-weight: 800;
}

.mp-excerpt {
  margin: 6px 10px 0 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.mp-pack-card .mp-meta-row {
  display: block;
  padding: 10px 10px 10px 10px;
  border-radius: 0 0 14px 14px;
}

.mp-pack-card .mp-stats {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #4b5563;
  opacity: 1;
}

.mp-pack-card .mp-stat {
  font-size: 13px;
  font-weight: 700;
  gap: 5px;
}

.mp-pack-card .mp-downloads::before {
  width: 20px;
  height: 22px;
  margin-right: 4px;
  background-position: -670px -40px;
  transform: scale(0.9);
  transform-origin: left center;
}

.mp-pack-card .mp-download-btn {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px 14px;
  justify-content: center;
  gap: 8px;

  background: #444444; /* gris base */
  color: #fff !important;

  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mp-pack-card .mp-download-btn:hover,
.mp-pack-card .mp-download-btn:focus {
  background: #2f2f2f !important; /* gris mÃ¡s oscuro */
  color: #fff !important;

  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* =========================================================
   TEXTURE PACKS - ADAPTACION DE LAYOUT (basada en crystal-pvp)
   Referencia medida en vivo (desktop):
   - Sidebar fija: 320px
   - Columna principal util: ~943px
   - Bloque total centrado: hasta ~1376px
========================================================= */

#content.site-content {
  width: min(1376px, calc(100% - 74px));
  max-width: 1376px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  gap: 0 !important;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

#content.site-content > #primary {
  flex: 0 1 963px;
  width: auto !important;
  max-width: 963px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

#content.site-content > #primary .site-main {
  margin-right: 20px;
  width: auto;
}

#content.site-content > #right-sidebar {
  flex: 0 0 320px;
  width: 320px !important;
  max-width: 320px;
  margin: 0 !important;
  padding: 0 !important;
  align-self: flex-start;
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
}

.centered-container.mp-packs-header,
.postspagep,
.mp-pack-grid,
.custom-grid.mp-pack-grid {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.custom-grid.mp-pack-grid {
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.post-grid-item.mp-pack-card {
  min-width: 0 !important;
  padding: 0 !important;
}

.mp-filterbar {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  gap: 10px;
  border-radius: 12px;
}

.mp-chips {
  gap: 8px;
}

.mp-chip {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 10px;
}

.mp-sort {
  gap: 8px;
}

.mp-sort label {
  font-size: 12px;
}

.mp-sort select {
  min-width: 120px;
  padding: 8px 30px 8px 10px;
  font-size: 12px;
  border-radius: 10px;
}

.mp-pack-card .mp-thumb-wrap {
  margin: 8px;
  border-radius: 12px !important;
  background: #edf3ff;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-pack-card .featured-image.mp-thumb,
.mp-pack-card .placeholder-image.mp-thumb {
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  margin-top: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  border-radius: 12px !important;
}

.mp-pack-card .mp-title {
  margin: 8px 10px 0;
  font-size: 18px;
  line-height: 1.25;
}

.mp-excerpt {
  margin: 6px 10px 0;
  font-size: 12px;
  line-height: 1.35;
  min-height: 32px;
}

.mp-pack-card .mp-meta-row {
  padding: 8px 10px 10px;
}

.mp-pack-card .mp-stats {
  gap: 10px;
  font-size: 12px;
}

@media (max-width: 1365px) {
  .custom-grid.mp-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mp-filterbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 1099px) {
  #content.site-content {
    justify-content: flex-start;
  }

  #content.site-content > #primary {
    flex-basis: calc(100% - 320px);
    max-width: none !important;
  }
}

@media (max-width: 959px) {
  #content.site-content {
    width: min(1376px, calc(100% - 32px));
    display: block;
  }

  #content.site-content > #primary,
  #content.site-content > #right-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }

  #content.site-content > #right-sidebar {
    position: static;
    margin-top: 16px !important;
    max-height: none;
    overflow: visible;
  }

  #content.site-content > #primary .site-main {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .custom-grid.mp-pack-grid {
    grid-template-columns: 1fr !important;
  }

  .mp-filterbar {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-sort {
    width: 100%;
    justify-content: space-between;
  }
}

