/* ═══════════════════════════════════════
   RCAD PRO — global.css v3.2
   Tipografía + ancho de lectura optimizado AdSense
   ═══════════════════════════════════════ */

/* ── Título del artículo ───────────────── */
.default-header .title {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   ANCHO DE LECTURA — estrategia AdSense
   ───────────────────────────────────────
   .entry-content NO lleva max-width para que
   los banners (.banner del padre + nuestros
   .rcad-ad-inline) ocupen el contenedor completo
   y tengan fill-width nativo de AdSense.
   El ancho de 740px se aplica SOLO a los
   elementos de texto (p, h2, h3, ul, etc.)
   mediante selectores > (hijo directo).
   ═══════════════════════════════════════ */

.entry-content {
    font-size: 16.8px;
    line-height: 1.75;
    color: #374151;
    /* Centrar el bloque de contenido en el contenedor del post */
    margin-left: auto;
    margin-right: auto;
}

/* Ancho óptimo de lectura = 740px
   (entre 700–760 recomendados para columnas con AdSense;
   740 deja margen para caracteres largos en español). */
.entry-content > p,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > table,
.entry-content > dl,
.entry-content > figure:not(.wp-block-image),
.entry-content > .wp-block-separator,
.entry-content > .wp-block-quote,
.entry-content > .wp-block-table,
.entry-content > .wp-block-list,
.entry-content > .wp-block-paragraph {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

/* Imágenes de ancho completo siguen completas */
.entry-content > .wp-block-image.alignwide,
.entry-content > .wp-block-image.alignfull,
.entry-content > .alignwide,
.entry-content > .alignfull {
    max-width: 100%;
    width: 100%;
}

/* ── PÁRRAFOS ──────────────────────────── */
.entry-content p {
    margin-bottom: 1.25em;
}

/* ── LISTAS ────────────────────────────── */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.3em;
    padding-left: 1.4em;
    line-height: 1.7;
}

/* ── H1 ────────────────────────────────── */
.entry-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: .6em;
}

/* ── H2 ────────────────────────────────── */
.entry-content h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2em;
    margin-bottom: .55em;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ── H3 ────────────────────────────────── */
.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5em;
    margin-bottom: .35em;
    line-height: 1.35;
}

/* ── H4 ────────────────────────────────── */
.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.3em;
}

/* ── Énfasis ───────────────────────────── */
.entry-content strong {
    font-weight: 600;
    color: #111827;
}

/* ── Enlaces ───────────────────────────── */
.entry-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, .35);
    transition: all .15s ease;
}
.entry-content a:hover {
    border-bottom: 1px solid #2563eb;
}

/* Los enlaces dentro de anuncios NO deben tener borde azul */
.entry-content .rcad-ad-inline a,
.entry-content .banner a {
    border-bottom: none;
}

/* ── Separador ─────────────────────────── */
.wp-block-separator {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}

/* ── Neutralizar SVG de búsqueda Orbital ── */
.btn-search-form svg,
.search-submit svg,
.search-form svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
}

/* ── Logo centrado ─────────────────────────────────────────── */
.site-header .container.header-inner {
    justify-content: center !important;
}
.site-header .site-logo {
    margin: 0 auto !important;
}
.site-header .site-logo img {
    max-width: 450px !important;
    height: auto !important;
}
@media (max-width: 999px) {
    .site-header .site-logo {
        text-align: center !important;
    }
    .site-header .site-logo img {
        max-width: 320px !important;
        height: auto !important;
    }
}
