/* Key Congressi – integrazioni al tema originale (style.css + custom.css restano invariati) */

/* font IBM Plex Sans ospitato sul server (prima arrivava da Google Fonts) */
@font-face{
  font-family:'IBM Plex Sans';
  src:url('../fonts/ibm-plex-sans-300.woff2') format('woff2'),url('../fonts/ibm-plex-sans-300.woff') format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}

/* bandierine del cambio lingua */
.chsEng,.chsIta{width:24px;height:24px;cursor:pointer;margin-top:12px}

/* card eventi: se manca l'immagine resta un riquadro neutro */
.blog-thumbnail-img{background:#e9eef2;min-height:200px}
.events-empty{text-align:center;padding:30px 0;color:#777}

/* contatti: form visibile nella pagina */
.contact-form-section{padding-top:40px}
.contact-form-section .form-group{margin-bottom:18px}
.contact-form-section input[type=text],
.contact-form-section input[type=email],
.contact-form-section textarea{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:0;font-size:1.5rem;background:#fff}
.contact-form-section textarea{min-height:160px;resize:vertical}
.contact-form-section .privacy-check{display:flex;gap:10px;align-items:flex-start;font-size:1.4rem;line-height:1.5}
.contact-form-section .privacy-check input{margin-top:4px;flex:none}
.contact-form-section label.error{color:#c0392b;font-size:1.3rem;display:block;margin-top:4px}
.contact-form-section .hp{position:absolute;left:-9999px}
.form-notice{display:none;margin-top:15px;padding:12px 15px;font-size:1.5rem}
.form-notice.ok{display:block;background:#e7f6ec;color:#1d6b38}
.form-notice.err{display:block;background:#fdecec;color:#9b1c1c}

/* privacy: testo leggibile */
.privacy-text{font-size:1.6rem;line-height:1.7;color:#333}
.privacy-text h3{margin-top:35px}
.privacy-text h4{margin-top:22px;font-weight:600}
.privacy-text table{width:100%;border-collapse:collapse;margin:15px 0;font-size:1.5rem}
.privacy-text th,.privacy-text td{border:1px solid #ddd;padding:8px 10px;vertical-align:top;text-align:left}
.privacy-text th{background:#f5f7f9}
.privacy-docs .btn{margin:0 10px 10px 0}

/* gallery */
.kc-album{margin-bottom:40px}
.kc-album h3 small{font-size:60%;color:#777;margin-left:6px}
.kc-album .js-gallery a{display:block;overflow:hidden;margin-bottom:20px}
.kc-album .js-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.kc-album .js-gallery a:hover img{transform:scale(1.05)}

@media (max-width:767px){
  .event-description{top:0}
}
