.veiss-post-grid {
    position: relative;
}

.veiss-post-item {
    background: #fff;
    overflow: hidden;
    float: left;
    box-sizing: border-box;
}

.veiss-post-item:hover img {
    filter: brightness(90%);
}

.veiss-post-item:hover p {
    text-decoration: underline;
}
/* Responsive mobile: 1 columna */
.veiss-post-item {
    width: 100%;
}
.veiss-post-grid-sizer {
    width: 100%;
    float: none;
}
.veiss-post-gutter-sizer { 
    width: 0; 
}
/* Responsive tablet & desktop: 2 columnas */
@media (min-width: 640px) {
    .veiss-post-item,
    .veiss-post-grid-sizer {
        width: 45%;
        float: left
    }
    .veiss-post-gutter-sizer {
        width: 10%;
    }
}
.veiss-post-item--destacada {
    width: calc(100%);
    clear: both;
}

.veiss-post-thumbnails img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

.veiss-post-item p {
    font-family: "Helvetica", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    text-align: right;
    margin-bottom: 2px;
}

.veiss-post-item p a {
    color: #111;
    text-decoration: none;
}

.veiss-post-title {
    display: grid;
    margin-top: 5px;
    grid-template-columns: 95% auto;
    grid-gap: 10px;
    align-items: center;
}

.veiss-post-title span {
    font-size: 1.5rem;
    color: #000;
    text-align: right;
    line-height: 0%;
}

.veiss-gallery {
    width: 100%;
    position: relative;
}

.veiss-gallery .swiper-slide {
    /* que cada slide tome el alto de su contenido (la imagen) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.veiss-gallery .swiper-slide img {
    height: 100%;
}

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


/* Opcional: ajusta los botones */
.veiss-button-prev,
.veiss-button-next {
    height: 2rem;
    width: 2rem;
    position: absolute;
    top: 0;
    z-index: 1;
    bottom: 0;
    margin: auto;
    color: #000;
    background: transparent;
    border-radius: 100%;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    padding: 0.3rem;
    background-color: #ffffff44;
}

.veiss-button-prev:hover,
.veiss-button-next:hover {
    background: white;
}

.veiss-button-prev {
    left: 1rem;
    rotate: 180deg;
}

.veiss-button-next {
    right: 1rem;
}

/* Responsive móvil: 1 columna */
@media (max-width: 639px) {
    .veiss-post-item {
        width: 100% !important;
        float: none;
    }
}