.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.grid-noticias-web {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
}

.card-noticia {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-noticia:hover {
    transform: translateY(-5px);
}

.card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-img-web img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.card-content p {
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

.card-content .btn {
    align-self: flex-start;
}

.btn-outline-secondary.active {
    background-color: #e0e0e0;
    font-weight: 600;
    border-color: #999;
}

/* show noticias */
 .blog-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-header p {
    font-size: 1rem;
}

.blog-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 8px;
    margin: 20px 0;
    object-fit: cover;
}

.blog-highlight blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 20px 0;
}

.blog-summary p {
    font-size: 1.1rem;
    margin: 20px 0;
}

.blog-content {
    font-size: 1rem;
    line-height: 1.6;
}

.blog-audio label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.blog-audio audio {
    width: 100%;
}

@media (max-width: 1200px) {
    .grid-noticias-web {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .grid-noticias-web {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}