/*
Theme Name: Electro Child
Template: electro
Text Domain: electro-child
*/

@charset "UTF-8";

/* стиль для меню*/
 .custom-menu-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
    }

    .custom-menu-block {
        flex: 1 1 calc(33.333% - 20px);
        background: #f7f7f7;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .custom-menu-block:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .custom-menu-block strong {
        display: block;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .custom-menu-block ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .custom-menu-block ul li {
        margin: 5px 0;
        transition: background-color 0.2s ease, transform 0.1s ease;
        padding: 3px 6px;
        border-radius: 4px;
    }

    .custom-menu-block ul li:hover {
        background-color: #e6f0ff;

        transform: translateX(5px);
    }

    .custom-menu-block ul li:active {
        background-color: #cce0ff;
    }

    .custom-menu-block a {
        color: #333;
        text-decoration: none;
        display: block;
        width: 100%;
        transition: color 0.2s ease;
    }

    .custom-menu-block a:hover {
        color: #0056b3;
    }

    @media screen and (max-width: 768px) {
        .custom-menu-block {
            flex: 1 1 100%;
        }
    }


/* стиль для меню - конец*/