/* =====================================================
   GENERAL
===================================================== */

.com-content-article,
.moduletable,
.mod-articles-category {
    max-width: 1400px;
    margin: auto;
}

.pagenavigation {
    display: none !important;
}

/* Ocultar metadatos de artículos */
.article-info,
dl.article-info {
    display: none !important;
}

/* =====================================================
   HEADER
===================================================== */

/* =====================================================
   HEADER
===================================================== */

/* =====================================================
   HEADER
===================================================== */

.container-header {
    background: #000;
    min-height: 85px;
    padding: 0;
}

.container-header .grid-child {
    padding: 0.5rem 1rem;
    align-items: center;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    max-height: 110px;
    width: auto;
    display: block;
}

.mod-menu {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.mod-menu a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.8rem 0;
    transition: all .3s ease;
}

.mod-menu a:hover {
    color: #d4aa00 !important;
}

.mod-menu .active > a {
    border-bottom: 3px solid #d4aa00;
}

/* BUSCADOR */

.search {
    margin-right: 20px;
}

.search input {
    width: 220px;
    height: 40px;
    border-radius: 25px;
    border: none;
    padding: 0 15px;
}

.search button {
    display: none;
}
/* =====================================================
   HERO PORTADA
===================================================== */

.hero-home {
    text-align: center;
    padding: 70px 20px;
}

.hero-home h1 {
    font-size: 3.5rem;
    color: #006650;
    margin-bottom: 15px;
}

.hero-home p {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
    margin: auto;
}

/* =====================================================
   HERO IMAGEN
===================================================== */

.hero-fundacion {
    position: relative;
    margin-bottom: 50px;
}

.hero-fundacion img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.hero-texto {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 25px;
    width: 60%;
    text-align: center;
    border-radius: 10px;
}

.hero-texto h1,
.hero-texto h2 {
    color: #006650;
    margin: 0;
}

.hero-texto p {
    color: #c49a00;
    font-size: 1.2rem;
}

/* =====================================================
   MÓDULO NOTICIAS
===================================================== */

.home-news {
    margin-top: 30px;
}

.home-news .module-title,
.home-news h3 {
    text-align: center;
    color: #006650;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* =====================================================
   GRID NOTICIAS
===================================================== */

.home-news ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-news li {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 25px;
    min-height: 220px;
    height: 100%;
    transition: all .3s ease;
}

.home-news li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

.home-news a {
    color: #006650;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

.home-news .mod-articles-category-date {
    color: #777;
    font-size: .85rem;
    margin-top: 10px;
}

/* Descripción de noticias */
.home-news p {
    color: #444;
    line-height: 1.5;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {

    .home-news ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-home h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    .home-news ul {
        grid-template-columns: 1fr;
    }

    .hero-home h1 {
        font-size: 2.2rem;
    }

    .hero-texto {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin-top: 15px;
    }
}
/* =====================================================
   BUSCADOR CABECERA
===================================================== */

.header-search {
    position: absolute;
    top: 35px;
    right: 30px;
    z-index: 100;
}

.header-search input {
    width: 220px;
    height: 40px;
    border-radius: 30px;
    border: 0;
    padding: 0 20px;
    font-size: 14px;
}

.header-search button {
    display: none;
}
