/* MEJORES IA GRATIS - CSS general del sitio (movido desde Personalizar > CSS adicional el 2026-10-11).
   Encolado desde functions.php (handle 'mig-custom', prioridad 100), en todas las paginas. */

/* ============ CAJAS DE PRECIOS PENCI ============ */
.penci-pricing-item.penci-pricing-s1 {
	box-sizing: border-box;
	overflow: visible;
	border: 2px solid #e8ecf2;
	border-radius: 16px;
	padding: 32px 24px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15,23,41,.07);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	height: 100%;
}
@media (hover: hover) {
	.penci-pricing-item.penci-pricing-s1:hover {
		transform: translateY(-6px) !important;
		box-shadow: 0 16px 38px rgba(15,23,41,.15);
		border-color: #2F6BFF;
	}
}
/* Destacada: mismo tamaño y posición que las demás; solo resalta al pasar el ratón */
.penci-pricing-item.penci-pricing_featured {
	transform: none !important;
}

.penci-pricing-item .penci-pricing-header {
	margin-bottom: 22px;
}
.penci-pricing-item .penci-pricing__title {
	font-size: 28px;
	font-weight: 700;
	color: #0F1729;
	margin-bottom: 4px;
	line-height: 1.2;
}
.penci-pricing-item .penci-pricing__subtitle {
	font-size: 13px;
	color: #6B768E;
	line-height: 1.4;
}
.penci-pricing-item .penci-price-unit {
	padding: 18px 0;
	border-top: 1px solid #eef1f6;
	border-bottom: 1px solid #eef1f6;
	margin-bottom: 20px;
}
.penci-pricing-item .penci-pricing__price {
	font-size: 42px;
	font-weight: 700;
	color: #0F1729;
	display: block;
	line-height: 1.1;
}
.penci-pricing-item .penci-pricing__unit {
	font-size: 13px;
	color: #6B768E;
	margin-top: 4px;
}
.penci-pricing-item .penci-pricing__featured {
	margin-top: 0;
	margin-bottom: 26px;
	text-align: left;
}
.penci-pricing-item .penci-pricing__featured ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.penci-pricing-item .penci-pricing__featured li {
	margin: 0;
	padding: 10px 0 10px 26px;
	position: relative;
	font-size: 14px;
	line-height: 1.45;
	color: #4a5262;
	border-bottom: 1px solid #f4f6f9;
}
.penci-pricing-item .penci-pricing__featured li:last-child {
	border-bottom: 0;
}
.penci-pricing-item .penci-pricing__featured li:before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free", FontAwesome;
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 11px;
	color: #2F6BFF;
	font-size: 12px;
}

/* Boton: negro por defecto, azul al pasar o pulsar */
.penci-pricing-item .penci-pricing__btn,
.penci-pricing-item .penci-pricing__btn:visited,
.penci-pricing-item .penci-pricing__btn:link {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .3px;
	text-transform: uppercase;
	text-decoration: none;
	background: #0F1729;
	color: #fff;
	border: 0;
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.penci-pricing-item .penci-pricing__btn:hover,
.penci-pricing-item .penci-pricing__btn:focus,
.penci-pricing-item .penci-pricing__btn:active {
	background: #2F6BFF;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(47,107,255,.35);
}
.penci-pricing-item .penci-pricing__btn:active {
	transform: translateY(1px);
}

/* ============ ESTRELLAS DE REVIEW A LA IZQUIERDA ============ */
.penci-preview-rating-absolute {
	left: 15px !important;
	right: auto !important;
}

/* ============ CAJA DE RESENA - VARIANTE B: NOTA PRIMERO ============ */

/* ============ VALORACIONES DEL PIE DE LA CAJA DE RESEÑA ============ */

/* ============ HOME: CARRUSELES DE CATEGORIA ============ */
/* Solo en la home y solo en los penci_block_6 sin titulo (Imagenes, Texto, Video, Comparativas). No afecta a Ultimas resenas. */
.home .penci-block_6.penci-empty-block-title .penci-block-heading {
	display: none;
}
.home .penci-block_6.penci-empty-block-title {
	background: none;
	border: 0;
	padding: 0;
	margin-bottom: 28px;
}
.home .penci-block_6.penci-empty-block-title .penci-block_content {
	margin-top: 0;
	overflow: visible;
}
.home .penci-block_6.penci-empty-block-title .penci-block_content__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.home .penci-block_6.penci-empty-block-title .penci-post-item {
	margin: 0;
	padding: 0;
	/* El tema le pone width: 33.33% por la clase penci-vc-column-3. Dentro del grid
	   ese 33% se calcula sobre la columna, no sobre la fila, y la tarjeta encoge. */
	width: 100%;
	max-width: none;
	float: none;
	border: 1px solid #e8ecf2;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(15,23,41,.06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.home .penci-block_6.penci-empty-block-title .penci-post-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(15,23,41,.12);
}
.home .penci-block_6.penci-empty-block-title .penci_media_object {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0;
}
.home .penci-block_6.penci-empty-block-title .penci_mobj__img {
	width: 100%;
	max-width: none;
	margin: 0;
	flex: none;
}
.home .penci-block_6.penci-empty-block-title .penci_mobj__body {
	padding: 14px;
}
.home .penci-block_6.penci-empty-block-title .penci__post-title {
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600;
	margin: 0 0 6px;
}
.home .penci-block_6.penci-empty-block-title .penci__post-title a {
	color: #0F1729;
}
.home .penci-block_6.penci-empty-block-title .penci__post-title a:hover {
	color: #2F6BFF;
}
.home .penci-block_6.penci-empty-block-title .penci_post-meta {
	font-size: 12px;
	color: #6B768E;
}

/* Movil: carrusel horizontal con scroll-snap, como el mockup aprobado */
@media (max-width: 767px) {
	.home .penci-block_6.penci-empty-block-title .penci-block_content__items {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 2px 2px 10px;
		margin: 0 -2px;
	}
	.home .penci-block_6.penci-empty-block-title .penci-block_content__items::-webkit-scrollbar {
		display: none;
	}
	.home .penci-block_6.penci-empty-block-title .penci-post-item {
		flex: 0 0 78%;
		max-width: 260px;
		scroll-snap-align: start;
	}
	.home .penci-block_6.penci-empty-block-title .penci-post-item:hover {
		transform: none;
	}
}
/* ============ MOVIL ============ */
@media (max-width: 767px) {
	.penci-pricing-item.penci-pricing-s1 {
		margin-bottom: 24px;
	}
	.penci-pricing-item.penci-pricing_featured {
		transform: none;
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.penci-pricing-item.penci-pricing_featured:hover,
	.penci-pricing-item.penci-pricing-s1:hover {
		transform: none	}
}

/* ============ RESEÑAS: AVISO, BARRAS Y CTA ============ */
.mig-aviso { font-size: 13px; color: #6B768E; }
.mig-barra { margin: 16px 0; }
.mig-barra__cab { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.mig-barra__nota { color: #6B768E; }
.mig-barra__pista { background: #F4F6F8; border-radius: 4px; height: 8px; }
.mig-barra__relleno { background: #2F6BFF; border-radius: 4px; height: 8px; }
.mig-p65 { width: 65%; } .mig-p70 { width: 70%; } .mig-p75 { width: 75%; }
.mig-p80 { width: 80%; } .mig-p85 { width: 85%; } .mig-p90 { width: 90%; }
.mig-p95 { width: 95%; }
.mig-cta-wrap { text-align: center; }
.mig-cta, .mig-cta:visited { display: inline-block; background: #14B87A; color: #fff; padding: 14px 32px; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; }
.mig-cta:hover { background: #0E9A64; color: #fff; }

/* ============ RESEÑAS (clases mig-) ============ */
.mig-summary { background: #F4F6F8; border-left: 3px solid #2F6BFF; border-radius: 8px; padding: 16px 18px; margin: 0 0 4px; }
.mig-summary__title { display: block; margin-bottom: 8px; font-size: 15px; color: #0F1729; }
.mig-summary p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.mig-summary p:last-child { margin-bottom: 0; }
/* El tema centra los blockquote, los pone en mayusculas y les mete dos rayas con
   pseudoelementos. mig-quote no declaraba esas propiedades, asi que no las pisaba. */
blockquote.mig-quote { margin: 20px 0; padding: 2px 0 2px 20px; border-left: 3px solid #2F6BFF; font-size: 20px; line-height: 1.4; font-style: italic; font-weight: 400; color: #0F1729; text-align: left; text-transform: none; letter-spacing: 0; }
blockquote.mig-quote:before, blockquote.mig-quote:after { content: none; display: none; }
blockquote.mig-quote p { margin: 0; font-size: inherit; line-height: inherit; text-align: left; text-transform: none; }
.mig-scores { margin: 8px 0 20px; }
.mig-score { margin-bottom: 14px; }
.mig-score:last-child { margin-bottom: 0; }
/* Barras sueltas entre secciones: a ancho completo en escritorio quedaban
   flotando de lado a lado. Limitadas a una anchura legible. */
.mig-score--inline { margin: 20px 0; max-width: 420px; }
.mig-score__head { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 13px; }
.mig-score__val { color: #6B768E; }
.mig-score__bar { height: 8px; background: #F4F6F8; border-radius: 4px; overflow: hidden; }
.mig-score__fill { height: 8px; background: #2F6BFF; border-radius: 4px; }
.mig-note { background: #EEF3FF; border-left: 3px solid #2F6BFF; border-radius: 8px; padding: 14px 16px; }
.mig-note p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #133486; }
.mig-tests { margin: 12px 0 0; padding-left: 20px; }
.mig-tests li { margin-bottom: 8px; line-height: 1.55; }

/* ============ HOME (clases mig-) ============ */
/* El titulo del hero va en blanco a proposito (fondo oscuro); en el resto de la web los titulos son oscuros */
.mig-hero { background: linear-gradient(180deg,#0F1729 0%,#152140 100%); padding: 40px 24px; }
.mig-hero__badge { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; color: #C7D0E0; }
.mig-hero h1.mig-hero__title { margin: 0 0 14px; font-size: 32px; line-height: 1.2; font-weight: 700; color: #FFFFFF; }
.mig-hero__lead { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: #C7D0E0; }
.mig-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mig-hero__proofs { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.mig-proof { font-size: 13.5px; line-height: 1.5; color: #E4E9F2; }
.mig-proof b { color: #F5A524; font-weight: 600; }
.mig-btn, .mig-btn:visited { display: inline-block; padding: 14px 22px; border-radius: 10px; font-size: 13px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; text-decoration: none; color: #C7D0E0; transition: background .2s ease, border-color .2s ease; }
.mig-btn--primary { background: #0F1729; border: 1px solid rgba(255,255,255,.14); }
.mig-btn--ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.mig-btn:hover, .mig-btn:focus { background: #2F6BFF; border-color: #2F6BFF; color: white; text-decoration: none; }
.mig-cat-intro { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #4a5262; }
.mig-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mig-cat-link, .mig-cat-link:visited { display: block; padding: 14px; background: #F4F6F8; border: 1px solid #e8ecf2; border-radius: 8px; box-shadow: 0 2px 12px rgba(15,23,41,.06); color: #0F1729; text-decoration: none; }
.mig-cat-link:hover { border-color: #2F6BFF; color: #2F6BFF; }
.mig-card { background: #FFFFFF; border: 1px solid #e8ecf2; border-radius: 14px; padding: 22px; box-shadow: 0 2px 12px rgba(15,23,41,.06); }
.mig-card__label { margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #2F6BFF; }
.mig-card__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4a5262; }

/* ============ HOME: CHIPS DE CATEGORIA (clases mig-chip) ============ */
/* Clases nuevas, no comparten selector con mig-cat-grid ni mig-cat-link */
.mig-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
/* Sin <li> a proposito: el contenedor es un div con enlaces sueltos. Las reglas de
   lista del tema (margin-left: 21px con dos clases de selector) ganaban a .mig-chips li
   y separaban los chips. Sin lista no hay nada que pisar. */
.mig-chips > a { flex: 0 0 auto; }
.mig-chip, .mig-chip:visited { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #EEF3FF; border: 1px solid #dbe5fb; color: #1f4fd0; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.mig-chip:hover, .mig-chip:focus { background: #2F6BFF; border-color: #2F6BFF; color: #FFFFFF; text-decoration: none; }
.mig-chip--all, .mig-chip--all:visited { background: #FFFFFF; border-color: #e8ecf2; color: #0F1729; }
@media (max-width: 767px) {
  /* El margin/padding a la derecha deja que asome el siguiente chip, para que se vea que la fila se desliza */
  .mig-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; margin-bottom: 20px; margin-right: -20px; padding-bottom: 6px; padding-right: 20px; }
  .mig-chips li { flex: 0 0 auto; scroll-snap-align: start; }
  .mig-chips::-webkit-scrollbar { height: 0; }
  .mig-chip, .mig-chip:visited { font-size: 13px; padding: 9px 14px; }
}
@media (max-width: 767px) {
  .mig-hero { padding: 28px 20px; }
  .mig-hero__badge { font-size: 11.5px; padding: 5px 12px; margin-bottom: 14px; }
  .mig-hero h1.mig-hero__title { font-size: 26px; line-height: 1.22; color: #FFFFFF; }
  .mig-hero__lead { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
  .mig-hero__actions { flex-wrap: nowrap; gap: 8px; }
  .mig-hero__proofs { flex-direction: column; gap: 8px; margin-top: 16px; }
  .mig-proof { font-size: 13px; }
  .mig-btn { flex: 1 1 0; min-width: 0; text-align: center; padding: 13px 10px; font-size: 12px; line-height: 1.3; }
}

/* ============ PRIORIDAD mig- SOBRE EL TEMA ============ */
/* Solo las propiedades que el tema pisaba a las clases mig- (cascada auditada en Chrome
   el 2026-09-24). Se repite el selector del tema anteponiendolo a la clase mig-, sin
   !important. Las reglas del tema (a, a:hover, ul li, :last-child) siguen igual para
   el resto del contenido. */
/* 1. #content .wpb_text_column :last-child / p:last-child ponen margin-bottom: 0 al
      ultimo hijo de cada bloque de texto, y los bloques mig- siempre lo son. */
.wpb_text_column p.mig-cat-intro, #content .wpb_text_column p.mig-cat-intro { margin-bottom: 18px; }
.wpb_text_column .mig-chips, #content .wpb_text_column .mig-chips { margin-bottom: 26px; }
.wpb_text_column .mig-summary, #content .wpb_text_column .mig-summary { margin-bottom: 4px; }
.wpb_text_column blockquote.mig-quote, #content .wpb_text_column blockquote.mig-quote { margin-bottom: 20px; }
.wpb_text_column .mig-scores, #content .wpb_text_column .mig-scores { margin-bottom: 20px; }
.wpb_text_column .mig-score--inline, #content .wpb_text_column .mig-score--inline { margin-bottom: 20px; }
.wpb_text_column .mig-barra, #content .wpb_text_column .mig-barra { margin-bottom: 16px; }
/* 2. .wpb_text_column a (color #3f51b5, transition all .3s) y .wpb_text_column a:hover (underline) */
.wpb_text_column a.mig-chip, .wpb_text_column a.mig-chip:visited { color: #1f4fd0; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.wpb_text_column a.mig-chip--all, .wpb_text_column a.mig-chip--all:visited { color: #0F1729; }
.wpb_text_column a.mig-chip:hover, .wpb_text_column a.mig-chip:focus { color: #FFFFFF; text-decoration: none; }
.wpb_text_column a.mig-btn, .wpb_text_column a.mig-btn:visited { color: #C7D0E0; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.wpb_text_column a.mig-btn:hover, .wpb_text_column a.mig-btn:focus { color: white; text-decoration: none; }
/* 2b. El CTA de las resenas: .entry-content a (0-1-1) ganaba a .mig-cta (0-1-0)
      y pintaba el texto en azul sobre el fondo verde. */
.entry-content a.mig-cta, .entry-content a.mig-cta:visited,
.wpb_text_column a.mig-cta, .wpb_text_column a.mig-cta:visited { color: #fff; text-decoration: none; }
.entry-content a.mig-cta:hover, .entry-content a.mig-cta:focus,
.wpb_text_column a.mig-cta:hover, .wpb_text_column a.mig-cta:focus { background: #0E9A64; color: #fff; text-decoration: none; }
/* 2c. CTA sin afiliado en navy: el verde queda reservado a enlaces de afiliado (regla de paleta).
      Va aqui para ganar por orden a las reglas verdes de arriba con la misma especificidad. */
.mig-cta--neutral, .mig-cta--neutral:visited { background: #0F1729; }
.mig-cta--neutral:hover, .mig-cta--neutral:focus,
.entry-content a.mig-cta--neutral:hover, .entry-content a.mig-cta--neutral:focus,
.wpb_text_column a.mig-cta--neutral:hover, .wpb_text_column a.mig-cta--neutral:focus { background: #2A3444; }
/* 3. .wpb_text_column ul li (margin-left 35px) separaba los chips */
.wpb_text_column .mig-chips li { margin-left: 0; }
@media (max-width: 767px) {
  .wpb_text_column .mig-chips, #content .wpb_text_column .mig-chips { margin-bottom: 20px; }
}
/* Tarjeta "Como puntuamos": sin margen quedaba pegada al pie (mismo :last-child del tema) */
.wpb_text_column .mig-card, #content .wpb_text_column .mig-card { margin-bottom: 28px; }

/* ============ HOME: AJUSTES DEL MOCKUP (2026-09-24) ============ */
/* Fondo gris de la home para que las tarjetas blancas se separen. El tema pone
   blanco en body.custom-background (0-1-1) y en .wpb_text_column. */
body.home, body.home.custom-background { background-color: #F4F6F8; }
.home .wpb_text_column { background: transparent; }
/* H2 de categoria: el tema solo los estiliza con "h2" (28px, 600, sin margen).
   La entradilla ya no sube con margin-top negativo, la separacion la da el H2. */
.home h2.vc_custom_heading { font-weight: 700; color: #0F1729; margin-bottom: 8px; }
/* Titulares en navy de la paleta. :not(:hover) para no pisar el hover azul del tema. */
.home #main .penci-block__title, .home #main .penci-block__title a { color: #0F1729; }
.home #main .penci__post-title a:not(:hover) { color: #0F1729; }
@media (max-width: 767px) {
  .home h2.vc_custom_heading { font-size: 21px; line-height: 1.25; }
}

/* ============ HOME: ULTIMAS RESENAS EN CAJA BLANCA ============ */
/* El unico penci_block_6 de la home CON titulo. El tema le pone cabecera en
   mayusculas con raya azul y separadores entre entradas. */
.home #main .penci-block_6:not(.penci-empty-block-title) { background: #fff; border: 1px solid #e8ecf2; border-radius: 14px; padding: 18px; margin-bottom: 28px; box-shadow: 0 2px 12px rgba(15,23,41,.06); }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-block-heading { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-block-heading:after { display: none; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-block__title { font-size: 18px; font-weight: 700; text-transform: none; padding: 0; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-block__title span { color: #0F1729; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-post-item { border-bottom: 0; margin-bottom: 14px; padding: 0; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-post-item:last-child { margin-bottom: 0; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci_media_object { margin-bottom: 0; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci_media_object .penci_mobj__img { margin-right: 12px; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-image-holder { width: 80px; height: 56px; border-radius: 8px; overflow: hidden; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci-image-holder:before { padding-top: 0; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci__post-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.home #main .penci-block_6:not(.penci-empty-block-title) .penci_post-meta { margin-top: 3px; color: #6B768E; }

/* ============ HOME MOVIL: MARGENES 20px, HERO A SANGRE, IMAGEN 130px ============ */
@media (max-width: 767px) {
  /* El tema deja .site-main a 10px hasta 1024px */
  .home #main.site-main { padding-left: 20px; padding-right: 20px; }
  /* .wpb_text_column lleva overflow hidden y recortaba el hero a sangre y el asomo de los chips */
  .home .wpb_text_column { overflow: visible; }
  .home .mig-hero { margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .home .penci-block_6.penci-empty-block-title .penci-image-holder { height: 130px; }
  .home .penci-block_6.penci-empty-block-title .penci-image-holder:before { padding-top: 0; }
}

/* ============ AVISO DE COOKIES: PALETA DE MARCA ============ */
/* El plugin GDPR Cookie Compliance sirve Nunito y #0C4DA2 desde sus propios
   ajustes. Estas reglas van despues en la cascada, asi que ganan sin !important
   salvo donde el plugin ya lo usa. Si algun dia se cambia el color en los
   ajustes del plugin, esto se puede borrar entero. */
#moove_gdpr_cookie_info_bar,
#moove_gdpr_cookie_modal,
.gdpr_cookie_settings_shortcode_content { font-family: 'Poppins', sans-serif; }
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton { background-color: #14B87A; }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton { background-color: #14B87A; border-color: #14B87A; }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover { background-color: #fff; color: #14B87A; }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close span.gdpr-icon { background-color: #14B87A; border-color: #14B87A; }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button { color: #14B87A; }
#moove_gdpr_cookie_info_bar { background-color: #0F1729; border-top-color: #2A3444; }
/* En movil ocupaba media pantalla: texto mas compacto y botonera en una fila */
@media (max-width: 767px) {
  #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container { padding: 12px 14px; }
  #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p { font-size: 12.5px; line-height: 1.4; }
  #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice { margin-bottom: 8px; }
  #moove_gdpr_cookie_info_bar .moove-gdpr-button-holder { flex-wrap: nowrap; }
}

/* ============ HOME ESCRITORIO: ANCHO MAXIMO ============ */
/* La home usa la plantilla full-width y el contenido ocupaba todo el ancho de la
   pantalla. Mismo ancho que el contenedor del tema en las resenas (1200px, 15px). */
@media (min-width: 768px) {
  .home #main.site-main { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
}

/* ============ PÁGINA DE AUTOR 2330 (2026-10-11) ============ */
/* Chips centrados y en varias líneas en móvil (sin el carrusel horizontal de la home) */
.mig-chips--center { justify-content: center; }
@media (max-width: 767px) { .mig-chips.mig-chips--center { flex-wrap: wrap; overflow-x: visible; margin-right: 0; padding-right: 0; } }
/* Botón centrado con margen superior y auto a los lados; sin fondo blanco detrás */
.wpb_text_column a.mig-cta.mig-cta--center, a.mig-cta.mig-cta--center { display: block; width: fit-content; margin: 24px auto 0; }
.mig-section .wpb_text_column, .mig-section .wpb_text_column .wpb_wrapper, .mig-section .wpb_text_column p { background: transparent; }

/* ============ HOME: SEPARADORES ENTRE BLOQUES (mig-section) ============ */
.mig-section { border-top: 1px solid #CCD6F0; margin-top: 64px; padding-top: 40px; background: #F5F7FC; }
@media (max-width: 767px) {
  .mig-section { margin-top: 40px; padding-top: 24px; }
}

/* ============ MENU MOVIL: FONDO CLARO, SIN LOGO, SUBMENU ABIERTO ============ */
/* Panel lateral del tema (#sidebar-nav). Los colores del Customizer (Mobile Nav)
   eran navy con texto claro; aqui se pisan a claro/oscuro para no depender de ellos. */
@media (max-width: 1024px) {
  #sidebar-nav { background: #FFFFFF; }
  #sidebar-nav .menu li a,
  #sidebar-nav .menu li a:visited { color: #0F1729; border-color: #E8ECF2; }
  #sidebar-nav .menu li { border-color: #E8ECF2; }

  /* Sin logo ni texto de marca en el panel */
  #sidebar-nav-logo { display: none; }

  /* Submenus siempre abiertos, sin flecha. !important porque el tema los
     abre y cierra con JS escribiendo display en linea. */
  #sidebar-nav .menu .sub-menu { display: block !important; height: auto !important; margin: 0; padding: 0; }
  #sidebar-nav .dropdown-toggle { display: none !important; }

  /* "Herramientas" no tiene enlace: se muestra como rotulo de seccion,
     sin reaccionar al toque. Comparativas y Resenas no tienen hijos y no se ven afectados. */
  #sidebar-nav .menu > li.menu-item-has-children > a {
    pointer-events: none; font-size: 12.5px; font-weight: 600; color: #6B768E; padding-bottom: 4px;
  }
  #sidebar-nav .menu .sub-menu li a { padding-left: 16px; font-weight: 500; }

  /* Sin cambio de fondo al pulsar: ni el resaltado azul de Android/iOS ni los
     estados hover/focus/active/current del tema. El item actual se marca solo con color. */
  #sidebar-nav a { -webkit-tap-highlight-color: transparent; }
  #sidebar-nav .menu li a:hover,
  #sidebar-nav .menu li a:focus,
  #sidebar-nav .menu li a:active,
  #sidebar-nav .menu li.current-menu-item > a,
  #sidebar-nav .menu li.current-menu-ancestor > a,
  #sidebar-nav .menu li.current-menu-parent > a { background: transparent; box-shadow: none; outline: none; }
  #sidebar-nav .menu li a:active,
  #sidebar-nav .menu li.current-menu-item > a { color: #2F6BFF; }
  #sidebar-nav .menu li a:focus-visible { outline: 2px solid #2F6BFF; outline-offset: -2px; }
}
#wpadminbar {
  z-index: 10000000 !important;
}
@media screen and (max-width: 782px) {
  .admin-bar #wpadminbar {
    position: fixed !important;
  }
}

/* ============ BOTON FAVORITOS (plugin mbfp): VERDE DE MARCA ============ */
/* El plugin pinta el boton con #2ABA66 en estilo en linea; por eso !important.
   Todos los botones verdes de la web usan #14B87A (hover #0E9A64). */
.mbfp-btn { background: #14B87A !important; }
.mbfp-btn:hover { background: #0E9A64 !important; }

/* ============ RESEÑAS: H2 CON LÍNEA BAJO EL TÍTULO (2026-10-08) ============ */
/* Fuente, tamaño, color y grosor los pone el tema (use_theme_fonts); aquí solo la línea, debajo del texto. */
h2.mig-h2 { padding-bottom: 8px; border-bottom: 2px solid #2F6BFF; }
h2.mig-h2 { padding-bottom: 8px; border-bottom: 2px solid #2F6BFF; }

/* ============ HOME ESCRITORIO: HERO (2026-10-09) ============ */
/* El hero es una fila WPBakery stretch_row con padding lateral 0 !important en su clase vc_custom.
   El JS de WPBakery pone ahi el padding que alinea el contenido con el contenedor, y ese !important
   lo anulaba: en escritorio el texto quedaba pegado al borde de la pantalla y la entradilla corria
   de lado a lado. Se alinea desde dentro con el mismo contenedor de 1200px de .home #main.site-main,
   sin tocar la fila ni el contenido. Todo desde 768px: en movil no cambia nada. */
@media (min-width: 768px) {
  .home .vc_row[data-vc-full-width="true"] > .vc_column_container > .vc_column-inner { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .home .vc_row[data-vc-full-width="true"] p.vc_custom_heading { max-width: 720px; }
  /* El tamano del H1 va en un style en linea que genera WPBakery (28px): por eso el !important. 32px es el valor del mockup. */
  .home .vc_row[data-vc-full-width="true"] h1.vc_custom_heading { font-size: 32px !important; }

  /* Botones: tres divs .mig-hero__actions seguidos salian en tres filas. En escritorio pasan a una sola fila que salta de linea. */
  .home .wpb_wrapper:has(> .mig-hero__actions) { display: flex; flex-wrap: wrap; gap: 10px; }
  .home .wpb_wrapper:has(> .mig-hero__actions) > .mig-hero__actions { display: contents; }

  /* Tres pruebas del hero (Uso real, Precios verificados, Nota desglosada): en fila en vez de apiladas. */
  .home .vc_row[data-vc-full-width="true"] .vc_inner .vc_column-inner > .wpb_wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }

  /* Clearfix del tema (::before/::after con display:table): dentro de flex o grid se convierten en items y descolocan la fila. */
  .home .wpb_wrapper:has(> .mig-hero__actions)::before,
  .home .wpb_wrapper:has(> .mig-hero__actions)::after,
  .home .vc_row[data-vc-full-width="true"] .vc_inner .vc_column-inner > .wpb_wrapper::before,
  .home .vc_row[data-vc-full-width="true"] .vc_inner .vc_column-inner > .wpb_wrapper::after { content: none; display: none; }
}

/* Hero escritorio, correccion (2026-10-09): el max-width de arriba no centraba porque la columna interna
   lleva vc_col-sm-12 y WPBakery la flota a la izquierda (un float ignora margin auto). Se quita el float y se
   iguala la sangria a la de las secciones de categoria: contenedor de 1200px + 35px (15 del contenedor,
   20 del padding de su fila). El fondo sigue a ancho completo. */
@media (min-width: 768px) {
  .home .vc_row[data-vc-full-width="true"] > .vc_column_container > .vc_column-inner { float: none; box-sizing: border-box; padding-left: 35px; padding-right: 35px; }
}

/* Hero a ancho completo desde el primer pintado (2026-10-09). WPBakery estira la fila con JS: hasta que corre,
   la fila mide lo que el contenedor y se ven franjas blancas a los lados. Mientras data-vc-full-width-init
   sea "false" se le da el mismo ancho completo con CSS; cuando el JS corre pone su left/width en linea,
   que ganan a esta regla y dan la misma geometria, asi que no hay salto. */
.home .vc_row[data-vc-full-width="true"][data-vc-full-width-init="false"] { position: relative; left: calc(50% - 50vw); width: 100vw; max-width: 100vw; box-sizing: border-box; }

/* Correccion del anterior (2026-10-09): .vc_row lleva margin -15px a cada lado y mi regla previa al JS no lo anulaba,
   asi que el contenido salia unos 15px a la izquierda y saltaba al iniciarse el JS. */
.home .vc_row[data-vc-full-width="true"][data-vc-full-width-init="false"] { margin-left: 0; margin-right: 0; }

/* Correccion del anterior (2026-10-09): el JS de WPBakery lee el margin de la fila al estirarla y compensa con
   su left. Mi margin 0 solo valia mientras init="false", y al pasar a "true" volvia el -15px de .vc_row, con lo
   que la fila terminaba 15px a la izquierda de lo calculado. El margin 0 va en los dos estados. */
.home .vc_row[data-vc-full-width="true"] { margin-left: 0; margin-right: 0; }

/* ===== Cajas de precios: misma altura en web y móvil ===== */
.vc_row:has(.penci-pricing-item) { display: flex; flex-wrap: wrap; }
.vc_row:has(.penci-pricing-item)::before,
.vc_row:has(.penci-pricing-item)::after { display: none; }
.wpb_column:has(.penci-pricing-item) { display: flex; }
.wpb_column:has(.penci-pricing-item) > .vc_column-inner,
.wpb_column:has(.penci-pricing-item) .wpb_wrapper { display: flex; flex-direction: column; width: 100%; flex: 1; }
.penci-pricing-item.penci-pricing-s1 { flex: 1; display: flex; flex-direction: column; }
.penci-pricing-item .penci-pricing-inner { flex: 1; display: flex; flex-direction: column; }
.penci-pricing-item .penci-pricing__featured { flex: 1; }
@media (max-width: 767px) {
	.wpb_column:has(.penci-pricing-item) { width: 100%; }
}

/* ===== Logo (archivo 2000x220 recortado en Medios): recorte lateral y tamaño por pantalla ===== */
.custom-logo-link { --lw: 340px; display: inline-block; overflow: hidden; width: var(--lw); height: calc(var(--lw) * 220 / 990); line-height: 0; vertical-align: middle; }
.custom-logo-link img.custom-logo { width: calc(var(--lw) * 2000 / 990) !important; max-width: none !important; height: auto !important; max-height: none !important; margin: 0 0 0 calc(var(--lw) * -505 / 990) !important; }
.header__top .site-branding .custom-logo-link { display: block; margin: 0 auto; }
.penci-header-mobile .custom-logo-link { --lw: 190px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.penci-header-mobile .custom-logo-link img.custom-logo { position: static !important; transform: none !important; }
#sidebar-nav-logo .custom-logo-link { --lw: 200px; }
@media (max-width: 1024px) { .header__top .site-branding .custom-logo-link { --lw: 280px; } }

/* La caja de valoración (Penci Review) está ahora en assets/css/mig-review-box.css */
