/*
Theme Name:   Preziosissimo 2026
Theme URI:    https://preziosissimo.net
Description:  Restyling moderno (child theme di Twenty Seventeen) per la Parrocchia del Preziosissimo Sangue di Piacenza. Conserva contenuti, menu e widget esistenti.
Author:       Parrocchia Preziosissimo Sangue
Template:     twentyseventeen
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  preziosissimo
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--pz-red: #8a1c2b;          /* rosso "Preziosissimo Sangue" */
	--pz-red-dark: #5e1019;
	--pz-gold: #c39a4e;         /* oro liturgico */
	--pz-gold-soft: #f3e7cf;
	--pz-ink: #23201e;
	--pz-muted: #6b625c;
	--pz-bg: #faf7f2;           /* avorio caldo */
	--pz-surface: #ffffff;
	--pz-line: #e9e1d6;
	--pz-radius: 14px;
	--pz-shadow: 0 1px 2px rgba(35, 32, 30, .06), 0 8px 24px rgba(35, 32, 30, .07);
	--pz-shadow-hover: 0 2px 4px rgba(35, 32, 30, .08), 0 14px 36px rgba(35, 32, 30, .12);
	--pz-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--pz-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
body,
button,
input,
select,
textarea {
	font-family: var(--pz-sans);
	color: var(--pz-ink);
}

body {
	background: var(--pz-bg);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.site,
.site-content,
.navigation-top {
	background: transparent;
}

a {
	color: var(--pz-red);
}

.entry-content a,
.entry-summary a,
.comment-content a,
.widget a {
	box-shadow: none;
	text-decoration: underline;
	text-decoration-color: rgba(138, 28, 43, .35);
	text-underline-offset: 3px;
	transition: color .2s, text-decoration-color .2s;
}

.entry-content a:hover,
.entry-content a:focus,
.widget a:hover,
.widget a:focus {
	color: var(--pz-red-dark);
	box-shadow: none;
	text-decoration-color: var(--pz-red);
}

h1, h2, h3, h4,
.entry-title,
.page-title,
.site-title {
	font-family: var(--pz-serif);
	letter-spacing: -0.01em;
	text-transform: none;
}

::selection {
	background: var(--pz-gold-soft);
}

:focus-visible {
	outline: 3px solid var(--pz-gold);
	outline-offset: 2px;
}

/* Contenitore più ampio */
.wrap {
	max-width: 1200px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.custom-header-media::before {
	/* velo scuro con sfumatura rossa per leggibilità del titolo */
	background: linear-gradient(180deg,
		rgba(20, 10, 12, 0) 35%,
		rgba(40, 10, 16, .55) 70%,
		rgba(40, 10, 16, .85) 100%);
	height: 100%;
}

.site-branding {
	padding-bottom: 3.5em;
}

body .site-title {
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

body .site-title a,
body.has-header-image .site-title a {
	color: #fff;
}

body .site-description,
body.has-header-image .site-description {
	color: var(--pz-gold-soft);
	font-family: var(--pz-sans);
	font-size: 1.05rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: 1;
	margin-top: .5em;
}

/* Header ridotto sulle pagine interne */
body:not(.home) .custom-header {
	max-height: 340px;
	overflow: hidden;
}

/* ==========================================================================
   4. Navigazione
   ========================================================================== */
.navigation-top {
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(150%) blur(10px);
	backdrop-filter: saturate(150%) blur(10px);
	border-top: 0;
	border-bottom: 1px solid var(--pz-line);
	font-size: 15px;
}

.site-navigation-fixed.navigation-top {
	box-shadow: 0 4px 18px rgba(35, 32, 30, .08);
}

.navigation-top a {
	color: var(--pz-ink);
	font-weight: 500;
}

.main-navigation a {
	padding: 1.1em 1em;
	position: relative;
}

@media screen and (min-width: 48em) {
	.main-navigation > div > ul > li > a::after {
		content: "";
		position: absolute;
		left: 1em;
		right: 1em;
		bottom: .7em;
		height: 2px;
		background: var(--pz-red);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .25s ease;
	}

	.main-navigation > div > ul > li > a:hover::after,
	.main-navigation > div > ul > li.current-menu-item > a::after,
	.main-navigation > div > ul > li.current_page_item > a::after {
		transform: scaleX(1);
	}

	.main-navigation ul ul {
		border: 1px solid var(--pz-line);
		border-radius: 10px;
		box-shadow: var(--pz-shadow);
		overflow: hidden;
		padding: .4em 0;
	}

	.main-navigation ul ul a {
		padding: .65em 1.2em;
	}

	.main-navigation ul ul li:hover > a,
	.main-navigation ul ul li.focus > a {
		background: var(--pz-gold-soft);
		color: var(--pz-red-dark);
	}
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
	color: var(--pz-red);
}

.menu-toggle {
	color: var(--pz-ink);
	font-weight: 600;
}

.menu-scroll-down {
	color: var(--pz-red);
}

/* ==========================================================================
   5. Contenuti: card per articoli
   ========================================================================== */
.site-content {
	padding-top: 3.5em;
}

.page-header {
	padding-bottom: 1.5em;
}

body .page-header .page-title,
body:not(.has-sidebar) .page-header .page-title {
	font-family: var(--pz-sans);
	color: var(--pz-red);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: .75em;
}

.page-header .page-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--pz-line);
}

.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article,
.single-post .site-main > article,
.page .site-main > article {
	background: var(--pz-surface);
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-radius);
	box-shadow: var(--pz-shadow);
	padding: 2em 2.2em 1.4em;
	margin-bottom: 2em;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}

.blog .site-main > article:hover,
.archive .site-main > article:hover {
	box-shadow: var(--pz-shadow-hover);
	transform: translateY(-2px);
}

/* Immagine in evidenza a tutta larghezza della card */
.blog .site-main > article .post-thumbnail,
.archive .site-main > article .post-thumbnail {
	margin: -2em -2.2em 1.5em;
}

.post-thumbnail img {
	width: 100%;
	max-height: 360px;
	object-fit: cover;
}

.entry-header {
	padding-bottom: .6em;
}

body .entry-title,
body:not(.has-sidebar) .entry-title {
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--pz-ink);
	letter-spacing: -0.01em;
	text-transform: none;
}

.entry-title a {
	color: inherit;
	box-shadow: none;
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--pz-red);
}

/* Data come "badge" */
.entry-meta {
	color: var(--pz-muted);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	margin-bottom: .6em;
	text-transform: uppercase;
}

.entry-meta a {
	color: var(--pz-red);
	box-shadow: none;
}

.entry-meta .posted-on a {
	display: inline-block;
	background: var(--pz-gold-soft);
	color: var(--pz-red-dark);
	border-radius: 999px;
	padding: .2em .8em;
	margin-left: .25em;
}

.entry-content {
	color: #3a3532;
}

.entry-content p {
	margin-bottom: 1.1em;
}

/* Volantini: non devono occupare tutto lo schermo nell'elenco */
.blog .entry-content img,
.archive .entry-content img {
	display: block;
	max-height: 520px;
	width: auto;
	margin: 1em auto;
	border-radius: 10px;
	box-shadow: var(--pz-shadow);
}

.entry-content img,
.wp-block-image img {
	border-radius: 10px;
}

/* Bottone "Download" dei file allegati (blocco File) */
.wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75em;
	background: var(--pz-bg);
	border: 1px dashed var(--pz-line);
	border-radius: 10px;
	padding: .8em 1em;
}

.wp-block-file a:not(.wp-block-file__button) {
	font-weight: 600;
}

.wp-block-file .wp-block-file__button,
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"] {
	background: var(--pz-red);
	color: #fff;
	border-radius: 999px;
	padding: .55em 1.3em;
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .02em;
	text-decoration: none;
	box-shadow: none;
	transition: background .2s;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background: var(--pz-red-dark);
	color: #fff;
}

.navigation.pagination .page-numbers,
.nav-links a {
	border-radius: 999px;
}

/* ==========================================================================
   6. Sidebar e widget
   ========================================================================== */
#secondary {
	padding-top: 0;
	font-size: .95rem;
}

#secondary .widget {
	background: var(--pz-surface);
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-radius);
	box-shadow: var(--pz-shadow);
	padding: 1.4em 1.5em;
	margin-bottom: 1.6em;
}

h2.widget-title,
.widget-title {
	font-family: var(--pz-sans);
	color: var(--pz-red);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding-bottom: .9em;
	margin-bottom: 1em;
	border-bottom: 1px solid var(--pz-line);
}

/* Calendario */
.widget_calendar {
	--cal-cell: 2.2em;
}

#wp-calendar,
.wp-calendar-table {
	border: 0;
	margin-bottom: .5em;
}

.wp-calendar-table caption {
	font-family: var(--pz-serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--pz-ink);
	text-transform: capitalize;
	padding-bottom: .6em;
}

.wp-calendar-table th {
	color: var(--pz-muted);
	font-size: .75rem;
	font-weight: 600;
	text-align: center;
	border: 0;
}

.wp-calendar-table td {
	text-align: center;
	border: 0;
	padding: .35em 0;
	height: var(--cal-cell);
	border-radius: 8px;
}

.wp-calendar-table td#today {
	background: var(--pz-red);
	color: #fff;
	font-weight: 700;
}

.wp-calendar-table td a {
	display: block;
	background: var(--pz-gold-soft);
	color: var(--pz-red-dark);
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
}

.wp-calendar-nav a {
	font-weight: 600;
	text-decoration: none;
}

/* Liste nei widget */
.widget ul li {
	border-color: var(--pz-line);
	padding: .55em 0;
}

.widget ul li a {
	text-decoration: none;
	color: var(--pz-ink);
}

.widget ul li a:hover {
	color: var(--pz-red);
}

/* ==========================================================================
   7. Box "Orari celebrazioni" (shortcode [orari_messe])
   ========================================================================== */
.pz-orari {
	background: linear-gradient(160deg, var(--pz-red) 0%, var(--pz-red-dark) 100%);
	color: #fff;
	border-radius: var(--pz-radius);
	padding: 1.6em 1.6em 1.2em;
	box-shadow: var(--pz-shadow);
	position: relative;
	overflow: hidden;
}

.pz-orari::after {
	/* croce decorativa */
	content: "";
	position: absolute;
	right: -18px;
	top: -10px;
	width: 120px;
	height: 160px;
	opacity: .08;
	background:
		linear-gradient(#fff, #fff) center 30% / 100% 22px no-repeat,
		linear-gradient(#fff, #fff) center / 22px 100% no-repeat;
}

.pz-orari__title {
	font-family: var(--pz-serif);
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 0 .2em;
	color: #fff;
}

.pz-orari__season {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pz-gold-soft);
	margin-bottom: 1em;
}

.pz-orari dl {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .5em 1em;
}

.pz-orari dt {
	font-weight: 600;
	color: rgba(255, 255, 255, .85);
}

.pz-orari dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.pz-orari__note {
	margin: 1.2em 0 0;
	font-size: .8rem;
	color: rgba(255, 255, 255, .75);
}

/* Se lo shortcode è dentro un widget, il widget non deve avere doppia card */
#secondary .widget:has(.pz-orari) {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
	background: #1f1416;
	color: rgba(255, 255, 255, .78);
	border-top: 4px solid var(--pz-gold);
	margin-top: 3em;
}

.site-footer .wrap {
	padding-top: 3em;
	padding-bottom: 2em;
}

.site-footer .widget-title {
	color: var(--pz-gold);
	border-bottom-color: rgba(255, 255, 255, .12);
}

.site-footer .widget ul li {
	border-color: rgba(255, 255, 255, .1);
}

.site-footer .widget ul li a,
.site-footer a {
	color: #fff;
	box-shadow: none;
}

.site-footer .widget ul li a:hover,
.site-footer a:hover {
	color: var(--pz-gold);
}

.social-navigation a {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.social-navigation a:hover {
	background: var(--pz-gold);
	color: #1f1416;
}

.site-info {
	font-size: .85rem;
	color: rgba(255, 255, 255, .6);
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding-top: 1.5em;
	width: 100%;
	float: none;
}

.site-info .pz-footer-name {
	color: #fff;
	font-family: var(--pz-serif);
	font-size: 1.1rem;
	font-weight: 600;
	display: block;
	margin-bottom: .2em;
}

.pz-footer-line {
	display: block;
	margin-top: .3em;
}

.pz-footer-small {
	font-size: .8rem;
	opacity: .75;
}

/* Senza widget il footer è solo la fascia finale: niente bordo superiore doppio */
.site-footer .wrap > .site-info:first-child {
	border-top: 0;
	padding-top: 0;
}

.site-info a {
	color: rgba(255, 255, 255, .8);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .3);
}

/* ==========================================================================
   9. Mobile
   ========================================================================== */
@media screen and (max-width: 47.99em) {
	body {
		font-size: 16px;
	}

	.wrap {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.blog .site-main > article,
	.archive .site-main > article,
	.single-post .site-main > article,
	.page .site-main > article {
		padding: 1.4em 1.2em 1em;
	}

	.blog .site-main > article .post-thumbnail,
	.archive .site-main > article .post-thumbnail {
		margin: -1.4em -1.2em 1.2em;
	}

	.main-navigation ul {
		background: var(--pz-surface);
	}

	.main-navigation li {
		border-color: var(--pz-line);
	}
}

/* ==========================================================================
   10. Home a sezioni (front-page.php)
   ========================================================================== */

/* Header più basso in home: le azioni devono stare nella prima schermata.
   L'id #masthead serve a battere le regole ".home.blog.has-header-image"
   del tema padre, che altrimenti lo tengono a tutto schermo (100vh). */
body.pz-front.has-header-image #masthead .custom-header,
body.pz-front.has-header-image #masthead .custom-header-media {
	height: 58vh;
	min-height: 340px;
	max-height: 640px;
}

body.pz-front .site-content {
	padding: 0;
}

body.pz-front .site-content > .wrap {
	max-width: none;
	padding: 0;
}

.pz-home {
	float: none !important;
	width: 100% !important;
}

/* Twenty Seventeen fa galleggiare gli article al 58% nella home senza sidebar */
body.pz-front #primary.pz-home article,
body.pz-front #primary.pz-home .pz-card {
	float: none;
	width: auto;
}

/* Il clearfix di .wrap diventerebbe una cella vuota delle griglie */
.pz-home .wrap::before,
.pz-home .wrap::after {
	content: none;
}

.pz-section {
	padding: 4em 0;
}

.pz-section--tint {
	background: #f3ede4;
}

.pz-section__head {
	max-width: 640px;
	margin-bottom: 2em;
}

.pz-section__head h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 .4em;
	padding: 0;
	color: var(--pz-ink);
}

.pz-section__head p {
	color: var(--pz-muted);
	margin: 0;
}

.pz-kicker {
	color: var(--pz-red);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin: 0 0 .6em;
}

.pz-kicker--sm {
	margin-top: 1.6em;
}

.pz-grid {
	display: grid;
	gap: 1.5em;
}

.pz-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pz-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pz-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.pz-card {
	background: var(--pz-surface);
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-radius);
	box-shadow: var(--pz-shadow);
	padding: 1.6em;
	color: var(--pz-ink);
}

.pz-card h3 {
	font-family: var(--pz-serif);
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 .4em;
	padding: 0;
	color: var(--pz-ink);
}

.pz-card p {
	font-size: .95rem;
	color: #4a433f;
	margin: 0 0 1em;
}

.pz-card__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 .3em;
	padding: 0;
}

a.pz-card {
	text-decoration: none;
	box-shadow: var(--pz-shadow);
	transition: box-shadow .25s, transform .25s;
}

a.pz-card:hover,
a.pz-card:focus {
	box-shadow: var(--pz-shadow-hover);
	transform: translateY(-3px);
	color: var(--pz-ink);
}

/* Pulsanti */
.pz-btn,
.entry-content .pz-btn {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	background: var(--pz-ink);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: .7em 1.4em;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
	transition: background .2s, color .2s;
}

.pz-btn:hover,
.pz-btn:focus {
	background: var(--pz-red);
	color: #fff;
	box-shadow: none;
}

.pz-btn--wa {
	background: #128c4b;
}

.pz-btn--wa:hover {
	background: #0d6e3a;
}

.pz-btn--wa,
.pz-btn--wa:visited {
	color: #fff;
}

.pz-card .pz-admin-hint {
	border: 2px dashed #25a35a;
	border-radius: 10px;
	background: #effaf3;
	color: #0d6e3a;
	font-size: .85rem;
	padding: .8em 1em;
}

.pz-btn--ghost {
	background: transparent;
	color: var(--pz-red);
	border: 1.5px solid currentColor;
}

.pz-btn--ghost:hover {
	background: var(--pz-red);
	color: #fff;
}

/* Azioni rapide: subito sotto header/menu (niente sovrapposizioni) */
.pz-quick {
	position: relative;
	padding-top: 2em;
}

.pz-quick .wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1em;
}

.pz-quick__item {
	display: flex;
	align-items: center;
	gap: .8em;
	background: var(--pz-surface);
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-radius);
	box-shadow: var(--pz-shadow-hover);
	padding: 1em 1.1em;
	color: var(--pz-ink);
	text-decoration: none;
	transition: transform .2s, border-color .2s;
}

.pz-quick__item:hover,
.pz-quick__item:focus {
	transform: translateY(-2px);
	border-color: var(--pz-gold);
	color: var(--pz-ink);
	box-shadow: var(--pz-shadow-hover);
}

.pz-quick__item strong {
	display: block;
	font-size: .95rem;
	line-height: 1.2;
}

.pz-quick__item small {
	display: block;
	color: var(--pz-muted);
	font-size: .78rem;
}

.pz-ico {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 2.6em;
	height: 2.6em;
	border-radius: 50%;
	background: var(--pz-gold-soft);
	font-size: 1.05rem;
}

.pz-quick__item--wa .pz-ico {
	background: #dcf5e6;
}

/* Orari in home: più grandi */
.pz-home .pz-orari {
	padding: 2em;
}

.pz-home .pz-orari__title {
	font-size: 1.7rem;
}

.pz-home .pz-orari dl {
	font-size: 1.05rem;
	gap: .7em 1.5em;
}

.pz-home .pz-orari dt,
.pz-home .pz-orari dd {
	padding-bottom: .7em;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.pz-orari__alert {
	background: var(--pz-gold);
	color: #2a1a05;
	font-weight: 600;
	font-size: .9rem;
	border-radius: 8px;
	padding: .6em .9em;
	margin: 0 0 1em;
}

/* Dove siamo */
.pz-address {
	font-size: 1.05rem;
}

.pz-contacts {
	list-style: none;
	margin: 1.2em 0 0;
	padding: 0;
}

.pz-contacts li {
	padding: .4em 0;
	font-weight: 600;
}

.pz-contacts a {
	color: var(--pz-ink);
	text-decoration: none;
}

.pz-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .3em 1em;
	margin: 0;
	font-size: .95rem;
}

.pz-dl dd {
	margin: 0;
	text-align: right;
}

/* Canali */
.pz-channel {
	position: relative;
	padding: 2em;
}

.pz-channel--wa {
	border-top: 4px solid #25a35a;
}

.pz-channel--app {
	border-top: 4px solid var(--pz-gold);
}

.pz-channel__ico {
	display: block;
	font-size: 2rem;
	margin-bottom: .4em;
}

.pz-channel h3 {
	font-size: 1.4rem;
}

.pz-stores {
	display: flex;
	flex-wrap: wrap;
	gap: .6em;
}

.pz-qr {
	display: none;
	margin: 1.4em 0 0;
	align-items: center;
	gap: 1em;
	font-size: .8rem;
	color: var(--pz-muted);
}

.pz-qr img {
	width: 110px;
	height: auto;
	border-radius: 8px;
	border: 1px solid var(--pz-line);
}

/* Il QR ha senso solo da computer */
@media (hover: hover) and (min-width: 62em) {
	.pz-qr {
		display: flex;
	}
}

/* Notizie */
.pz-news {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.pz-news__img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.pz-news time {
	color: var(--pz-red);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 1.2em 1.4em 0;
}

.pz-news h3 {
	padding: .3em 1.4em 1.4em;
}

/* Servizi e gruppi */
.pz-service h3::before {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	background: var(--pz-gold);
	border-radius: 2px;
	margin-bottom: .8em;
}

.pz-cta-line {
	margin: 2em 0 0;
	font-weight: 600;
	text-align: center;
}

.pz-group {
	display: flex;
	flex-direction: column;
}

.pz-group p {
	flex: 1;
}

.pz-group__more {
	color: var(--pz-red);
	font-weight: 700;
	font-size: .85rem;
}

/* Offerte */
.pz-support {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 2em;
	align-items: center;
	padding: 2.4em;
	background: linear-gradient(135deg, #fff 0%, var(--pz-gold-soft) 100%);
}

.pz-support h2 {
	font-size: 1.7rem;
	margin: 0 0 .4em;
	padding: 0;
}

.pz-iban {
	background: var(--pz-surface);
	border: 1px dashed var(--pz-gold);
	border-radius: 12px;
	padding: 1.2em;
	text-align: center;
}

.pz-iban span {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--pz-muted);
}

.pz-iban code {
	display: block;
	background: none;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .04em;
	word-break: break-all;
	margin: .4em 0 .9em;
	color: var(--pz-ink);
}

@media screen and (max-width: 61.99em) {
	.pz-quick .wrap {
		grid-template-columns: repeat(2, 1fr);
	}

	.pz-support {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 47.99em) {
	body.pz-front.has-header-image #masthead .custom-header,
	body.pz-front.has-header-image #masthead .custom-header-media {
		height: 42vh;
		min-height: 260px;
	}

	.pz-quick .wrap {
		gap: .6em;
	}

	.pz-quick__item {
		flex-direction: column;
		align-items: flex-start;
		gap: .5em;
		padding: .9em;
	}

	.pz-section {
		padding: 2.8em 0;
	}

	.pz-home .pz-orari {
		padding: 1.5em;
	}

	.pz-home .pz-orari dl {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		font-size: 1rem;
	}

	.pz-quick__item span {
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
