/* SEOPAGES: immagini responsive */
#module-af_seopages-seopage .page-description img {
  max-width: 100%;
  height: auto;
}

/* AMAZING FILTER: tipografia base */
#amazzing_filter .title_block {
  font-size: 1.3em;
}
#amazzing_filter .af_subtitle {
  font-size: 1em;
  font-weight: 500;
}
.af_filter label {
  font-size: 0.8rem;
}

/* AMAZING FILTER: colori brand */
.af-slider .pointer {
  background: #F39200;
  border: 5px solid #F39200;
}
.selectedFilters .clearAll {
  background: #F39200;
}
.selectedFilters .clearAll a {
  color: #fff !important;
}
.af_filter.tb li.active {
  border-color: #F39200;
  background: #F2F2F2;
}
.active > .af-checkbox-label::before,
.active > .af-radio-label::before {
  color: #F39200;
}

/* SEOPAGE / CATEGORY: titoli (unificato - include .page-header) */
#category .page-title,
#module-af_seopages-seopage .page-header {
  color: #084C95;
  font-weight: 600;
  border-bottom: 0 solid #e3e3e3;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

/* SEOPAGES: reset layout header (lasciato separato perché sono regole “layout”) */
#module-af_seopages-seopage .page-header {
  width: inherit !important;
  position: inherit !important;
  margin-left: inherit !important;
  left: inherit !important;
  background-color: inherit !important;
  margin-top: inherit !important;
  padding-top: inherit !important;
  padding-bottom: 0 !important;
  font-size: 1.75rem;
}

/* AMAZING FILTER: z-index (sistemato ;) */
#amazzing_filter.af.block.vertical-layout.displayLeftColumn {
  z-index: 99999999999;
}

/* Layout gutters */
.small-gutters {
  margin-right: -1rem;
  margin-left: -1rem;
}

/* Pulsante toggle */
button.btn.btn-primary.compact-toggle.type-1.external.af {
  padding: 0.5rem 1rem 0.3rem 1rem;
}

/* AMAZING: box filtri selezionati */
div.cf {
  border: 2px solid #F39200;
  border-radius: 5px;
}
.selectedFilters.inline .cf {
  padding: 4px 10px;
}

/* Header container + breadcrumb (category + seopage) */
#category #wrapper .container:first-child,
#module-af_seopages-seopage #wrapper .container:first-child {
  background-color: #EDF0F8;
  max-width: 100%;
}

#category #wrapper .breadcrumb,
#module-af_seopages-seopage #wrapper .breadcrumb {
  max-width: 1460px;
  margin-left: auto;
  margin-right: auto;
  color: #A3A9C2;
  font-size: 16px;
  padding-left: 15px;
}

#category #wrapper .breadcrumb li:last-child,
#module-af_seopages-seopage #wrapper .breadcrumb li:last-child {
  color: #084C95 !important;
}

/* Left column */
#category #left-column,
#module-af_seopages-seopage #left-column {
  margin-top: 10px;
}

#category #left-column .block-title,
#module-af_seopages-seopage #left-column .block-title {
  color: #0F0A0A;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 0 solid #e3e3e3;
  margin-bottom: 0.2em;
  padding-bottom: 0.5em;
}

/* Liste seopage */
#module-af_seopages-seopage .page-description .full-content ul,
#module-af_seopages-seopage .page-description .truncated-content ul {
  list-style-type: disc !important;
  padding: 0.6rem 0.6rem 0.6rem 2rem;
}

/* Troncati: deduplicato (una sola regola) */
#category .truncated-content,
#module-af_seopages-seopage .truncated-content,
#module-ph_simpleblog-category .truncated-content,
#category .category-description .rte-content,
#module-af_seopages-seopage .page-description .truncated-content,
#module-ph_simpleblog-category .ph_cat_description .truncated-content {
  display: inline;
}

/* Ultimo paragrafo inline (lasciato com'era) */
#category .category-description .rte-content p:last-child,
#module-af_seopages-seopage .truncated-content p:last-of-type,
#module-ph_simpleblog-category .truncated-content p:last-of-type {
  display: inline !important;
}
.selectedFilters.inline .clearAll {
    border-radius: 5px;

}
