/* Новый блок выводится внутри существующего .dual-block__title. */
.background-links-block {
    display: flex;
    width: 100%;
    min-height: 200rem;
    padding: 20rem 30rem 28rem;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    background-color: #141315;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.background-links-block__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--second-family);
    font-size: 58rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.background-links-block__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12rem;
    margin-top: 24rem;
}

.background-links-block__link {
    display: flex;
    width: 132rem;
    height: 40rem;
    padding: 4rem 8rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1rem solid #00e6ba;
    text-decoration: none;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.background-links-block__link img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.background-links-block__link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .background-links-block {
        min-height: 180rem;
        padding: 18rem 20rem 22rem;
    }

    .background-links-block__title {
        font-size: 48rem;
    }

    .background-links-block__links {
        gap: 8rem;
        margin-top: 20rem;
    }

    .background-links-block__link {
        width: 120rem;
        height: 38rem;
        padding: 4rem 6rem;
    }
}
