
body {
    background-color: var(--crema);
}


.noticias-container h2 {
    color: var(--verde1);
    font-weight: 700;
    margin-bottom: 0.5em;
}

.noticias-container h4 {
    color: var(--naranja1);
    font-weight: 600;
    margin-bottom: 2em;
}


.noticia-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}


.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.noticia-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-card:hover img {
    transform: scale(1.05);
}


.noticia-body {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}


.noticia-titulo {
    color: var(--verde1);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    transition: color 0.3s;
}

.noticia-card:hover .noticia-titulo {
    color: var(--naranja1);
}


.noticia-card::after {
    content: "";
    display: block;
    height: 4px;
    background: var(--naranja2);
    width: 0%;
    transition: width 0.3s ease;
}

.noticia-card:hover::after {
    width: 100%;
}


.noticias-grid .col-md-4 {
    margin-bottom: 2em;
}


.pagination {
    justify-content: center;
}

.pagination .page-link {
    color: var(--verde1);
    border: none;
}

.pagination .page-item.active .page-link {
    background-color: var(--verde1);
    color: white;
}

.pagination .page-link:hover {
    background-color: var(--naranja2);
    color: var(--verde1);
}

/* MOSTRAR NOTICIA */

.noticia {
    background-color: var(--crema);
}


.noticia a {
    text-decoration: none;
}

.noticia a .fs-5 {
    color: var(--verde1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.noticia a:hover .fs-5 {
    color: var(--naranja1);
    transform: translateX(-3px);
}


.noticia .text-muted {
    color: var(--naranja1) !important;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


.noticia h2 {
    color: var(--verde1);
    margin-bottom: 1rem;
    position: relative;
}


.noticia h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--naranja2);
    margin-top: 10px;
}


.noticia img {
    border-radius: 10px;
    margin: 1.5em 0;
    max-height: 450px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


.noticia p {
    color: var(--negro);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.2em;
}


.noticia p strong {
    color: var(--verde1);
}

.noticia p a {
    color: var(--naranja1);
    text-decoration: underline;
}

.noticia p a:hover {
    color: var(--verde1);
}


.noticia ul,
.noticia ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5em;
}

.noticia li {
    margin-bottom: 0.5em;
}


.noticia blockquote {
    border-left: 4px solid var(--naranja2);
    padding-left: 1rem;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--verde2);
}


.noticia hr {
    border: none;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 2em 0;
}


@media (max-width: 768px) {
    .noticia h2 {
        font-size: 1.8rem;
    }

    .noticia img {
        max-height: 300px;
    }
}
