/* 
Theme Name: S99 Child
Theme URI: https://studio99.sm
Description: S99 Child is a child theme of S99, created by Studio99 team
Author: Studio99 Team
Author URI: https://studio99.sm
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/


/*MODIFICA PULSANTE DOWNLOAD E LINK ALL'INTERNO DI UN ARTICOLO */

/* Link con il nome del file */
html body .wp-block-file a:not(.wp-block-file__button) {
  color: #1a73d9 !important;
  text-decoration: none !important;
}

/* Pulsante Download (bordi netti, raggio 0) */
html body .wp-block-file a.wp-block-file__button,
html body .wp-block-file a[download],
html body a.wp-element-button.wp-block-file__button {
  background: #1a73d9 !important;
  background-color: #1a73d9 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  padding: 16px 40px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  box-shadow: none !important;
}

html body .wp-block-file a.wp-block-file__button:hover,
html body .wp-block-file a[download]:hover {
  background: #0d57a8 !important;
  background-color: #0d57a8 !important;
  color: #ffffff !important;
}

/* Mobile: link e pulsante in colonna, allineati a sinistra */
@media (max-width: 767px) {
  html body .wp-block-file {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  html body .wp-block-file a.wp-block-file__button,
  html body .wp-block-file a[download] {
    margin: 0 !important;
  }
}


