.fc_block_links .links_container {
    display: flex;
    align-items: stretch;
    height: 520px;
}

.fc_block_links .links_container .block_link {
    width: 100%;
    text-decoration: none;
}

.fc_block_links .links_container .block_link {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
    transition: 0.3s;
}

.fc_block_links .links_container .block_link {
    display: flex;
    align-items: center;
}

.fc_block_links .links_container .block_link:before,
.fc_block_links .links_container .block_link:after {
    content: "";
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.9) 100%
    );
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 1;
    transition: 0.3s;
}

.fc_block_links .links_container .block_link:after {
    background: rgba(206, 144, 64, 0.9);
    opacity: 0;
}

.fc_block_links.layout_flexible .links_container .block_link:hover {
    /* aspect-ratio: 1; */
}

.fc_block_links .links_container .block_link:hover:before {
    opacity: 0;
}

.fc_block_links .links_container .block_link:hover:after {
    opacity: 1;
}

.fc_block_links .links_container .block_link .content {
    display: flex;
    height: 100%;
    padding: 30px;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.fc_block_links.text_bottom .links_container .block_link .content {
    justify-content: flex-start;
    align-items: flex-end;
}

.fc_block_links .links_container .block_link:hover .content:after {
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' fill='none'%3e%3ccircle cx='17.5' cy='17.5' r='16.5' stroke='white' stroke-width='2'/%3e%3cpath fill='white' d='M25.2 18.2c.4-.4.4-1 0-1.4l-6.4-6.4a1 1 0 0 0-1.4 1.4l5.7 5.7-5.7 5.7a1 1 0 0 0 1.4 1.4l6.4-6.4Zm-14.7.3h14v-2h-14v2Z'/%3e%3c/svg%3e");
    width: 35px;
    height: 35px;
    bottom: 30px;
    right: 30px;
    position: absolute;
}

.fc_block_links.text_bottom .links_container .block_link:hover .content:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='none'%3e%3ccircle cx='50' cy='50' r='49' stroke='white' stroke-width='2'/%3e%3cpath fill='white' d='M60.7 50.7c.4-.4.4-1 0-1.4l-6.4-6.4a1 1 0 0 0-1.4 1.4l5.7 5.7-5.7 5.7a1 1 0 0 0 1.4 1.4l6.4-6.4ZM40 51h20v-2H40v2Z'/%3e%3c/svg%3e");
    width: 100px;
    height: 100px;
    bottom: calc(50% - 50px);
    right: calc(50% - 50px);
}

@media (max-width: 1024px) {
    .fc_block_links .links_container {
        flex-direction: column;
        height: fit-content;
    }

    .fc_block_links .links_container .block_link {
        padding: 50px;
        transition: 0.3s;
        min-height: 0;

    }

    .fc_block_links .links_container .block_link:hover {
        min-height: 250px;
    }

    .fc_block_links .links_container .block_link:hover .content:after {
        bottom: 50px;
        right: calc(50% - 15px);
    }

    .fc_block_links.text_bottom .links_container .block_link:hover .content:after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='none'%3e%3ccircle cx='50' cy='50' r='49' stroke='white' stroke-width='2'/%3e%3cpath fill='white' d='M60.7 50.7c.4-.4.4-1 0-1.4l-6.4-6.4a1 1 0 0 0-1.4 1.4l5.7 5.7-5.7 5.7a1 1 0 0 0 1.4 1.4l6.4-6.4ZM40 51h20v-2H40v2Z'/%3e%3c/svg%3e");
        width: 80px;
        height: 80px;
        bottom: calc(50% - 40px);
        right: 80px;
        background-size: contain;
    }

    .fc_block_links .links_container .block_link .content {
        max-width: 240px;
    }
}