/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Di default, nascondi il logo sticky */
.logo-sticky {
    display: none !important;
}

/* Quando l'header diventa sticky, nascondi il normale e mostra lo sticky */
.elementor-sticky--effects .logo-normale {
    display: none !important;
}

.elementor-sticky--effects .logo-sticky {
    display: inline-block !important;
}

.elementor-element-c1effed.main-nav.elementor-sticky.elementor-sticky--active.elementor-sticky--effects {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12) !important;
}

.burger-icon {
	margin-block-end: 0;
    line-height: 0;
}

.btn-alt .elementor-button {
	background-color: var(--e-global-color-text) !important;
}
.btn-alt .elementor-button:hover {
	background-color: var(--e-global-color-primary) !important;
}

.arancio {
	color: var(--e-global-color-accent);
}
.titoliarancio h2, .titoliarancio h3, .titoliarancio h4 {
	color: var(--e-global-color-accent);
}

/* 1. Nasconde il testo dei nodi padre (cancella visivamente le virgole) */
.pillole-tipologia .elementor-post-info__terms-list {
  font-size: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 3px; /* Spazio tra le pillole */
}

/* 2. Ripristina la dimensione del testo ed applica lo stile a pillola sui link */
.pillole-tipologia .elementor-post-info__terms-list-item {
  font-size: 12px !important;
  line-height: 1;
  background-color: var(--e-global-color-secondary);
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-block;
  font-weight: 400;
  transition: background-color 0.2s ease;
}

/* Hover opzionale sui badge */
.pillole-tipologia .elementor-post-info__terms-list-item:hover {
  background-color: #e5e5e5;
}

@media only screen and (min-width: 1000px) {
.nothingfound {
	padding: 0 15%;
}
}
.nospaziosotto h3 {
    margin-block-end: 0;
}

/* sottolineatura*/
.highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap; /* Impedisce al testo di spezzarsi a capo */
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  left: -4%;         /* Fa sporgere la sottolineatura leggermente a sinistra */
  bottom: -0.35em;   /* Posizionamento sotto il testo (regolabile) */
  width: 108%;       /* Estensione orizzontale (regolabile) */
  height: 0.6em;     /* Altezza dello sfregio (regolabile) */
  
  /* Percorso del tuo file PNG */
  background-image: url('https://openhouse.marcoresenterra.com/assets/sottolineatura-arancio.png');
  background-repeat: no-repeat;
  background-size: contain; /* Assicura che l'immagine mantenga le sue proporzioni */
  background-position: center;
  
  z-index: -1;       /* Mantiene lo sfregio dietro al testo */
  pointer-events: none; /* Impedisce che lo sfregio interferisca con la selezione del testo */
}

/*liste pallini*/
.pallini ul {
  list-style: none; /* Rimuove i pallini di default */
  padding-left: 0;
}

.pallini ul li {
  position: relative;
  padding-left: 1.8em; /* Spazio a sinistra per fare posto all'icona */
  margin-bottom: 0.2em;
  text-align: left;
}

.pallini ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em; /* Regola l'allineamento verticale rispetto al testo */
  width: 1em; /* Dimensione dell'icona */
  height: 1em;
  
  /* SVG codificato direttamente in Data URI */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23be6444" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

/* galleria stondata responsive */
@media only screen and (max-width: 767px) {
.elementor-gallery-item {
    border-radius: 20px;
}
}
