/* Moduli Contact Form 7 – stile PG Comix */
.pgc-form{display:flex;flex-direction:column;gap:22px;font-family:Archivo,sans-serif;color:#102536}
.pgc-form .pgc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pgc-form label{display:flex;flex-direction:column;gap:8px;font-weight:800;font-size:17px}
.pgc-form input[type=text],.pgc-form input[type=email],.pgc-form input[type=tel],.pgc-form textarea{width:100%;box-sizing:border-box;font:400 16px/1.5 Archivo,sans-serif;color:#102536;background:#fff;border:2px solid #C9D6E2;border-radius:12px;padding:14px 18px}
.pgc-form textarea{min-height:160px;resize:vertical}
.pgc-form input:focus,.pgc-form textarea:focus{outline:3px solid #FF8A7D;outline-offset:1px;border-color:#1D4A70}
.pgc-form ::placeholder{color:#33475B;opacity:.7}
.pgc-form fieldset{border:0;padding:0;margin:0}
.pgc-form legend{font-weight:800;font-size:17px;margin-bottom:12px}
.pgc-form .wpcf7-radio{display:flex;flex-wrap:wrap;gap:10px}
.pgc-form .wpcf7-radio .wpcf7-list-item{margin:0}
.pgc-form .wpcf7-radio label{flex-direction:row;align-items:center;gap:8px;font-size:16px;border:2px solid #C9D6E2;border-radius:999px;padding:10px 20px;cursor:pointer}
.pgc-form .wpcf7-radio label:has(input:checked){background:#1D4A70;border-color:#1D4A70;color:#fff}
.pgc-form .wpcf7-acceptance label{flex-direction:row;align-items:flex-start;gap:12px;font-weight:400;font-size:16px;color:#33475B}
.pgc-form .wpcf7-acceptance input{width:22px;height:22px;margin-top:2px}
.pgc-form .wpcf7-list-item{margin:0}
.pgc-form input[type=submit]{align-self:flex-start;background:#1D4A70;color:#fff;border:0;border-radius:999px;padding:16px 30px;font:800 17px/1.3 Archivo,sans-serif;cursor:pointer}
.pgc-form input[type=submit]:hover{background:#C8392B}
.wpcf7 .wpcf7-not-valid-tip{font-size:14px;color:#C8392B;font-weight:600}
.wpcf7 form .wpcf7-response-output{border-radius:12px;margin:16px 0 0;padding:14px 18px}
@media (max-width:767px){.pgc-form .pgc-row{grid-template-columns:1fr}}
/* Indirizzi email lunghi: vanno a capo invece di uscire dallo schermo */
.elementor-heading-title a[href^="mailto:"],.elementor-widget-text-editor a[href^="mailto:"]{overflow-wrap:anywhere;word-break:break-word}
.pgc-form .wpcf7-form-control-wrap{display:block;width:100%}
.pgc-form p{margin:0}
.pgc-form br{display:none}
.pgc-form .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:10px}
.pgc-form .wpcf7-checkbox label{flex-direction:row;align-items:center;gap:8px;font-size:16px;border:2px solid #C9D6E2;border-radius:999px;padding:10px 20px;cursor:pointer}
.pgc-form .wpcf7-checkbox label:has(input:checked){background:#1D4A70;border-color:#1D4A70;color:#fff}

/* Galleria foto: celle uniformi */
.elementor-image-gallery .gallery-columns-3 .gallery-item img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}

/* Email lunga nei contatti: su schermi stretti resta su una riga */
@media (max-width:480px){.pgc-email .elementor-heading-title{font-size:17px}}

.pgc-poster.elementor-widget-image-gallery .gallery-columns-3 .gallery-item img{aspect-ratio:auto}

/* Campi aggiuntivi moduli iscrizione */
.pgc-form input[type=url],.pgc-form input[type=number],.pgc-form select{width:100%;box-sizing:border-box;font:400 16px/1.5 Archivo,sans-serif;color:#102536;background:#fff;border:2px solid #C9D6E2;border-radius:12px;padding:14px 18px}
.pgc-form input[type=file]{font:400 15px/1.5 Archivo,sans-serif;color:#33475B;border:2px dashed #C9D6E2;border-radius:12px;padding:14px 18px;background:#fff;width:100%;box-sizing:border-box}
.pgc-form .pgc-form__titolo{font-family:Anton,sans-serif;font-weight:400;font-size:26px;line-height:1.1;text-transform:uppercase;color:#1D4A70;margin:12px 0 -4px;padding-top:18px;border-top:2px solid #E3EAF1}
.pgc-form .pgc-form__titolo:first-child{border-top:0;padding-top:0;margin-top:0}
.pgc-form .wpcf7-acceptance + .wpcf7-acceptance{margin-top:-8px}
