@charset "utf-8";
body {
    font-family: 'Cormorant Garamond', serif;
    color: #2e2e2e;
    font-size: 19px;
    font-weight: 500;
}
a {
    text-decoration: none;
    color: #2e2e2e;
    transition: all 0.3s ease;
}
a:hover {
    text-decoration: none;
    color: #a12420;
}
a[href^=tel] {
   text-decoration:inherit;
   color: inherit;
}
h1, h2, h3 {
    color: black;
}
.pp_a_footer{
    color: #a12420!important;
}
.pp_a_footer:hover{
    color: white!important;
}
/*FUNZIONI GRAFICHE--------------------------------------------------------------------------*/
.reveal_XYZ{
  position: relative;
  transform: translateY(150px);
  opacity: 1;
  transition: 1s all ease;
}
.reveal.active_XYZ{
  transform: translateY(0);
  opacity: 1;
}
/* Blur + Gray Scale */
.pp_greyblur {
	-webkit-filter: grayscale(0) blur(0);
	filter: grayscale(0) blur(0);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    cursor: pointer;
}
.pp_greyblur:hover {
	-webkit-filter: grayscale(100%) blur(2px);
	filter: grayscale(100%) blur(2px);
}
#img-modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
#img-modal img {
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#img-modal .modal-prev-btn,
#img-modal .modal-next-btn {
    z-index: 1999;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3em;
    color: white;
    text-decoration: none;
    opacity: 0.5;
    cursor: pointer;
}

#img-modal .modal-prev-btn:hover,
#img-modal .modal-next-btn:hover {
    opacity: 1;
}

#img-modal .modal-prev-btn {
    left: 2%;
}

#img-modal .modal-next-btn {
    right: 2%;
}
/*LAYOUT GENERALE----------------------------------------------------------------------------*/
.pp_a_grey{
    color: rgb(173, 173, 173);
}
.pp_a_white{
    color: white;
}
.pp_nascosto{
    display: none;
}
.pp_link_fake{
    cursor: pointer;
}
.pp_sel{
    color: #a12420;
}
.pp_bck{
    background: url("images/background.jpg") repeat;
}
.pp_logo{
    margin-top: 25px;
}
.pp_sezione30{
    margin-top: 30px;
}
.pp_sezione50{
    margin-top: 50px;
}
.pp_sezione100{
    margin-top: 100px;
}
.pp_paddinge_100{
    padding: 100px 0px;
}
.pp_caption_img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: calc(100% + 1vw + 1vh);
}
.pp_margin_tb{
}
.pp_img_lato_uva{
    background: url("images/home/uva.png") no-repeat;
}
.pp_img_lato_fiaschetto{
background: url("images/chi/fiaschetto.png") no-repeat;
}
.pp_img_lato_vigne{
background: url("images/chi/vigne.png") no-repeat;
}
.pp_img_lato_formaggio{
background: url("images/agriturismo/formaggio.png") no-repeat;
}
.pp_img_lato_cucchiaio{
background: url("images/agriturismo/cucchiaio.png") no-repeat;
}
.pp_img_lato_bottiglia{
background: url("images/agriturismo/bottiglia.png") no-repeat;
}
.pp_img_lato_cantinone{
background: url("images/agriturismo/cantinone.png") no-repeat;
}
.pp_video{
    margin-top: 65px;
}
.pp_video_logo{
    width: 161px;
    z-index: 10;
    position: absolute;
    left: 30px;
    top: 20px;
}
.pp_bg_scuro{
    background: url("images/bg/bg_scuro.png") repeat;
}
.pp_paesaggio {
    padding: 100px 30px;
    background: url("images/bg/paesaggio.png") no-repeat;
    background-position: center;
    text-align: center;
}
.pp_titoletto1{
    font-size: 20px;
   /* font-weight: bold;*/
    text-align: center;
}
.pp_titolo1{
    font-family: Marcellus;
    font-size: 5vw;
    padding: 40px 0px;
    line-height: 1;
}
.pp_firma_rss{
    font-size: 20px;
    font-weight: 500;
    padding: 100px 0px;
}
.pp_virgolette{
    padding-bottom: 60px;
}
.pp_testimonial_txt {
    font-size: 28px;
    font-weight: 500;
}
.pp_striscia_photo {
    /* Using the grid property */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    /* Making equal spaced divs */
    gap: 0px;
    min-width: 0px;
    
    width: 100%;
    height: 250px;
}
.pp_img_instriscia{
    background-size: 100%;
}
.pp_img1{
    background: url('images/home/s1.jpg');
}
.pp_img2{
    background: url('images/home/s2.jpg');
}
.pp_img3{
    background: url('images/home/s3.jpg');
}
.pp_img4{
    background: url('images/home/s4.jpg');
}
.pp_language1{
    position: absolute;
    z-index: 90;
    top: 25px;
    right: 20px;
    font-size: 16px;
}
.pp_language2{
    position: absolute;
    z-index: 90;
    top: 25px;
    right: 80px;
    font-size: 16px;
}
.pp_bg_chi{
    width: 100%;
    background-image: url("images/chi/bg1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    padding: 120px 15px 120px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombra inferiore */
}
.pp_sezione_var{
    padding: 80px 0px;
}
.pp_titoletto_bullett::before {
    content: "";
    display: inline-block;
    position: relative;
    top: calc(-0.1 * 1em);
    vertical-align: middle;
    height: calc(4px + 0.7em);
    margin-right: calc(5px + 0.2em);
    border-left: calc(5px + 0.1em) solid #e5e5e5;
}
.pp_titoletto_bullett {
    color: #a12420;
    text-transform: uppercase !important;
}
.pp_float_left{
    float: left; /* posiziona l'immagine a sinistra del contenuto del testo */
    margin-right: 10px; /* crea uno spazio tra l'immagine e il testo */
}
.pp_float_right{
    float: right; /* posiziona l'immagine a sinistra del contenuto del testo */
    margin-left: 10px; /* crea uno spazio tra l'immagine e il testo */
}
.pp_max_size{
}
.row.custom-gutter .col {
  padding: 0 25px;
}
.pp_color_white{
    color: white!important;
}
.pp_color_grey {
    color: rgba(0,0,0,.4);
}
.pp_size_16{
    font-size: 16px;
}
.pp_margin_bottom_20{
    margin-bottom: 20px;
}
.pp_margin_bottom_10{
    margin-bottom: 10px;
}
/*FOOTER----------------------------------------------------------------------------*/
.pp_footer{
    background-color: #1a1918;
    padding: 50px 0px;
    color: rgb(173, 173, 173);
    line-height: 24px;
    font-size: 18px;
}
.pp_footer_rcol{
    text-align: right;
}
.pp_logo_footer{
    margin-bottom: 30px;
}
.pp_footer_txt{
    margin: 0px 0px 0px 0px;
    padding: 0px;
}
.pp_footer_telmail{
    color: #a12420;
    font-size: 40px;
    margin-bottom: 50px;
}
.pp_footer_line{
    width: 100%;
    height: 1px;
    background-color: #313030;
    margin: 80px 0px 40px;
}
.pp_footer_menu{
    font-size: 13px;
    margin-right: 10px;
}
.pp_footer_disclaimer{
    font-size: 13px;
    margin-top: 25px;
}
.pp_footer_social{
    margin-left: 20px;
}
/*MENU----------------------------------------------------------------------------*/
#limite_menu {
  position: absolute;
  width: 1px;
  height: 1px;
  top: 100px;
  left: 0;
}
.pp_menu_fixed{
    background-color: white;
    width: 100%;
    height: 140px;
    margin-bottom: 100px;
    position: fixed; top: 0px;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombra inferiore */
}
.pp_2columns {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count:    2; /* Firefox */
	column-count:         2;
  	-webkit-column-gap:   50px; /* Chrome, Safari, Opera */ 
	-moz-column-gap:      50px; /* Firefox */
	column-gap:           50px;
	text-align: justify; /* Optional */
}
.pp_3columns {
	-webkit-column-count: 4; /* Chrome, Safari, Opera */
	-moz-column-count:    4; /* Firefox */
	column-count:         4;
  	-webkit-column-gap:   20px; /* Chrome, Safari, Opera */ 
	-moz-column-gap:      20px; /* Firefox */
	column-gap:           20px;
	text-align: justify; /* Optional */
}
.pp_4columns {
	-webkit-column-count: 4; /* Chrome, Safari, Opera */
	-moz-column-count:    4; /* Firefox */
	column-count:         4;
  	-webkit-column-gap:   20px; /* Chrome, Safari, Opera */ 
	-moz-column-gap:      20px; /* Firefox */
	column-gap:           20px;
	/*column-rule-color: #ccc;  Optional */
	/*column-rule-style:solid;  Optional */
	/*column-rule-width: 1px;  Optional */
	text-align: justify; /* Optional */
}
.pp_menu{
    margin-top: 26px;
    font-size: 16px;
}
.pp_menu2{
    margin-top: 26px;
    font-size: 16px;
    padding-bottom: 20px;
}
.pp_menu_small{
    margin-top: 10px;
    font-size: 18px;
    line-height: 30px;
    padding: 10px;
    background-color: #a12420;
    color: white;
}
.pp_menu_small a{
    color: white;
}
.pp_menu_small a:hover{
    color:#B8B8B8;
}
.pp_menu_elem{
    margin-right: 17px;
    font-weight: 700;
}
.pp_menu_elem_last{
    font-weight: 700;
}
.pp_menu_burger{
    padding: 20px 0px 0px;
}
.pp_menu_burger{
    display: none;
}
.pp_logo_small{
    max-width: 120px!important;
}
.pp_navmini{
    padding: 0px 10px;
}
.pp_dropdown {
  position: relative;
  display: inline-block;
}

.pp_dropdown_menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.pp_dropdown_menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.pp_dropdown_menu a:hover {
  background-color: #f1f1f1;
}

.pp_dropdown:hover .pp_dropdown_menu {
  display: block;
}
.pp_dropdown_menu.pp_show {
  display: block;
}

/* Stili per il menu mobile */
.pp_menu_small {
    margin-top: 10px;
    font-size: 18px;
    line-height: 30px;
    padding: 10px;
    background-color: #a12420;
    color: white;
}

.pp_menu_small a {
    color: white;
    display: inline-block;
    padding: 5px 0;
}

.pp_menu_small a:hover {
    color: #B8B8B8;
}

/* Stili per i sottomenu nel menu mobile */
.submenu {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    padding: 5px 0;
    font-size: 16px;
}

.submenu a {
    display: block;
    padding: 8px 0;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Stile per l'icona del toggle */
.submenu-toggle {
    cursor: pointer;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submenu-toggle.active {
    transform: rotate(180deg);
}
/*SLIDER----------------------------------------------------------------------------*/
.pp_slider {
    margin-top: 25px;
}
.pp_slider2 {
    margin-top: 165px;
}
.carousel-item{
    max-height: 800px;
}
.carousel-caption {
    top: 215px;
    bottom: auto;
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: center;    */
}
.pp_caption_big{
    font-size: 5vw;
    font-weight: 700;
    line-height: 6vw;
}
.pp_caption_small{
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
}
.pp_scopri{
    padding: 15px 0px;
    margin-top: 40px!important;
    color: #2e2e2e;
    background-color: white;
    font-size: 18px;
    font-weight: 700;
    width: 196px;
    margin: auto;text-align: center;
    transition: all 0.3s ease; /* Aggiunta transizione */
}
.pp_scopri:hover {
    background-color: #8B1E1E;
    border-color: #8B1E1E;
    color: white!important;
}
.pp_scopri {
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pp_scopri:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.pp_scopri a {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}
.pp_dettagli {
    padding: 15px 0px;
    color: #2e2e2e;
    background-color: white;
    font-size: 18px;
    font-weight: 700;
    width: 196px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -50px;
    transition: all 0.3s ease; /* Aggiunta transizione */
}

.pp_btn_gold {
    color: #fff!important;
    background-color: #ae8529;
    transition: all 0.3s ease; /* Aggiunta transizione */
}
.pp_btn_gold {
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pp_btn_gold:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
    background-color: #8B1E1E!important;
    border-color: #8B1E1E!important;
}

.pp_btn_gold a {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}
.pp_dettagli:hover {
    color: #c02323; /* Colore del testo al passaggio del mouse */
    background-color: #000; /* Sfondo nero al passaggio del mouse */
}
.pp_servizi_app_divis{
    margin-bottom: 40px;
    border-top: 1px solid #3E3E3E;
    border-bottom: 1px solid #3E3E3E;
}
.pp_servizi_app{
    font-size: 0.7em;
    margin-right: 20px!important;
    align-items: center; /* Allinea verticalmente l'icona e il testo */
    display: inline-flex;   
}
.apartment-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
  margin: 20px 0px;
}

/*TABELLE----------------------------------------------------------------------------*/
.pp_scheda_prodotto {
    background: #f9f7f4;
    padding: 35px 30px !important;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pp_scheda_prodotto h1 {
    margin-bottom: 20px;
}

.pp_tabella {
    border: none !important;
    background: transparent;
    margin-top: 25px;
}

.pp_tabella tbody tr {
    border: none !important;
    background: transparent !important;
}

.pp_tabella td {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(139, 111, 71, 0.15) !important;
    line-height: 1.6;
}

.pp_tabella tr:last-child td {
    border-bottom: none !important;
}

.pp_tabella strong {
    color: #8b6f47;
    font-weight: 600;
}
/* Centra automaticamente i prodotti quando sono pochi */
.custom-gutter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 50px;
}

.custom-gutter > [class*="col-"] {
    flex: 0 0 auto;
    max-width: 400px;
}

/* Effetto Ken Burns (pan/zoom) per le immagini del carousel */
.carousel-item img {
    animation: kenburns 15s ease-in-out infinite;
    transform-origin: center center;
}

/* Stile per il carosello testimonials */
#testimonials-carousel {
    position: relative;
}

#testimonials-carousel .carousel-item {
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

#testimonials-carousel .carousel-item.active {
    opacity: 1;
}

/* Indicatori (pallini) personalizzati */
.testimonial-indicators {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    margin-bottom: 0;
}

.testimonial-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(139, 111, 71, 0.4);
    border: 2px solid #8B6F47;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicators li.active {
    background-color: #B8966E;
    border-color: #B8966E;
    transform: scale(1.3);
}

.testimonial-indicators li:hover {
    background-color: rgba(184, 150, 110, 0.7);
}

/* Assicura che le virgolette non si muovano */
.pp_virgolette {
    margin-bottom: 20px;
}
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(-2%, -2%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Assicurati che il container non mostri overflow */
.carousel-item {
    overflow: hidden;
}
/* Su mobile mantieni full width */
@media (max-width: 767px) {
    .custom-gutter > [class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
.pp_tr{
    border: 2px solid #DBD5CD;
}

/* Pagina Eventi Prodotto */
.pp_evento_item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.pp_evento_item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.pp_evento_header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.pp_evento_badge {
    background: #B8966E;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pp_evento_data {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.pp_evento_img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.pp_evento_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pp_evento_item:hover .pp_evento_img img {
    transform: scale(1.05);
}

.pp_evento_content {
    padding: 25px;
}

.pp_evento_titolo {
    font-size: 22px;
    color: #8B6F47;
    margin-bottom: 15px;
    font-weight: 600;
}

.pp_evento_desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.pp_evento_link {
    color: #B8966E;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pp_evento_link:hover {
    color: #8B1E1E;
}

.pp_evento_link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.pp_evento_link:hover i {
    transform: translateX(5px);
}

/* Altri Prodotti Card */
.pp_altri_prodotti_card {
    text-align: center;
    transition: transform 0.3s ease;
}

.pp_altri_prodotti_card:hover {
    transform: translateY(-5px);
}

.pp_altri_prodotti_card img {
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 15px;
}

.pp_altri_prodotti_card h4 {
    color: #8B6F47;
    font-size: 20px;
    transition: color 0.3s ease;
}

.pp_altri_prodotti_card:hover h4 {
    color: #B8966E;
}

.pp_altri_prodotti_card a {
    text-decoration: none;
}

.pp_evento_intro {
    color: #8B6F47;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pp_evento_item_clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pp_evento_item_clickable:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* Rimuovi il link esterno se esiste */
.pp_evento_item_clickable .pp_evento_link {
    display: inline-block;
    pointer-events: none;
}

.pp_post_heading{
    margin-top: 22px;
    font-family: Libre Baskerville;
    font-style: italic;
    font-size: 18px;
    line-height: 30px;
    color: #c02323;
    letter-spacing: 1.3px;
    font-weight: inherit;
}
.pp_post_title{
    font-family: Marcellus;
    font-size: 24px;
    color: #191919;
    transition: color 0.3s ease; /* Transizione morbida del colore */    
}
.pp_post_title:hover {
    color: #c02323; /* Cambia il colore del link in nero */
}

.pp_post_data{
    margin-top: 5px;
    color: #a6a6a6;
}
.pp_post_intro{
    margin-top: 6px;
    padding-right: 20px;
    color: #a6a6a6;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease; /* Transizione morbida del colore */    
}
.pp_post_intro:hover {
    color: #c02323; /* Cambia il colore del link in nero */
}
.pp_post_heading_dett{
    margin-top: 22px;
    font-family: Libre Baskerville;
    font-style: italic;
    font-size: 14px;
    color: #c02323;
    letter-spacing: 1.3px;
    font-weight: inherit;
}
.pp_post_title_dett{
    font-family: Marcellus;
    font-size: 18px;
    color: #191919;
    transition: color 0.3s ease; /* Transizione morbida del colore */    
}
.pp_post_title_dett:hover {
    color: #c02323; /* Cambia il colore del link in nero */
}

.pp_post_data_dett{
    color: #a6a6a6;
}
.pp_post_intro_dett{
    margin-top: 6px;
    padding-right: 20px;
    color: #a6a6a6;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease; /* Transizione morbida del colore */    
}
.pp_post_intro_dett:hover {
    color: #c02323; /* Cambia il colore del link in nero */
}
.pp_evento_list_right{
    padding-bottom: 20px;
    border-bottom: 1px solid #D7D7D7;
}
/* Stile di base per il link */
.read-more {
    font-family: Marcellus;
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
    color: #c02323; /* Colore iniziale del link */
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease; /* Transizione morbida del colore */
}

/* Stile per l'icona Font Awesome */
.read-more .fa-long-arrow-right {
    margin-left: 5px; /* Spaziatura tra il testo e la freccia */
    transition: transform 0.3s ease; /* Transizione per il movimento */
    font-size: 14px; /* Stile della freccia, opzionale */
}

/* Effetto hover */
.read-more:hover {
    color: #000; /* Cambia il colore del link in nero */
}

.read-more:hover .fa-long-arrow-right {
    transform: translateX(5px); /* Sposta la freccia a destra */
}
/* Contenitore per forzare dimensioni uniformi */
.image-container {
    width: 100%; /* Larghezza responsiva */
    height: 200px; /* Altezza fissa (adatta secondo il design desiderato) */
    position: relative;
    overflow: hidden; /* Nasconde l'eccesso */
    background: #f5f5f5; /* Colore di sfondo per spazi vuoti */
}

/* Immagine interna */
.image-container img {
    width: 100%; /* Larghezza piena del contenitore */
    height: 100%; /* Altezza piena del contenitore */
    object-fit: cover; /* Ritaglia l'immagine mantenendo proporzioni */
    object-position: top; /* Forza il ritaglio a partire dall'alto */
}
.image-container-dett {
    width: 100%; /* Larghezza responsiva */
    height: 300px; /* Altezza fissa (adatta secondo il design desiderato) */
    position: relative;
    overflow: hidden; /* Nasconde l'eccesso */
    background: #f5f5f5; /* Colore di sfondo per spazi vuoti */
}

/* Immagine interna */
.image-container-dett img {
    width: 100%; /* Larghezza piena del contenitore */
    height: 100%; /* Altezza piena del contenitore */
    object-fit: cover; /* Ritaglia l'immagine mantenendo proporzioni */
    object-position: top; /* Forza il ritaglio a partire dall'alto */
}

/* Stile base dei link */
.pp_filtro_eventi {
    color: #2e2e2e; /* Colore di default */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin: 0 10px; /* Spaziatura orizzontale */
    transition: all 0.3s ease; /* Transizione per un effetto fluido */
}

/* Colore attivo */
.pp_filtro_eventi.active {
    color: #c02323; /* Colore per il link attivo */
}

/* Stile del separatore */
.pp_filtro_divider {
    color: #ae8529; /* Colore del separatore */
    font-size: 14px; /* Dimensione del diamante */
    margin: 0 5px; /* Spaziatura orizzontale */
    vertical-align: middle; /* Allinea al centro */
}
.pp_text_post_detail{
    margin-top: 20px;
}
.pp_sottotitolo_post_detail{
    font-weight: bold;
}
h2.recent-post {
    font-family: Marcellus;
    position: relative;
    display: inline-block;
    font-size: 24px;
    text-align: center;
}
h2.recent-post::before,
h2.recent-post::after {
    content: "~~~~~"; /* Contenuto per l'effetto */
    font-size: 18px; /* Dimensione del simbolo */
    color: #cccccc; /* Colore chiaro */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500; /* Peso più sottile */
}
h2.recent-post::before {
    left: -70px; /* Posizionamento a sinistra */
}

h2.recent-post::after {
    right: -70px; /* Posizionamento a destra */
}
#mappa {
    border: 1px solid #ddd; /* Bordo sottile */
    border-radius: 10px; /* Angoli arrotondati */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombra leggera */
    margin-top: -20px!important; /* Spaziatura superiore */
    overflow: hidden; /* Per assicurarsi che i bordi arrotondati funzionino */
}
/* Card Eventi */
.pp_eventi_card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

.pp_eventi_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.pp_eventi_img_container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.pp_eventi_img_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pp_eventi_card:hover .pp_eventi_img_container img {
    transform: scale(1.05);
}

.pp_eventi_content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.pp_eventi_nome {
    font-size: 24px;
    color: #8B6F47;
    margin-bottom: 10px;
    font-weight: 600;
}

.pp_eventi_count {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.pp_eventi_intro {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Assicura che il pulsante rimanga visibile */
.pp_eventi_content .pp_dettagli {
    margin-top: 15px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pp_eventi_img_container {
        height: 250px;
    }
    
    .pp_eventi_nome {
        font-size: 20px;
    }
    
    .pp_eventi_content {
        padding: 20px;
    }
}
    
    .pp_eventi_nome {
        font-size: 20px;
    }
}
@media screen and (min-width: 1200px) {
/*SLIDER----------------------------------------------------------------------------*/
    .pp_caption_big{
        font-size: 60px;
        font-weight: 700;
        line-height: 65px;
    }
    .pp_caption_small{
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
    }
    .pp_titolo1{
        font-size: 60px;
        color: #000;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
/*SLIDER----------------------------------------------------------------------------*/
    .carousel-caption {
        top: 7vw;
    }
    .pp_caption_big{
        font-size: 40px;
        font-weight: 700;
        line-height: 45px;
    }
    .pp_caption_small{
        font-size: 20px;
        font-weight: 400;
        line-height: 24px;
    }
/*LAYOUT----------------------------------------------------------------------------*/
    .pp_caption_img {
        font-size: calc(40% + 1vw + 1vh);
    }
    .pp_video_logo{
        width: 120px;
        top: 15px;
    }
    .pp_striscia_photo {
        height: 190px;
    }
    .pp_max_size{
        max-width: 400px;
    }
}
@media screen and (max-width: 991px) {
    .pp_menu {
        display: none;
    }
    .pp_menu_burger{
        display: inherit;
    }
    .pp_sezione_var{
        padding: 50px 0px;
    }
    .pp_max_size{
        max-width: 400px;
    }
}
@media screen and (min-width: 991px) {
    .pp_menu_small {
        display: none!important;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
/*SLIDER----------------------------------------------------------------------------*/
    .carousel-caption {
        top: 7vw;
    }
    .pp_caption_big{
        font-size: 40px;
        font-weight: 700;
        line-height: 45px;
    }
    .pp_caption_small{
        font-size: 20px;

        font-weight: 400;
        line-height: 24px;
    }

/* Pagina Dettaglio Evento */
.pp_evento_dett_img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.pp_evento_dett_img img {
    width: 100%;
    height: auto;
}

.pp_evento_dett_titolo {
    font-size: 38px;
    color: #2c2c2c;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 600;
}

.pp_evento_dett_intro {
    font-size: 19px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 500;
}

.pp_evento_dett_testo {
    font-size: 17px;
    color: #444;
    line-height: 1.9;
}

.pp_evento_dett_testo p {
    margin-bottom: 20px;
}

/* Sidebar */
.pp_sidebar_box {
    background: white;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 35px;
}

.pp_sidebar_title {
    font-size: 20px;
    color: #8B6F47;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    text-align: center;
}

.pp_sidebar_post {
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pp_sidebar_post:hover {
    background: #fafafa;
    border-color: #B8966E;
}

.pp_sidebar_post:last-child {
    margin-bottom: 0;
}

.pp_sidebar_post a {
    text-decoration: none;
    display: block;
}

.pp_sidebar_post_badge {
    background: #B8966E;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.pp_sidebar_post_title {
    color: #2c2c2c;
    font-size: 16px;
    margin: 15px 0 10px 0;
    transition: color 0.3s ease;
    line-height: 1.5;
    font-weight: 600;
}

.pp_sidebar_post:hover .pp_sidebar_post_title {
    color: #B8966E;
}

.pp_sidebar_post_data {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.pp_sidebar_vino {
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pp_sidebar_vino:hover {
    background: #fafafa;
    border-color: #B8966E;
}

.pp_sidebar_vino:last-child {
    margin-bottom: 0;
}

.pp_sidebar_vino a {
    text-decoration: none;
    display: block;
}

.pp_sidebar_vino_nome {
    color: #8B6F47;
    font-size: 16px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
    font-weight: 600;
    line-height: 1.4;
}

.pp_sidebar_vino:hover .pp_sidebar_vino_nome {
    color: #B8966E;
}

.pp_sidebar_vino_count {
    color: #999;
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp_sidebar_vino img {
    max-height: 120px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 992px) {
    .pp_evento_dett_titolo {
        font-size: 28px;
    }
    
    .pp_evento_dett_intro {
        font-size: 17px;
    }
    
    .pp_evento_dett_testo {
        font-size: 16px;
    }
    
    .pp_sidebar_box {
        margin-top: 40px;
    }
    
    .col-lg-7 {
        padding-right: 15px !important;
    }
}/*LAYOUT----------------------------------------------------------------------------*/
    .pp_sezione100{
        margin-top: 80px;
    }
    .pp_caption_img {
        font-size: calc(40% + 1vw + 1vh);
    }
    .pp_img_lato_uva{
    background: url("images/home/uva2.png") no-repeat;
    }
    .pp_img_lato_fiaschetto{
    background: url("images/chi/fiaschetto.png") no-repeat;
    }
    .pp_video_logo{
        width: 100px;
        top: 15px;
    }
    .pp_paesaggio {
        padding: 60px 20px;
    }
    .pp_titolo1{
        font-size: 7vw;
        padding: 40px 0px;
    }
    .pp_testimonial_txt {
        font-size: 24px;
    }
    .pp_firma_rss{
        padding: 40px 0px;
    }
    .pp_striscia_photo {
        height: 160px;
    }
    .pp_footer_line{
        margin: 40px 0px 40px;
    }
    .pp_footer_telmail{
        font-size: 30px;
        margin-bottom: 30px;
    }
    .pp_bg_chi{
        padding: 110px 15px 110px 15px;
    }
    .pp_navmini{
        padding: 0px 5px;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
/*SLIDER----------------------------------------------------------------------------*/
    .carousel-caption {
        top: 10vw;
    }
    .pp_caption_big{
        font-size: 30px;
        font-weight: 700;
        line-height: 35px;
    }
    .pp_caption_small{
        font-size: 16px;
        font-weight: 400;
        line-height: 18px;
    }
    .pp_margin_tb{
        margin-bottom: 30px
    }
/*LAYOUT----------------------------------------------------------------------------*/
    .pp_sezione100{
        margin-top: 60px;
    }
    .pp_2columns {
        -webkit-column-count: 1; /* Chrome, Safari, Opera */
        -moz-column-count:    1; /* Firefox */
        column-count:         1;
    }
    .pp_img_lato_uva{
    background: url("images/home/uva2.png") no-repeat;
    }
    .pp_img_lato_fiaschetto{
    background: url("images/chi/fiaschetto.png") no-repeat;
    }
    .pp_video_logo{
        width: 80px;
        top: 10px;
    }
    .pp_paesaggio {
        padding: 60px 20px;
    }
    .pp_titolo1{
        font-size: 7vw;
        padding: 20px 0px;
    }
    .pp_testimonial_txt {
        font-size: 22px;
    }
    .pp_firma_rss{
        padding: 40px 0px;
    }
    .pp_striscia_photo {
        height: 130px;
    }
    .pp_footer_rcol{
        text-align: left;
    }
    .pp_footer_telmail{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .pp_footer_line{
        margin: 40px 0px 40px;
    }
    .pp_footer_social{
        margin-right: 20px;
        margin-left: 0px;
    }
    .pp_logo_small{
        display: none;
    }
    .pp_menu_fixed{
        height: 70px;
    }
    #logo_big{
        display: none!important;
    }
    .pp_bg_chi{
        padding: 70px 15px 70px 15px;
    }
    .pp_navmini{
        padding: 0px 4px;
    }
    .pp_float_left{
        float: none; /* ripristina la posizione dell'immagine */
        display: block; /* rende l'immagine un blocco a sé stante */
        margin: 0 auto 10px; /* centra l'immagine e crea uno spazio tra essa e il testo */
    }
}
@media screen and (max-width: 480px) {
/*SLIDER----------------------------------------------------------------------------*/
    .carousel-caption {
        top: 7vw;
    }
    .pp_caption_big{
        font-size: 30px;
        font-weight: 700;
        line-height: 35px;
    }
    .pp_caption_small{
        font-size: 16px;
        font-weight: 400;
        line-height: 18px;
    }
/*LAYOUT----------------------------------------------------------------------------*/
    .pp_sezione100{
        margin-top: 50px;
    }
    .pp_caption_img {
        font-size: calc(150% + 1vw + 1vh);
    }
    .pp_margin_tb{
        margin-bottom: 30px;
        max-height: 250px;
        overflow: hidden;
    }
    .pp_2columns {
        -webkit-column-count: 1; /* Chrome, Safari, Opera */
        -moz-column-count:    1; /* Firefox */
        column-count:         1;
    }
    .pp_img_lato_uva{
    background: url("images/home/uva2.png") no-repeat;
    }
    .pp_img_lato_fiaschetto{
    background: url("images/chi/fiaschetto.png") no-repeat;
    }
    .pp_video_logo{
        width: 60px;
        top: 10px;
    }
    .pp_paesaggio {
        padding: 60px 20px;
    }
    .pp_titolo1{
        font-size: 8vw;
        padding: 20px 0px;
    }
    .pp_firma_rss{
        padding: 40px 0px;
    }
    .pp_virgolette{
        padding-bottom: 40px;
    }
    .pp_testimonial_txt {
        font-size: 20px;
    }
    .pp_striscia_photo {
        height: 120px;
    }
    .pp_footer{
        padding: 30px 0px;
        font-size: 15px;
        line-height: 18px;
    }
    .pp_logo_footer{
        max-width: 80px;
        margin-bottom: 20px;
    }
    .pp_footer_rcol{
        text-align: left;
    }
    .pp_footer_telmail{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .pp_footer_line{
        margin: 40px 0px 40px;
    }
    .pp_footer_social{
        margin-right: 20px;
        margin-left: 0px;
    }
    .pp_language2{
        left: 20px;
        max-width: 24px;
        top: 20px;
    }
    .pp_language1{
         max-width: 24px;
         top: 20px;
  }
    .pp_logo_small{
        display: none;
    }
    .pp_menu_fixed{
        height: 70px;
    }
    #logo_big{
        display: none!important;
    }
    .pp_bg_chi{
        padding: 70px 15px 70px 15px;
    }
    .pp_navmini{
        padding: 0px 3px;
    }    
    .pp_float_left{
        float: none; /* ripristina la posizione dell'immagine */
        display: block; /* rende l'immagine un blocco a sé stante */
        margin: 0 auto 10px; /* centra l'immagine e crea uno spazio tra essa e il testo */
    }
}

/* SIDEBAR DETTAGLIO EVENTO */
.pp_sidebar_dett_box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.pp_sidebar_dett_title {
    font-family: 'Marcellus', serif;
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.pp_sidebar_dett_item {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.pp_sidebar_dett_item.bordered {
    border-bottom: 1px solid #f0f0f0;
}

.pp_sidebar_dett_item a {
    text-decoration: none;
    display: block;
}

.pp_sidebar_dett_badge {
    display: inline-block;
    background-color: #8B7355;
    color: white;
    font-family: 'Marcellus', serif;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.pp_sidebar_dett_item_title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.pp_sidebar_dett_item a:hover .pp_sidebar_dett_item_title {
    color: #8B7355;
}

.pp_sidebar_dett_item_data {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: #888;
    margin: 0;
}

.pp_sidebar_prodotto_box {
    background-color: #f8f5f2;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.pp_sidebar_prodotto_img {
    max-width: 150px;
    margin: 0 auto 20px;
}

.pp_sidebar_prodotto_img img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.pp_sidebar_prodotto_nome {
    font-family: 'Marcellus', serif;
    font-size: 22px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.pp_sidebar_prodotto_link {
    display: inline-block;
    background-color: #8B7355;
    color: white;
    font-family: 'Marcellus', serif;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.pp_sidebar_prodotto_link:hover {
    background-color: #6d5940;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.pp_sidebar_prodotto_link i {
    margin-left: 8px;
}

/* SERVIZI APPARTAMENTI - NUOVA GRIGLIA */
.pp_servizi_app_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 12px;
    padding: 30px 0;
    margin-bottom: 30px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.pp_servizio_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background-color: #f8f5f2;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 75px;
}

.pp_servizio_item:hover {
    background-color: #8B7355;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
    z-index: 100;
}

.pp_servizio_item i {
    font-size: 26px;
    color: #8B7355;
    transition: color 0.3s ease;
}

.pp_servizio_item:hover i {
    color: white;
}

.pp_servizio_tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c2c2c;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: 'Marcellus', serif;
    pointer-events: none;
}

.pp_servizio_tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #2c2c2c;
}

.pp_servizio_item:hover .pp_servizio_tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Responsive */
@media (max-width: 768px) {
    .pp_servizi_app_grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }
    
    .pp_servizio_item {
        min-height: 65px;
        padding: 10px 6px;
    }
    
    .pp_servizio_item i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .pp_servizi_app_grid {
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
        gap: 8px;
    }
    
    .pp_servizio_item {
        min-height: 60px;
        padding: 8px 5px;
    }
    
    .pp_servizio_item i {
        font-size: 20px;
    }
}

/* AGRITURISMO - CARD IMMAGINI */
.pp_agri_card_img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pp_agri_card_img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pp_agri_card_img img {
    transition: transform 0.3s ease;
}

.pp_agri_card_img:hover img {
    transform: scale(1.05);
}

/* AGRITURISMO - IMMAGINI DETTAGLIO PAGINE */
.pp_agri_detail_img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 20px;
}

.pp_agri_service_img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* HOMEPAGE - TRE CARD PRINCIPALI */
.pp_home_card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pp_home_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pp_home_card img {
    transition: transform 0.3s ease;
}

.pp_home_card:hover img {
    transform: scale(1.05);
}