strong {
    color: var(--dark1);
}


.cuerpo-noticia{
    color: black;
    text-decoration: none;
    font-size: 1rem;
}

.cuerpo-noticia:hover{
    color: black;
}

.cuerpo-noticia {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cuerpo-noticia:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.titulo-noticia {
    color: var(--principal-color, #333);
}

.img-fluid {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    object-fit: cover;
}

.card-noticia {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.card-noticia:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.resumen-noticia {
    color: #555;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.noticia-imagen {
/*    height: 200px;*/
}

.imagen-primeras {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.imagen-listado {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.noticia-destacada {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-destacada:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.noticia-destacada img.noticia-imagen {
    flex: 1;
    object-fit: cover;
    height: auto;
}

.noticia-destacada .contenido-noticia {
    flex: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.noticia-destacada .titulo-noticia {
    color: var(--principal-color, #333);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.noticia-destacada .resumen-noticia {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.card-noticia-destacada{
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.noticia-destacada-imagen{
    border-radius: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    height: 100%;
    width: 50%;
}

.info-noticia{
    height: 100%;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cuadrado-secundario {
    height: 40px !important;
    width: 40px !important;
    background: linear-gradient(to right, var(--secundario) 50%, var(--dark1) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 0;
    padding: 0.25rem;
    transition: background-position 0.3s ease, border-radius 0.3s ease-in-out;
}

.cuadrado-secundario:hover {
    background-position: right bottom;
    height: 44px;
    width: 44px;
    border-radius: 50%
}


.cuadrado-secundario i {
    color: white;
    font-size: 1.25rem;
}

.lista-noticias {
  list-style: none; /* Ocultar viñetas */
}

.cuerpo-noticia li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a6 6 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707s.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a6 6 0 0 1 1.013.16l3.134-3.133a3 3 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  list-style-position: outside;
}


@media (max-width: 768px) {
    .card-noticia-destacada {
        flex-direction: column; /* Cambia a columna en pantallas pequeñas */
        height: fit-content;
    }

    .card-noticia-destacada img.noticia-destacada-imagen {
        width: 100%; /* Imagen ocupa todo el ancho */
        height: 400px; /* Ajusta la altura */
        border-radius: 0; /* Resetea bordes */
    }

    .card-noticia-destacada .info-noticia {
        width: 100%; /* Texto ocupa todo el ancho */
        padding: 1rem;
    }
}
