/* BBC Eventi — card, pagina evento, modulo, feed Facebook (mobile-first) */
.bbc-ev-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;background:#eef1f5;color:#1A2A3A;line-height:1.4}
.bbc-ev-badge--aperto{background:#e6f4ea;color:#14632b}
.bbc-ev-badge--completo{background:#F0A500;color:#1A2A3A}
.bbc-ev-badge--annullato{background:#fde8e8;color:#8a1c1c}
.bbc-ev-badge--esaurito,.bbc-ev-badge--chiuso{background:#fff4d6;color:#7a5200}
.bbc-ev-raised{font-size:20px;font-weight:800;color:#2B5BAE;margin:10px 0}
.bbc-ev-card__body .bbc-ev-badge{margin-right:6px}
.bbc-ev-badge--concluso,.bbc-ev-badge--info{background:#e8eff8;color:#1E4080}

/* griglia agenda */
.bbc-ev-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media (min-width:640px){.bbc-ev-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.bbc-ev-grid{grid-template-columns:repeat(3,1fr)}}
.bbc-ev-card{background:#fff;border-radius:var(--bbc-radius,8px);overflow:hidden;box-shadow:0 2px 14px rgba(26,42,58,.08);display:flex;flex-direction:column;color:var(--bbc-testo,#1A2A3A)}
.bbc-ev-card__media{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#2B5BAE,#1E4080) center/cover no-repeat;position:relative}
.bbc-ev-date{position:absolute;left:14px;top:14px;background:#fff;color:#1A2A3A;border-radius:6px;padding:6px 10px;text-align:center;font-size:11px;text-transform:uppercase;font-weight:700;line-height:1.1;letter-spacing:1px}
.bbc-ev-date b{display:block;font-size:24px;letter-spacing:0}
.bbc-ev-card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.bbc-ev-card__title{margin:4px 0 0;font-size:20px;line-height:1.25}
.bbc-ev-card__title a{color:inherit;text-decoration:none}
.bbc-ev-card__meta{margin:0;font-size:14px;color:var(--bbc-testo-soft,#4A5568)}
.bbc-ev-card__ex{margin:0;font-size:15px;line-height:1.5}
.bbc-ev-card__link{margin-top:auto;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--bbc-blu,#2B5BAE);text-decoration:none}
.bbc-ev-card--concluso .bbc-ev-card__media{filter:grayscale(.35)}
.bbc-ev-empty{font-size:17px;opacity:.85}
.bbc-ev-more{margin-top:28px;text-align:center}

/* hero evento: overlay leggibile sull'immagine */
.bbc-block--hero-evento.has-image .bbc-hero{background-size:cover;background-position:center;position:relative}
.bbc-block--hero-evento.has-image .bbc-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,30,60,.88) 0%,rgba(15,30,60,.55) 60%,rgba(15,30,60,.25) 100%)}
.bbc-block--hero-evento .bbc-hero__content{position:relative}

/* pagina evento */
.bbc-ev-single{background:#F4F7FC}
.bbc-ev-hero{background:linear-gradient(135deg,#1E4080,#2B5BAE) center/cover no-repeat;color:#fff;position:relative}
.bbc-ev-hero.has-image::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,30,60,.9),rgba(15,30,60,.35))}
.bbc-ev-hero__inner{position:relative;max-width:1100px;margin:0 auto;padding:clamp(48px,9vw,120px) 16px clamp(32px,5vw,56px)}
.bbc-ev-hero .bbc-eyebrow{color:#F0A500}
.bbc-ev-hero__title{font-size:clamp(30px,5vw,54px);line-height:1.08;margin:6px 0 10px;color:#fff}
.bbc-ev-hero__place{font-size:18px;opacity:.85;margin:0}
.bbc-ev-back{color:rgba(255,255,255,.8);text-decoration:none;font-size:14px;display:inline-block;margin-bottom:18px}
.bbc-ev-layout{max-width:1100px;margin:0 auto;padding:32px 16px 64px;display:grid;gap:28px;grid-template-columns:1fr}
@media (min-width:900px){.bbc-ev-layout{grid-template-columns:minmax(0,1fr) 380px;align-items:start}.bbc-ev-box{position:sticky;top:96px}}
.bbc-ev-content{background:#fff;border-radius:8px;padding:clamp(20px,4vw,40px);font-size:17px;line-height:1.7}
.bbc-ev-content img{max-width:100%;height:auto}
.bbc-ev-lead{font-size:20px;line-height:1.5;font-weight:600;margin-top:0}
.bbc-ev-memory{margin-top:40px;padding-top:24px;border-top:2px solid #E8EFF8}
.bbc-ev-box{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 14px rgba(26,42,58,.08);font-size:15px}
.bbc-ev-facts{list-style:none;margin:16px 0;padding:0}
.bbc-ev-facts li{padding:10px 0;border-bottom:1px solid #E8EFF8;line-height:1.45}
.bbc-ev-facts span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:#2B5BAE;margin-bottom:2px}
.bbc-ev-box__title{font-size:20px;margin:20px 0 12px}
.bbc-ev-box__msg{line-height:1.55}
.bbc-ev-box .bbc-btn{width:100%;text-align:center;margin:6px 0 0}
.bbc-ev-box .bbc-btn+.bbc-btn{margin-left:0}

/* modulo */
.bbc-ev-form__grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}
.bbc-ev-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}
.bbc-ev-form__wide,.bbc-ev-form__grid label:nth-child(3),.bbc-ev-form__grid label:nth-child(4){grid-column:1/-1}
.bbc-ev-form input[type=text],.bbc-ev-form input[type=email],.bbc-ev-form input[type=tel],.bbc-ev-form select,.bbc-ev-form textarea{width:100%;font:inherit;font-weight:400;font-size:16px;padding:10px 12px;border:1px solid #c9d3e0;border-radius:6px;background:#fff;min-height:44px;box-sizing:border-box}
.bbc-ev-form input:focus,.bbc-ev-form select:focus,.bbc-ev-form textarea:focus{outline:2px solid #2B5BAE;outline-offset:1px}
.bbc-ev-form__pay{border:0;padding:0;margin:16px 0 0}
.bbc-ev-form__pay legend{font-weight:700;font-size:13px;margin-bottom:6px}
.bbc-ev-form__pay label{flex-direction:row;align-items:center;gap:8px;font-weight:400;font-size:15px;padding:6px 0}
.bbc-ev-form__total{font-size:17px;margin:12px 0}
.bbc-ev-stripe{margin:14px 0}
.bbc-ev-form__privacy{flex-direction:row!important;align-items:flex-start;gap:8px!important;font-weight:400!important;font-size:13px!important;margin:14px 0;line-height:1.45}
.bbc-ev-form__privacy input{margin-top:3px}
.bbc-ev-form__submit{width:100%}
.bbc-ev-form__msg{margin:10px 0 0;font-size:15px;line-height:1.45}
.bbc-ev-form__msg.is-ok{background:#e6f4ea;color:#14632b;padding:12px 14px;border-radius:6px;font-weight:600}
.bbc-ev-form__msg.is-error{background:#fde8e8;color:#8a1c1c;padding:12px 14px;border-radius:6px}
.bbc-ev-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* feed facebook */
.bbc-fb{display:grid;gap:28px;grid-template-columns:1fr;align-items:start}
@media (min-width:900px){.bbc-fb{grid-template-columns:1fr 520px}}
.bbc-fb__frame{background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:12px;box-shadow:0 2px 14px rgba(26,42,58,.08);color:#1A2A3A}
.bbc-fb__consent{text-align:center;max-width:360px;padding:24px 8px}
.bbc-fb__consent p{line-height:1.5;font-size:15px}
.bbc-fb__remember{display:block;margin-top:12px;font-size:13px}
@media(min-width:900px){.bbc-fb__text{position:sticky;top:110px;align-self:start}}
