.node--type-eventos .post-block.event-full .post-thumbnail img {
    width: 100%;
    height: auto;
}

.node--type-noticia .post-thumbnail img,
.node--type-noticia .post-thumbnail .field,
.node--type-noticia .post-thumbnail .field--item,
.node--type-noticia .post-thumbnail picture {
    width: 100%;
    height: auto;
    display: block;
    /* Removes potential whitespace below inline images */
}

/* Noticia Multimedia Carousel */
.noticia-multimedia-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.noticia-multimedia-carousel .item-image {
    flex: 0 0 calc(33.333% - 10px);
    /* Show 3 items roughly */
    min-width: 250px;
    /* Minimum width */
    border-radius: 8px;
    overflow: hidden;
}

.noticia-multimedia-carousel .item-image img {
    width: 100%;
    height: 200px;
    /* Fixed height can look nice */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.noticia-multimedia-carousel .item-image:hover img {
    transform: scale(1.05);
}

/* News Teaser Card Styles */
.news-teaser-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: stretch;
    max-width: 768px;
    padding: 20px;
}

.news-teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.news-teaser-image-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.news-image-clipper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-teaser-image-wrapper img,
.news-teaser-image-wrapper .field,
.news-teaser-image-wrapper .field--item,
.news-teaser-image-wrapper picture {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.news-teaser-card:hover .news-teaser-image-wrapper img {
    transform: scale(1.05);
}

.news-teaser-date {
    position: absolute;
    top: auto;
    left: auto;
    bottom: -25px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #e3001b;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-teaser-date .day {
    font-size: 16px;
    font-weight: 700;
}

.news-teaser-date .month {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.news-teaser-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-teaser-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.news-teaser-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-teaser-title a:hover {
    color: #e3001b;
}

.news-teaser-body {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.news-teaser-body p {
    margin-bottom: 10px;
}

.news-teaser-body p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-teaser-card {
        flex-direction: column;
    }

    .news-teaser-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .news-image-clipper {
        height: 100%;
    }

    .news-teaser-image-wrapper img,
    .news-teaser-image-wrapper .field,
    .news-teaser-image-wrapper .field--item,
    .news-teaser-image-wrapper picture {
        height: 100%;
        object-fit: cover;
    }

    .news-teaser-date {
        bottom: -25px;
        top: auto;
        right: 20px;
        left: auto;
    }

    .news-teaser-content {
        padding: 35px 20px 20px;
    }
}