.offer-certificate {
    position: relative;
    background-image: url(../../images/special-offers/offer-certificates-bg.webp);
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(30px);
    overflow: hidden;
}

.offer-certificate__dimmer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #1a131188;
}

.offer-certificate__image {
    display: none;
}

.offer-certificate__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-certificate__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 72px 8px;
    height: 100%;
    color: var(--color-vanilla-white);
    height: 620px;
}

.offer-certificate__slogan {
    font-size: 11px;
    line-height: 100%;
    font-family: var(--font-accent-roman);
    text-transform: uppercase;
    opacity: 0.65;
}

.offer-certificate__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.offer-certificate__title {
    font-size: 30px;
    line-height: 103%;
    font-weight: 400;
    text-transform: uppercase;
    max-width: 190px;
}

.offer-certificate__description {
    font-size: 14px;
    line-height: 140%;
    max-width: 320px;
    font-family: var(--font-accent-roman);
    opacity: 0.75;
}

@media (min-width: 1024px) {
    .offer-certificate__inner {
        height: 620px;
        max-width: 337px;
    }

    .offer-certificate__title {
        text-transform: none;
    }

    .offer-certificate__image {
        position: absolute;
        top: -18px;
        right: -158px;
        z-index: 2;
        display: block;
        width: 686px;
        height: 484px;
        transform: rotate(-15deg);
    }
}
