/* Franquicia Económica Blog: solo lo propio de WordPress. El diseño base viene de estilos.css del sitio. */
body.feb-blog { margin: 0; }
.admin-bar .cabecera { top: 32px; }
@media (max-width: 782px) { .admin-bar .cabecera { top: 46px; } }

/* Bloques de Gutenberg dentro del texto */
.prosa img { border-radius: 16px; height: auto; }
.prosa figure { margin-left: 0; margin-right: 0; }
.prosa figcaption, .prosa .wp-element-caption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.prosa .wp-block-image { margin-top: 1.6em; }
.prosa .alignleft { float: left; max-width: 46%; margin: .4em 24px 12px 0; }
.prosa .alignright { float: right; max-width: 46%; margin: .4em 0 12px 24px; }
.prosa .aligncenter { margin-left: auto; margin-right: auto; }
.prosa .wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; margin-top: 1.4em; }
.prosa .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prosa .wp-block-table th, .prosa .wp-block-table td { padding: 12px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prosa .wp-block-table thead th, .prosa .wp-block-table thead td { background: var(--navy); color: #fff; font-family: Outfit, sans-serif; font-size: 15.5px; }
.prosa .wp-block-table thead { border-bottom: 0; }
.prosa .wp-block-table tbody tr:nth-child(even) { background: #fafafb; }
.prosa .wp-block-table tbody tr:last-child > * { border-bottom: 0; }
.prosa blockquote, .prosa .wp-block-quote, .prosa .wp-block-pullquote { margin: 1.6em 0 0; padding: 4px 0 4px 18px; border: 0; border-left: 4px solid var(--red); font: 600 20px/1.45 'DM Sans', sans-serif; color: var(--navy); background: none; text-align: left; }
.prosa blockquote cite, .prosa .wp-block-quote cite { display: block; margin-top: 10px; font: 400 14px 'DM Sans', sans-serif; color: var(--muted); }
.prosa details { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-top: 10px; }
.prosa details[open] { border-color: var(--navy); }
.prosa details summary { cursor: pointer; padding: 16px 20px; font: 700 17px/1.35 Outfit, sans-serif; }
.prosa details > :not(summary) { padding: 0 20px 18px; margin: 0; }
.prosa .wp-block-buttons { margin-top: 1.4em; }
.prosa .wp-block-button__link { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 12px; background: var(--navy); color: #fff !important; font: 800 15px 'DM Sans', sans-serif; text-decoration: none !important; }
.prosa .wp-block-button__link:hover { background: var(--navy-dark); }
.prosa .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.prosa .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prosa .wp-block-embed iframe, .prosa iframe { max-width: 100%; border-radius: 16px; }
.prosa .wp-block-embed__wrapper { position: relative; }
.prosa::after { content: ''; display: table; clear: both; }

/* Yoast: preguntas frecuentes y cómo hacer */
.prosa .schema-faq { display: grid; gap: 10px; margin-top: 1.2em; }
.prosa .schema-faq-section { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.prosa .schema-faq-question { display: block; font: 700 17px/1.35 Outfit, sans-serif; color: var(--ink); }
.prosa .schema-faq-answer { margin: 8px 0 0; }

/* Autor, temas y compartir */
.prosa .feb-autor { margin-top: 2.4em; }
.feb-temas { font-size: 14px; color: var(--muted); }
.feb-temas a { margin-right: 6px; }
.feb-compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 2.4em !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.feb-copiar { font: 700 14px 'DM Sans', sans-serif; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.feb-copiar:hover { border-color: var(--navy); }
.feb-copiado { color: var(--wa-dark); font-weight: 700; }

/* Búsqueda y paginación del índice */
.feb-buscar { display: flex; gap: 10px; margin-bottom: 2.4em; }
.feb-buscar input[type=search] { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font: 400 16px 'DM Sans', sans-serif; background: #fff; }
.feb-buscar input[type=search]:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.feb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guia-img img { width: 100%; height: 100%; object-fit: cover; }
.feb-paginacion .nav-links, .feb-paginas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.feb-paginacion .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; text-decoration: none !important; color: var(--navy) !important; }
.feb-paginacion .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.feb-paginacion .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 650px) {
  .prosa .alignleft, .prosa .alignright { float: none; max-width: 100%; margin: 1.4em 0 0; }
  .feb-buscar { flex-direction: column; }
}
