/*
 * San Paolo di Ravone — stili del tema.
 * Valori misurati sul sito precedente (Hello Elementor + Elementor Pro) per una resa 1:1.
 * Breakpoint: tablet ≤ 1024px, telefono ≤ 767px (come Elementor).
 */

/* ---------- Font locali (SIL OFL 1.1, vedi assets/fonts/LICENSE-OFL.txt) ---------- */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/roboto-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/roboto-latin-wght-italic.woff2") format("woff2-variations"), url("../fonts/roboto-latin-wght-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Noticia Text";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/noticia-text-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Noticia Text";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/noticia-text-latin-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Noticia Text";
	font-style: normal;
	font-weight: 500 900;
	font-display: swap;
	src: url("../fonts/noticia-text-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Noticia Text";
	font-style: italic;
	font-weight: 500 900;
	font-display: swap;
	src: url("../fonts/noticia-text-latin-700-italic.woff2") format("woff2");
}

/* ---------- Variabili ---------- */
:root {
	--spr-red: #890e0e;
	--spr-brown: #6a5959;
	--spr-dark: #413636;
	--spr-text: #7a7a7a;
	--spr-text-2: #54595f;
	--spr-ink: #55595c;
	--spr-tint: rgba(106, 89, 89, 0.14);
	--spr-tint-2: rgba(106, 89, 89, 0.1);
	--spr-box: #eae1e1;
	--spr-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
	--spr-serif: "Noticia Text", sans-serif;
	--spr-sans: "Roboto", sans-serif;
	/* Menu: dimensioni fluide, 18px a 1514px di larghezza e 14px sotto i 1100px circa. */
	--spr-nav-size: clamp(14px, calc(0.955vw + 3.54px), 18px);
	--spr-nav-pad: clamp(7px, calc(0.955vw - 2.5px), 12px);
	--spr-nav-track: 0.067em;
	--spr-sub-size: 15px;
	--spr-sub-color: #494c4f;
}

/* ---------- Base (equivalente a Hello Elementor + kit del sito) ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: #fff;
	color: #000;
	font-family: var(--spr-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0.5rem 0 1rem;
	font-family: var(--spr-serif);
	font-weight: 500;
	line-height: 1.2;
	color: var(--spr-brown);
}
h1 {
	font-size: 2.5rem;
	color: var(--spr-red);
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.75rem;
}
h4 {
	font-size: 1.5rem;
}
h5 {
	font-size: 1.25rem;
	font-family: inherit;
	color: inherit;
}
h6 {
	font-size: 1rem;
	font-family: inherit;
	color: inherit;
}
p {
	margin: 0 0 5px;
}
a {
	color: var(--spr-red);
	text-decoration: none;
	background-color: transparent;
}
b,
strong {
	font-weight: bolder;
}
img {
	max-width: 100%;
	height: auto;
	border-style: none;
}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
button,
input,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}
button {
	cursor: pointer;
}
figure {
	margin: 0;
}
table {
	width: 100%;
	margin-bottom: 15px;
	font-size: 0.9em;
	border-spacing: 0;
	border-collapse: collapse;
	background-color: transparent;
}
table td,
table th {
	padding: 15px;
	line-height: 1.5;
	vertical-align: top;
	border: 1px solid rgba(128, 128, 128, 0.5);
}
table th {
	font-weight: 700;
}
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
	background-color: rgba(128, 128, 128, 0.07);
}
:focus-visible {
	outline: 2px solid var(--spr-red);
	outline-offset: 2px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: var(--spr-red);
	font-weight: 600;
	box-shadow: var(--spr-shadow);
}
.spr-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	vertical-align: -0.125em;
}

/* Allineamenti dell'editor classico. */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}
.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}
.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.wp-caption {
	max-width: 100%;
}
.wp-caption-text {
	font-size: 0.875em;
	color: var(--spr-text);
}
.spr-content::after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- Pulsanti ---------- */
.spr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 12px 24px;
	border: 0;
	border-radius: 0;
	font-family: var(--spr-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	text-align: center;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.spr-btn .spr-icon {
	font-size: 16px;
}
.spr-btn--dark {
	background: var(--spr-brown);
	font-weight: 400;
}
.spr-btn--dark:hover,
.spr-btn--dark:focus-visible {
	background: var(--spr-dark);
	color: #fff;
}
.spr-btn--outline,
.spr-btn--outline-light {
	padding: 12px 24px;
	border: 1px solid currentColor;
	background: transparent;
	text-transform: uppercase;
}
.spr-btn--outline {
	color: var(--spr-red);
}
.spr-btn--outline-light {
	color: #fff;
}
.spr-btn--facebook {
	background: #4166b3;
}
.spr-btn--diocesi {
	background: #ae6e49;
}
.spr-btn--facebook:hover,
.spr-btn--diocesi:hover {
	color: #fff;
	filter: brightness(1.08);
}

/* ---------- Testata ---------- */
.spr-header {
	position: relative;
	z-index: 30;
}
.spr-topbar {
	background: var(--spr-red);
	padding-top: 3px;
}
.spr-topbar__inner {
	display: flex;
	align-items: center;
	max-width: 1300px;
	min-height: 45px;
	margin: 0 auto;
}
.spr-topbar__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0 16px;
	width: 81.754%;
	margin: 0;
	padding: 10px;
	list-style: none;
	font-size: 15px;
}
.spr-topbar__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
}
.spr-topbar__contacts .spr-icon {
	font-size: 14px;
}
.spr-topbar__search {
	width: 18.202%;
	padding: 10px;
}
.spr-search {
	display: flex;
	min-height: 30px;
}
.spr-search--bar .spr-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 30px;
	padding: 0 10px;
	border: 0;
	border-radius: 3px 0 0 3px;
	background: #fff;
	color: #020202;
	font-size: 15px;
	font-weight: 600;
}
.spr-search--bar .spr-search__input::placeholder {
	color: #7a7a7a;
	font-weight: 600;
	opacity: 1;
}
.spr-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	padding: 0;
	border: 0;
	background: var(--spr-dark);
	color: #fff;
	font-size: 14px;
}
.spr-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.spr-navbar {
	position: relative;
	z-index: 9;
	background: #fff;
}
.spr-navbar__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(160px, 12.4vw, 188px) minmax(0, 1fr);
	grid-template-rows: 106px;
	column-gap: clamp(16px, 3.6vw, 56px);
	align-items: center;
	max-width: 1350px;
	height: 106px;
	margin: 0 auto;
	padding: 0 20px;
}
.spr-navbar__menu {
	align-self: center;
	min-width: 0;
}
.spr-navbar__menu--left .spr-menu {
	justify-content: flex-end;
}
.spr-navbar__menu--right .spr-menu {
	justify-content: flex-start;
}
.spr-logo {
	position: relative;
	z-index: 20;
	align-self: start;
	padding: 10px 0;
	text-align: center;
}
.spr-logo a {
	display: block;
	width: 100%;
}
.spr-logo__img {
	display: block;
	width: 100%;
	height: auto;
}
.spr-logo__text {
	font-family: var(--spr-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--spr-red);
}
.spr-navbar__actions {
	display: none;
}

/* Menu orizzontale. */
.spr-menu,
.spr-menu .sub-menu,
.spr-mmenu,
.spr-mmenu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.spr-menu {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}
.spr-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}
.spr-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 5px var(--spr-nav-pad);
	font-family: var(--spr-serif);
	font-size: var(--spr-nav-size);
	font-weight: 700;
	line-height: 20px;
	letter-spacing: var(--spr-nav-track);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--spr-red);
}
.spr-menu > li > a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--spr-red);
	opacity: 0;
	transition: width 0.3s, left 0.3s, opacity 0.3s;
}
.spr-menu > li:hover > a::before,
.spr-menu > li > a:focus-visible::before,
.spr-menu > .current-menu-item > a::before,
.spr-menu > .current-menu-ancestor > a::before,
.spr-menu > .current_page_item > a::before,
.spr-menu > .current-page-ancestor > a::before {
	left: 0;
	width: 100%;
	opacity: 1;
}
.spr-menu > .menu-item-has-children > a {
	padding-right: 3px;
}
.spr-submenu-toggle {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	padding: 0 var(--spr-nav-pad) 0 2px;
	border: 0;
	background: transparent;
	color: var(--spr-red);
	font-size: 0.6em;
}
.spr-menu .spr-submenu-toggle {
	font-size: calc(var(--spr-nav-size) * 0.56);
}
.spr-menu .spr-submenu-toggle .spr-icon {
	transition: transform 0.2s;
}
.spr-menu > li:hover > .spr-submenu-toggle .spr-icon,
.spr-menu > li.is-open > .spr-submenu-toggle .spr-icon {
	transform: rotate(180deg);
}
.spr-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 40;
	min-width: max(100%, 220px);
	margin-top: 38px; /* Il sottomenu parte dal bordo inferiore della barra bianca. */
	padding: 0;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.18);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s, visibility 0.2s;
}
.spr-menu > .menu-item-has-children::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	height: 38px;
}
.spr-menu > li:hover > .sub-menu,
.spr-menu > li:focus-within > .sub-menu,
.spr-menu > li.is-open > .sub-menu {
	visibility: visible;
	opacity: 1;
}
.spr-menu .sub-menu a {
	display: block;
	padding: 12px 18px;
	font-family: var(--spr-sans);
	font-size: var(--spr-sub-size);
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.01em;
	text-transform: none;
	white-space: nowrap;
	color: var(--spr-sub-color);
	transition: background-color 0.2s, color 0.2s;
}
.spr-menu .sub-menu li + li a {
	border-top: 1px solid #f0eaea;
}
.spr-menu .sub-menu li:first-child a {
	border-radius: 3px 3px 0 0;
}
.spr-menu .sub-menu li:last-child a {
	border-radius: 0 0 3px 3px;
}
.spr-menu .sub-menu a:hover,
.spr-menu .sub-menu a:focus-visible {
	background: var(--spr-red);
	color: #fff;
}
.spr-menu .sub-menu .current-menu-item > a,
.spr-menu .sub-menu .current_page_item > a {
	color: var(--spr-red);
	box-shadow: inset 3px 0 0 var(--spr-red);
}
.spr-menu .sub-menu .current-menu-item > a:hover,
.spr-menu .sub-menu .current_page_item > a:hover {
	color: #fff;
}

/* Menu mobile: stessa gerarchia del desktop (voci principali in Noticia maiuscolo, sottovoci in Roboto). */
.spr-mobile-menu {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 25;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
	border-top: 3px solid var(--spr-red);
	background: #fff;
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.25);
	text-align: left;
}
.spr-mobile-menu[hidden] {
	display: none;
}
.spr-mmenu > li {
	position: relative;
	border-bottom: 1px solid #f0eaea;
}
.spr-mmenu > li > a {
	display: block;
	padding: 14px 64px 14px 24px;
	font-family: var(--spr-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: var(--spr-nav-track);
	text-transform: uppercase;
	color: var(--spr-red);
}
.spr-mmenu .sub-menu {
	display: none;
	padding: 4px 0 8px;
	background: #faf7f7;
}
.spr-mmenu .is-open > .sub-menu {
	display: block;
}
.spr-mmenu .sub-menu a {
	display: block;
	padding: 11px 24px 11px 40px;
	font-family: var(--spr-sans);
	font-size: var(--spr-sub-size);
	font-weight: 500;
	line-height: 20px;
	text-transform: none;
	color: var(--spr-sub-color);
}
.spr-mmenu a:hover,
.spr-mmenu a:focus-visible {
	background: var(--spr-red);
	color: #fff;
}
.spr-mmenu .current-menu-item > a,
.spr-mmenu .current_page_item > a,
.spr-mmenu .current-menu-ancestor > a {
	box-shadow: inset 4px 0 0 var(--spr-red);
}
.spr-mmenu .sub-menu .current-menu-item > a,
.spr-mmenu .sub-menu .current_page_item > a {
	color: var(--spr-red);
	background: rgba(137, 14, 14, 0.06);
}
.spr-mmenu .spr-submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	justify-content: center;
	width: 56px;
	height: 48px;
	padding: 0;
	border-left: 1px solid #f0eaea;
	color: var(--spr-red);
	font-size: 13px;
}
.spr-mmenu .spr-submenu-toggle .spr-icon {
	transition: transform 0.2s;
}
.spr-mmenu .is-open > .spr-submenu-toggle .spr-icon {
	transform: rotate(180deg);
}

.spr-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 33px;
	height: 33px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--spr-red);
	color: #fff;
	font-size: 18px;
}
.spr-menu-toggle__close,
.spr-menu-toggle[aria-expanded="true"] .spr-menu-toggle__open {
	display: none;
}
.spr-menu-toggle[aria-expanded="true"] .spr-menu-toggle__close {
	display: inline-block;
}

/* Ricerca a tutto schermo (mobile). */
.spr-search-overlay {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(106, 89, 89, 0.7);
	color: #fff;
}
.spr-search-overlay[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.spr-search-overlay::backdrop {
	background: transparent;
}
.spr-search--overlay {
	width: min(90%, 800px);
	border-bottom: 1px solid #fff;
}
.spr-search--overlay .spr-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: #fff;
	font-size: 50px;
}
.spr-search--overlay .spr-search__input::placeholder {
	color: rgba(255, 255, 255, 0.75);
}
.spr-search--overlay .spr-search__submit {
	min-width: 50px;
	background: transparent;
	font-size: 28px;
}
.spr-search-overlay__close {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 30px;
}

/* ---------- Testata di pagina (hero) ---------- */
.spr-hero {
	position: relative;
	min-height: 560px;
	padding: 155px 20px 0;
	overflow: hidden;
	background: var(--spr-red);
	text-align: center;
}
.spr-hero--home {
	min-height: 631px;
}
.spr-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}
.spr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--spr-red);
	opacity: 0.5;
}
.spr-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1120px;
	margin: 0 auto;
}
.spr-hero__title {
	margin: 0;
	font-family: var(--spr-serif);
	font-size: 45px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}
.spr-hero__rule {
	display: block;
	width: 20%;
	margin: 22px auto 0;
	border-top: 2.4px solid #fff;
}
.spr-hero__subtitle {
	margin: 22px 0 0;
	font-family: var(--spr-serif);
	font-size: 25px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

/* ---------- Scheda contenuto e riquadri laterali ---------- */
.spr-wrap {
	position: relative;
	z-index: 3;
	max-width: 1250px;
	margin: -250px auto 75px;
}
.spr-layout {
	display: grid;
	grid-template-columns: minmax(0, 925px) 300px;
	gap: 45px;
	max-width: 1290px;
	padding-left: 20px;
}
.spr-layout--full {
	display: block;
	max-width: 1250px;
	padding-left: 0;
}
.spr-sheet {
	min-width: 0;
	padding: 60px;
	background: #fff;
	box-shadow: var(--spr-shadow);
}
.spr-sidebar {
	min-width: 0;
}
.spr-side-box {
	padding: 21px;
	background: var(--spr-box);
	box-shadow: var(--spr-shadow);
}
.spr-sidebar .spr-side-box {
	position: sticky;
	top: 20px;
}

/* Contenuto testuale. */
.spr-content {
	padding: 0 10px;
	color: var(--spr-text);
}
.spr-content > *:last-child {
	margin-bottom: 0;
}
.spr-content ul,
.spr-content ol {
	margin: 0 0 5px;
	padding-left: 1.5em;
}
.spr-content iframe {
	max-width: 100%;
}
.spr-content h6 {
	line-height: 0.3em;
}

/* Colonne create dalla migrazione delle sezioni Elementor a più colonne. */
.spr-grid {
	display: grid;
	gap: 20px;
	margin-bottom: 20px;
}
.spr-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spr-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.spr-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 767px) {
	.spr-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Indice "In questa pagina". */
.spr-toc__title {
	margin: 0;
	padding: 7px;
	font-family: var(--spr-serif);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--spr-red);
}
.spr-toc__list {
	margin: 0;
	padding: 7px;
	list-style: none;
}
.spr-toc__list li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 0.5em;
	font-family: var(--spr-serif);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}
.spr-toc__list li:last-child {
	margin-bottom: 0;
}
.spr-toc__list .spr-icon {
	font-size: 10px;
	color: var(--spr-red);
	transform: translateY(-1px);
}
.spr-toc__list a {
	color: #000;
}
.spr-toc__list a:hover,
.spr-toc__list a:focus-visible {
	color: var(--spr-red);
}

/* Contatti della segreteria. */
.spr-contact-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.spr-contact-box li {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--spr-text-2);
}
.spr-contact-box li + li {
	margin-top: 9px;
}
.spr-contact-box a {
	color: inherit;
	word-break: break-word;
}
.spr-contact-box a:hover {
	color: var(--spr-red);
}

/* Chiusura della pagina. */
.spr-back {
	margin: 20px 0 20px;
	text-align: right;
	font-weight: 600;
	line-height: 1;
}
.spr-back a {
	color: var(--spr-red);
}
.spr-divider {
	width: 50%;
	margin: 15px auto 35px;
	border: 0;
	border-top: 2.4px solid var(--spr-red);
}
.spr-share {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}
.spr-share__btn {
	display: inline-flex;
	align-items: stretch;
	height: 32.5px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-family: var(--spr-sans);
	transition: filter 0.3s;
}
.spr-share__btn:hover,
.spr-share__btn:focus-visible {
	color: #fff;
	filter: brightness(0.92);
}
.spr-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29.25px;
	font-size: 13px;
	background: rgba(0, 0, 0, 0.1);
}
.spr-share__title {
	display: inline-flex;
	align-items: center;
	padding: 0 0.8em;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
}
.spr-share__btn--facebook {
	background: #3b5998;
}
.spr-share__btn--twitter {
	background: #1da1f2;
}
.spr-share__btn--linkedin {
	background: #0077b5;
}
.spr-share__btn--whatsapp {
	background: #25d366;
}
.spr-share__btn--email {
	background: #ea4335;
}
.spr-share__btn--print {
	background: #a4afb7;
}
.spr-share__btn--print .spr-share__title {
	letter-spacing: 0.5px;
}

/* ---------- Pagina iniziale ---------- */
.spr-home__grid {
	display: flex;
	align-items: flex-start;
}
.spr-home__main {
	width: 75%;
	padding: 10px;
}
.spr-home__side {
	width: 25%;
	padding: 10px;
}
.spr-section-title {
	margin: 0 0 20px;
	font-family: var(--spr-serif);
	font-size: 35px;
	font-weight: 600;
	line-height: 1;
	color: var(--spr-red);
}
.spr-label-divider {
	display: flex;
	align-items: center;
	width: 30%;
	min-width: 180px;
	margin-bottom: 20px;
	padding: 15px 0;
}
.spr-label-divider span {
	margin-right: 10px;
	font-family: var(--spr-sans);
	font-size: 21px;
	font-weight: 600;
	line-height: 1;
	color: var(--spr-red);
}
.spr-label-divider::after {
	content: "";
	flex: 1 1 auto;
	border-top: 1px solid var(--spr-text);
}
.spr-content--notices {
	margin-bottom: 20px;
	padding: 0;
	color: var(--spr-text-2);
}
.spr-content--notices > *:first-child {
	margin-top: 8px;
}
.spr-cols-2 {
	column-count: 2;
	column-gap: 25px;
}
.spr-cols-2 h1,
.spr-cols-2 h2,
.spr-cols-2 h3,
.spr-cols-2 h4,
.spr-cols-2 h5 {
	break-after: avoid;
}
.spr-bulletin {
	margin: 0;
	padding: 9px;
	text-align: right;
}
.spr-actions-right {
	margin: 20px 0;
	text-align: right;
}

.spr-promo {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	overflow: hidden;
	color: var(--spr-red);
}
.spr-promo__media {
	position: relative;
	display: block;
	height: 150px;
	overflow: hidden;
	background: var(--spr-tint);
}
.spr-promo__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.5s;
}
.spr-promo:hover .spr-promo__img,
.spr-promo:focus-visible .spr-promo__img {
	transform: scale(1.2);
}
.spr-promo__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 35px;
	background: var(--spr-tint);
	text-align: center;
}
.spr-promo__title {
	margin-bottom: 15px;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--spr-ink);
}
.spr-promo__text {
	margin-bottom: 15px;
	color: var(--spr-ink);
}
.spr-promo:hover .spr-btn--outline {
	background: var(--spr-red);
	color: #fff;
	border-color: var(--spr-red);
}
.spr-home__side .spr-contact-box {
	padding: 10px;
	background: var(--spr-tint);
}

.spr-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 55px 5px;
}
.spr-tile {
	position: relative;
	display: flex;
	min-height: 250px;
	overflow: hidden;
	background: var(--spr-red);
	color: #fff;
}
.spr-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.5s;
}
.spr-tile:hover .spr-tile__img,
.spr-tile:focus-visible .spr-tile__img {
	transform: scale(1.2);
}
.spr-tile__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(137, 14, 14, 0.74);
}
.spr-tile__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 35px;
	text-align: center;
}
.spr-tile__title {
	margin-bottom: 15px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
}
.spr-tile__text {
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 1.5;
}
.spr-tile:hover .spr-btn--outline-light {
	background: #fff;
	color: var(--spr-red);
}
.spr-ribbon {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	width: 150px;
	height: 150px;
	overflow: hidden;
	transform: rotate(90deg);
}
.spr-ribbon span {
	position: absolute;
	left: 0;
	width: 200%;
	margin-top: 35px;
	background: #fc0000;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 2;
	text-align: center;
	text-transform: uppercase;
	transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
}
.spr-divider--home {
	margin-top: 70px;
}

/* ---------- Schede (Cosa fare per…, ricerca) ---------- */
.spr-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}
.spr-card {
	padding: 20px 30px 20px;
	background: rgba(106, 89, 89, 0.13);
}
.spr-card__title {
	margin: 0 0 25px;
	font-family: var(--spr-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--spr-brown);
}
.spr-card__title a {
	color: inherit;
}
.spr-card__excerpt {
	margin-bottom: 25px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--spr-text-2);
}
.spr-card__more {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--spr-red);
}
.nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

/* ---------- Pannelli documenti/bollettini ---------- */
.spr-panel {
	margin: 0 0 20px;
	padding: 31px;
	background: var(--spr-tint-2);
}
.spr-panel__title {
	margin: 0 0 20px;
	font-family: var(--spr-serif);
	font-size: 35px;
	font-weight: 600;
	line-height: 1;
	color: var(--spr-red);
}
.spr-files {
	margin: 0;
	padding: 0;
	list-style: none;
}
.spr-files li {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding-top: 10px;
}
.spr-files .spr-icon {
	width: 21px;
	font-size: 16px;
	color: var(--spr-red);
}
.spr-files a {
	font-weight: 500;
	color: var(--spr-brown);
}
.spr-files a:hover,
.spr-files a:focus-visible {
	color: var(--spr-red);
}

/* ---------- Galleria ---------- */
.spr-gallery-block {
	margin: 20px 0 15px;
	padding: 10px;
	background: rgba(106, 89, 89, 0.13);
}
.spr-gallery-block__title {
	margin: 15px 0 10px;
	font-family: var(--spr-sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--spr-red);
}
.spr-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 5px;
}
.spr-gallery::after {
	content: "";
	flex-grow: 999;
}
.spr-gallery.is-justified::after {
	display: none;
}
.spr-gallery.is-justified .spr-gallery__item {
	flex: none;
}
.spr-gallery__item {
	position: relative;
	display: block;
	flex: 1 1 240px;
	height: 170px;
	overflow: hidden;
	background: #ddd;
}
.spr-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s, opacity 0.4s;
}
.spr-gallery__item:hover .spr-gallery__img,
.spr-gallery__item:focus-visible .spr-gallery__img {
	transform: scale(1.05);
	opacity: 0.85;
}

/* Visualizzatore immagini. */
.spr-lightbox {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.92);
	color: #fff;
}
.spr-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.spr-lightbox::backdrop {
	background: transparent;
}
.spr-lightbox__img {
	max-width: calc(100vw - 140px);
	max-height: calc(100vh - 100px);
	object-fit: contain;
}
.spr-lightbox__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 26px;
	opacity: 0.85;
}
.spr-lightbox__btn:hover,
.spr-lightbox__btn:focus-visible {
	opacity: 1;
}
.spr-lightbox__close {
	top: 10px;
	right: 10px;
}
.spr-lightbox__prev {
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}
.spr-lightbox__next {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}
.spr-lightbox__count {
	position: absolute;
	top: 22px;
	left: 20px;
	font-size: 14px;
}

/* ---------- Piè di pagina ---------- */
.spr-footer {
	padding: 90px 0 15px;
	background: var(--spr-dark);
	color: #fff;
	scroll-margin-top: 0;
}
.spr-footer__inner {
	display: flex;
	max-width: 1140px;
	margin: 0 auto;
}
.spr-footer__col {
	width: 33.333%;
	padding: 10px;
}
.spr-footer__col--social {
	padding-left: calc(10px + 6.6667%);
}
.spr-footer__title {
	margin: 0 0 20px;
	font-family: var(--spr-sans);
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
}
.spr-footer__heading {
	margin: 0 0 20px;
	font-family: var(--spr-sans);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
}
.spr-footer__heading--spaced {
	margin-top: 45px;
}
.spr-footer__list {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
}
.spr-footer__list li + li {
	margin-top: 5px;
}
.spr-footer__list a,
.spr-footer a {
	color: #fff;
}
.spr-footer__rule {
	width: 30%;
	margin: 2px 0 22px;
	border: 0;
	border-top: 2px solid #fff;
}
.spr-footer__rule--mobile {
	display: none;
}
.spr-footer__lead {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
}
.spr-footer .spr-btn {
	margin-bottom: 20px;
	font-weight: 600;
}
.spr-social {
	display: flex;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.spr-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	font-size: 15px;
	color: #fff;
	transition: transform 0.3s;
}
a.spr-social__link:hover {
	transform: scale(1.1);
}
.spr-social__link--facebook {
	background: #3b5998;
}
.spr-social__link--youtube {
	background: #cd201f;
}
.spr-footer__list--credits li + li {
	position: relative;
	margin-top: 21px;
}
.spr-footer__list--credits li + li::before {
	content: "";
	position: absolute;
	top: -11px;
	right: 0;
	left: 0;
	border-top: 1px solid #ddd;
}

.spr-to-top {
	position: fixed;
	right: 15px;
	bottom: 20px;
	z-index: 99;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--spr-red);
	color: #fff;
	font-size: 21px;
	transition: opacity 0.3s, visibility 0.3s;
}
.spr-to-top:hover,
.spr-to-top:focus-visible {
	color: #fff;
}
.spr-to-top.is-hidden {
	visibility: hidden;
	opacity: 0;
}

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
	.spr-topbar__contacts {
		width: 100%;
		justify-content: center;
	}
	.spr-topbar__search,
	.spr-navbar__menu {
		display: none;
	}
	.spr-navbar__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: auto;
		min-height: 96px;
		padding: 0 20px;
	}
	.spr-logo {
		width: 104px;
		padding: 8px 0;
		text-align: left;
	}
	.spr-navbar__actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
	}
	.spr-icon-btn {
		width: 42px;
		height: 42px;
		font-size: 20px;
	}

	.spr-layout {
		display: block;
		max-width: 1025px;
		padding: 0 20px;
	}
	.spr-layout--full,
	.spr-wrap {
		max-width: 1025px;
	}
	.spr-wrap {
		padding: 0 20px;
	}
	.spr-sidebar .spr-toc {
		display: none;
	}
	.spr-sidebar .spr-side-box {
		position: static;
		margin-top: 30px;
	}

	.spr-home__grid {
		flex-direction: column;
	}
	.spr-home__main,
	.spr-home__side {
		width: 100%;
	}
	.spr-promo {
		flex-direction: row;
	}
	.spr-promo__media {
		width: 50%;
		height: auto;
		min-height: 150px;
	}
	.spr-promo__body {
		width: 50%;
	}
	.spr-home__side .spr-contact-box {
		text-align: center;
	}

	.spr-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spr-footer {
		padding: 30px 20px;
	}
	.spr-footer__inner {
		flex-wrap: wrap;
	}
	.spr-footer__col {
		width: 50%;
	}
	.spr-footer__col--social {
		width: 100%;
		margin-top: 25px;
		padding-left: 10px;
		text-align: center;
	}
	.spr-social {
		justify-content: center;
	}
	.spr-social__link {
		width: 30px;
		height: 30px;
	}
	.spr-footer__list {
		font-size: 13px;
	}
}

/* ---------- Telefono (≤ 767px) ---------- */
@media (max-width: 767px) {
	.spr-navbar__inner {
		min-height: 80px;
		padding: 0 15px;
	}
	.spr-logo {
		width: 80px;
		padding: 6px 0;
	}
	.spr-topbar__contacts {
		font-size: 14px;
	}
	.spr-mobile-menu {
		max-height: calc(100vh - 130px);
	}

	.spr-hero,
	.spr-hero--home {
		min-height: 0;
		padding: 100px 20px;
	}
	.spr-wrap,
	.spr-layout {
		margin-top: 0;
		margin-bottom: 40px;
		padding: 0;
	}
	.spr-sheet {
		padding: 25px;
		box-shadow: none;
	}
	.spr-sidebar {
		padding: 0 25px;
	}
	.spr-sidebar .spr-side-box {
		margin-top: 10px;
	}

	.spr-section-title {
		text-align: center;
	}
	.spr-cols-2 {
		column-count: 1;
	}
	.spr-label-divider {
		width: 40%;
	}
	.spr-promo {
		flex-direction: column;
	}
	.spr-promo__media,
	.spr-promo__body {
		width: 100%;
	}
	.spr-tiles,
	.spr-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.spr-tiles {
		margin: 40px 0;
	}
	.spr-share__title {
		padding: 0 0.6em;
	}
	.spr-panel {
		padding: 20px;
	}
	.spr-panel__title {
		font-size: 28px;
	}
	.spr-gallery__item {
		flex-basis: 140px;
		height: 120px;
	}
	.spr-lightbox__img {
		max-width: calc(100vw - 20px);
	}

	.spr-search--overlay .spr-search__input {
		font-size: 25px;
	}

	.spr-footer__col,
	.spr-footer__col--social {
		width: 100%;
		margin-top: 30px;
		padding: 0;
	}
	.spr-footer__col:first-child {
		margin-top: 0;
	}
	.spr-footer__heading--spaced {
		margin-top: 0;
	}
	.spr-footer__col--social .spr-footer__heading--spaced {
		margin-top: 0;
	}
	.spr-social__link {
		width: 42px;
		height: 42px;
		font-size: 21px;
	}
}

/* ---------- Accessibilità e stampa ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media print {
	.spr-header,
	.spr-footer,
	.spr-sidebar,
	.spr-share,
	.spr-back,
	.spr-divider,
	.spr-to-top,
	.spr-tiles,
	.spr-search-overlay {
		display: none !important;
	}
	.spr-hero {
		min-height: 0;
		padding: 0 0 20px;
		background: none;
		text-align: left;
	}
	.spr-hero::before,
	.spr-hero__img {
		display: none;
	}
	.spr-hero__title,
	.spr-hero__subtitle {
		color: #000;
	}
	.spr-wrap,
	.spr-layout {
		display: block;
		max-width: none;
		margin: 0;
		padding: 0;
	}
	.spr-sheet {
		padding: 0;
		box-shadow: none;
	}
	.spr-content a::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
	}
}
