.bg-light-grey {
    background-color: #FAFAFA;
}

.distance {
    padding: 70px 0 70px 0;
}

/* Grid-Container */
.three-column-links-50-25-25 .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
    max-width: 1700px;
    width: 100%;
}
   

.three-column-links-50-25-25 .grid-item {
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0px 3px 6px #00000029;
    display: flex;
    flex-direction: column;

}

.three-column-links-50-25-25 .grid-item-large {
    flex: 2 1 50%;
    flex: 3;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 4000;
    display: inline-block;
    min-height: 300px;
}

.three-column-links-50-25-25 .grid-item-large .title h2 {
    color: #fff;
    font-size: 2.5rem;
    position: absolute;
    top: 5.7%;
    left: 5.7%;
    z-index: 500;
}

.three-column-links-50-25-25 .grid-item-large::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent linear-gradient(89deg, #3498DB 0%, #FFFFFF46 82%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
    opacity: 1;

    z-index: 400;
}

.three-column-links-50-25-25 .grid-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.three-column-links-50-25-25 .grid-item-large .button {
    position: absolute;
    bottom: 5.7%;
    right: 5.7%;
    background-color: var(--cd-font-blue);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    z-index: 500;
    transition: opacity 0.3s ease-in-out;
}

.three-column-links-50-25-25 .grid-item-large .button:hover {
    opacity: 0.7;
}

.three-column-links-50-25-25 .grid-item-small {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 40px;
}

.three-column-links-50-25-25 .grid-item-small img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.three-column-links-50-25-25 .grid-item-small .title-two h2 {
    font-size: var(--font-size-p);
    font-weight: 400;
    text-align: center;
    margin-top: 20px;
}

.three-column-links-50-25-25 .grid-item-small a {
    text-decoration: none !important;
}

.three-column-links-50-25-25 .grid-item-small .titleteaser-two p {
    text-align: center;
    color: #111111;
}


@media (max-width: 1790px) {
    .three-column-links-50-25-25 .grid-container{
        padding:0 5.7% 0 5.7%;
    }


}


@media (max-width: 1200px) {
    .three-column-links-50-25-25 .grid-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .three-column-links-50-25-25 .grid-item-large {
        flex: 2;
        width: 100%;
    }

    .three-column-links-50-25-25 .grid-item-small {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .three-column-links-50-25-25 .grid-container {
        flex-direction: column;
        gap: 10px;
    }

    .three-column-links-50-25-25 .grid-item-large {
        width: 100%;
        order: -1;
    }

    .three-column-links-50-25-25 .grid-item-small {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .three-column-links-50-25-25 .grid-item-large {
        height: 200px;
    }

    .three-column-links-50-25-25 .grid-item-small {}
}