/*
Theme Name:     GeneratePress Child
Theme URI:      https://generatepress.com
Description:    Tema hijo para GeneratePress
Author:         Tu nombre o marca
Author URI:     https://tusitio.com
Template:       generatepress
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    generatepress-child



/* Eliminar h1 wordpress de categorías de entradas */
.archive .page-title {
  display: none;
}

/* Resaltar títulos */
.color-resaltar-titulos {
  background: linear-gradient(90deg, #7c5cff, var(--brand-2, #00d4ff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.precio-mes-pequeno {
  font-size: 12px;
  font-weight: 400;
  color: #b7bdd3;
  margin-left: 2px;
}

/* FORMULARIO NEWSLETTERS */
/* Contenedor general del formulario */
.tnp.tnp-subscription {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ba8ccc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 40px auto;
}

/* Campo de correo */
.tnp-field-email input[type="email"] {
  background-color: #fff;
  color: #ba8ccc;
  border: 2px solid #ba8ccc;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.tnp-field-email input[type="email"]::placeholder {
  color: #ba8ccc;
  opacity: 0.6;
}

.tnp-field-email input[type="email"]:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(186, 140, 204, 0.3);
}

/* Checkbox + política */
.tnp-field-privacy {
  font-size: 14px;
  margin: 15px 0;
  color: #fff; !important
}

.tnp-field-privacy input[type="checkbox"] {
  margin-right: 8px;
}

.tnp-field-privacy a {
  color: #fff;
  text-decoration: underline;
}

/* Botón de envío */
.tnp-field-button input.tnp-submit {
  background-color: #fff !important;
  color: #ba8ccc !important;
  border: 2px solid #ba8ccc !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.tnp-field-button input.tnp-submit:hover {
  box-shadow: 0 4px 12px rgba(186, 140, 204, 0.3) !important;
}

/* Quitar etiquetas email */
.tnp-field-email label {
  display: none !important;
}

/* Centrado del botón */
.tnp-field-button {
  text-align: center !important;
}

/* Etiquetas */
.tnp-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #fff;
}

/* Placeholder estilo */
.tnp-email::placeholder {
  color: #bbb;
}

/* ===== Backstage Landing (estética previa + foco conversión) ===== */
#backstage-landing {
  --bg: #0f1220;
  --card: #171a2b;
  --card-2: #101526;
  --text: #e6e8f2;
  --muted: #b7bdd3;
  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --success: #35d49a;
  --shadow: 0 10px 25px rgba(0, 0, 0, .25);
  --radius: 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 10% -10%, rgba(124, 92, 255, .12), transparent 40%),
    radial-gradient(700px 500px at 110% 10%, rgba(0, 212, 255, .10), transparent 50%),
    var(--bg);
}

#backstage-landing .bk-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

#backstage-landing .bk-section {
  padding: clamp(28px, 4vw, 56px) 0;
}

#backstage-landing a {
  color: #b9ccff;
  text-decoration: none;
}

/* Hero */
#backstage-landing .bk-hero {
  padding: clamp(44px, 7vw, 108px) 0 28px;
  position: relative;
}

#backstage-landing .bk-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(124, 92, 255, .15), rgba(0, 212, 255, .15));
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 6px 10px;
  border-radius: 999px;
}

#backstage-landing .bk-title {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  margin: 12px 0 8px;
  font-weight: 900;
  letter-spacing: -.02em;
}

#backstage-landing .bk-sub {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 760px;
}

#backstage-landing .bk-hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

#backstage-landing .bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s;
}

#backstage-landing .bk-btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0c1020;
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
}

#backstage-landing .bk-btn:hover {
  transform: translateY(-1px);
}

#backstage-landing .bk-price-line {
  color: var(--muted);
  font-size: 14px;
}

#backstage-landing .bk-trustbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #cdd3ea;
  font-size: 13px;
  opacity: .9;
}

#backstage-landing .bk-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0c1020;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
}

/* Why */
#backstage-landing .bk-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (min-width: 860px) {
  #backstage-landing .bk-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#backstage-landing .bk-why-item {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

#backstage-landing .bk-why-item .bk-ico {
  font-size: 22px;
}

#backstage-landing .bk-why-item h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

#backstage-landing .bk-why-item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Valor + precio sticky */
#backstage-landing .bk-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 980px) {
  #backstage-landing .bk-value-grid {
    grid-template-columns: 1.3fr .7fr;
  }
}

#backstage-landing .bk-h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 10px;
}

#backstage-landing .bk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#backstage-landing .bk-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 700px) {
  #backstage-landing .bk-compare {
    grid-template-columns: 1fr 1fr;
  }
}

#backstage-landing .bk-compare-col {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 14px;
}

#backstage-landing .bk-compare-col h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

#backstage-landing .bk-compare-col ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

#backstage-landing .bk-compare-col.pro {
  outline: 2px solid rgba(124, 92, 255, .35);
}

/* Pricing card sticky */
#backstage-landing .bk-pricing.sticky {
  position: relative;
}

@media (min-width: 980px) {
  #backstage-landing .bk-pricing.sticky {
    position: sticky;
    top: 24px;
  }
}

#backstage-landing .bk-pricing-inner {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

#backstage-landing .bk-pill {
  display: inline-block;
  background: rgba(124, 92, 255, .18);
  border: 1px solid rgba(124, 92, 255, .35);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 8px;
}

#backstage-landing .bk-amount-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 8px;
}

#backstage-landing .bk-amount {
  font-size: 34px;
  font-weight: 900;
}

#backstage-landing .bk-period {
  color: var(--muted);
  font-size: 14px;
}

#backstage-landing .bk-bullets {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #d9def2;
  font-size: 14px;
}

#backstage-landing .bk-btn.wide {
  width: 100%;
  margin-top: 10px;
}

#backstage-landing .bk-micro {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 8px;
}

/* Testimonios */
#backstage-landing .bk-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  #backstage-landing .bk-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#backstage-landing .bk-testimonial {
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

#backstage-landing .bk-testimonial blockquote {
  margin: 0 0 8px;
  font-size: 16px;
}

#backstage-landing .bk-testimonial figcaption {
  color: var(--muted);
  font-size: 13px;
}

/* FAQ + garantía */
#backstage-landing .bk-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background: rgba(53, 212, 154, .12);
  color: #bff5df;
  border: 1px solid rgba(53, 212, 154, .35);
  padding: 8px 12px;
  border-radius: 999px;
}

#backstage-landing .bk-qa {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

#backstage-landing .bk-qa > summary {
  cursor: pointer;
  font-weight: 700;
}

#backstage-landing .bk-qa > div {
  color: var(--muted);
  margin-top: 8px;
}

/* Checkout */
#backstage-landing .bk-checkout-sub {
  color: var(--muted);
  margin: 2px 0 12px;
}

#backstage-landing .bk-checkout-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Ayuda */
#backstage-landing .bk-help {
  text-align: center;
  color: var(--muted);
}

/* === Correcciones visuales Backstage Landing === */

/* 1) Eliminar puntos blancos entre tarjetas (bk-why-grid) */
#backstage-landing .bk-why-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

#backstage-landing .bk-why-grid li {
  list-style: none;
}

/* 2) Centrar y alinear el bloque HERO */
#backstage-landing .bk-hero .bk-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 3) Asegurar separación y responsividad en el hero */
#backstage-landing .bk-hero-cta {
  justify-content: center;
}

#backstage-landing .bk-trustbar {
  justify-content: center;
}

/* 4) Ajuste opcional: espaciar más el hero en pantallas grandes */
@media (min-width: 1024px) {
  #backstage-landing .bk-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

/* ===== Área Backstage (coherente con tu estética) ===== */
#area-backstage {
  --bg: #0f1220;
  --card: #171a2b;
  --card-2: #101526;
  --text: #e6e8f2;
  --muted: #b7bdd3;
  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --success: #35d49a;
  --shadow: 0 10px 25px rgba(0, 0, 0, .25);
  --radius: 18px;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 10% -10%, rgba(124, 92, 255, .12), transparent 40%),
    radial-gradient(700px 500px at 110% 10%, rgba(0, 212, 255, .10), transparent 50%),
    var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

#area-backstage .ab-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

#area-backstage .ab-section {
  padding: clamp(28px, 4vw, 56px) 0;
}

#area-backstage a {
  color: #b9ccff;
  text-decoration: none;
}

/* Hero */
#area-backstage .ab-hero {
  padding: clamp(44px, 7vw, 96px) 0 24px;
  text-align: center;
  position: relative;
}

#area-backstage .ab-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(124, 92, 255, .15), rgba(0, 212, 255, .15));
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 6px 10px;
  border-radius: 999px;
}

#area-backstage .ab-title {
  font-size: clamp(34px, 6.5vw, 56px);
  line-height: 1.05;
  margin: 12px 0 8px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-align: center;
}

#area-backstage .ab-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 780px;
  margin: 0 auto;
}

#area-backstage .ab-quick {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

#area-backstage .ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  transition: transform .15s, box-shadow .15s;
  margin-bottom: 15px;
}

#area-backstage .ab-btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0c1020;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
}

#area-backstage .ab-btn.small {
  padding: 9px 12px;
  font-weight: 700;
}

#area-backstage .ab-btn:hover {
  transform: translateY(-1px);
}

/* Titulares y notas */
#area-backstage .ab-h2 {
  font-size: clamp(22px, 4vw, 30px);
  margin: 0 0 8px;
  font-weight: 900;
}

#area-backstage .ab-note {
  color: var(--muted);
  margin: 0 0 14px;
}

/* Grid de plantillas */
#area-backstage .ab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  #area-backstage .ab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#area-backstage .ab-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

#area-backstage .ab-card-title {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 800;
}

#area-backstage .ab-card-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 10px;
}

#area-backstage .ab-card-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#area-backstage .ab-link {
  color: #cfd8ff;
  text-decoration: underline;
}

/* Caja del repertorio / listas */
#area-backstage .ab-box {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 14px;
}

#area-backstage .ab-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* Legal */
#area-backstage .ab-legal {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

/* Ajustes para el shortcode [favorites] (si lo usas) */
.favorites-list,
.simplefavorites-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.favorites-list li,
.simplefavorites-list li {
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.favorites-list a,
.simplefavorites-list a {
  color: #fff;
}

.simplefavorites-clear {
  margin-top: 8px;
}

#area-backstage .ab-overlay .ab-btn.primary {
  display: none !important;
}

/* FAVORITOS CSS */
/* ===== FAVORITOS / REPERTORIO (actualizado) ===== */

/* Contenedor común */
.tmt-rep-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}

/* Contextos: arriba del single y en listados (centrado) */
.tmt-rep--single {
  justify-content: flex-start;
}

.tmt-rep--list {
  justify-content: flex-start;
}

/* Mensaje de feedback */
.tmt-rep-msg {
  color: var(--muted, #b7bdd3);
  font-size: 13px;
  line-height: 1.2;
}

/* Botón base */
.tmt-rep-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand, #7c5cff), var(--brand-2, #00d4ff));
  color: #0c1020;
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none;
}

/* Icono dentro del botón (usa currentColor) */
.tmt-rep-btn svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

/* Hover / Focus / Disabled */
.tmt-rep-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(124, 92, 255, .40);
}

.tmt-rep-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .25), 0 8px 18px rgba(124, 92, 255, .35);
}

.tmt-rep-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: grayscale(.1);
}

/* Variante mini (listados) */
.tmt-rep-btn.mini {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
}

/* Lista del shortcode [mi_repertorio] */
.tmt-rep-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.tmt-rep-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, var(--card, #171a2b), var(--card-2, #101526));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 12px 14px;
}

.tmt-rep-item a {
  color: #fff;
  text-decoration: none;
}

.tmt-rep-item a:hover {
  text-decoration: underline;
}

/* Ajustes responsivos */
@media (max-width: 600px) {
  .tmt-rep--single {
    justify-content: flex-start;
  }

  .tmt-rep-wrap {
    gap: 8px;
  }
}

/* Opcional: ocultar el botón en impresión */
@media print {
  .tmt-rep-wrap {
    display: none !important;
  }
}

/* Botón "Ver todas las plantillas" centrado */
.ab-more {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.ab-more .ab-btn {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
}

.ab-more .ab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
}

/* Navegación de páginas (paginación) */
.ab-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.ab-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.ab-pagination li a,
.ab-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.ab-pagination li span.current {
  background: linear-gradient(90deg, var(--brand, #7c5cff), var(--brand-2, #00d4ff));
  color: #0c1020;
  border-color: transparent;
}

.ab-pagination a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(124, 92, 255, .35);
}

/* ===== Estilos css para página "recursos" ===== */

/* Grid 3 columnas */
.recursos-listado .ab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

/* Card estilo */
.recursos-listado .ab-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border .25s ease;
  overflow: hidden;
}

.recursos-listado .ab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  border-color: rgba(124, 92, 255, .5);
}

/* Imagen destacada */
.recursos-listado .ab-card img {
  border-radius: 10px;
  margin-bottom: 14px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}

.recursos-listado .ab-card:hover img {
  transform: scale(1.02);
}

/* Título */
.recursos-listado .ab-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ba8ccc;
  line-height: 1.3;
}

/* CTA */
.recursos-listado .ab-card-cta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.recursos-listado .ab-btn.primary.small {
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  font-weight: 700;
  color: #0c1020;
  box-shadow: 0 4px 12px rgba(124, 92, 255, 0.35);
  transition: background .2s ease, transform .2s ease;
}

.recursos-listado .ab-btn.primary.small:hover {
  background: linear-gradient(90deg, #9e82ff, #29e0ff);
  transform: translateY(-2px);
}

.recursos-listado .ab-link {
  font-size: 0.9rem;
  color: #000000;
  text-decoration: underline;
  transition: color .2s ease;
}

.recursos-listado .ab-link:hover {
  color: #ba8ccc;
}

/* ===== Recursos gratuitos (acceso libre) ===== */
.recursos-listado .ab-card:not(.bloqueado) {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.recursos-listado .ab-card:not(.bloqueado):hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Hace que toda la tarjeta sea clicable */
.ab-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Para feedback visual */
.ab-card-link:hover .ab-card-title {
  text-decoration: underline;
}

.ab-card-link:hover .ab-thumb {
  opacity: 0.96;
  transition: opacity .2s ease;
}

.ab-card-cta.centered a {
  text-decoration: none !important;
}

/* ===== Recursos bloqueados (solo miembros) ===== */
.recursos-listado .ab-card.bloqueado {
  pointer-events: none;
}

.recursos-listado .ab-card.bloqueado img {
  filter: grayscale(0.5) blur(2px) brightness(0.8);
}

.recursos-listado .ab-card.bloqueado::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 14px;
  z-index: 1;
}

/* Overlay con texto y CTA */
.recursos-listado .ab-card .ab-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  gap: 12px;
  pointer-events: auto;
}

.recursos-listado .ab-card .ab-overlay p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.recursos-listado .ab-card .ab-overlay .ab-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  color: #0c1020;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.35);
  transition: transform .2s ease;
}

.recursos-listado .ab-card .ab-overlay .ab-btn:hover {
  transform: translateY(-2px);
}

.recursos-listado .ab-card .ab-overlay .ab-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Evita clics detrás del overlay */
.recursos-listado .ab-card.bloqueado * {
  pointer-events: none;
}

.recursos-listado .ab-card.bloqueado .ab-overlay,
.recursos-listado .ab-card.bloqueado .ab-overlay * {
  pointer-events: auto;
}

/* Paginación (otra variante directa para ciertos listados) */
.ab-pagination {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ab-pagination a,
.ab-pagination span {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  transition: background .2s ease, color .2s ease;
}

.ab-pagination a:hover {
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  color: #0c1020;
}

.ab-pagination .current {
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  color: #0c1020;
}

/* ===== Badge en tarjetas ===== */
.recursos-listado .ab-card::before {
  content: attr(data-badge);
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  z-index: 3;
}

/* Estilo para badge de recursos gratis */
.recursos-listado .ab-card[data-badge="Gratis"]::before {
  background: linear-gradient(90deg, #00c853, #64dd17);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Estilo para badge de recursos premium */
.recursos-listado .ab-card[data-badge="Premium"]::before {
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* (Opcional) Oculta extracto en esta página; cambia 123 por el ID real */
.page-id-642 .entry-summary {
  display: none;
}

/* Responsive recursos */
@media (max-width: 900px) {
  .recursos-listado .ab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recursos-listado .ab-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== Formulario newsletter dentro de la tarjeta gratis ====== */
.nl-card .nl-newsletter-form form {
  display: grid;
  gap: 14px;
}

/* Input email a juego */
.nl-card .nl-newsletter-form input[type="email"],
.nl-card .nl-newsletter-form .tnp-email {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nl-card .nl-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .65);
}

.nl-card .nl-newsletter-form input[type="email"]:focus {
  border-color: rgba(124, 92, 255, .6);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .25);
}

/* Estilos unificados para ambos botones */
.nl-btn.primary,
.nl-card .nl-newsletter-form .tnp-submit,
.nl-card .nl-newsletter-form input[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  text-transform: capitalize !important;
  cursor: pointer;
  background: linear-gradient(90deg, #7c5cff, #00d4ff) !important;
  color: #0c1020 !important;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.35);
}

/* Hover igual que normal (sin cambios visuales) */
.nl-btn.primary:hover,
.nl-card .nl-newsletter-form .tnp-submit:hover,
.nl-card .nl-newsletter-form input[type="submit"]:hover {
  background: linear-gradient(90deg, #7c5cff, #00d4ff) !important;
  color: #0c1020 !important;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.35) !important;
}

/* ===== ESTILOS CSS PÁGINA ACCEDER ===== */
#login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.login-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.login-hero .login-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #000000;
}

.login-hero .login-sub {
  font-size: 1.1rem;
  color: var(--muted, #b7bdd3);
  margin-bottom: 30px;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Inputs */
#login-page input[type="text"],
#login-page input[type="password"],
#login-page input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
}

/* Botón */
#login-page input[type="submit"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  color: #0c1020;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.35);
  transition: transform .2s ease;
  font-size: 1rem;
}

#login-page input[type="submit"]:hover {
  transform: translateY(-2px);
}

/* Extras */
.login-extra {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted, #b7bdd3);
  text-align: center;
}

.login-extra a {
  color: #7c5cff;
  text-decoration: underline;
}

/* FIX de ancho en móvil SOLO en la página Acceder (ID:400) */
@media (max-width: 600px) {

  body.page-id-400 .inside-article {
    max-width: 100% !important;
    padding: 0 0px !important;
    box-sizing: border-box;
  }

  body.page-id-400 #login-page .login-container,
  body.page-id-400 #login-page .login-card,
  body.page-id-400 #login-page .pmpro,
  body.page-id-400 #login-page .pmpro_section,
  body.page-id-400 #login-page .pmpro_card,
  body.page-id-400 #login-page .pmpro_form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.page-id-400 #login-page .pmpro_form input[type="text"],
  body.page-id-400 #login-page .pmpro_form input[type="password"],
  body.page-id-400 #login-page .pmpro_form input[type="email"],
  body.page-id-400 #login-page .pmpro_form input[type="submit"] {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 1rem;
  }

  body.page-id-400 #login-page .pmpro_form .wp-pwd {
    position: relative;
  }

  body.page-id-400 #login-page .pmpro_form .wp-pwd input[type="password"] {
    padding-right: 44px;
  }

  body.page-id-400 #login-page .pmpro_form .wp-hide-pw {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    background: none;
    border: 0;
    box-shadow: none;
  }

  #login-page .login-card {
    padding: 20px;
  }
}

/* ====== SOBRE NOSOTROS (extiende nl-*) ====== */

/* Contenedor general */
#sobre-nosotros.nl-wrap {
  background: #0b0d11;
  color: #e8ecf1;
  padding: 60px 0;
  display: flow-root;
  margin-top: 0 !important;
}

/* Header */
#sobre-nosotros .nl-header {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 40px;
}

#sobre-nosotros .nl-title {
  font-size: 2.2rem;
  margin: 10px 0;
}

#sobre-nosotros .nl-desc {
  max-width: 720px;
  margin: 0 auto;
  color: #9aa3b2;
}

/* Card principal con grid */
#sobre-nosotros .nl-card > .nl-inner {
  background: #12151b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
}

#sobre-nosotros .nl-card p {
  margin-bottom: 1em;
  line-height: 1.6;
}

/* Grid secundario (timeline, principios, qué encontrarás) */
#sobre-nosotros .nl-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#sobre-nosotros .nl-grid .nl-card {
  background: #12151b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

#sobre-nosotros .nl-grid .nl-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

#sobre-nosotros .nl-list {
  margin: 16px 0;
  padding-left: 18px;
}

#sobre-nosotros .nl-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Badges (iconos emoji) */
#sobre-nosotros .nl-badge {
  font-size: 1.4rem;
  line-height: 1;
}

/* CTA dentro de cards */
#sobre-nosotros .nl-cta {
  margin-top: 16px;
}

#sobre-nosotros .nl-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}

#sobre-nosotros .nl-btn.primary {
  background: linear-gradient(135deg, #5b8cff, #00e0c7);
  color: #0b0d11;
}

#sobre-nosotros .nl-btn:hover {
  opacity: .9;
}

/* Newsletter form */
#sobre-nosotros .nl-newsletter-form {
  margin-top: 12px;
}

#sobre-nosotros .nl-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #9aa3b2;
}

/* Ajustes adicionales a páginas recursos y repertorio */
.ab-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ab-sub-highlight {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}

.ab-sub {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* Menú cabecera */
/* 1) MÓVIL (por defecto): menú a pantalla completa  */
.gb-menu-container--mobile.gb-menu-container--toggled {
  width: 100vw;
  max-width: none;
  left: 0;
  right: 0;
  height: 100vh;
  overflow-y: auto;
}

/* 2) ESCRITORIO: menú como panel lateral del 25% */
@media (min-width: 1024px) {
  .gb-menu-container--mobile.gb-menu-container--toggled {
    width: 25vw;
    max-width: 420px;
    height: 100vh;
    overflow-y: auto;
    left: 0;
    right: auto;
  }
}

.bk-wrap {
  background:
    radial-gradient(1000px 700px at 10% -10%, rgba(124, 92, 255, .12), transparent 40%),
    radial-gradient(700px 500px at 110% 10%, rgba(0, 212, 255, .10), transparent 50%),
    var(--bg);
}

/* ===== Intro "Sobre nosotros" ===== */
#sobre-nosotros .nl-intro {
  overflow: hidden;
}

#sobre-nosotros .nl-intro .nl-inner {
  padding: 20px;
}

#sobre-nosotros .nl-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

#sobre-nosotros .nl-intro-figure {
  margin: 0;
}

#sobre-nosotros .nl-intro-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow, 0 10px 25px rgba(0, 0, 0, .25));
}

/* Texto */
#sobre-nosotros .nl-intro-copy p {
  margin: 0 0 12px;
  line-height: 1.55;
}

/* Responsive sobre nosotros */
@media (max-width: 860px) {
  #sobre-nosotros .nl-intro .nl-inner {
    padding: 16px;
  }

  #sobre-nosotros .nl-intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #sobre-nosotros .nl-intro-figure {
    order: -1;
  }

  #sobre-nosotros .nl-intro-img {
    max-height: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }
}

@media (max-width: 1024px) {
  #sobre-nosotros .nl-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  #sobre-nosotros .nl-grid {
    grid-template-columns: 1fr;
  }

  #sobre-nosotros .nl-title {
    font-size: 1.8rem;
  }
}

.menu-sesion a {
  background-color: #1e73be;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 10px;
  display: inline-block;
  transition: all 0.25s ease;
}

.menu-sesion a:hover {
  background-color: #155a92;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.page-id-255 .site,
body.page-id-255 .site-content,
body.page-id-255 .inside-article {
  background-color: #0f1220;
}