/* =========================================
   NOTICIAS DE ILLESCAS
   CSS PRINCIPAL - VERSION LIMPIA
========================================= */

/* FONDO GENERAL */

body {
    background: #ffffff;
}

/* =========================================
   CABECERA Y LOGOTIPO
========================================= */

.container-header {
    background: #ffffff;
}

.container-header .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
}

.container-header .navbar-brand img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.container-header .navbar-brand .site-description {
    text-align: center;
    font-size: 15px;
    color: #666666;
}

/* =========================================
   MENU PRINCIPAL
========================================= */

.container-header .container-nav {
    padding-top: 0;
    padding-bottom: 0;
}

.container-header .mod-menu {
    justify-content: center;
    background: #922b32;
}

.container-header .mod-menu > li > a {
    color: #ffffff;
    font-weight: 600;
    padding: 14px 17px;
}

/* =========================================
   PORTADA - ARTICULOS DESTACADOS
========================================= */

.blog-featured .blog-item {
    margin-bottom: 30px;
}


/* Contenedor de imagen de portada */

.blog-featured .item-image {
    float: none !important;
    clear: both;
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 0 18px 0;
}

/* Imagen completa sin recortes */

.blog-featured .item-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    border-radius: 5px;
}

/* Titulos de portada */

.blog-featured .page-header h2 {
    font-size: 26px;
    line-height: 1.3;
    color: #172b4d;
}

/* =========================================
   NOTICIA COMPLETA
========================================= */

.com-content-article .item-image {
    float: none !important;
    clear: both;
    display: block;
    width: 100%;
    max-width: 650px;
    margin: 15px auto 25px;
}

.com-content-article .item-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

/* Texto debajo de la imagen */

.com-content-article .com-content-article__body {
    clear: both;
}

/* Titulo de noticia completa */

.com-content-article .page-header h1 {
    font-size: 28px;
    line-height: 1.3;
    color: #172b4d;
}

/* =========================================
   MOVILES
========================================= */

@media (max-width: 768px) {

    .container-header .navbar-brand img {
        max-height: 85px;
    }

    .blog-featured .item-image,
    .com-content-article .item-image {
        max-width: 100%;
    }

    .blog-featured .page-header h2,
    .com-content-article .page-header h1 {
        font-size: 22px;
    }
}
  
/* ========================================
   ULTIMAS NOTICIAS - COLUMNA DERECHA
======================================== */


/* ========================================
   ULTIMAS NOTICIAS - ESTILO PERIODISTICO
======================================== */

/* Encabezado del modulo */
.ultimas-noticias .card-header,
.ultimas-noticias .moduletitle,
.ultimas-noticias h3 {
    font-size: 18px !important;
    font-weight: 700;
    color: #172b4d;
}

/* Titulares de las noticias */
.ultimas-noticias li,
.ultimas-noticias li a,
.ultimas-noticias .mod-articles-title,
.ultimas-noticias .mod-articles-title a {
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

/* Color de los enlaces */
.ultimas-noticias a {
    color: #26364a !important;
    text-decoration: none !important;
}

/* Al pasar el raton */
.ultimas-noticias a:hover {
    color: #922b32 !important;
    text-decoration: underline !important;
}

/* Separacion entre noticias */
.ultimas-noticias li {
    margin-bottom: 8px !important;
}


/* ========================================
   NOTICIAS DE ILLESCAS
   MENU DESPLEGABLE ELEGANTE
======================================== */

/* Contenedor del desplegable */
.container-header .mod-menu .mod-menu__sub {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 4px solid #922b32;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.16);
    padding: 8px 0;
    min-width: 245px;
}

/* Enlaces de los municipios */
.container-header .mod-menu .mod-menu__sub a {
    display: block;
    color: #26364a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    padding: 12px 20px;
    text-decoration: none;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

/* Efecto al pasar el raton */
.container-header .mod-menu .mod-menu__sub a:hover,
.container-header .mod-menu .mod-menu__sub a:focus {
    background: #922b32;
    color: #ffffff;
}

/* Separacion entre municipios */
.container-header .mod-menu .mod-menu__sub li {
    border-bottom: 1px solid #eeeeee;
}

/* Sin borde en el ultimo municipio */
.container-header .mod-menu .mod-menu__sub li:last-child {
    border-bottom: none;
}
