/* ===== sott editorial content-page template ===== */
.sott-ed{--ink:#28331f;--green:#3f6b46;--cream:#f5eddf;--gold:#cB9A63;--terra:#b56a39;font-family:"Montserrat",system-ui,sans-serif}

/* hero band */
.sott-ed-hero{position:relative;width:100%;min-height:clamp(300px,46vh,460px);display:flex;align-items:flex-end;
  background-size:cover;background-position:center;overflow:hidden}
.sott-ed-hero--plain{background:#3f6b46}
.sott-ed-hero::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(28,40,22,.10) 0%,rgba(28,40,22,.48) 62%,rgba(28,40,22,.84) 100%)}
.sott-ed-hero-in{position:relative;z-index:1;max-width:1320px;margin:0 auto;width:100%;padding:0 clamp(20px,4vw,40px) clamp(28px,4vw,44px)}
.sott-ed-kicker{font-size:12.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin:0 0 12px}
.sott-ed-hero h1{font-family:"Kameron",Georgia,serif;color:#fff;font-weight:700;
  font-size:clamp(28px,4.6vw,54px);line-height:1.06;margin:0;max-width:20ch;
  text-shadow:0 2px 20px rgba(0,0,0,.45),0 1px 3px rgba(0,0,0,.4)}

/* reading column */
.sott-ed-body{max-width:760px;margin:clamp(38px,6vw,68px) auto clamp(30px,4vw,44px);
  padding:0 clamp(20px,4vw,28px);color:var(--ink);font-family:"Roboto","Montserrat",system-ui,sans-serif;
  font-size:18px;line-height:1.78}
.sott-ed-body p{margin:0 0 1.3em;max-width:68ch}
.sott-ed-body p:first-of-type{font-size:20px;line-height:1.7;color:#2f3d26}
.sott-ed-body h2{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;
  font-size:clamp(21px,2.6vw,29px);line-height:1.2;margin:1.7em 0 .5em}

/* meta cards (orari / tour) */
.sott-ed-meta{max-width:1040px;margin:0 auto clamp(40px,6vw,68px);padding:0 clamp(20px,4vw,28px);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:18px}
.sott-ed-card{background:var(--cream);border:1px solid rgba(63,107,70,.16);border-radius:16px;padding:22px 26px}
.sott-ed-card h3{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;font-size:20px;
  margin:0 0 12px;display:flex;align-items:center;gap:10px}
.sott-ed-card h3 i{color:var(--terra);font-size:18px}
.sott-ed-card p{margin:0 0 .5em;color:#4c5a40;font-size:15.5px;line-height:1.6}
.sott-ed-card a{color:var(--terra);text-decoration:none;font-weight:600}
.sott-ed-card a:hover{text-decoration:underline}

/* gallery */
.sott-ed-gallery{max-width:1320px;margin:0 auto clamp(48px,7vw,84px);padding:0 clamp(20px,4vw,28px)}
.sott-ed-gallery h2{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;
  font-size:clamp(22px,2.8vw,32px);text-align:center;margin:0 0 26px}
.sott-ed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.sott-ed-grid a{display:block;border-radius:14px;overflow:hidden;aspect-ratio:4/3;background:#e9ddc6}
.sott-ed-grid img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.sott-ed-grid a:hover img{transform:scale(1.06)}
@media(max-width:640px){.sott-ed-body{font-size:17px}.sott-ed-body p:first-of-type{font-size:18px}}

/* ===== 5x1000 / sostieni block ===== */
.sott-give{max-width:900px;margin:0 auto clamp(40px,6vw,64px);padding:0 clamp(20px,4vw,28px)}
.sott-give-card{background:#3f6b46;color:#f5eddf;border-radius:18px;padding:clamp(26px,4vw,40px);
  display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center}
.sott-give-card h2{font-family:"Kameron",Georgia,serif;color:#fff;font-size:clamp(22px,2.8vw,30px);margin:0 0 12px}
.sott-give-card p{margin:0 0 14px;font-size:15.5px;line-height:1.65;color:rgba(245,237,223,.92)}
.sott-cf{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}
.sott-cf-num{font-family:"Roboto Mono","Kameron",monospace;font-size:clamp(20px,3vw,28px);font-weight:600;
  letter-spacing:.06em;color:#fff;background:rgba(255,247,230,.10);border:1px dashed rgba(245,237,223,.4);
  border-radius:12px;padding:10px 18px}
.sott-cf button{font-family:"Montserrat",sans-serif;font-weight:600;font-size:13px;cursor:pointer;
  background:#cB9A63;color:#2c452f;border:0;border-radius:10px;padding:11px 16px;transition:transform .15s,background .15s}
.sott-cf button:hover{transform:translateY(-1px);background:#d8ab74}
.sott-give-img{text-align:center}
.sott-give-img img{max-width:200px;width:100%;height:auto;background:#fff;border-radius:14px;padding:14px}
@media(max-width:680px){.sott-give-card{grid-template-columns:1fr;text-align:center}.sott-cf{justify-content:center}.sott-give-img{order:-1}}

/* nascondi il titolo pagina del tema sopra il contenuto baked (es. pagine non-Elementor) */
body.sott-baked .entry-title,body.sott-baked .page-header,body.sott-baked header.entry-header,
body.sott-baked .elementor-page-title,body.sott-baked .page-title{display:none!important}

/* ===== pagina risultati ricerca ===== */
body.search .site-main{max-width:800px;margin:0 auto;
  padding:clamp(34px,5vw,64px) clamp(20px,4vw,28px) clamp(48px,7vw,80px);
  font-family:"Roboto","Montserrat",system-ui,sans-serif;color:#28331f}
body.search .site-main h1{font-family:"Kameron",Georgia,serif;color:#3f6b46;font-weight:600;
  font-size:clamp(23px,3.2vw,34px);line-height:1.15;margin:0 0 .9em}
body.search article.post{padding:20px 0;border-bottom:1px solid rgba(63,107,70,.16)}
body.search article.post:first-of-type{border-top:1px solid rgba(63,107,70,.16)}
body.search article.post h2{font-family:"Kameron",Georgia,serif;font-weight:600;
  font-size:clamp(19px,2.4vw,23px);line-height:1.25;margin:0 0 .35em}
body.search article.post h2 a{color:#28331f;text-decoration:none}
body.search article.post h2 a:hover{color:#b56a39}
body.search article.post p{color:#4c5a40;font-size:16px;line-height:1.65;margin:0}
body.search .site-main .search-form,body.search .site-main form[role=search]{display:flex;gap:10px;margin:8px 0 28px;max-width:480px}
body.search .site-main input[type=search]{flex:1;font-family:"Montserrat",sans-serif;font-size:15.5px;color:#28331f;
  background:#fff;border:1px solid rgba(63,107,70,.28);border-radius:12px;padding:13px 16px}
body.search .site-main input[type=search]:focus{outline:none;border-color:#3f6b46;box-shadow:0 0 0 3px rgba(63,107,70,.14)}
body.search .site-main button,body.search .site-main input[type=submit]{cursor:pointer;font-family:"Montserrat",sans-serif;
  font-weight:600;color:#fff;background:#3f6b46;border:0;border-radius:12px;padding:13px 24px}

/* ===== breadcrumb pagine interne ===== */
.sott-bc{max-width:1320px;margin:0 auto;padding:6px clamp(20px,4vw,40px) 0;
  font-family:"Montserrat",system-ui,sans-serif;font-size:13px;color:#6a7860;
  display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.sott-bc a{color:#3f6b46;text-decoration:none;font-weight:600}
.sott-bc a:hover{text-decoration:underline}
.sott-bc .sep{color:#b56a39;font-weight:700}
.sott-bc .cur{color:#6a7860}

/* ===== itinerari: timeline tappe ===== */
.sott-itin{max-width:820px;margin:0 auto clamp(30px,5vw,52px);padding:0 clamp(20px,4vw,28px)}
.sott-itin-head{text-align:center;margin:0 0 clamp(28px,4vw,44px)}
.sott-itin-head h2{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;
  font-size:clamp(22px,3vw,32px);margin:0 0 8px}
.sott-itin-head p{color:#5b6a4d;font-size:15.5px;max-width:60ch;margin:0 auto;line-height:1.6}
.sott-tappe{list-style:none;margin:0;padding:0;position:relative}
.sott-tappe::before{content:"";position:absolute;left:23px;top:14px;bottom:14px;width:2px;
  background:linear-gradient(180deg,var(--green),var(--gold) 60%,rgba(181,106,57,.35));border-radius:2px}
.sott-tappa{position:relative;padding:0 0 clamp(26px,3.4vw,38px) 66px;scroll-margin-top:90px}
.sott-tappa:last-child{padding-bottom:0}
.sott-tappa-n{position:absolute;left:0;top:0;width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;z-index:1;
  font-family:"Kameron",Georgia,serif;font-weight:700;font-size:19px;color:#fff;
  background:radial-gradient(circle at 32% 28%,#5a8a5f,var(--green));
  box-shadow:0 0 0 5px var(--cream),0 4px 12px rgba(40,51,31,.22)}
.sott-tappa h3{font-family:"Kameron",Georgia,serif;color:var(--ink);font-weight:600;
  font-size:clamp(18px,2.2vw,22px);line-height:1.2;margin:8px 0 .45em}
.sott-tappa p{margin:0 0 .7em;color:#3a4730;font-family:"Roboto","Montserrat",sans-serif;
  font-size:16.5px;line-height:1.72;max-width:64ch}
.sott-tappa p:last-child{margin-bottom:0}
.sott-tappa a{color:var(--terra);text-decoration:none;font-weight:600;border-bottom:1px solid rgba(181,106,57,.32)}
.sott-tappa a:hover{border-bottom-color:var(--terra)}
@media(max-width:560px){
  .sott-tappa{padding-left:56px}
  .sott-tappa-n{width:42px;height:42px;font-size:17px;box-shadow:0 0 0 4px var(--cream),0 4px 12px rgba(40,51,31,.22)}
  .sott-tappe::before{left:20px}
}

/* ===== mappa consenso ===== */
.sott-ed-map{max-width:1040px;margin:0 auto clamp(40px,6vw,64px);padding:0 clamp(20px,4vw,28px)}
.sott-ed-map h2{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;
  font-size:clamp(20px,2.6vw,28px);text-align:center;margin:0 0 18px}
.sott-ed-map .frame{border-radius:16px;overflow:hidden;border:1px solid rgba(63,107,70,.18);
  box-shadow:0 10px 30px rgba(40,51,31,.10);background:#e9ddc6}
.sott-ed-map iframe{display:block;width:100%;min-height:clamp(340px,52vh,500px);border:0}

/* ===== cross-link altri itinerari ===== */
.sott-ed-more{max-width:1040px;margin:0 auto clamp(40px,6vw,64px);padding:0 clamp(20px,4vw,28px);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.sott-ed-more a{display:flex;flex-direction:column;gap:4px;background:var(--cream);
  border:1px solid rgba(63,107,70,.16);border-radius:14px;padding:18px 22px;text-decoration:none;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.sott-ed-more a:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(40,51,31,.12)}
.sott-ed-more .k{font-size:11.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.sott-ed-more .t{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;font-size:18px;line-height:1.25}

/* ===== form contatto (pagine editoriali) ===== */
.sott-ed-contact{max-width:680px;margin:0 auto clamp(48px,7vw,80px);padding:0 clamp(20px,4vw,28px)}
.sott-ed-contact .head{text-align:center;margin:0 0 22px}
.sott-ed-contact h2{font-family:"Kameron",Georgia,serif;color:var(--green);font-weight:600;
  font-size:clamp(21px,2.8vw,30px);margin:0 0 8px}
.sott-ed-contact .head p{color:#5b6a4d;font-size:15.5px;line-height:1.6;margin:0}
.sott-form-msg{border-radius:12px;padding:14px 18px;margin:0 0 16px;font-size:15px;font-weight:500}
.sott-form-msg.ok{background:rgba(63,107,70,.12);color:#2c452f;border:1px solid rgba(63,107,70,.35)}
.sott-form-msg.err{background:rgba(181,106,57,.12);color:#8a4a23;border:1px solid rgba(181,106,57,.4)}
.sott-ed-contact .sott-form{display:grid;gap:14px}
.sott-ed-contact .sott-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sott-ed-contact .sott-form input,.sott-ed-contact .sott-form textarea{
  font-family:"Montserrat",sans-serif;font-size:15.5px;color:var(--ink);background:#fff;
  border:1px solid rgba(63,107,70,.28);border-radius:12px;padding:14px 16px;width:100%;transition:border-color .2s,box-shadow .2s}
.sott-ed-contact .sott-form input:focus,.sott-ed-contact .sott-form textarea:focus{
  outline:0;border-color:var(--green);box-shadow:0 0 0 3px rgba(63,107,70,.14)}
.sott-ed-contact .sott-form textarea{min-height:140px;resize:vertical}
.sott-ed-contact .sott-form button{justify-self:start;font-family:"Montserrat",sans-serif;font-weight:600;
  font-size:15px;cursor:pointer;color:#fff;background:var(--green);border:0;border-radius:12px;
  padding:14px 30px;transition:transform .15s,background .2s}
.sott-ed-contact .sott-form button:hover{transform:translateY(-1px);background:#4a7c52}
