/* 
 Theme Name:   grica-biopast-child
 Theme URI:    
 Description:  GRICA-BIOpast
 Author:       GRICA-BIOpast
 Author URI:   https://grica-biopast.org
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

.grica-noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 36px;
}

.grica-noticia-card {
    border: 1px solid #000;
    border-radius: 30px;
    overflow: hidden;
    background: transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}

.grica-noticia-card:hover {
    transform: translateY(-3px);
}

.grica-noticia-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
}

.grica-noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grica-noticia-content {
    padding: 24px 20px 26px;
}

.grica-noticia-categoria {
    margin-bottom: 16px;
}

.categoria-label-grica,
.categoria-label-biopast {
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    cursor: default;
}

.categoria-label-grica {
    background-color: #2f6f5e;
}

.categoria-label-biopast {
    background-color: #c49a6c;
}

.grica-noticia-date {
    color: #1f2933;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.grica-noticia-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.grica-noticia-title a {
    color: #1d2c4d;
    text-decoration: none;
}

.grica-noticia-title a:hover {
    color: #c89b64;
}

@media (max-width: 980px) {
    .grica-noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grica-noticias-grid {
        grid-template-columns: 1fr;
    }
}