.elementor-28982 .elementor-element.elementor-element-557f64d{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:767px){.elementor-28982 .elementor-element.elementor-element-557f64d{--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-28982 .elementor-element.elementor-element-cafbc99{width:100%;max-width:100%;}.elementor-28982 .elementor-element.elementor-element-cafbc99.elementor-element{--align-self:flex-start;}}/* Start custom CSS for shortcode, class: .elementor-element-cafbc99 */@media (min-width: 767px) {
/* Estilização para o Menu Dinâmico por Função */
.dynamic-role-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.dynamic-role-menu li a {
    display: block;
    padding: 10px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dynamic-role-menu li a:hover {
    background-color: #004329; /* Cor do seu tema */
    color: #fff;
}

/* Estilo opcional para o botão Sair */
.dynamic-role-menu li.menu-item-logout a {
    background-color: #d9534f;
    color: #fff;
}

.dynamic-role-menu li.menu-item-logout a:hover {
    background-color: #c9302c;
}

.dynamic-role-menu li.current-menu-item a {
    background-color: #004329;
    color: #fff;
    font-weight: bold;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

li.menu-item-logout {
    display: none;
}
}

.dynamic-role-menu {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.dynamic-role-menu .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.dynamic-role-menu .main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .dynamic-role-menu .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        border: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        width: 200px;
        padding: 10px;
        z-index: 1000;
    }

    .dynamic-role-menu .main-menu li {
       width: 100%;
    }

    .dynamic-role-menu .main-menu a {
        display: block;
        padding: 10px;
        width: 100%;
    }

    .dynamic-role-menu.is-active .main-menu {
        display: flex;
        width: 100%!important;
    }
    
    [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
        background-color: #fff;
    }

    .dynamic-role-menu.is-active .menu-toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .dynamic-role-menu.is-active .menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .dynamic-role-menu.is-active .menu-toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}/* End custom CSS */