/* Voce di menu Documenti societari */
.nav-list .nav-docs {
    position: relative;
}

.nav-list .nav-docs details {
    margin: 0;
}

.nav-list .nav-docs summary {
    display: block;
    text-align: center;
    list-style: none;
    cursor: pointer;
    color: #10233f;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    background: #f3f6fa;
    border-radius: 10px;
    padding: 11px 8px;
}

.nav-list .nav-docs summary::-webkit-details-marker {
    display: none;
}

.nav-list .nav-docs summary::after {
    content: " \25BE";
    font-size: 0.75rem;
}

.nav-list .nav-docs details[open] summary::after {
    content: " \25B4";
}

.nav-list .nav-docs ul {
    list-style: none;
    margin: 6px 0 0;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(8, 20, 40, 0.18);
}

.nav-list .nav-docs li + li {
    margin-top: 4px;
}

.nav-list .nav-docs a {
    display: block !important;
    text-align: left !important;
    text-decoration: none !important;
    color: #10233f !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0;
    background: #f4f7fb !important;
    border-radius: 8px;
    padding: 10px 12px !important;
}

.nav-list .nav-docs a:hover {
    background: #e7eef6 !important;
    color: #10233f !important;
}

@media (max-width: 959px) {
    .nav-list .nav-docs:has(details[open]) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 960px) {
    .nav-list .nav-docs summary {
        background: transparent;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .nav-list .nav-docs summary:hover,
    .nav-list .nav-docs details[open] summary {
        background: #eef3f9;
    }

    .nav-list .nav-docs ul {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        z-index: 50;
        min-width: 260px;
        margin: 0;
    }
}
