/* Banner e preferenze cookie TECA: arancione #FF510D (azione principale) su bianco, testi neri. */
.cookie-consent,.cookie-settings{box-sizing:border-box;line-height:1.4;font-family:Roboto,Arial,sans-serif}
.cookie-consent *,.cookie-settings *{box-sizing:border-box}
.cookie-consent{position:fixed;z-index:100010;right:24px;bottom:24px;left:24px;display:flex;justify-content:flex-end;pointer-events:none}
.cookie-consent[hidden]{display:none}
.cookie-panel{width:min(780px,100%);padding:26px 28px;border-top:5px solid #ff510d;background:#fff;box-shadow:0 16px 48px rgba(0,0,0,.28);pointer-events:auto;display:flex;align-items:center;gap:28px;color:#111}
.cookie-copy{flex:1}
.cookie-copy .eyebrow,.cookie-settings .eyebrow{margin:0 0 6px;color:#c23d06;font-size:11px;font-weight:700;letter-spacing:.12em}
.cookie-panel h2,.cookie-settings h2{margin:0;padding:0;color:#111;font:700 28px/1.1 Roboto,Arial,sans-serif;text-transform:none}
.cookie-settings h2{font-size:32px}
.cookie-copy p:not(.eyebrow){margin:10px 0 7px;font-size:12px;line-height:1.45;color:#111}
.cookie-copy a{color:#111;border-bottom:1px solid #ff510d;font-size:12px;font-weight:700;text-decoration:none}
.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:300px;max-width:100%}
.cookie-actions .cookie-accept{grid-column:1/-1}
.cookie-consent .cookie-button,.cookie-settings .cookie-button,.cookie-video-placeholder .cookie-button{min-height:44px;border:1px solid #d0d5d8;border-radius:0;padding:12px 22px;background:#fff;color:#111;font:400 15px/1.2 Roboto,Arial,sans-serif;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.cookie-consent .cookie-button:hover,.cookie-settings .cookie-button:hover,.cookie-video-placeholder .cookie-button:hover{border-color:#111;background:#f4f6f7;color:#111}
.cookie-consent .cookie-accept,.cookie-settings .cookie-accept{border-color:#ff510d;background:#ff510d;color:#fff;font-weight:600}
.cookie-consent .cookie-accept:hover,.cookie-settings .cookie-accept:hover{border-color:#d9430b;background:#d9430b;color:#fff}
.cookie-consent .cookie-button:focus-visible,.cookie-settings .cookie-button:focus-visible,.cookie-settings .cookie-close:focus-visible{outline:2px solid #ff510d;outline-offset:3px}
.cookie-settings{position:fixed;margin:auto;width:min(560px,calc(100% - 36px));max-height:calc(100dvh - 36px);overflow:auto;z-index:100020;border:0;padding:0;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.38);color:#111}
.cookie-settings:not([open]){display:none}
.cookie-settings[open]{display:block}
.cookie-settings::backdrop{background:rgba(0,0,0,.64)}
.cookie-settings form{margin:0;padding:34px}
.cookie-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.cookie-settings form>p{margin:18px 0 20px;font-size:13px;line-height:1.45}
.cookie-settings .cookie-close{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border:1px solid #111;border-radius:0;background:#fff;color:#111;font-size:23px;line-height:1;cursor:pointer}
.cookie-options{border-top:1px solid #dce1df}
.cookie-options label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #dce1df;cursor:pointer}
.cookie-options span{display:grid;gap:3px}
.cookie-options strong{font-size:14px}
.cookie-options small{max-width:380px;font-size:12px;line-height:1.35;color:#5b6870}
.cookie-options input{width:19px;height:19px;flex:0 0 19px;accent-color:#ff510d;appearance:auto}
.cookie-settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}
.cookie-register-status:empty{display:none}
.cookie-video-placeholder{padding:35px;background:#111;color:#fff;text-align:center}
.cookie-video-placeholder button{margin-top:12px}
@media (max-width:640px){
  .cookie-consent{right:12px;bottom:12px;left:12px}
  .cookie-panel{display:block;padding:22px}
  .cookie-actions{width:100%;margin-top:18px}
  .cookie-consent .cookie-button,.cookie-settings .cookie-button{min-height:42px;padding:11px 18px;font-size:14px}
  .cookie-settings form{padding:27px 22px}
  .cookie-settings h2{font-size:28px}
  .cookie-settings-actions{justify-content:flex-start;flex-wrap:wrap}
}
