/* Schede dei relatori e griglia [visionaria_relatori]: stesso stile del programma (Outfit, rosso Visionaria). */
.single-pv_relatore .et_pb_post .post-meta { display: none; }
.pv-rel-scheda { font-family: 'Outfit', system-ui, sans-serif; color: #1d1d1d; }
.pv-rel-ruolo { font-size: 20px; font-weight: 300; margin: 0 0 18px; padding: 0 !important; }
.pv-rel-ruolo strong { font-weight: 700; }
.pv-rel-bio p { font-weight: 300; }
.pv-rel-link a { color: #a31b17; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pv-rel-titolo { font-size: 15px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #a31b17; margin: 28px 0 8px !important; padding: 0 !important; }
.pv-rel-app, .pv-rel-ed { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pv-rel-app li, .pv-rel-ed li { padding: 8px 0 !important; border-bottom: 1px solid #eee; font-weight: 300; }
.pv-rel-app li span { display: block; font-size: 14px; color: #5f5f5f; font-weight: 500; }
.pv-rel-app a, .pv-rel-ed a { color: #111; font-weight: 700; text-decoration: none; }
.pv-rel-app a:hover, .pv-rel-ed a:hover, .pv-rel-app a:focus, .pv-rel-ed a:focus { color: #a31b17; text-decoration: underline; }

.pv-rel-griglia { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); font-family: 'Outfit', system-ui, sans-serif; }
.pv-rel-griglia li { padding: 0 !important; }
.pv-rel-griglia a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: #1d1d1d; text-decoration: none; border-radius: 14px; padding: 16px 10px; border: 1px solid #eee; height: 100%; }
.pv-rel-griglia a:hover, .pv-rel-griglia a:focus { border-color: #a31b17; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.pv-rel-griglia a:focus-visible { outline: 3px solid #a31b17; outline-offset: 2px; }
.pv-rel-foto { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: #f2f2f2; display: grid; place-items: center; margin-bottom: 8px; border: 3px solid #a31b17; }
.pv-rel-foto img { width: 100%; height: 100%; object-fit: cover; }
.pv-rel-iniziali { font-size: 48px; font-weight: 800; color: #a31b17; }
.pv-rel-nome { font-weight: 700; font-size: 18px; color: #a31b17; line-height: 1.2; }
.pv-rel-r { font-weight: 300; font-size: 14px; line-height: 1.3; }
.pv-rel-e { font-weight: 600; font-size: 13px; line-height: 1.3; }

/* Scheda: senza la colonna laterale del tema, foto contenuta, testo leggibile. */
.single-pv_relatore #sidebar { display: none; }
.single-pv_relatore #left-area { width: 100% !important; max-width: 820px; padding-right: 0 !important; margin: 0 auto; float: none; }
.single-pv_relatore #main-content .container::before { display: none; }
.single-pv_relatore .et_post_meta_wrapper img, .single-pv_relatore .et_pb_post > img { width: 240px !important; height: 240px !important; object-fit: cover; border-radius: 50%; border: 4px solid #a31b17; display: block; margin: 8px 0 18px; }
.single-pv_relatore .entry-title { font-family: 'Outfit', system-ui, sans-serif; font-weight: 800; color: #111; font-size: clamp(30px, 4vw, 44px); }
.pv-rel-bio p { font-size: 18px; line-height: 1.6; }
.pv-rel-app li, .pv-rel-ed li { font-size: 17px; }

/* Modulo per i relatori. */
.pv-rel-modulo { font-family: 'Outfit', system-ui, sans-serif; max-width: 760px; color: #1d1d1d; }
.pv-rel-modulo p { font-weight: 300; }
.pv-rel-modulo .pv-campo { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; }
.pv-rel-modulo label { font-weight: 600; }
.pv-rel-modulo input[type=text], .pv-rel-modulo input:not([type]), .pv-rel-modulo input[type=url], .pv-rel-modulo textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 8px; width: 100%; box-sizing: border-box; }
.pv-rel-modulo input:focus, .pv-rel-modulo textarea:focus { outline: 3px solid #a31b17; outline-offset: 1px; }
.pv-rel-modulo small { color: #5f5f5f; }
.pv-rel-modulo .pv-spunta label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.pv-rel-modulo .pv-spunta input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 auto; }
.pv-rel-modulo .pv-spunta a { color: #a31b17; }
.pv-rel-modulo .pv-foto-attuale { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.pv-rel-modulo .pv-foto-attuale img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.pv-rel-modulo .pv-bottone { background: #a31b17; color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font: inherit; font-weight: 700; cursor: pointer; }
.pv-rel-modulo .pv-bottone:hover, .pv-rel-modulo .pv-bottone:focus { background: #111; }
.pv-rel-modulo .pv-trappola { position: absolute; left: -9999px; }
.pv-rel-errore { border-left: 4px solid #b32d2e; background: #fcf0f1; padding: 10px 14px; margin: 0 0 16px; }
.pv-rel-modulo .pv-chi { border: 1px solid #ddd; border-radius: 10px; padding: 14px 16px 4px; margin: 6px 0 18px; }
.pv-rel-modulo .pv-chi legend { font-weight: 700; padding: 0 6px; }
.pv-rel-modulo input[type=email] { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 8px; width: 100%; box-sizing: border-box; }
.pv-rel-social { list-style: none !important; margin: 8px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.pv-rel-social li { padding: 0 !important; }
.pv-rel-social a { display: inline-block; border: 1px solid #a31b17; color: #a31b17; border-radius: 999px; padding: 6px 14px; font-weight: 600; text-decoration: none; font-size: 15px; }
.pv-rel-contatto { margin: 6px 0 0 !important; font-size: 17px; overflow-wrap: anywhere; }
.pv-rel-contatto a { color: #a31b17; font-weight: 600; }
.pv-rel-social a:hover, .pv-rel-social a:focus { background: #a31b17; color: #fff; }
.pv-rel-modulo input[type=url] { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 8px; width: 100%; box-sizing: border-box; }
.pv-rel-sezione { font-family: 'Outfit', system-ui, sans-serif; font-size: 15px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #a31b17; margin: 34px 0 14px !important; padding: 0 0 6px !important; border-bottom: 2px solid #a31b17; }
.pv-rel-g { margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5f5f5f; }
@media (max-width: 560px) {
	.pv-rel-griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pv-rel-griglia a { padding: 12px 6px; }
	.pv-rel-foto { width: 92px; height: 92px; }
	.pv-rel-iniziali { font-size: 32px; }
	.pv-rel-nome { font-size: 16px; }
	.pv-rel-r { font-size: 13px; }
}
