/*
 * Azione globale compatta per le intestazioni di sezione.
 * Il testo descrittivo resta nell'aria-label; visivamente compare solo la freccia.
 */
.mmc-section-action {
    align-items: center;
    background: rgba(7, 24, 51, .045);
    border: 1px solid rgba(7, 24, 51, .035);
    border-radius: 999px;
    box-sizing: border-box;
    color: #68717f;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    width: 42px;
}

.mmc-section-action__icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    transition: transform .2s ease;
}

.mmc-section-action__icon svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 21px;
}

.mmc-section-action--compact {
    flex-basis: 38px;
    height: 38px;
    min-height: 38px;
    width: 38px;
}

.mmc-section-action--compact .mmc-section-action__icon svg {
    height: 19px;
    width: 19px;
}

.mmc-section-action--overlay {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .mmc-section-action:hover {
        background: #edf0f4;
        border-color: #e2e6eb;
        color: #071833;
    }

    .mmc-section-action:hover .mmc-section-action__icon {
        transform: translateX(2px);
    }

    .mmc-section-action--overlay:hover {
        background: rgba(255, 255, 255, .24);
        border-color: rgba(255, 255, 255, .55);
        color: #fff;
    }
}

.mmc-section-action:active {
    background: #e7eaee;
    transform: scale(.96);
}

.mmc-section-action--overlay:active {
    background: rgba(255, 255, 255, .3);
}

.mmc-section-action:focus-visible {
    outline: 3px solid #ffd25a;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .mmc-section-action,
    .mmc-section-action__icon {
        transition: none;
    }
}
