/* =====================================================
RESET ENLACES (ESTABLES)
===================================================== */
a,
a:visited,
a:hover,
a:active {
color: #000000 !important;
text-decoration: none;
font-size: 16px;
}

/* Evita reflow en hover */
a {
display: inline-block;
}

/* =====================================================
CONTENIDO
===================================================== */
.entry-content {
text-align: justify;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

/* Evitar comportamientos raros en enlaces dentro de texto */
.entry-content a {
text-align: left;
}

/* =====================================================
TIPOGRAFÍA
===================================================== */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content span,
.entry-content div {
font-family: 'Alegreya', serif !important;
}

/* Mantener coherencia en enlaces */
.entry-content a,
.entry-content a:visited,
.entry-content a:hover,
.entry-content a:active {
font-family: inherit !important;
}

/* =====================================================
FIX DEFINITIVO: TÍTULOS SIN TEMBLOR
===================================================== */

/* Quitar animaciones y escalados del tema */
.entry-title,
.entry-title a,
.entry-title a:hover,
.post-title,
.post-title a,
.post-title a:hover,
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
transform: none !important;
transition: none !important;
animation: none !important;
}

/* Evitar cambios de tamaño en hover */
.entry-title a,
.post-title a,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
font-size: inherit !important;
}

/* Mantener estabilidad del layout */
.entry-title a,
.post-title a {
display: inline-block;
}

/* =====================================================
EXTRA: DESACTIVAR TRANSICIONES GLOBALES PROBLEMÁTICAS
===================================================== */
*:hover {
transition: none !important;
}
/* =====================================================
FIX DEFINITIVO LOGO / SITE TITLE (GUTENBERG)
===================================================== */

.wp-block-site-title,
.wp-block-site-title a,
.wp-block-site-title a:hover {
transform: none !important;
transition: none !important;
animation: none !important;
}

/* 🔥 CLAVE: evitar cambios de anchura */
.wp-block-site-title {
letter-spacing: -0.05rem !important;
}

/* Evitar reflow en hover */
.wp-block-site-title a {
display: inline-block;
font-size: inherit !important;
}

/* Por si el tema toca spacing en hover */
.wp-block-site-title:hover,
.wp-block-site-title a:hover {
letter-spacing: -0.05rem !important;
}
/* =====================================================
ÍNDICE TIPO REVISTA (PÁGINAS WP)
===================================================== */

.wp-block-pages-list {
list-style: none;
margin: 0;
padding: 0;
}

/* Cada elemento como bloque editorial */
.wp-block-pages-list__item {
margin-bottom: 12px;
}

/* Caja estilo revista */
.wp-block-pages-list__item__link {
display: block;
padding: 16px 18px;
background: #f7f6f2; /* tono papel */
border-left: 4px solid #111; /* marca editorial */
border-radius: 6px;

text-decoration: none !important;
color: #111 !important;

font-family: 'Georgia', 'Times New Roman', serif;
font-size: 15.5px;
line-height: 1.4;

transition: all 0.25s ease;
}

/* Hover sutil editorial */
.wp-block-pages-list__item__link:hover {
background: #efeee9;
border-left-width: 6px;
transform: translateX(3px);
}

/* Efecto de lectura activa */
.wp-block-pages-list__item__link:active {
transform: translateX(1px);
}
/* Quitar viñetas del listado */
.wp-block-pages-list {
list-style: none;
padding-left: 0;
}

/* Ocultar completamente el item "Joc ocult" */
.wp-block-pages-list__item:has(a[href*="joc-ocult"]) {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}
/* Ocultar completamente el item "Els camins de Sísif" */
.wp-block-pages-list__item:has(a[href*="/els-camins-de-sisif-1970/"]) {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}
.wp-block-pages-list__item:has(a[href*="/infinitesimal-eternity/"]) {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}