/* ==========================================
   DECLARACIÓN DE FUENTES EN assets/css/fuentes.css
   ========================================== */

/* Gilroy (.ttf) */
@font-face {
    font-family: 'Gilroy-Bold';
    src: url('../font/Gilroy-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Heavy';
    src: url('../font/Gilroy-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Light';
    src: url('../font/Gilroy-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Regular';
    src: url('../font/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Novecento Wide (.otf) */
@font-face {
    font-family: 'Novecento WideBold';
    src: url('../font/Novecento WideBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Novecento WideNormal';
    src: url('../font/Novecento WideNormal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================
   REGLAS PARA LECTURA DEL CONTENIDO GENERADO
   ========================================== */

.noticia-contenido {
    font-family: 'Gilroy-Regular', sans-serif;
}

.noticia-contenido span[style*="Gilroy-Heavy"],
span[style*="Gilroy-Heavy"] {
    font-family: 'Gilroy-Heavy', sans-serif !important;
}

.noticia-contenido span[style*="Gilroy-Bold"],
span[style*="Gilroy-Bold"] {
    font-family: 'Gilroy-Bold', sans-serif !important;
}

.noticia-contenido span[style*="Gilroy-Light"],
span[style*="Gilroy-Light"] {
    font-family: 'Gilroy-Light', sans-serif !important;
}

.noticia-contenido span[style*="Gilroy-Regular"],
span[style*="Gilroy-Regular"] {
    font-family: 'Gilroy-Regular', sans-serif !important;
}

.noticia-contenido span[style*="Novecento WideBold"],
span[style*="Novecento WideBold"] {
    font-family: 'Novecento WideBold', sans-serif !important;
}

.noticia-contenido span[style*="Novecento WideNormal"],
span[style*="Novecento WideNormal"] {
    font-family: 'Novecento WideNormal', sans-serif !important;
}


/* Estilo del contenedor */
.encabezado-nota {
    background-color: #621132 !important;
}

/* Estilo del H1 dentro del contenedor - Hereda la fuente definida en el body */
.encabezado-nota h1,
.noticia-encabezado h1 {
    font-family: inherit !important;
    background-color: transparent !important; /* Evita que el H1 herede fondos blancos */
    color: #ffffff !important;
}

/* Estilo del H1 dentro del contenedor alternativo */
.encabezado-nota-p h1,
.noticia-encabezado-p h1 {
    font-family: inherit !important;
    background-color: transparent !important; /* Evita que el H1 herede fondos blancos */
    color: #ffffff !important;
}

/* ==========================================
   REGLAS PARA TARJETAS / NOTAS
   ========================================== */

/* Fecha de la nota */
.Fecha-nota .texto-fecha {
    font-family: 'Gilroy-Bold', sans-serif !important;
}

/* Título de la nota y sus enlaces (h3 y <a> dentro del h3) */
.Fecha-nota h3,
.Fecha-nota h3 a {
    font-family: 'Novecento WideBold', sans-serif !important;
}

/* Párrafo / Extracto de la nota */
.Fecha-nota p {
    font-family: 'Gilroy-Regular', sans-serif !important;
}

/* Botón Leer más */
.Fecha-nota .btn {
    font-family: 'Gilroy-Bold', sans-serif !important;
}

.fuente-fecha {
    font-family: 'Gilroy-Bold', sans-serif !important;
}

/* ==========================================
   NUEVAS CLASES AUXILIARES PARA FUENTES
   ========================================== */

/* Fuerza la herencia de la fuente del body */
.fuente-body-titulo {
    font-family: inherit !important;
}

/* Clases específicas de Novecento Wide */
.fuente-novecento-bold {
    font-family: 'Novecento WideBold', sans-serif !important;
}

.fuente-novecento-normal {
    font-family: 'Novecento WideNormal', sans-serif !important;
}

/* Clases específicas de Gilroy */
.fuente-gilroy-bold {
    font-family: 'Gilroy-Bold', sans-serif !important;
}

.fuente-gilroy-heavy {
    font-family: 'Gilroy-Heavy', sans-serif !important;
}

.fuente-gilroy-light {
    font-family: 'Gilroy-Light', sans-serif !important;
}

.fuente-gilroy-regular {
    font-family: 'Gilroy-Regular', sans-serif !important;
}