.dina-puff-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start; 
    align-items: stretch;
}


.dina-puff-wrapper p.sv-portlet-image-caption {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-size: 14px;
    background: #CF442E;
   font-family: dinafont;
    margin: 1rem 1rem 1.4rem;
   font-weight: 500;
    padding: 7px 12px 7px 12px;
    border: .4rem;
    border-radius: var(--Radius-3, 0.5rem);
    opacity: 0.9;
     text-transform: uppercase;
}

.sv-decoration-ny-bildpuff {
    flex: 1 1 calc(25% - 3rem); 
    display: flex;
    margin-bottom: 1.5rem;
    flex-direction: column;
    background: var(--Color-greyscale-white, #FFF);
    border-radius: var(--Radius-3, 0.5rem);
    box-shadow: 0px 24px 64px -12px rgba(181, 220, 182, 0.24);
    overflow: hidden;
}


.sv-decoration-ny-bildpuff .sv-image-portlet {
    position: relative;
}

.sv-decoration-ny-bildpuff .sv-image-portlet img {
    object-fit: fill;
    height: inherit;
    width: 100%;
}

.sv-decoration-ny-bildpuff .sv-image-portlet::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0);
    transition: background 0.3s ease-in-out;
}

.sv-decoration-ny-bildpuff:hover .sv-image-portlet::after {
    background: rgba(128, 128, 128, 0.5);
}

.sv-decoration-ny-bildpuff .sv-text-portlet-content {
    padding: 1.5rem;
    align-items: flex-start;
    align-self: stretch;
    flex-grow: 1;
}

.sv-decoration-ny-bildpuff > div {
    position: relative;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--Radius-3, 0.5rem);
    background: var(--Color-greyscale-white, #FFF);
    box-shadow: var(--Radius-0, 0px) var(--Radius-6, 24px) var(--Radius-12, 64px) -12px rgba(181, 220, 182, 0.24);
    display: flex;
    flex-grow: 1;
}

.sv-decoration-ny-bildpuff a {
    text-decoration: none !important;
       color: #1C7D1F;

}

.sv-decoration-ny-bildpuff:hover a {
    text-decoration: underline !important;
    color: #1C7D1F;
}



.sv-decoration-ny-bildpuff a::before {
     content: "";
     position: absolute;
     top: 0;
     right: 0;
     bottom: 0;
     left: 0;
     z-index: 1;
 }

@media screen and (min-width: 1200px) {
    .sv-decoration-ny-bildpuff {
       max-width: 330px;
    }
    }

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .sv-decoration-ny-bildpuff {
        flex: 0 0 calc(33.333% - 16px); 
    }
.dina-puff-wrapper {
	gap:1rem;
       justify-content: center; 

}
}

@media screen and (max-width: 900px) {
    .sv-decoration-ny-bildpuff {
        flex: 0 0 calc(50% - 16px); 
    }

   
   .dina-puff-wrapper {
	gap: 2rem;
}
}

@media screen and (max-width: 600px) {
    .sv-decoration-ny-bildpuff {
        flex: 1 1 100%; 
    }
   
}

