/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Paolo Bortolotti
Author URI: https://www.paolobortolotti.com/
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
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
.blocco_riassunto {
	
}
.passato {
   position:relative;
}
.passato .event-date-wrapper:before {
    content: "Evento Concluso";
    background-color: #EAE2D3;
    padding: 2px;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 14px;
    display: block;
    max-width: 140px;
    margin: 10px auto;
}

.passato .blocco_riassunto .event-date-wrapper:before {
    content: "Evento Concluso";
    background-color: #EAE2D3;
    padding: 2px;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 14px;
    display: inline-block;
    margin-right: 10px;
    max-width: 140px;
}




.elementor-cta__button {
    font-weight: 600 !important;
}
.full-h .elementor-cta--skin-cover,
.full-h .elementor-cta {
    height: 100%;
}
#mega_news .elementor-widget-image img {
 width: 200px !important; /* Puoi cambiare questa larghezza base se vuoi */
 aspect-ratio: 1 / 1 !important; /* FORZA l'immagine ad essere sempre quadrata */
 height: auto !important; /* Lascia che aspect-ratio calcoli l'altezza */
 object-fit: cover !important;
 border-radius: 50% !important;
}
#menu-territorio-e-geografia li:first-child {
  font-size: 1.5rem !important;
}
nav ul {
  list-style: none;
  margin: 0; padding: 0;
  li:first-child {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 15px;
  }

  li a {color: #fff;}

  li a:hover {
    color: #E06054;
  }
}
footer
nav ul {
    li:first-child {
      a {
        font-size: inherit;
        font-family: "Barriecito", Sans-serif!important;
        font-weight: 500;
      }
    }
}
.data_detail_post{
  .event-date-wrapper {
      text-align: left;
      font-weight: bold;
      font-size:1.5rem;
  }
}
.nav .event-date-wrapper {
    text-align: left;
}
.event-date-wrapper {
    text-align: center;
    line-height: normal;
}
.first_block_nav {
  #menu-scopri-balestrino li:nth-child(2) a {
    font-size: 1.5rem !important;
    font-weight: bold;
  }
}
.first_block_nav > .elementor-widget:nth-child(n+2) .menu > li:first-child a {
    font-size: 1.5rem !important; /* Aggiunto !important per forzare la sovrascrittura di stili esistenti, se necessario */
}
#mega_news {
  h2 {
    font-size: 1.5em!important;
  }
}
ul.lista-pagine-sorelle {
    margin: 0;
    padding: 0;
    list-style: none;

}

ul.lista-pagine-sorelle svg .cls-1 {
  fill: #eda34f!important;
}

ul.lista-pagine-sorelle {
   li {display: flex; gap: 10px;

     a {
       color: var(--e-global-color-cc1cd57);
       transition: color 0.3s;
       font-family: var(--e-global-typography-primary-font-family), Sans-serif;
       font-weight: var(--e-global-typography-primary-font-weight);
       line-height: var(--e-global-typography-primary-line-height);
     }

   }
}

.ricetta-titolo {
  font-family: var(--e-global-typography-8dbe87b-font-family), Sans-serif;
      font-size: var(--e-global-typography-8dbe87b-font-size);
      font-weight: var(--e-global-typography-8dbe87b-font-weight);
      line-height: var(--e-global-typography-8dbe87b-line-height);
      letter-spacing: var(--e-global-typography-8dbe87b-letter-spacing);
      word-spacing: var(--e-global-typography-8dbe87b-word-spacing);
}
.ricetta-contenuto {
font-family: var(--e-global-typography-text-font-family), Sans-serif;
font-weight: var(--e-global-typography-text-font-weight);
line-height: var(--e-global-typography-text-line-height);
}

.ricetta-body{
    text-align: left;
    background-color: var(--e-global-color-440472b);
    padding: 20px;
}


@media (max-width: 500px) {
.passato .blocco_riassunto .event-date-wrapper:before {
    display: block;
}
}