.gift-cert {
    width: 100%;
    box-sizing: border-box;
}

.gift-cert__link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.gift-cert__media,
.gift-cert__content {
    box-sizing: border-box;
}

.gift-cert__media {
    width: 61%;
}

.gift-cert__content {
    width: 39%;
}

.gift-cert__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1c1c1c;
}

.gift-cert__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gift-cert__content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #1c1c1c;
    color: #ffffff;
    text-align: left;
    aspect-ratio: 1 / 1;
}

.gift-cert__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    margin: auto;
    /*padding: 48px 56px 48px 64px;*/
    padding-top: 90px;
    padding-left: 64px;
}

.gift-cert__title.main__hero-title,
.gift-cert .main__hero-title {
    margin: 0 0 70px;
    color: #ffffff;
    text-align: left;
}

.gift-cert__text {
    margin: 0 0 30px;
    /*max-width: 340px;*/
    font-weight: 300;
    font-size: 21px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.gift-cert__logo {
    display: block;
    width: 280px;
    height: auto;
    margin-left: -44px;
    mix-blend-mode: screen;
}

@media screen and (min-width: 768px) and (max-width: 1300px) {
    .gift-cert__text {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .gift-cert__inner {
        padding: 36px 32px 36px 40px;
    }
}

@media screen and (max-width: 767px) {
    .gift-cert__link {
        flex-direction: column;
    }

    .gift-cert__media,
    .gift-cert__content {
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .gift-cert__content {
        aspect-ratio: auto;
        min-height: 420px;
    }

    .gift-cert .main__hero-title {
        margin-bottom: 20px;
    }

    .gift-cert__text {
        font-size: 14px;
        margin-bottom: 28px;
        max-width: 280px;
    }

    .gift-cert__logo {
        width: 88px;
    }

    .gift-cert__inner {
        padding: 40px 24px;
        align-items: flex-start;
    }
}
