/* ================================
   SLIDER PSACP OTTIMIZZATO
================================ */

/* struttura slide */
.psacp-post-slide{
  position:relative;
  overflow:hidden;
}

/* sfondo immagine */
.psacp-post-img-bg{
  background-size:112% !important;
  background-position:72% center !important;
  background-repeat:no-repeat;
  transition:background-size .5s ease;
}

/* zoom hover desktop */
@media (min-width:769px){
  .psacp-post-slide:hover .psacp-post-img-bg{
    background-size:118% !important;
  }
}

/* fascia scura sotto titoli */
.psacp-post-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:16px 18px 14px;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.65) 45%,
    rgba(0,0,0,.18) 100%
  );
}

/* categorie */
.psacp-post-cats{
  margin-bottom:10px;
  line-height:1;
}

.psacp-post-cats a{
  background:#ef3b33;
  color:#fff;
  font-size:12px;
  padding:6px 10px;
  text-decoration:none;
}

/* titolo */
.psacp-post-title{
  margin:0;
  line-height:1.12;
}

.psacp-post-title a{
  color:#fff !important;
  text-decoration:none;
  font-weight:800;
}

/* ================================
   MOBILE
================================ */

@media (max-width:768px){

  /* zoom più forte + focal point ancora più a destra */
  .psacp-post-img-bg{
    background-size:125% !important;
    background-position:80% 18% !important;
  }

  /* overlay più compatto */
  .psacp-post-overlay{
    padding:10px 12px 10px !important;
    background:linear-gradient(
      to top,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.70) 50%,
      rgba(0,0,0,.20) 100%
    );
  }

  /* categorie più piccole */
  .psacp-post-cats{
    margin-bottom:8px !important;
  }

  .psacp-post-cats a{
    font-size:10px !important;
    padding:4px 7px !important;
  }

  /* titolo più compatto */
  .psacp-post-title a{
    font-size:15px !important;
    line-height:1.15 !important;
    display:block;
  }
}

.spazio_sotto {
    margin-bottom: 0 !important;
}

/* ===========================================
   wp discuz centrato su mobile
   =========================================== */
@media (max-width: 768px){
  .single-ajde_events #wpdiscuz{
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ===========================================
   EVENT
   =========================================== */
/* elimina distanza sopra EventON */
/* 1) elimina il paragrafo Event vuoto (quello che vedi nello screenshot) */
.entry-content p.wp-block-eventon-blocks-evo-eventon-main:empty{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* aggiunge respiro sotto data */
.ajde_evcal_calendar .eventon_list_event .evcal_cblock{
  margin-bottom: 8px;
}

/* Titolo eventi elenco event */
.ajde_evcal_calendar .evcal_event_title {
  font-size: 18px !important;
  line-height: 1.3;
}

/* EVENTON – titolo singolo evento (H1) */
.single-ajde_events h1.evosin_event_title.evottui{
  font-size: 38px !important;   /* prova 34–42 */
  line-height: 1.15 !important;
  font-weight: 700 !important;
}
/* EVENT – sposta SOLO i metadati testuali */
.evo_page_body .evo_eventtop .evoet_cx,
.evo_page_body .evo_eventtop .evcal_desc3{
    margin-left: 22px !important;
		}
/* EVENT – padding titolo */
.single-ajde_events .evosin_event_title,
.single-ajde_events .evottui {
    padding-left: 20px !important;
		padding-right: 20px !important;
}
/* EVENT – testo descrizione evento */
.evo_page_body .eventon_full_description .eventon_desc_in p,
.evo_page_body .eventon_full_description .eventon_desc_in li{
    font-size: 17px !important;
    line-height: 1.75 !important;
}

/* EVENT – centra “marzo, 2026” nella testata */
#evcal_head{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#evcal_head #evcal_cur{
  margin: 0 !important;
  width: auto !important;
  text-align: center !important;
}
/* EVENT – riduce font mese */
#evcal_cur{
  font-size: 18px !important;   /* prova 16–20px */
}
/* EVENT – caratteri metadati (solo pagina singolo evento) */
.single-ajde_events .desc_trig_outter,
.single-ajde_events .desc_trig_outter *{
  font-size: 14px !important;
  line-height: 1.0 !important;
}

/* EVENT – ingrandisce il blocco data */

.ajde_evcal_calendar .evoet_dayblock.evcal_cblock{
    font-size: 22px !important;
}

/* numero giorno */
.ajde_evcal_calendar .evoet_dayblock .date{
    font-size: 36px !important;
    font-weight: 700;
    line-height: 1;
}

/* mese */
.ajde_evcal_calendar .evoet_dayblock .month{
    font-size: 15px !important;
    font-weight: 600;
}

/* ===========================================
   =========================================== */

/* TITOLI STILE TURISMO & EVENTI */
/* H1 – Titolo principale pagina */
h1 {
		font-size: 28px;
  margin-bottom: 35px;
  text-align: center;
  position: relative;
    font-family:"Montserrat",serif;
    font-weight:400;
    letter-spacing:0.5px;
  }

/* Linea decorativa centrale sotto H1 */

h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #c8a24a, #e6c77a);
  margin: 18px auto 0;
}

/* H2 – Sezioni (Frazioni, Eventi, Località, ecc.) */

h2 {
    margin-top: 60px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 18px;
}


h2::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 5px;
  height: 24px;
  background: linear-gradient(180deg, #c8a24a, #e6c77a);
  border-radius: 2px;
}

/* H3 – Località o sottosezioni */

h3 {

  margin-top: 28px;
  margin-bottom: 10px;
  color: #2e2e2e;
}

/* centratura descrizione pagina sottotitolo */
.entry-header .page-description>*:last-child {
    margin-bottom: 0;
    font-style: italic;
    font-size: 22px;
padding-bottom:24px;
}

/* bordo dorato sotto menu */
.site-main{
    border-top: 4px solid rgba(161,143,55,1);
}

/* sottotitolo */
.hero-section[data-type=type-1] .page-description {
   text-align: center;
}

/* bullet elegante SOLO per liste testuali Gutenberg */
.entry-content ul.wp-block-list,
.wp-block-post-content ul.wp-block-list {
  list-style: none;
  margin: 0 0 25px;
  padding-left: 0; /* ok perché mettiamo rientro ai li */
}

.entry-content ul.wp-block-list > li,
.wp-block-post-content ul.wp-block-list > li {
  position: relative;
  padding-left: 1.2em;  /* rientro stabile */
  margin: 0 0 8px;
  line-height: 1.65;
  font-size: inherit;
  font-weight: normal;
}

.entry-content ul.wp-block-list > li::before,
.wp-block-post-content ul.wp-block-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #c8a24a;
  font-size: 0.9em;
  line-height: 1;
}




/* =========================
   NEWSLETTER – STILE GLOBALE (tutti i form)
   Plugin: The Newsletter Plugin
   ========================= */

/* wrapper del plugin (ovunque) */

.tnp.tnp-subscription,
.tnp-subscription {
  background: #efe7cf;
  border: 2px solid #8f7b2a;
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 14px 26px rgba(0,0,0,0.12);
  position: relative;
}

/* fascia superiore oro */

.tnp.tnp-subscription::before,
.tnp-subscription::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #a18f37;
  border-radius: 14px 14px 0 0;
}

/* campi: testo + email */

.tnp-subscription input[type="text"],
.tnp-subscription input[type="email"],
.tnp-subscription input[type="name"] {
  width: 100%;
  background: #ffffff;
  border: 2px solid #c8b56a;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 12px 0;
  font-size: 15px;
  transition: all 0.2s ease;
}

/* label */

.tnp-subscription label {
  display: block;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px 0;
}

/* focus */

.tnp-subscription input:focus {
  outline: none;
  border-color: #7a681f;
  box-shadow: 0 0 0 4px rgba(143,123,42,0.35);
}

/* bottone invio */

.tnp-subscription input[type="submit"],
.tnp-subscription button {
  background: #a18f37;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  transition: all 0.2s ease;
}

.tnp-subscription input[type="submit"]:hover,
.tnp-subscription button:hover {
  background: #8a7a2e;
  transform: translateY(-1px);
}

/* link (privacy, ecc.) */

.tnp-subscription a {
  font-weight: 700;
  text-decoration: none;
}

.tnp-subscription a:hover {
  text-decoration: underline;
}

/* messaggi del plugin (successo/errore) */

.tnp-subscription .tnp-message {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(143,123,42,0.35);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  color: #222;
  margin-top: 10px;
}

/* BOX GUESTBOOK */

/* /* ==========================
   GUESTBOOK – VERSIONE BACHECA SCENOGRAFICA
   Plugin: Gwolle-GB
   ========================== */

/* Gwolle-GB – bacheca scenografica */

.gwolle-gb{max-width:880px;margin:0 auto 40px}

/* form */
.gwolle-gb .gwolle-gb-write{
  position:relative;padding:30px;border-radius:14px;
  background:#efe7cf;border:2px solid #8f7b2a;
  box-shadow:0 16px 30px rgba(0,0,0,.15)
}
.gwolle-gb .gwolle-gb-write::before{
  content:"";position:absolute;left:0;right:0;top:0;height:6px;
  background:#a18f37;border-radius:14px 14px 0 0
}
.gwolle-gb .gwolle-gb-write label{display:block;font-weight:700;margin:0 0 6px;color:#222}
.gwolle-gb .gwolle-gb-write input[type="text"],
.gwolle-gb .gwolle-gb-write input[type="email"],
.gwolle-gb .gwolle-gb-write input[type="url"],
.gwolle-gb .gwolle-gb-write textarea{
  width:100%;padding:12px;margin:0 0 14px;border-radius:8px;
  background:#fff;border:2px solid #c8b56a;font-size:15px;transition:.2s
}
.gwolle-gb .gwolle-gb-write textarea{min-height:180px;resize:vertical}
.gwolle-gb .gwolle-gb-write input:focus,
.gwolle-gb .gwolle-gb-write textarea:focus{
  outline:0;border-color:#7a681f;box-shadow:0 0 0 4px rgba(143,123,42,.35)
}
.gwolle-gb .gwolle-gb-write input[type="submit"],
.gwolle-gb .gwolle-gb-write button[type="submit"]{
  padding:14px 24px;border:0;border-radius:8px;cursor:pointer;
  background:#a18f37;color:#fff;font-weight:700;letter-spacing:.4px;
  box-shadow:0 6px 14px rgba(0,0,0,.25);transition:.2s
}
.gwolle-gb .gwolle-gb-write input[type="submit"]:hover,
.gwolle-gb .gwolle-gb-write button[type="submit"]:hover{background:#8a7a2e;transform:translateY(-1px)}

/* bacheca */
.gwolle-gb .gwolle-gb-entries-list{
  padding:35px;border-radius:18px;border:14px solid #6f5a2a;
  background:#e6d6a8;
  box-shadow:inset 0 0 30px rgba(0,0,0,.18),0 12px 35px rgba(0,0,0,.25)
}

/* entry */
.gwolle-gb .gb-entry{
  position:relative;overflow:hidden;margin:0 0 20px;padding:18px 20px;border-radius:14px;
  background:#fff;border:1px solid rgba(143,123,42,.35);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  transform:rotate(-.3deg)
}
.gwolle-gb .gb-entry:nth-child(even){transform:rotate(.4deg)}
.gwolle-gb .gb-entry::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:#a18f37
}

/* Gwolle-GB – riga autore: allinea e stacca l’avatar dal bordo sinistro */
.gwolle-gb .gb-entry .gb-author-info{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding-left:14px !important;   /* sposta tutto a destra (avatar incluso) */
  margin-bottom:8px !important;
}

/* avatar: evita che “schiacci” sul bordo */
.gwolle-gb .gb-entry .gb-author-info img{
  margin-left:2px !important;
  flex:0 0 auto !important;
}

/* testo autore+data: rende leggibile la gerarchia */
.gwolle-gb .gb-entry .gb-author-info{
  font-size:13px !important;
  color:#666 !important;
  line-height:1.35 !important;
}

/* link autore: più evidente */
.gwolle-gb .gb-entry .gb-author-info a{
  font-size:16px !important;
  font-weight:800 !important;
  color:#1f3fbf !important;
  text-decoration:none !important;
}
.gwolle-gb .gb-entry .gb-author-info a:hover{
  text-decoration:underline !important;
}

/* contenuto: stessa “rientranza” della riga autore */
.gwolle-gb .gb-entry .gb-entry-content{
  padding-left:14px !important;
}
/* =========================
   Gwolle-GB – Widget pulito
   ========================= */

/* bacheca esterna */
.gwolle-gb-widget{
  padding:18px;
  border-radius:16px;
  border:8px solid #6f5a2a;
  background:#e6d6a8;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,.14),
    0 10px 22px rgba(0,0,0,.18);
}

/* rimuove rettangoli interni senza rompere layout */
.gwolle-gb-widget ul,
.gwolle-gb-widget li,
.gwolle-gb-widget article{
  border:none;
  box-shadow:none;
  background:transparent;
}

/* piccolo respiro interno */
.gwolle-gb-widget li.gwolle_gb_widget{
  margin-bottom:12px;
}

.gwolle-gb-widget li.gwolle_gb_widget article{
  padding:6px 0;
}

/* Gwolle-GB widget – link sottolineati */

.gwolle-gb-widget a{
  text-decoration: underline;
}

.gwolle-gb-widget a:hover{
  text-decoration: underline;
}

/* === Articoli correlati / recenti === */

.related-posts,
.widget_recent_entries,
.wp-block-latest-posts {
    margin-top: 30px;
}

/* Singolo elemento */
.related-posts li,
.widget_recent_entries li,
.wp-block-latest-posts li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eaeaea;
}

/* Miniatura */
.related-posts img,
.widget_recent_entries img,
.wp-block-latest-posts img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Titolo */
.related-posts a,
.widget_recent_entries a,
.wp-block-latest-posts a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-posts a:hover,
.widget_recent_entries a:hover,
.wp-block-latest-posts a:hover {
    color: #c8a24a; /* oro coerente */
}

/* Categoria sotto il titolo */
.related-posts .post-meta,
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}



/* ===== Recent Posts Widget With Thumbnails (RPWWT) ===== */

/* lista */
.rpwwt-widget ul.rpwwt-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* singolo item */
.rpwwt-widget ul.rpwwt-posts li.rpwwt-post {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 18px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #eaeaea;
}

/* thumbnail (link o img) */
.rpwwt-widget .rpwwt-post-thumbnail,
.rpwwt-widget .rpwwt-post-thumbnail img {
  width: 95px;
  height: 95px;
}

.rpwwt-widget .rpwwt-post-thumbnail {
  flex: 0 0 95px;
  display: block;
}

.rpwwt-widget .rpwwt-post-thumbnail img {
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

/* testo a destra */
.rpwwt-widget .rpwwt-post-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  color: #1a1a1a;
  text-decoration: none;
}

.rpwwt-widget .rpwwt-post-title:hover {
  color: #c8a24a;
}

/* meta (data, autore, categorie) */
.rpwwt-widget .rpwwt-post-date,
.rpwwt-widget .rpwwt-post-author,
.rpwwt-widget .rpwwt-post-categories {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: #777;
}

/* se il widget stampa le categorie come link */
.rpwwt-widget .rpwwt-post-categories a {
  color: #777;
  text-decoration: none;
  border-bottom: 1px dotted rgba(119,119,119,.6);
}
.rpwwt-widget .rpwwt-post-categories a:hover {
  color: #c8a24a;
  border-bottom-color: rgba(200,162,74,.8);
}


/* titolo del post: compatta le righe */
#recent-posts-widget-with-thumbnails-3 .rpwwt-post-title,
#recent-posts-widget-with-thumbnails-3 li a {
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

/* compatta il blocco del singolo articolo */
#recent-posts-widget-with-thumbnails-3 li {
  margin-bottom: 10px !important;
  padding-bottom: 10px !important;
}

/* blocco categorie */
/* categorie widget RPWWT: ripulitura completa */
.rpwwt-widget .rpwwt-post-categories {
  display: block !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
  font-size: 0 !important;   /* nasconde "In " e le virgole testuali */
  color: #8a8a8a !important;
}

/* prefisso pulito */
.rpwwt-widget .rpwwt-post-categories::before {
  content: "In ";
  font-size: 12px;
  color: #8a8a8a;
}

/* link categorie */
.rpwwt-widget .rpwwt-post-categories a {
  display: inline !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #8a8a8a !important;
  text-decoration: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* separatore pulito tra categorie */
.rpwwt-widget .rpwwt-post-categories a + a::before {
  content: " · ";
  color: #b7b7b7;
}

/* hover */
.rpwwt-widget .rpwwt-post-categories a:hover {
  color: #c8a24a !important;
}
/* FINE ===== Recent Posts Widget With Thumbnails (RPWWT) ===== */