/**
 * Botón Moratalla Widget Styles (Identical to noticias-destacadas button)
 * 
 * @package AMW_Widgets
 * @since 1.0.0
 */

/* Show All Button - EXACT COPY from noticias-destacadas.css */
.show-all-container {
    display: flex;
    justify-content: flex-start;
    background: transparent !important;
}

.show-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: transparent !important;
    outline: none;
    box-shadow: none;
}

.show-all-button:hover {
    background: transparent !important;
    text-decoration: none !important;
}

.show-all-button:focus {
    background: transparent !important;
    outline: none;
    text-decoration: none !important;
}

.show-all-button:active {
    background: transparent !important;
    text-decoration: none !important;
    outline: none;
}

.show-all-button .button-text {
    /* background-color: #000000; - Controlled by Elementor */
    /* color: white; - Controlled by Elementor */
    padding: 15px 25px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 500;
    height: 53px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.show-all-button:hover .button-text {
    /* background-color: #333333; - Controlled by Elementor hover state */
}

.show-all-button .button-arrow {
    width: 52px;
    height: 53px;
    /* background-color: #cf2e26; - Controlled by Elementor */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    /* color: white; - Controlled by Elementor */
    transition: all 0.3s ease;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-left: -1px;
}

.show-all-button:hover .button-arrow {
    /* background-color: #b02620; - Controlled by Elementor hover state */
    transform: rotate(-45deg);
}

/* Ripple Effect */
.show-all-button.ripple-enabled .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    z-index: 1;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .show-all-container {
        margin-top: 15px;
        width: 100%;
    }
    
    .show-all-button {
        width: 100%;
        justify-content: center;
    }
    
    .show-all-button .button-text {
        padding: 12px 20px;
        font-size: 13px;
        height: 45px;
        flex: 1;
        text-align: center;
    }
    
    .show-all-button .button-arrow {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Accessibility */
.show-all-button:focus {
    outline: none;
}

.show-all-button:focus-visible {
    outline: 2px solid #004388;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .show-all-button,
    .show-all-button .button-text,
    .show-all-button .button-arrow {
        transition: none;
    }
    
    .show-all-button:hover {
        transform: none;
    }
    
    .show-all-button:hover .button-arrow {
        transform: rotate(-45deg);
    }
}

/* Print Styles */
@media print {
    .show-all-button {
        display: none;
    }
}