/*
Theme Name: Appennino Reggiano Guida
Theme URI: https://bbviviana.it
Description: Tema figlio Astra per una guida esperienziale all'Appennino reggiano: sentieri della Pietra di Bismantova, borghi matildici e sapori di montagna, raccontati da una guida escursionistica.
Author: Bernardo Toschi
Template: astra
Version: 0.1.1
Text Domain: sentierireggiani
Tags: custom-logo, custom-colors, one-column, custom-menu
*/

@font-face {
  font-family: 'Anek Latin';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('assets/fonts/anek-latin-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anek Latin';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('assets/fonts/anek-latin-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manuale';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/manuale-italic-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manuale';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/manuale-italic-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manuale';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manuale-400-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manuale';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manuale-400-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  
  --calcare: #ffffff;
  --base: #ffffff;
  --arenaria: #ece1cb;
  --arenaria-velo: #f6f1e7;
  --macigno: #c4b391;
  --faggeta: #77805f;
  --castagno: #2a2119;

  
  --txt: #2a2119;
  --txt-70: rgba(42, 33, 25, 0.74);
  --txt-40: rgba(42, 33, 25, 0.42);
  --pop: #7d5534;
  --ocra: #d29a43;
  --venatura: rgba(42, 33, 25, 0.13);
  --venatura-forte: rgba(42, 33, 25, 0.3);

  
  --heading-font: "Manuale", Georgia, serif;
  --font-text: "Manuale", Georgia, serif;
  --font-ui: "Anek Latin", "Segoe UI", system-ui, sans-serif;

  
  --tap: 44px;

  
  --side: clamp(18px, 4.5vw, 56px);
  --shell: 1240px;
  --colonna: 44rem;
}

:where(html) {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

:where(html) *, :where(html) *::before, :where(html) *::after { box-sizing: inherit; }
body.sr {
  margin: 0;
  font-family: var(--font-text);
}
:where(body.sr) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.sr) :where(img, video) { height: auto; }
:where(body.sr) :where(figure) { margin: 0; }
:where(body.sr) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.sr) :where(textarea) { width: 100%; }
:where(body.sr) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.sr) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.sr) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.sr) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.sr) .aligncenter { display: block; margin-inline: auto; }
.sr-container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--side);
}
.sr-main { min-height: 60vh; }

:where(input[type="reset"], button, .button, input[type="button"], input[type="submit"]) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.sr-searchform {
  display: flex;
  align-items: stretch;
}
.sr-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.sr-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.sr-drawer__close,
.sr-search-overlay__close,
.sr-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sr-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
:where(body.sr) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.sr-header__nav > li {
  position: relative;
}
.sr-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.sr-header__nav > li:hover > .sub-menu,
.sr-header__nav > li.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.sr-submenu-toggle {
  min-height: var(--tap);
}
.sr-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.sr) .sr-menu-label {
  cursor: default;
}

.sr-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.sr-crumbs > * {
  flex: none;
}
.sr-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.sr) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.sr) :where(a) { text-decoration-color: currentColor; }

body.sr {
  background: var(--calcare);
  color: var(--txt);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: normal;
}
:where(body.sr) :where(h1, h2, h3, h4) {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
:where(body.sr) :where(a):hover { color: var(--pop); }
:where(body.sr) :focus-visible { outline: 2px solid var(--pop); outline-offset: 3px; }

.sr-cima,
.sr-card__cat,
.sr-tappa__cat {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 600;
  font-stretch: 92%;
  color: var(--pop);
  text-decoration: none;
}
.sr-cima::before,
.sr-titolo h2::before,
.sr-indice__nome::before {
  content: "";
  flex: none;
  width: 1.05em;
  height: .58em;
  background: var(--ocra);
  clip-path: polygon(0 100%, 14% 62%, 24% 8%, 30% 0, 74% 0, 80% 10%, 88% 62%, 100% 100%);
}

.sr-header {
  position: relative;
  z-index: 50;
  background: var(--base);
  border-bottom: 1px solid var(--venatura);
}
.sr-header__fila {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .7rem var(--side);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.sr-marchio {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--pop);
  text-decoration: none;
}
.sr-marchio__segno { width: 44px; height: auto; flex: none; }
.sr-marchio__sentiero { stroke: var(--ocra); }
.sr-header__wordmark {
  font-family: var(--heading-font);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.sr-header__nav-wrap { margin-left: auto; }
.sr-header__nav {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  font-stretch: 90%;
}
.sr-header__nav > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 .7rem;
  color: var(--txt);
  text-decoration: none;
}
.sr-header__nav > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 1.2rem;
  height: .5rem;
  translate: -50% 0;
  background: var(--ocra);
  clip-path: polygon(0 100%, 14% 62%, 24% 8%, 30% 0, 74% 0, 80% 10%, 88% 62%, 100% 100%);
  opacity: 0;
}
.sr-header__nav > li > a:hover { color: var(--pop); }
.sr-header__nav > .current-menu-item > a,
.sr-header__nav > .current-menu-ancestor > a,
.sr-header__nav > .current-post-ancestor > a { color: var(--pop); }
.sr-header__nav > .current-menu-item > a::after,
.sr-header__nav > .current-menu-ancestor > a::after,
.sr-header__nav > .current-post-ancestor > a::after { opacity: 1; }
.sr-header__nav .sub-menu {
  min-width: 15rem;
  padding: .4rem 0;
  background: var(--base);
  border: 1px solid var(--venatura);
  box-shadow: 0 10px 24px rgba(42, 33, 25, .12);
}
.sr-header__nav .sub-menu a { display: block; padding: .5rem 1rem; text-decoration: none; }
.sr-header__actions { display: flex; align-items: center; gap: .25rem; }
.sr-header__search {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--pop);
  border: 1px solid var(--venatura-forte);
  border-radius: 3px;
}
.sr-header__search:hover { background: var(--arenaria-velo); }
.sr-header__hamburger { display: none; flex-direction: column; gap: 5px; }
.sr-header__hamburger span { display: block; width: 22px; height: 2px; background: var(--txt); }
@media (max-width: 1179px) {
  .sr-header__nav-wrap { display: none; }
  .sr-header__actions { margin-left: auto; }
  .sr-header__hamburger { display: inline-flex; }
}
@media (max-width: 543px) {
  .sr-header__fila { gap: .6rem; min-height: 64px; }
  .sr-marchio__segno { width: 36px; }
  .sr-header__wordmark { font-size: 1.06rem; white-space: normal; max-width: 15ch; }
  .sr-header__search { padding: 0; width: var(--tap); justify-content: center; border-color: transparent; }
  .sr-header__search-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.sr-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 200;
  width: min(86vw, 360px);
  padding: 1rem 1.4rem 2rem;
  background: var(--arenaria-velo);
  border-left: 3px solid var(--ocra);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s .25s;
}
body.sr-menu-aperto .sr-drawer { transform: none; visibility: visible; transition: transform .25s ease; }
body.sr-menu-aperto::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(42, 33, 25, .45);
}
.sr-drawer__close { margin-left: auto; font-size: 1.8rem; color: var(--txt); }
.sr-drawer__nav { margin: .5rem 0 0; padding: 0; list-style: none; font-family: var(--font-ui); font-size: 1.12rem; font-weight: 500; }
.sr-drawer__nav a { display: block; padding: .7rem 0; color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--venatura); }
.sr-drawer__nav .current-menu-item > a { color: var(--pop); }
.sr-drawer .sub-menu a { padding-left: 1rem; font-size: 1rem; }
.sr-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: start center;
  padding: 18vh var(--side) 0;
  background: rgba(246, 241, 231, .97);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s .2s;
}
body.sr-cerca-aperta .sr-search-overlay { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.sr-search-overlay__close { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; color: var(--txt); }
.sr-search-overlay__inner { width: min(100%, 40rem); }
.sr-searchform__input {
  padding: .6rem .9rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  color: var(--txt);
  background: var(--base);
  border: 1px solid var(--venatura-forte);
  border-right: 0;
  border-radius: 3px 0 0 3px;
}
.sr-searchform__submit {
  font-family: var(--font-ui);
  font-weight: 600;
  color: #fff;
  background: var(--pop);
  border-radius: 0 3px 3px 0;
}

.sr-blocco { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.sr-titolo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.sr-titolo h2 {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}
.sr-titolo h2::before { width: 1.25em; height: .62em; }
.sr-titolo::after { content: ""; flex: 1; height: 1px; background: var(--venatura-forte); }

.sr-apertura {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 1rem 3rem;
  align-items: end;
  padding-top: clamp(2rem, 5vw, 3.6rem);
}
.sr-apertura__titolo {
  margin: 0;
  font-size: clamp(2.05rem, 1.2rem + 3.4vw, 3.45rem);
  font-weight: 650;
  color: var(--txt);
}
.sr-apertura__nota {
  margin: 0 0 .4rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--txt-70);
  border-left: 2px solid var(--ocra);
  padding-left: 1rem;
}
@media (max-width: 760px) {
  .sr-apertura { grid-template-columns: 1fr; }
}

.sr-profilo {
  position: relative;
  height: clamp(96px, 15vw, 210px);
  margin-top: clamp(.5rem, 2vw, 1.5rem);
}
.sr-profilo svg,
.sr-profilo__luce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sr-profilo__luce svg { position: absolute; inset: 0; }
.sr-profilo__colli { fill: var(--faggeta); opacity: .55; }
.sr-profilo__roccia { fill: var(--macigno); }
.sr-profilo__crepe { stroke: #8f7a55; stroke-width: 2; opacity: .35; }
.sr-profilo__crepe--lume { stroke: #a9773a; opacity: .3; }
.sr-profilo__piede { fill: var(--arenaria); }
.sr-profilo__piede path { fill: var(--arenaria); }
.sr-profilo__piede .sr-profilo__bosco { fill: var(--faggeta); opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .sr-profilo__luce { animation: sr-alba 1.9s cubic-bezier(.3, .6, .2, 1) .35s both; }
}
@keyframes sr-alba {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.sr-arenaria { background: var(--arenaria); padding-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sr-evidenza {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: center;
}
.sr-evidenza__foto { display: block; }
.sr-evidenza__foto .sr-photo { aspect-ratio: 16 / 10; }
.sr-evidenza__titolo { margin: .7rem 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.sr-evidenza__titolo a { text-decoration: none; }
.sr-evidenza__deck { margin: 0 0 1rem; font-size: 1.1rem; color: var(--txt-70); }
.sr-evidenza__meta { margin: 0; font-family: var(--font-ui); font-size: .95rem; color: var(--txt-70); }
@media (max-width: 860px) {
  .sr-evidenza { grid-template-columns: 1fr; }
}

.sr-photo {
  display: block;
  overflow: hidden;
  background: var(--macigno);
  border-radius: 2px;
}
.sr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sr-via-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-tappa { position: relative; padding-left: 1.6rem; }
.sr-tappa::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed var(--ocra);
}
.sr-tappa::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 12px;
  height: 12px;
  border: 2px solid var(--pop);
  border-radius: 50%;
  background: var(--base);
}
.sr-tappa__link {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--venatura);
}
.sr-tappa__foto { aspect-ratio: 4 / 3; }
.sr-tappa__testo { display: flex; flex-direction: column; gap: .3rem; }
.sr-tappa__cat { font-size: .85rem; }
.sr-tappa__titolo { font-family: var(--heading-font); font-weight: 650; font-size: 1.1rem; line-height: 1.25; }
.sr-tappa__link:hover .sr-tappa__titolo { color: var(--pop); text-decoration: underline; text-underline-offset: 3px; }
.sr-tappa__meta { font-family: var(--font-ui); font-size: .88rem; color: var(--txt-70); }
@media (max-width: 860px) {
  .sr-via-lista { grid-template-columns: 1fr; }
}
@media (max-width: 543px) {
  .sr-tappa__link { grid-template-columns: 96px minmax(0, 1fr); gap: .8rem; }
}

.sr-indice {
  margin: 0;
  padding: .4rem clamp(1rem, 3vw, 2rem);
  list-style: none;
  background: var(--arenaria-velo);
  border-top: 3px solid var(--arenaria);
}
.sr-indice__voce {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  gap: .4rem 2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--venatura);
}
.sr-indice__voce:last-child { border-bottom: 0; }
.sr-indice__nome {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--txt);
  text-decoration: none;
}
.sr-indice__ultimo { color: var(--txt-70); text-decoration-color: var(--txt-40); text-underline-offset: 3px; }
.sr-indice__conto { font-family: var(--font-ui); font-weight: 600; color: var(--pop); text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) {
  .sr-indice__voce { grid-template-columns: minmax(0, 1fr) auto; }
  .sr-indice__ultimo { grid-column: 1 / -1; grid-row: 2; }
}

.sr-griglia { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.sr-card { display: flex; flex-direction: column; gap: .5rem; }
.sr-card__foto { display: block; margin-bottom: .3rem; }
.sr-card__foto .sr-photo { aspect-ratio: 3 / 2; }
.sr-card__cat { margin: 0; font-size: .85rem; }
.sr-card__title { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.sr-card__title a { text-decoration: none; }
.sr-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-card__meta { margin: 0; font-family: var(--font-ui); font-size: .88rem; color: var(--txt-70); }
@media (max-width: 1023px) { .sr-griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 543px) { .sr-griglia { grid-template-columns: 1fr; } }

.sr-single__header { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.sr-crumbs {
  margin-bottom: 1.4rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--txt-70);
}
.sr-crumbs a { color: var(--txt-70); text-underline-offset: 3px; }
.sr-single__title {
  max-width: 22em;
  margin: .7rem 0 1rem;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700;
}
.sr-single__deck { max-width: 40rem; margin: 0 0 1rem; font-size: 1.2rem; font-style: italic; color: var(--txt-70); }
.sr-single__meta {
  margin: 0 0 1.6rem;
  padding-top: .8rem;
  font-family: var(--font-ui);
  font-size: .95rem;
  color: var(--txt-70);
  border-top: 1px solid var(--venatura);
}
.sr-single__meta a { color: var(--pop); font-weight: 600; text-decoration: none; }
.sr-single__cover img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; }
@media (max-width: 759px) { .sr-single__cover img { aspect-ratio: 3 / 2; } }
.sr-single__layout {
  display: grid;
  grid-template-columns: minmax(0, var(--colonna));
  justify-content: center;
  gap: 3.5rem;
  padding-top: clamp(1.8rem, 4vw, 3rem);
}
.sr-via { display: none; }
@media (min-width: 1100px) {
  .sr-single--via .sr-single__layout { grid-template-columns: 15rem minmax(0, var(--colonna)); justify-content: start; }
  .sr-single--via .sr-via { display: block; }
  .sr-single--via .sr-single__body #ez-toc-container { display: none; }
}
.sr-via {
  position: sticky;
  top: 1.5rem;
  align-self: start;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  font-family: var(--font-ui);
}
.sr-via__titolo {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .8rem;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
}
.sr-via__soste { margin: 0; padding: 0; list-style: none; border-left: 2px dashed var(--ocra); }
.sr-via__sosta a {
  position: relative;
  display: block;
  padding: .45rem 0 .45rem 1.1rem;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--txt-70);
  text-decoration: none;
}
.sr-via__sosta a::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .72rem;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ocra);
  border-radius: 50%;
  background: var(--base);
}
.sr-via__sosta a:hover,
.sr-via__sosta a[aria-current] { color: var(--txt); }
.sr-via__sosta a[aria-current]::before { background: var(--pop); border-color: var(--pop); }

.sr-single__body { font-size: 1.15rem; line-height: 1.7; min-width: 0; }
.sr-single__body > * { margin-block: 0 1.15em; }
.sr-single__body h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 2.2em 0 .7em;
  font-size: clamp(1.45rem, 1rem + 1.6vw, 1.85rem);
  scroll-margin-top: 1.5rem;
}
.sr-single__body h2::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: .55em;
  background: var(--ocra);
  clip-path: polygon(0 100%, 14% 62%, 24% 8%, 30% 0, 74% 0, 80% 10%, 88% 62%, 100% 100%);
}
.sr-single__body h3 { margin: 1.8em 0 .5em; font-size: 1.3rem; }
.sr-single__body a { color: var(--pop); text-underline-offset: 3px; }
.sr-single__body ul,
.sr-single__body ol { padding-left: 1.3em; }
.sr-single__body li { margin-bottom: .35em; }
.sr-single__body li::marker { color: var(--pop); }
.sr-single__body blockquote {
  margin-inline: 0;
  padding: .3rem 0 .3rem 1.2rem;
  font-style: italic;
  border-left: 3px solid var(--ocra);
}
.sr-single__body table { font-family: var(--font-ui); font-size: .98rem; }
.sr-single__body th,
.sr-single__body td { padding: .55rem .7rem; text-align: left; border-bottom: 1px solid var(--venatura); }
.sr-single__body th { background: var(--arenaria); }
.sr-single__body #ez-toc-container {
  padding: 1rem 1.3rem;
  font-family: var(--font-ui);
  background: var(--arenaria-velo);
  border: 0;
  border-left: 3px solid var(--ocra);
  border-radius: 0;
  box-shadow: none;
}
.sr-single__body #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sr-single__body #ez-toc-container p.ez-toc-title { margin: 0; font-family: var(--heading-font); font-size: 1.1rem; font-weight: 700; }
.sr-single__body #ez-toc-container a.ez-toc-toggle { display: inline-flex; float: none; }
.sr-single__body #ez-toc-container .ez-toc-js-icon-con { left: 0; border: 0; }
.sr-single__body #ez-toc-container .ez-toc-btn:focus { outline: 0; }
.sr-single__body #ez-toc-container .ez-toc-btn:focus-visible { outline: 2px solid var(--pop); }
.sr-single__body #ez-toc-container ul.ez-toc-list a { color: var(--pop); }

.sr-autore {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  padding: 1.4rem;
  background: var(--arenaria-velo);
  border-top: 3px solid var(--arenaria);
}
.sr-autore__foto { border-radius: 50%; }
.sr-autore__etichetta { margin: 0; font-family: var(--font-ui); font-size: .88rem; color: var(--txt-70); }
.sr-autore__nome { margin: .1rem 0 .4rem; font-family: var(--heading-font); font-size: 1.3rem; font-weight: 700; }
.sr-autore__nome a { text-decoration: none; }
.sr-autore__bio { font-size: 1rem; }
.sr-autore__bio p { margin: 0 0 .5em; }

.sr-passi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.sr-passo {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem 0;
  text-decoration: none;
  border-top: 2px dashed var(--ocra);
}
.sr-passo--succ { grid-column: 2; text-align: right; }
.sr-passo__dir { font-family: var(--font-ui); font-size: .9rem; font-weight: 600; color: var(--pop); }
.sr-passo__titolo { font-family: var(--heading-font); font-size: 1.15rem; font-weight: 650; line-height: 1.25; }
.sr-passo:hover .sr-passo__titolo { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .sr-passi { grid-template-columns: 1fr; }
  .sr-passo--succ { grid-column: auto; }
}
.sr-altrove { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.sr-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 3rem 0 1.4rem;
  color: #e9dfcc;
  background: var(--castagno);
  border-top: 4px solid var(--ocra);
}
.sr-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}
.sr-marchio--pied { color: #f3e8d4; }
.sr-marchio--pied span { font-family: var(--heading-font); font-size: 1.3rem; font-weight: 600; }
.sr-footer__motto { max-width: 26rem; margin: .8rem 0 0; font-style: italic; color: #cfc2aa; }
.sr-footer__head { margin: 0 0 .7rem; font-family: var(--font-ui); font-weight: 700; color: var(--ocra); }
.sr-footer__list { margin: 0; padding: 0; list-style: none; font-family: var(--font-ui); }
.sr-footer__list a { display: inline-block; padding: .3rem 0; color: #e9dfcc; text-decoration: none; }
.sr-footer__list a:hover { color: #fff; text-decoration: underline; }
.sr-footer__copyright {
  margin-top: 2.4rem;
  padding-top: 1rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: #b9ab92;
  border-top: 1px solid rgba(233, 223, 204, .18);
}
@media (max-width: 760px) {
  .sr-footer__inner { grid-template-columns: 1fr 1fr; }
  .sr-footer__brand { grid-column: 1 / -1; }
}

.sr-archive__header { padding-top: clamp(1.4rem, 3vw, 2.2rem); max-width: 52rem; }
.sr-archive__cat { margin: 0; }
.sr-archive__title {
  margin: .6rem 0 .8rem;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.sr-archive__desc { max-width: 40rem; font-size: 1.1rem; color: var(--txt-70); }
.sr-archive__desc p { margin: 0 0 .6em; }
.sr-archive__conto {
  margin: 0;
  padding-top: .7rem;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  color: var(--pop);
  border-top: 1px solid var(--venatura);
}
.sr-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: clamp(1.6rem, 3.5vw, 2.6rem);
}
.sr-archive__lista { min-width: 0; max-width: 54rem; }
.sr-archive__vuoto { font-size: 1.1rem; color: var(--txt-70); }
@media (max-width: 1023px) {
  .sr-archive__layout { grid-template-columns: minmax(0, 1fr); }
}

.sr-riga {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--venatura);
}
.sr-riga:first-child { padding-top: 0; }
.sr-riga__foto { display: block; }
.sr-riga__foto .sr-photo { aspect-ratio: 4 / 3; }
.sr-riga__testo { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-width: 0; }
.sr-riga__cat { font-size: .88rem; }
.sr-riga__titolo {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.22;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: anywhere;
}
.sr-riga__titolo a { text-decoration: none; }
.sr-riga__titolo a:hover { color: var(--pop); text-decoration: underline; text-underline-offset: 3px; }
.sr-riga__deck { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--txt-70); }
.sr-riga__meta { margin: 0; font-family: var(--font-ui); font-size: .9rem; color: var(--txt-70); }
@media (max-width: 680px) {
  .sr-riga { grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; padding: 1.1rem 0; }
  .sr-riga__deck { display: none; }
  .sr-riga__titolo { font-size: 1.1rem; }
}

.sr-piastra {
  padding: 1.2rem 1.3rem .6rem;
  background: var(--arenaria-velo);
  border-top: 3px solid var(--arenaria);
}
@media (min-width: 1024px) { .sr-piastra { position: sticky; top: 1.5rem; } }
.sr-piastra__titolo { margin: 0 0 .5rem; font-family: var(--heading-font); font-size: 1.15rem; font-weight: 700; }
.sr-piastra__lista { margin: 0; padding: 0; list-style: none; }
.sr-piastra__voce {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem .8rem;
  min-height: var(--tap);
  padding: .55rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--venatura);
}
.sr-piastra__lista li:last-child .sr-piastra__voce { border-bottom: 0; }
.sr-piastra__voce .sr-cima { font-size: .98rem; }
.sr-piastra__voce:hover .sr-cima { text-decoration: underline; text-underline-offset: 3px; }
.sr-piastra__voce[aria-current] .sr-cima { color: var(--txt); }
.sr-piastra__conto { font-family: var(--font-ui); font-size: .88rem; color: var(--txt-70); white-space: nowrap; }

.sr-pager {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: 2rem;
  font-family: var(--font-ui);
  font-weight: 600;
}
.sr-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .6rem;
  color: var(--pop);
  text-decoration: none;
  border: 1px solid var(--venatura);
  border-radius: 2px;
}
.sr-pager a.page-numbers:hover { background: var(--arenaria-velo); }
.sr-pager .page-numbers.current { color: var(--txt); border-color: var(--txt); box-shadow: inset 0 -3px 0 var(--ocra); }
.sr-pager .page-numbers.dots { border-color: transparent; }

.sr-ricerca__form { margin-top: 1.2rem; max-width: 34rem; }
.sr-ricerca__vuoto { padding: 1.2rem 0 1.2rem 1.2rem; font-size: 1.1rem; border-left: 2px dashed var(--ocra); }
.sr-ricerca__vuoto p { margin: 0; }

.sr-autore--testa { grid-template-columns: 120px minmax(0, 1fr); margin-top: .6rem; padding: 1.6rem; }
.sr-autore.sr-autore--solo { grid-template-columns: minmax(0, 1fr); }
.sr-autore--testa .sr-autore__nome { margin: .1rem 0 .6rem; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.sr-autore--testa .sr-autore__bio { max-width: 40rem; font-size: 1.05rem; }
.sr-autore--testa .sr-archive__conto { margin-top: .8rem; }
@media (max-width: 543px) {
  .sr-autore--testa { grid-template-columns: 1fr; padding: 1.2rem; }
}

.sr-page__header { max-width: var(--colonna); margin-inline: auto; padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.sr-page__title {
  margin: .4rem 0 1.4rem;
  padding-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  border-bottom: 1px solid var(--venatura);
  hyphens: auto;
  overflow-wrap: anywhere;
}
.sr-page__body { max-width: var(--colonna); margin-inline: auto; }

.sr-page__body ul:has(> li > .wsp-container) { padding-left: 0; list-style: none; }
.sr-page__body .wsp-container ul ul { list-style: square; }

.sr-contact .sr-page__header { max-width: none; margin-inline: 0; }
.sr-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.sr-contact__form {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--arenaria-velo);
  border-top: 3px solid var(--ocra);
}
.sr-contact__form-titolo { margin: 0 0 1rem; font-family: var(--heading-font); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 860px) {
  .sr-contact__body { grid-template-columns: minmax(0, 1fr); }
}

.sr-404 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-top: clamp(2.2rem, 6vw, 4.5rem);
}
.sr-404__testa { max-width: 38rem; padding-left: 1.4rem; border-left: 2px dashed var(--ocra); }
.sr-404__code { margin: 0; }
.sr-404__titolo { margin: .6rem 0 .9rem; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; }
.sr-404__msg { margin: 0 0 1.4rem; font-size: 1.15rem; color: var(--txt-70); }
.sr-404__form { max-width: 32rem; }
.sr-404__home { margin: 1.2rem 0 0; font-family: var(--font-ui); font-weight: 600; }
.sr-404__home a { color: var(--pop); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .sr-404 { grid-template-columns: minmax(0, 1fr); }
}

body.sr {
  background: var(--calcare) !important;
  color: var(--txt) !important;
}

body.sr .ast-article-post,
body.sr .site-main,
body.sr .site-main > article,
body.sr .ast-article-single,
body.sr #primary,
body.sr #content,
body.sr .site-content,
body.sr .entry-content,
body.sr .content-area,
body.sr .ast-container,
body.sr #page {
  padding: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
}

body.sr .site-below-footer-wrap,
body.sr .ast-main-header-wrap,
body.sr #colophon,
body.sr .ast-primary-header-bar,
body.sr .entry-banner,
body.sr .ast-archive-title-wrap,
body.sr .ast-above-footer,
body.sr .ast-header-breadcrumb,
body.sr #ast-desktop-header,
body.sr .ast-above-header-wrap,
body.sr .ast-footer-copyright,
body.sr .ast-small-footer {
  margin: 0 !important;
  border: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: 0 !important;
  display: none !important;
}

body.sr .ast-breadcrumbs-inner,
body.sr .ast-breadcrumbs-wrapper,
body.sr .ast-below-footer,
body.sr .ast-mobile-header-wrap,
body.sr .ast-page-header,
body.sr .site-header,
body.sr .ast-page-title-bar,
body.sr .main-header-bar,
body.sr #masthead,
body.sr .main-header-bar-wrap,
body.sr .ast-secondary-header-bar,
body.sr #ast-mobile-header,
body.sr .site-footer,
body.sr .ast-footer-overlay,
body.sr .ast-below-header-wrap,
body.sr .footer-widget-area {
  height: 0 !important;
  border: none !important;
  padding: 0 !important;
  display: none !important;
  overflow: hidden !important;
  min-height: 0 !important;
  margin: 0 !important;
}

body.sr.home .entry-header,
body.sr.home .ast-archive-description {
  display: none !important;
}

:where(body.sr) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--venatura-forte);
}

body.sr #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--txt);
  color: var(--base);
  cursor: pointer;
}
body.sr #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.sr #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.sr.admin-bar .sr-header { top: 32px; }
@media (max-width: 782px) {
  body.sr.admin-bar .sr-header { top: 46px; }
}

body.sr .wpcf7-form p { margin: 0 0 1.2rem; }
body.sr .wpcf7-form label { font-family: var(--font-ui); font-size: .95rem; font-weight: 600; }
body.sr .wpcf7-form input[type="text"],
body.sr .wpcf7-form input[type="email"],
body.sr .wpcf7-form input[type="tel"],
body.sr .wpcf7-form textarea {
  width: 100%; margin-top: .3rem; padding: .6rem .75rem; font-family: var(--font-ui); font-size: 1.05rem;
  color: var(--txt); background: var(--base); border: 1px solid var(--venatura-forte); border-radius: 2px; box-shadow: none;
}
body.sr .wpcf7-form textarea { height: 11rem; }
body.sr .wpcf7-form input:focus,
body.sr .wpcf7-form textarea:focus { border-color: var(--pop); outline: 2px solid var(--pop); outline-offset: 0; }
body.sr .wpcf7-form input[type="submit"] {
  min-height: var(--tap); padding: .6rem 1.4rem; font-family: var(--font-ui); font-size: 1.05rem; font-weight: 600;
  color: #fff; background: var(--pop); border: 0; border-radius: 3px; cursor: pointer;
}
body.sr .wpcf7-form input[type="submit"]:hover { background: var(--txt); }
