/* ═══════════════════════════════════════════════════════════
   BBC Core — stili dei blocchi (frontend + editor)
   Palette: blu #2B5BAE · blu scuro #1E4080 · oro #F0A500
   Tutti a Bordo: navy #0F2B46 · arancio #E07B39 · beige #F5EFE3 · verde acqua #2A9D8F
   ═══════════════════════════════════════════════════════════ */
:root {
  --bbc-blu: #2B5BAE; --bbc-blu-dark: #1E4080; --bbc-blu-pale: #E8EFF8; --bbc-blu-mid: #D0DEEF;
  --bbc-oro: #F0A500; --bbc-testo: #1A2A3A; --bbc-testo-soft: #4A5568; --bbc-bg: #F4F7FC;
  --tab-navy: #0F2B46; --tab-arancio: #E07B39; --tab-beige: #F5EFE3; --tab-acqua: #2A9D8F;
  --bbc-font: 'Raleway', system-ui, sans-serif; --bbc-font-cond: 'Barlow Condensed', 'Raleway', sans-serif;
  --bbc-radius: 8px; --bbc-max: 1100px;
}
.bbc-block { font-family: var(--bbc-font); color: var(--bbc-testo); padding: clamp(40px, 6vw, 80px) 16px; width: 100%; box-sizing: border-box; }
.bbc-block * { box-sizing: border-box; }
.bbc-block__inner { max-width: var(--bbc-max); margin: 0 auto; }
.bbc-block.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.bbc-align-center { text-align: center; }
.bbc-align-center .bbc-block__head { margin-left: auto; margin-right: auto; }

/* temi */
.bbc-theme-light { background: #fff; }
.bbc-theme-pale  { background: var(--bbc-blu-pale); }
.bbc-theme-blu   { background: var(--bbc-blu); color: #fff; }
.bbc-theme-navy  { background: var(--bbc-blu-dark); color: #fff; }
.bbc-theme-tab   { background: var(--tab-navy); color: #fff; --bbc-oro: var(--tab-arancio); --bbc-blu: var(--tab-arancio); }
.bbc-theme-beige { background: var(--tab-beige); --bbc-blu: var(--tab-navy); --bbc-oro: var(--tab-arancio); }
.bbc-theme-blu .bbc-eyebrow, .bbc-theme-navy .bbc-eyebrow, .bbc-theme-tab .bbc-eyebrow { color: var(--bbc-oro); }
.bbc-theme-blu .bbc-sub, .bbc-theme-navy .bbc-sub, .bbc-theme-tab .bbc-sub { color: rgba(255,255,255,.75); }
.bbc-theme-blu .bbc-h2, .bbc-theme-navy .bbc-h2, .bbc-theme-tab .bbc-h2 { color: #fff; }

/* tipografia */
.bbc-eyebrow { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--bbc-blu); margin-bottom: 8px; }
.bbc-h2 { font-family: var(--bbc-font-cond); font-size: clamp(28px, 4vw, 42px); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.05; margin: 0 0 10px; color: var(--bbc-testo); }
.bbc-sub { font-size: clamp(15px, 1.6vw, 17px); color: var(--bbc-testo-soft); line-height: 1.7; max-width: 640px; margin: 0 0 8px; }
.bbc-block__head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.bbc-prose { font-size: 16px; line-height: 1.8; max-width: 760px; }
.bbc-align-center .bbc-prose { margin: 0 auto; }
.bbc-prose p { margin: 0 0 1em; }

/* bottoni */
.bbc-btn { display: inline-block; font-family: var(--bbc-font); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; padding: 14px 28px; border-radius: 4px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, opacity .15s; line-height: 1; min-height: 44px; }
.bbc-btn:hover { transform: translateY(-1px); opacity: .92; text-decoration: none; }
.bbc-btn--primary { background: var(--bbc-oro); color: var(--bbc-testo); }
.bbc-btn--ghost   { background: transparent; color: inherit; border-color: currentColor; opacity: .85; }
.bbc-btn--outline { background: transparent; color: var(--bbc-blu); border-color: var(--bbc-blu); }
.bbc-theme-blu .bbc-btn--outline, .bbc-theme-navy .bbc-btn--outline, .bbc-theme-tab .bbc-btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.bbc-btn + .bbc-btn { margin-left: 10px; }

/* ── hero ── */
.bbc-block--hero { padding: 0; }
.bbc-block--hero .bbc-block__inner { max-width: none; }
.bbc-hero { display: flex; align-items: center; background-size: cover; background-position: center; position: relative; padding: clamp(48px, 8vw, 110px) 16px; }
.bbc-hero.has-image::before, .has-image .bbc-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,43,70,.88) 0%, rgba(15,43,70,.55) 60%, rgba(15,43,70,.3) 100%); }
.bbc-align-center .bbc-hero::before { background: rgba(15,43,70,.7); }
.bbc-hero__content { position: relative; max-width: var(--bbc-max); width: 100%; margin: 0 auto; }
.bbc-align-center .bbc-hero__content { text-align: center; }
.bbc-align-center .bbc-hero__sub { margin-left: auto; margin-right: auto; }
.bbc-hero__logo { height: clamp(90px, 14vw, 160px); width: auto; margin-bottom: 20px; }
.bbc-hero__title { font-family: var(--bbc-font-cond); font-size: clamp(40px, 7vw, 76px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; margin: 0 0 18px; color: #fff; }
.bbc-hero__title em, .bbc-hero__title strong { color: var(--bbc-oro); font-style: inherit; }
.bbc-hero__sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.8); max-width: 560px; line-height: 1.6; margin: 0 0 28px; font-weight: 300; }
.bbc-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bbc-align-center .bbc-hero__btns { justify-content: center; }

/* ── numeri ── */
.bbc-numeri { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; text-align: center; }
.bbc-numeri li strong { display: block; font-family: var(--bbc-font-cond); font-size: clamp(36px, 5vw, 56px); font-weight: 700; font-style: italic; color: var(--bbc-oro); line-height: 1; }
.bbc-numeri li span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .75; margin-top: 6px; }
.bbc-numeri__note { text-align: center; font-size: 13px; opacity: .6; margin: 24px 0 0; }
.bbc-theme-light .bbc-numeri li strong, .bbc-theme-pale .bbc-numeri li strong { color: var(--bbc-blu); }

/* ── cards ── */
.bbc-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.bbc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bbc-blu-mid); border-radius: var(--bbc-radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.bbc-card:hover { box-shadow: 0 10px 30px rgba(30,64,128,.12); transform: translateY(-2px); }
.bbc-card__img { aspect-ratio: 16/10; background: var(--bbc-blu-pale); }
.bbc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbc-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.bbc-card__body h3 { font-family: var(--bbc-font-cond); font-size: 24px; font-weight: 700; text-transform: uppercase; font-style: italic; margin: 0 0 8px; color: var(--bbc-testo); }
.bbc-card__body p { font-size: 14px; color: var(--bbc-testo-soft); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.bbc-card__link { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--bbc-blu); }

/* ── sostenitori ── */
.bbc-sost { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 24px; }
.bbc-sost__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--bbc-blu-mid); border-radius: var(--bbc-radius); padding: 18px 26px; min-width: 150px; text-decoration: none; color: var(--bbc-testo); transition: border-color .2s; }
.bbc-sost__item:hover { border-color: var(--bbc-blu); }
.bbc-sost__item img { max-height: 48px; max-width: 180px; width: auto; object-fit: contain; }
.bbc-sost--main .bbc-sost__item { border: 2px solid var(--bbc-oro); background: #FFFBF0; padding: 26px 36px; }
.bbc-sost--main img { max-height: 70px; max-width: 240px; }
.bbc-sost__item small { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: #B07A00; font-weight: 700; }
.bbc-sost__slot { border-style: dashed; opacity: .55; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ── socio ── */
.bbc-socio { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.bbc-socio__text p { font-size: 16px; line-height: 1.7; color: var(--bbc-testo-soft); }
.bbc-checklist { list-style: none; padding: 0; margin: 16px 0 24px; }
.bbc-checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 15px; }
.bbc-checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bbc-blu); }
.bbc-checklist li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.bbc-socio__quote { display: grid; gap: 14px; }
.bbc-quota { background: #fff; border: 2px solid var(--bbc-blu-mid); border-radius: var(--bbc-radius); padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; }
.bbc-quota--sost { border-color: var(--bbc-oro); background: #FFFBF0; }
.bbc-quota__type { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--bbc-blu); grid-column: 1 / -1; }
.bbc-quota strong { font-family: var(--bbc-font-cond); font-size: 40px; font-weight: 700; font-style: italic; color: var(--bbc-testo); line-height: 1; }
.bbc-quota__dur { font-size: 12px; color: var(--bbc-testo-soft); }

/* ── citazione ── */
.bbc-quote { margin: 0 auto; max-width: 820px; text-align: center; padding: 0; border: 0; }
.bbc-quote p { font-family: var(--bbc-font-cond); font-size: clamp(24px, 3.4vw, 38px); font-style: italic; font-weight: 600; line-height: 1.25; margin: 0 0 16px; }
.bbc-quote cite { font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; opacity: .7; }

/* ── cta tripla ── */
.bbc-cta3 { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.bbc-cta3__box { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--bbc-radius); padding: 28px 24px 26px; display: flex; flex-direction: column; }
.bbc-theme-light .bbc-cta3__box, .bbc-theme-pale .bbc-cta3__box, .bbc-theme-beige .bbc-cta3__box { background: #fff; border-color: var(--bbc-blu-mid); }
.bbc-cta3__num { position: absolute; top: -14px; left: 22px; background: var(--bbc-oro); color: var(--bbc-testo); font-family: var(--bbc-font-cond); font-weight: 800; font-size: 16px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bbc-cta3__box h3 { font-family: var(--bbc-font-cond); font-size: 26px; font-weight: 700; text-transform: uppercase; font-style: italic; margin: 6px 0 8px; }
.bbc-cta3__box p { font-size: 14px; line-height: 1.6; opacity: .85; margin: 0 0 18px; flex: 1; }

/* ── contatti ── */
.bbc-contatti { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bbc-contatti li { background: #fff; border: 1px solid var(--bbc-blu-mid); border-radius: var(--bbc-radius); padding: 16px 18px; font-size: 15px; }
.bbc-contatti li span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--bbc-testo-soft); margin-bottom: 4px; font-weight: 700; }
.bbc-contatti a { color: var(--bbc-blu); text-decoration: none; font-weight: 600; }
.bbc-theme-blu .bbc-contatti li, .bbc-theme-navy .bbc-contatti li, .bbc-theme-tab .bbc-contatti li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.bbc-theme-blu .bbc-contatti a, .bbc-theme-navy .bbc-contatti a, .bbc-theme-tab .bbc-contatti a { color: #fff; }

/* ── notify ── */
.bbc-notify-form { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.bbc-notify-form input[type=email] { padding: 14px 16px; border: 1px solid var(--bbc-blu-mid); border-radius: 4px; font: inherit; font-size: 16px; min-height: 48px; width: 100%; }
.bbc-notify-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; min-height: 1em; }
.bbc-notify-msg.ok { color: #9FE1CB; font-weight: 700; } .bbc-theme-light .bbc-notify-msg.ok, .bbc-theme-pale .bbc-notify-msg.ok { color: #27500A; }
.bbc-notify-msg.err { color: #F09595; } .bbc-theme-light .bbc-notify-msg.err, .bbc-theme-pale .bbc-notify-msg.err { color: #A32D2D; }
.bbc-notify-privacy { grid-column: 1 / -1; font-size: 12px; opacity: .8; display: flex; gap: 8px; align-items: center; }
.bbc-notify-privacy a { color: inherit; }

/* ── video ── */
.bbc-video { margin: 0 auto; padding: 24px 16px; }
.bbc-video__frame { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.bbc-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bbc-video figcaption { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; opacity: .6; margin-top: 10px; }

/* ── responsive ── */
@media (max-width: 900px) {
  .bbc-cards { grid-template-columns: repeat(2, 1fr); }
  .bbc-cta3 { grid-template-columns: 1fr; }
  .bbc-socio { grid-template-columns: 1fr; }
  .bbc-numeri { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
}
@media (max-width: 600px) {
  .bbc-cards { grid-template-columns: 1fr; }
  .bbc-btn { width: 100%; text-align: center; }
  .bbc-btn + .bbc-btn { margin-left: 0; margin-top: 10px; }
  .bbc-hero__btns { flex-direction: column; }
  .bbc-notify-form { grid-template-columns: 1fr; }
  .bbc-sost__item { min-width: 120px; padding: 14px 18px; }
}
.bbc-nl-lists{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:center;font-size:14px}.bbc-nl-lists label{display:flex;gap:6px;align-items:center}
.bbc-block__head.bbc-align-center { margin-left: auto; margin-right: auto; text-align: center; }
.bbc-sub.bbc-align-center { margin-left: auto; margin-right: auto; max-width: 640px; }
