/* Holiday Banner – Notice pop-up (opens by itself). Styled like the NDA / NMA outage pop-ups. */
.hbn,.hbn *{box-sizing:border-box}
.hbn{--hbn-head:#151f6d;--hbn-accent:#a3111d;--hbn-accent-d:#860d17;--hbn-text:#1a206c;--hbn-body:#f9fafa;
  position:fixed !important;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(12,17,65,.72);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility .35s ease;font-family:"Poppins",sans-serif;line-height:1.5;text-align:left}
.hbn.is-open{opacity:1;visibility:visible;pointer-events:auto}
.hbn[hidden]{display:none !important}

.hbn .hbn__card{position:relative;width:100%;max-width:640px;max-height:calc(100vh - 40px);overflow-y:auto;background:var(--hbn-body);
  border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.3);transform:translateY(20px) scale(.98);transition:transform .4s cubic-bezier(.2,.8,.2,1);color:var(--hbn-text)}
.hbn.is-open .hbn__card{transform:none}
.hbn .hbn__card:focus{outline:none}
.hbn.hbn--compact .hbn__card{max-width:480px}
.hbn.hbn--wide .hbn__card{max-width:760px}

/* ---------- header ---------- */
.hbn .hbn__head{position:relative;overflow:hidden;background:var(--hbn-head);color:#fff;padding:28px 92px 28px 32px;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end}
.hbn .hbn__deco{position:absolute;inset:0;pointer-events:none}
.hbn .hbn__deco::before,.hbn .hbn__deco::after{content:"";position:absolute;width:85px;height:260px;top:-90px;right:110px;transform:rotate(35deg);background:rgba(255,255,255,.055)}
.hbn .hbn__deco::after{right:-5px;top:40px;background:rgba(255,255,255,.045)}
.hbn .hbn__chequer,.hbn .hbn__stripes{display:none}

.hbn .hbn__icon{position:relative;width:42px;height:42px;margin:0 0 14px;color:#fff;flex:none}
.hbn .hbn__icon svg{display:block;width:100%;height:100%}
.hbn .hbn__icon--warning::before,.hbn .hbn__icon--warning::after{content:"";position:absolute;width:3px;border-radius:3px;background:var(--hbn-accent)}
.hbn .hbn__icon--warning::after{top:3px;left:45px;height:12px;transform:rotate(22deg)}
.hbn .hbn__icon--warning::before{top:13px;left:51px;height:9px;transform:rotate(62deg)}
.hbn.hbn--head-red .hbn__icon--warning::before,.hbn.hbn--head-red .hbn__icon--warning::after{background:#fff}

.hbn .hbn__eyebrow{position:relative;margin:0 0 6px !important;padding:0 !important;font-family:inherit !important;font-size:12px !important;font-weight:600 !important;letter-spacing:.16em !important;text-transform:uppercase !important;color:#ffd25e !important;line-height:1.3 !important}
.hbn .hbn__title{position:relative;margin:0 !important;padding:0 !important;font-family:inherit !important;font-size:clamp(22px,3vw,28px) !important;font-weight:700 !important;line-height:1.18 !important;color:#fff !important;text-transform:none !important;letter-spacing:normal !important}

/* ---------- close (same animated X as the Christmas pop-up) ---------- */
.hbn button.hbn__close,.hbn button.hbn__close:hover,.hbn button.hbn__close:focus{position:absolute !important;top:20px;right:20px;width:40px !important;height:40px !important;min-height:0 !important;padding:0 !important;margin:0 !important;
  border-radius:50% !important;border:1.5px solid rgba(255,255,255,.45) !important;background:rgba(255,255,255,.12) !important;box-shadow:none !important;cursor:pointer;z-index:3;transition:transform .3s ease,background .25s ease,border-color .25s ease}
.hbn button.hbn__close::before,.hbn button.hbn__close::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;border-radius:2px;background:#fff;transform:translate(-50%,-50%) rotate(45deg)}
.hbn button.hbn__close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.hbn button.hbn__close:hover{transform:rotate(90deg) scale(1.1);background:var(--hbn-accent) !important;border-color:var(--hbn-accent) !important}
.hbn.hbn--head-red button.hbn__close:hover{background:rgba(0,0,0,.35) !important;border-color:#fff !important}
.hbn button.hbn__close:focus-visible{outline:2px solid #ffd25e !important;outline-offset:2px}

/* ---------- body ---------- */
.hbn .hbn__body{padding:28px 32px 32px}
.hbn .hbn__msg p,.hbn .hbn__note p,.hbn .hbn__hl p{margin:0 0 14px !important;padding:0 !important;font-family:inherit !important;font-size:16px !important;line-height:1.6 !important;color:inherit !important}
.hbn .hbn__msg p:last-child,.hbn .hbn__note p:last-child,.hbn .hbn__hl p:last-child{margin-bottom:0 !important}
.hbn .hbn__msg{font-size:16px}
.hbn .hbn__body strong,.hbn .hbn__body b{font-weight:700;color:inherit}
.hbn .hbn__body a:not(.hbn__btn){color:var(--hbn-accent) !important;text-decoration:underline !important}
.hbn .hbn__msg ul{margin:0 0 14px 1.2em;padding:0}
.hbn .hbn__hl{margin:18px 0 0;padding:16px 20px;border-left:4px solid var(--hbn-accent);border-radius:0 10px 10px 0;background:rgba(21,31,109,.06)}
.hbn .hbn__hl p{font-size:15px !important}
.hbn .hbn__divider{height:1px;margin:22px 0;background:rgba(26,32,108,.16)}
.hbn .hbn__note{font-size:15px}
.hbn .hbn__note p{font-size:15px !important}
.hbn .hbn__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:24px}

/* buttons: !important so Elementor's global button styles can't override them */
.hbn .hbn__btn,.hbn .hbn__btn:hover,.hbn .hbn__btn:focus{display:inline-flex !important;align-items:center !important;gap:12px !important;margin:0 !important;min-height:0 !important;width:auto !important;
  padding:13px 26px !important;border-radius:999px !important;border:2px solid var(--hbn-accent) !important;background:var(--hbn-accent) !important;background-image:none !important;color:#fff !important;
  font-family:inherit !important;font-size:16px !important;font-weight:700 !important;line-height:1.2 !important;letter-spacing:normal !important;text-transform:none !important;text-decoration:none !important;
  box-shadow:0 8px 22px rgba(163,17,29,.25) !important;cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.hbn .hbn__btn::after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-top:2.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.hbn .hbn__btn:hover{transform:translateY(-1px);background:var(--hbn-accent-d) !important;border-color:var(--hbn-accent-d) !important}
.hbn .hbn__btn:hover::after{transform:translateX(3px) rotate(45deg)}
.hbn .hbn__btn:focus-visible{outline:2px solid var(--hbn-text) !important;outline-offset:3px}
.hbn .hbn__btn--ghost,.hbn .hbn__btn--ghost:hover,.hbn .hbn__btn--ghost:focus{background:transparent !important;color:var(--hbn-text) !important;border-color:rgba(26,32,108,.25) !important;box-shadow:none !important}
.hbn .hbn__btn--ghost::after{display:none}
.hbn .hbn__btn--ghost:hover{background:rgba(26,32,108,.06) !important;border-color:var(--hbn-text) !important;transform:none}

/* ---------- header colours ---------- */
.hbn.hbn--head-red{--hbn-head:#a3111d}
.hbn.hbn--head-amber{--hbn-head:#b45309}
.hbn.hbn--head-green{--hbn-head:#166534}
.hbn.hbn--head-red .hbn__eyebrow,.hbn.hbn--head-amber .hbn__eyebrow,.hbn.hbn--head-green .hbn__eyebrow{color:rgba(255,255,255,.85) !important}

/* ---------- NMA (motorsport) brand ---------- */
.hbn.hbn--nma{--hbn-head:#0d0d0f;--hbn-accent:#D41B34;--hbn-accent-d:#B0152A;--hbn-text:#0d0d0f;--hbn-body:#fff;background:rgba(0,0,0,.72)}
.hbn.hbn--nma.hbn--head-red{--hbn-head:#D41B34}
.hbn.hbn--nma.hbn--head-amber{--hbn-head:#b45309}
.hbn.hbn--nma.hbn--head-green{--hbn-head:#166534}
.hbn.hbn--nma .hbn__card{border-radius:6px}
.hbn.hbn--nma .hbn__head{padding-top:40px}
.hbn.hbn--nma .hbn__deco{display:none}
.hbn.hbn--nma .hbn__chequer{display:block;position:absolute;left:0;right:0;top:0;height:10px;
  background:conic-gradient(#fff 25%,#0d0d0f 0 50%,#fff 0 75%,#0d0d0f 0) 0 0/10px 10px}
.hbn.hbn--nma .hbn__stripes{display:block;position:absolute;top:0;bottom:0;right:-30px;width:200px;pointer-events:none}
.hbn.hbn--nma .hbn__stripes span{position:absolute;top:-20px;bottom:-20px;transform:skewX(-24deg)}
.hbn.hbn--nma .hbn__stripes span:nth-child(1){right:150px;width:10px;background:rgba(212,27,52,.35)}
.hbn.hbn--nma .hbn__stripes span:nth-child(2){right:110px;width:22px;background:rgba(212,27,52,.65)}
.hbn.hbn--nma .hbn__stripes span:nth-child(3){right:0;width:80px;background:#D41B34}
.hbn.hbn--nma.hbn--head-red .hbn__stripes span{background:rgba(0,0,0,.25)}
.hbn.hbn--nma .hbn__eyebrow{color:#D41B34 !important}
.hbn.hbn--nma.hbn--head-red .hbn__eyebrow{color:#fff !important}
.hbn.hbn--nma.hbn--head-amber .hbn__eyebrow,.hbn.hbn--nma.hbn--head-green .hbn__eyebrow,.hbn.hbn--nma.hbn--head-custom .hbn__eyebrow{color:rgba(255,255,255,.85) !important}
.hbn.hbn--nma.hbn--head-amber .hbn__stripes span,.hbn.hbn--nma.hbn--head-green .hbn__stripes span,.hbn.hbn--nma.hbn--head-custom .hbn__stripes span{background:rgba(255,255,255,.16)}
.hbn.hbn--nma.hbn--head-amber .hbn__stripes span:nth-child(3),.hbn.hbn--nma.hbn--head-green .hbn__stripes span:nth-child(3),.hbn.hbn--nma.hbn--head-custom .hbn__stripes span:nth-child(3){background:rgba(255,255,255,.24)}
.hbn.hbn--nma .hbn__title{text-transform:uppercase !important;letter-spacing:.01em !important}
.hbn.hbn--nma button.hbn__close,.hbn.hbn--nma button.hbn__close:hover,.hbn.hbn--nma button.hbn__close:focus{border-radius:4px !important;top:28px;background:rgba(0,0,0,.4) !important}
.hbn.hbn--nma button.hbn__close:hover{background:#D41B34 !important;border-color:#D41B34 !important}
.hbn.hbn--nma .hbn__body{color:#4a4a4f}
.hbn.hbn--nma .hbn__body strong,.hbn.hbn--nma .hbn__body b{color:#0d0d0f}
.hbn.hbn--nma .hbn__hl{background:#f4f4f5;border-radius:0 4px 4px 0}
.hbn.hbn--nma .hbn__divider{height:3px;background:linear-gradient(90deg,#826F51,rgba(130,111,81,.15))}
.hbn.hbn--nma .hbn__btn,.hbn.hbn--nma .hbn__btn:hover,.hbn.hbn--nma .hbn__btn:focus{border-radius:3px !important;text-transform:uppercase !important;letter-spacing:.12em !important;font-size:15px !important;box-shadow:0 8px 22px rgba(212,27,52,.25) !important}
.hbn.hbn--nma .hbn__btn--ghost,.hbn.hbn--nma .hbn__btn--ghost:hover,.hbn.hbn--nma .hbn__btn--ghost:focus{box-shadow:none !important;color:#0d0d0f !important;border-color:rgba(13,13,15,.25) !important}
.hbn.hbn--nma .hbn__btn--ghost:hover{border-color:#0d0d0f !important;background:#f4f4f5 !important}

/* ---------- corner card layout (no dark overlay, page stays usable) ---------- */
.hbn.hbn--corner{inset:auto 20px 20px auto;padding:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;display:block;width:min(400px,calc(100vw - 40px))}
.hbn.hbn--corner .hbn__card{max-width:none;max-height:calc(100vh - 40px);box-shadow:0 16px 48px rgba(0,0,0,.28);transform:translateY(30px)}
.hbn.hbn--corner.is-open .hbn__card{transform:none}
.hbn.hbn--corner .hbn__head{min-height:0;padding:20px 70px 20px 22px}
.hbn.hbn--corner.hbn--nma .hbn__head{padding-top:30px}
.hbn.hbn--corner .hbn__icon{width:30px;height:30px;margin-bottom:10px}
.hbn.hbn--corner .hbn__icon--warning::after{left:33px;top:1px;height:9px}
.hbn.hbn--corner .hbn__icon--warning::before{left:37px;top:9px;height:7px}
.hbn.hbn--corner .hbn__title{font-size:19px !important}
.hbn.hbn--corner button.hbn__close{top:14px;right:14px;width:34px !important;height:34px !important}
.hbn.hbn--corner.hbn--nma button.hbn__close{top:22px}
.hbn.hbn--corner .hbn__stripes{width:120px}
.hbn.hbn--corner .hbn__stripes span:nth-child(3){width:46px}
.hbn.hbn--corner .hbn__stripes span:nth-child(2){right:70px;width:14px}
.hbn.hbn--corner .hbn__stripes span:nth-child(1){right:96px}
.hbn.hbn--corner .hbn__body{padding:18px 22px 22px}
.hbn.hbn--corner .hbn__msg p,.hbn.hbn--corner .hbn__note p,.hbn.hbn--corner .hbn__hl p{font-size:14px !important}
.hbn.hbn--corner .hbn__actions{margin-top:16px}
.hbn.hbn--corner .hbn__btn,.hbn.hbn--corner .hbn__btn:hover,.hbn.hbn--corner .hbn__btn:focus{padding:10px 18px !important;font-size:14px !important}
.hbn.hbn--corner .hbn__divider{margin:16px 0}

/* ---------- mobile ---------- */
@media (max-width:640px){
  .hbn{padding:12px}
  .hbn .hbn__head{padding:24px 72px 24px 22px;min-height:120px}
  .hbn.hbn--nma .hbn__head{padding-top:34px}
  .hbn button.hbn__close{top:16px;right:16px;width:36px !important;height:36px !important}
  .hbn.hbn--nma button.hbn__close{top:24px}
  .hbn .hbn__icon{width:34px;height:34px;margin-bottom:10px}
  .hbn .hbn__icon--warning::after{left:37px;top:2px;height:10px}
  .hbn .hbn__icon--warning::before{left:42px;top:10px;height:8px}
  .hbn .hbn__title{font-size:21px !important}
  .hbn .hbn__body{padding:20px 22px 24px}
  .hbn .hbn__msg p,.hbn .hbn__note p{font-size:15px !important}
  .hbn .hbn__btn,.hbn .hbn__btn:hover,.hbn .hbn__btn:focus{padding:12px 22px !important;font-size:15px !important}
  .hbn.hbn--corner{inset:auto 12px 12px 12px;width:auto}
  .hbn.hbn--nma .hbn__stripes{width:120px}
  .hbn.hbn--nma .hbn__stripes span:nth-child(3){width:46px}
  .hbn.hbn--nma .hbn__stripes span:nth-child(2){right:70px;width:14px}
  .hbn.hbn--nma .hbn__stripes span:nth-child(1){right:96px}
}
@media (prefers-reduced-motion:reduce){.hbn,.hbn .hbn__card,.hbn button.hbn__close,.hbn .hbn__btn{transition:none !important}}
