.grid-offer__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-offer__item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    height: 100%;


}

.grid-offer__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-offer__item:first-child .grid-offer__title {
    font-size: 22px;
    top: 40px;
    right: 0;
    left: auto;
    margin: 0;
    width: max-content;
    padding: 20px 30px;
}

.grid-offer__item:first-child .grid-offer__btn {
    font-size: 18px;
    padding: 10px 20px;
    width: 100%;
    max-width: 280px;

}

.grid-offer__item:hover .grid-offer__img {
    transform: scale(1.1);
}

.grid-offer__btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: max-content;
    margin: 0 auto;
    background-color: #c41b1b;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    text-align: center;
    z-index: 2;
}

.grid-offer__btn:hover {
    background-color: #ff1616;
    color: #ffffff;
    text-decoration: none;
}

.grid-offer__title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 75%;
    margin: 0 auto;
    padding: 10px 20px;
    text-transform: uppercase;
    background: #ffffff94;
    backdrop-filter: blur(5px);
    text-align: center;
    z-index: 2;
}

.fake-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-offer__img {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease 0s;
}

@media screen and (max-width:819.98px) {
    .grid-offer__title {
        padding: 6px 10px;
    }
}

@media screen and (max-width:767.98px) {

    .grid-offer__content {
        grid-template-columns: repeat(2, 1fr);
    }


    .grid-offer__item:nth-child(4),
    .grid-offer__item:nth-child(5),
    .grid-offer__item:nth-child(6) {
        grid-column: span 2;
        max-height: 240px;
    }

    .grid-offer__item:first-child .grid-offer__title {
        top: 0;
        left: 0;
        margin: 0 auto;
        padding: 10px 15px;
        font-size: 18px;
    }


}

@media screen and (max-width: 479.98px) {

    .grid-offer__item:nth-child(4),
    .grid-offer__item:nth-child(5),
    .grid-offer__item:nth-child(6) {
        max-height: 150px;
    }

    .grid-offer__item:first-child .grid-offer__btn {
        font-size: 14px;
        max-width: 200px;
    }

    .grid-offer__title {
        font-size: 10px;
        padding: 5px;
    }

}