/* Home: los 4 bloques de texto SEO como tarjetas desplegables 2x2 (<details>: el texto sigue en el HTML para Google). */
.pr-seo-grid {
  --pr-verde: #a2bf2c; --pr-verde-oscuro: #788e1e; --pr-verde-claro: #eef2dc; --pr-texto: #1f2119; --pr-linea: #e3e5dc;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start;
  margin: 32px 0; font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.pr-seo-bloque {
  margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid #dfe6c4; box-shadow: none;
}
.pr-seo-tit {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; cursor: pointer; list-style: none;
  background: var(--pr-verde-claro); color: #4f5e14; transition: background-color .15s;
}
.pr-seo-tit::-webkit-details-marker { display: none; }
.pr-seo-tit::marker { content: ''; }
.pr-seo-tit:hover { background: #e4ebcb; }
.pr-seo-tit:focus-visible { outline: 3px solid var(--pr-verde-oscuro); outline-offset: 2px; }
.pr-seo-tit h2, .pr-seo-tit h3 {
  flex: 1; margin: 0; padding: 0; border: 0; background: none; color: #4f5e14 !important;
  font: 600 16px/1.3 Raleway, system-ui, sans-serif !important; text-transform: none; letter-spacing: 0;
}
.pr-seo-tit::after {
  content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5e14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px; transition: transform .2s;
}
.pr-seo-bloque[open] > .pr-seo-tit::after { transform: rotate(180deg); }
.pr-seo-cuerpo { padding: 18px 22px 22px; color: var(--pr-texto); font-size: 15px; line-height: 1.6; }
/* el texto conserva su marcado original; se quitan los recuadros/fondos heredados de .section-content */
#content .pr-seo-cuerpo .section-content { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.pr-seo-cuerpo h3 { margin: 18px 0 8px; font: 700 17px/1.3 Raleway, system-ui, sans-serif; color: var(--pr-verde-oscuro); }
.pr-seo-cuerpo a { color: #4f5e14; }
/* «La mejor selección…» arrastra estilos antiguos con !important (#content .home-full .home-seo-links) */
#content .pr-seo-grid .home-seo-links.pr-seo-bloque { padding: 0 !important; margin: 0 !important; border: 1px solid #dfe6c4 !important; background: #fff !important; }

@media (max-width: 760px) {
  .pr-seo-grid { grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
  .pr-seo-tit { min-height: 52px; padding: 12px 14px; }
  .pr-seo-tit h2, .pr-seo-tit h3 { font-size: 15px !important; }
  .pr-seo-cuerpo { padding: 16px 18px 20px; }
}
