.related-offers {
    max-width: 1274px;
    margin-inline: auto;
}

@media (max-width: 1200px) {
    .related-offers {
        max-width: 781px;
    }
}

.related-offers-title {
    font-family: "Libre Baskerville", Times New Roman, Helvetica, serif;
    font-size: 26px;
    line-height: 27px;
    font-weight: 400;
    letter-spacing: 0.78px;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.related-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 28px;
}

@media (max-width: 1200px) {
    .related-offers-grid {
        column-gap: 33px;
        row-gap: 31px;
    }
}

@media (max-width: 768px) {
    .related-offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.related-offers-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
}

.related-offers-card-image {
    position: absolute;
    inset: 0;
    background-color: #F2D6D9;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.related-offers-card-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px 24px;
    font-family: "Libre Baskerville", Times New Roman, Helvetica, serif;
    font-size: 32px;
    line-height: 34px;
    font-weight: 400;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: #F2D6D9;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .related-offers-card-title {
        font-size: 26px;
        line-height: 28px;
        padding: 14px 16px;
    }
}
