/* Estilos propios del blog (el css/styles.css del sitio es un Tailwind purgado) */
@font-face {
  font-family: 'Fraunces';
  src: url('../Fraunces.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
:root { --azul: #0a1456; --rojo: #dc2626; --verde-wa: #25D366; --texto: #1f2937; --gris: #4b5563; }
* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--texto); background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
a:hover { color: var(--rojo); }

.b-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.b-header-in { max-width: 72rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; }
.b-header img { height: 3.5rem; width: auto; }
.b-nav { display: flex; gap: 1.25rem; font-weight: 600; font-size: .95rem; }
.b-nav a { text-decoration: none; }
.b-cta { background: var(--rojo); color: #fff !important; padding: .5rem 1rem; border-radius: .375rem; font-weight: 700; text-decoration: none; font-size: .9rem; white-space: nowrap; }
@media (max-width: 560px) { .b-nav { display: none; } }

.b-hero { background: var(--azul); color: #fff; text-align: center; padding: 3.5rem 1rem; }
.b-hero h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.2; margin: 0; }
.b-hero p { margin: .75rem auto 0; max-width: 40rem; color: #d1d5db; }

.b-wrap { max-width: 72rem; margin: 0 auto; padding: 3rem 1rem; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.b-card { display: block; text-decoration: none; color: inherit; border-radius: .5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: box-shadow .2s; background: #fff; }
.b-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.15); color: inherit; }
.b-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.b-card-body { padding: 1.25rem; }
.b-card h2 { font-size: 1.15rem; line-height: 1.35; margin: 0; color: var(--azul); }
.b-card p { margin: .5rem 0 0; font-size: .92rem; color: var(--gris); }
.b-meta { font-size: .8rem; color: #6b7280; }

.b-article { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.b-article .b-crumbs { font-size: .85rem; color: #6b7280; }
.b-article h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--azul); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.2; margin: .75rem 0 .5rem; }
.b-article h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--azul); font-size: 1.5rem; line-height: 1.3; margin: 2.25rem 0 .5rem; }
.b-article h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
.b-article .b-cover { width: 100%; border-radius: .5rem; margin: 1.5rem 0; aspect-ratio: 16/9; object-fit: cover; }
.b-article .b-lead { font-size: 1.15rem; color: var(--gris); }
.b-article ul, .b-article ol { padding-left: 1.25rem; }
.b-article li { margin: .35rem 0; }
.b-table-wrap { overflow-x: auto; margin: 1rem 0; }
.b-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.b-table th, .b-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid #e5e7eb; }
.b-table th { background: #f3f4f6; color: var(--azul); }
.b-table td:last-child, .b-table th:last-child { text-align: right; white-space: nowrap; }
.b-box { background: #f3f4f6; border-left: 4px solid var(--rojo); padding: 1rem 1.25rem; border-radius: .25rem; margin: 1.5rem 0; }
.b-quote { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.1rem; border-left: 3px solid var(--azul); margin: 1rem 0; padding: .25rem 0 .25rem 1rem; color: var(--azul); }
.b-wa-btn { display: inline-block; background: var(--verde-wa); color: #fff !important; font-weight: 700; padding: .8rem 1.4rem; border-radius: .375rem; text-decoration: none; margin-top: .5rem; }
.b-wa-btn:hover { filter: brightness(.95); }
.b-more { margin-top: 3rem; border-top: 1px solid #e5e7eb; padding-top: 2rem; }

.b-footer { background: var(--azul); color: #d1d5db; text-align: center; padding: 2.5rem 1rem; font-size: .85rem; }
.b-footer a { color: #fff; }
.b-wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40; width: 56px; height: 56px; border-radius: 9999px; background: var(--verde-wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.b-wa-float img { width: 32px; height: 32px; }
/* Barra lateral de redes + WhatsApp (igual que en el inicio) */
.b-social { position: fixed; top: 40%; right: 0; z-index: 40; display: flex; flex-direction: column; gap: 2px; }
.b-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--azul); }
.b-social a:hover { background: var(--rojo); }
.b-social a[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.b-social .b-social-wa { background: var(--verde-wa); }
.b-social img { width: 24px; height: 24px; }
