/* SN-VK-NATIVE-20261021-V1
   Native structure and dimensions preserved.
   VK only; VK Video excluded.
*/

/* SVG icons: footer, reviews, sharing buttons and forms */

svg.icon-vk {
    background-image: url("/local/templates/vpl_template/img/social/vk-default.svg?v=2ad048cf712d") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

svg.icon-vk > use {
    display: none !important;
}

/* Existing VK buttons */

a:has(svg.icon-vk),
a.report-socials__link[href*="vk.com/specnovostroy"] {
    background: #0077FF !important;
    border-color: #0077FF !important;
    color: #FFFFFF !important;
}

/* VK inside report subscription blocks */

a.report-socials__link[href*="vk.com/specnovostroy"] img[src$="/VK.svg"] {
    content: url("/local/templates/vpl_template/img/social/vk-default.svg?v=2ad048cf712d") !important;
}

/* Hover */

@media (hover: hover) {
    a:hover svg.icon-vk {
        background-image: url("/local/templates/vpl_template/img/social/vk-hover.svg?v=8aee269577ab") !important;
    }

    a:has(svg.icon-vk):hover,
    a.report-socials__link[href*="vk.com/specnovostroy"]:hover {
        background: #FFFFFF !important;
        border-color: #0077FF !important;
        color: #0077FF !important;
    }

    a.report-socials__link[href*="vk.com/specnovostroy"]:hover img[src$="/VK.svg"] {
        content: url("/local/templates/vpl_template/img/social/vk-hover.svg?v=8aee269577ab") !important;
    }
}

/* Keyboard focus */

a:focus-visible svg.icon-vk {
    background-image: url("/local/templates/vpl_template/img/social/vk-hover.svg?v=8aee269577ab") !important;
}

a:has(svg.icon-vk):focus-visible,
a.report-socials__link[href*="vk.com/specnovostroy"]:focus-visible {
    background: #FFFFFF !important;
    border-color: #0077FF !important;
    color: #0077FF !important;
}

a.report-socials__link[href*="vk.com/specnovostroy"]:focus-visible img[src$="/VK.svg"] {
    content: url("/local/templates/vpl_template/img/social/vk-hover.svg?v=8aee269577ab") !important;
}
