/* Shared HWER cool footer + mailing modal (used by lean pages). */
/* ── Site footer ── */
.kb-hw-site-footer {
  --kb-hw-blue: #0e90d0;
  --kb-hw-muted: #94a3b8;
  position: relative;
  margin-top: 0;
  /* Must stay visible — overflow:hidden clipped the mailing-list popup */
  overflow: visible;
  background: #020617;
  color: #cbd5e1;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.kb-hw-site-footer * { box-sizing: border-box; }
.kb-hw-site-footer a { color: inherit; text-decoration: none; }
.kb-hw-site-footer a:hover { color: #fff; }
.kb-hw-site-footer__accent {
  position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--kb-hw-blue), transparent);
  pointer-events: none;
}
.kb-hw-site-footer__fx {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.kb-hw-site-footer__glow {
  position: absolute; top: -6rem; right: -2rem; width: 22rem; height: 22rem;
  border-radius: 50%; background: var(--kb-hw-blue); opacity: .14; filter: blur(64px);
  pointer-events: none;
}
.kb-hw-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.35rem 1.25rem;
}
.kb-hw-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: 1.5rem 2rem;
  margin-bottom: .35rem;
  align-items: start;
}
.kb-hw-site-footer__visit-block {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.35fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
}
.kb-hw-site-footer__venue {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #0b1220;
  min-height: 11rem;
  align-self: stretch;
}
.kb-hw-site-footer__venue img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.kb-hw-site-footer__logo {
  display: block; width: 200px; max-width: 100%; height: auto; margin-bottom: 1rem;
}
.kb-hw-site-footer__blurb {
  margin: 0 0 1rem; max-width: 22rem;
  color: #94a3b8; font-size: .92rem; line-height: 1.55;
}
.kb-hw-site-footer__social {
  display: flex; gap: .65rem; align-items: center;
}
.kb-hw-site-footer__social a {
  display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(148,163,184,.25); color: #e2e8f0;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kb-hw-site-footer__social a:hover {
  border-color: var(--kb-hw-blue); background: rgba(14,144,208,.12); color: #fff;
}
.kb-hw-site-footer__social svg { width: 14px; height: 14px; fill: currentColor; }
.kb-hw-site-footer__col-title {
  margin: 0 0 .9rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #64748b;
}
.kb-hw-site-footer__links {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55rem;
}
.kb-hw-site-footer__links a {
  font-size: .92rem; color: #cbd5e1; transition: color .15s ease;
}
.kb-hw-site-footer__links a:hover { color: #fff; }
.kb-hw-site-footer__contact {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .7rem; font-size: .9rem; line-height: 1.45; color: #e2e8f0;
}
.kb-hw-site-footer__contact a { color: #e2e8f0; }
.kb-hw-site-footer__contact a:hover { color: #7dd3fc; }
.kb-hw-site-footer__contact span {
  display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: #64748b; margin-bottom: .15rem; font-weight: 700;
}

/* Mailing list CTA — own row so it never overlaps Explore/Visit columns.
   Kill legacy Kbex/Autoptimize #mailinglist { top: -105px } which pulled
   this block up over the footer columns. */
#mailinglist.kb-hw-mail-cta,
.kb-hw-mail-cta#mailinglist,
.kb-hw-site-footer #mailinglist {
  display: grid !important;
  position: relative !important;
  top: 0 !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin-top: 1.25rem !important;
  clear: both !important;
  float: none !important;
  z-index: 1;
}
/* Homepage: CTA sits in #kb-hw-rest before Visit us — match pane spacing */
#kb-hw-rest > #mailinglist.kb-hw-mail-cta,
#kb-hw-rest > .kb-hw-mail-cta {
  margin: 0 !important;
  width: 100%;
  max-width: none;
}
.kb-hw-mail-cta {
  margin: 1.25rem 0 0;
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(14,144,208,.35);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(14,144,208,.22), transparent 55%),
    linear-gradient(180deg, rgba(30,41,59,.95), rgba(15,23,42,.92));
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem 1.25rem;
  align-items: center;
  max-width: none;
  width: 100%;
}
.kb-hw-mail-cta__text { min-width: 0; }
.kb-hw-mail-cta__eyebrow {
  margin: 0 0 .3rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #7dd3fc;
}
.kb-hw-mail-cta__title {
  margin: 0 0 .35rem; color: #fff; font-size: 1.05rem; font-weight: 800; line-height: 1.25;
}
.kb-hw-mail-cta__copy {
  margin: 0; color: #94a3b8; font-size: .86rem; line-height: 1.4;
}
.kb-hw-mail-open {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 46px; padding: .7rem 1.15rem; border-radius: 10px;
  white-space: nowrap;
  background: var(--kb-hw-blue); color: #0f172a; font: inherit; font-weight: 800; font-size: .92rem;
  transition: filter .15s ease, transform .15s ease;
}
.kb-hw-mail-open:hover { filter: brightness(1.08); transform: translateY(-1px); }
.kb-hw-mail-open svg { width: 1rem; height: 1rem; fill: currentColor; flex-shrink: 0; }

/* Newsletter popup (ported to document.body so footer overflow cannot clip it) */
#kb-hw-mail-modal[hidden] { display: none !important; }
#kb-hw-mail-modal {
  position: fixed; inset: 0; z-index: 2147483100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.kb-hw-mail-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(2,6,23,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kb-hw-mail-modal__dialog {
  position: relative; z-index: 1;
  width: min(100%, 26rem);
  max-height: min(94vh, 36rem);
  overflow: auto;
  border-radius: 1.15rem;
  border: 1px solid rgba(148,163,184,.22);
  background:
    radial-gradient(90% 70% at 10% -10%, rgba(14,144,208,.35), transparent 55%),
    radial-gradient(80% 60% at 110% 0%, rgba(56,189,248,.12), transparent 50%),
    linear-gradient(165deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  padding: 1.35rem 1.25rem 1.25rem;
  animation: kbHwMailIn .28s ease-out;
}
@keyframes kbHwMailIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.kb-hw-mail-modal__close {
  position: absolute; top: .7rem; right: .7rem;
  appearance: none; border: 0; cursor: pointer;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: rgba(255,255,255,.06); color: #e2e8f0;
  font-size: 1.25rem; line-height: 1;
  display: grid; place-items: center;
}
.kb-hw-mail-modal__close:hover { background: rgba(255,255,255,.12); color: #fff; }
.kb-hw-mail-modal__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 .75rem; padding: .3rem .65rem; border-radius: 999px;
  border: 1px solid rgba(14,144,208,.4);
  background: rgba(14,144,208,.12);
  color: #7dd3fc; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.kb-hw-mail-modal__title {
  margin: 0 0 .4rem; color: #fff; font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
}
.kb-hw-mail-modal__sub {
  margin: 0 0 1rem; color: #94a3b8; font-size: .95rem; line-height: 1.5;
}
.kb-hw-mail-modal__form { margin: 0; }
.kb-hw-mail-modal__err {
  display: none; margin: 0 0 .75rem; padding: .65rem .75rem;
  border-radius: 10px; border: 1px solid rgba(248,113,113,.35);
  background: rgba(127,29,29,.35); color: #fecaca; font-size: .85rem; line-height: 1.4;
}
.kb-hw-mail-modal__err[data-show="1"] { display: block; }
.kb-hw-mail-modal__field { margin: 0 0 .75rem; }
.kb-hw-mail-modal__field label {
  display: block; margin: 0 0 .35rem;
  font-size: .78rem; font-weight: 700; color: #94a3b8; letter-spacing: .02em;
}
.kb-hw-mail-modal__field input {
  width: 100%; box-sizing: border-box;
  appearance: none; border: 1px solid rgba(148,163,184,.28);
  border-radius: 10px; padding: .75rem .9rem;
  background: rgba(15,23,42,.85); color: #fff;
  font: inherit; font-size: .95rem;
}
.kb-hw-mail-modal__field input:focus {
  outline: 2px solid rgba(14,144,208,.55); outline-offset: 1px;
  border-color: rgba(14,144,208,.7);
}
.kb-hw-mail-modal__math {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.kb-hw-mail-modal__math-q {
  display: inline-flex; align-items: center;
  min-height: 2.75rem; padding: 0 .85rem; border-radius: 10px;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(30,41,59,.85); color: #e2e8f0; font-weight: 700;
}
.kb-hw-mail-modal__math input { width: 7.5rem; }
.kb-hw-mail-modal__hp {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important; opacity: 0 !important; pointer-events: none !important;
}
.kb-hw-mail-modal__submit {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  min-height: 2.85rem; margin-top: .15rem; border-radius: 10px;
  background: var(--kb-hw-blue); color: #0f172a;
  font: inherit; font-weight: 800; font-size: .98rem;
  transition: filter .15s ease, opacity .15s ease;
}
.kb-hw-mail-modal__submit:hover { filter: brightness(1.08); }
.kb-hw-mail-modal__submit:disabled { opacity: .65; cursor: wait; }
.kb-hw-mail-modal__thanks {
  margin: 0; color: #cbd5e1; font-size: .98rem; line-height: 1.5;
}
.kb-hw-mail-modal__thanks strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.kb-hw-mail-modal__note {
  margin: .85rem 0 0; color: #64748b; font-size: .75rem; line-height: 1.35;
}
body.kb-hw-mail-modal-is-open { overflow: hidden; }
#mailinglist { scroll-margin-top: 90px; }

.kb-hw-site-footer__licence {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  grid-template-areas:
    "mark actions"
    "main main";
  gap: .75rem 1.25rem;
  align-items: center;
  padding: .85rem 0 0;
  margin-top: .25rem;
  border-top: 1px solid rgba(148,163,184,.14);
}
.kb-hw-site-footer__licence > a:first-child {
  grid-area: mark;
  display: block;
  line-height: 0;
}
.kb-hw-site-footer__licence-mark {
  flex: none;
  display: block;
  width: 210px;
  max-width: min(210px, 56vw);
  height: auto;
  opacity: 1;
}
.kb-hw-site-footer__licence-main {
  grid-area: main;
  flex: none;
  min-width: 0;
  width: 100%;
}
.kb-hw-site-footer__licence-copy {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 52rem;
}
.kb-hw-site-footer__licence-actions {
  grid-area: actions;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-left: 0;
  justify-content: flex-end;
  justify-self: end;
  align-items: center;
  align-self: center;
}
.kb-hw-site-footer__licence-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: .5rem 1rem;
  border-radius: .65rem;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: filter .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.kb-hw-site-footer__licence-btn--primary {
  background: var(--kb-hw-blue);
  color: #0f172a !important;
  border: 1px solid transparent;
}
.kb-hw-site-footer__licence-btn--primary:hover {
  filter: brightness(1.08);
  color: #0f172a !important;
}
.kb-hw-site-footer__licence-btn--ghost {
  background: transparent;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148,163,184,.35);
}
.kb-hw-site-footer__licence-btn--ghost:hover {
  border-color: rgba(125,211,252,.55);
  background: rgba(14,144,208,.12);
  color: #fff !important;
}

.kb-hw-site-footer__bottom {
  margin-top: .85rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(148,163,184,.12);
  display: grid;
  gap: .7rem;
}
.kb-hw-site-footer__meta {
  margin: 0;
  font-size: .8rem;
  line-height: 1.55;
  color: #94a3b8;
}
.kb-hw-site-footer__meta strong { color: #cbd5e1; font-weight: 700; }
.kb-hw-site-footer__meta a {
  color: #7dd3fc !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  line-height: inherit !important;
}
.kb-hw-site-footer__meta a:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 2px; }

.kb-hw-site-footer__nav-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kb-hw-site-footer__nav-legal a,
.kb-hw-site-footer__nav-legal button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #94a3b8;
  font: inherit;
  font-size: .8rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.kb-hw-site-footer__nav-legal a:hover,
.kb-hw-site-footer__nav-legal button:hover { color: #fff; }

.kb-hw-site-footer__brand-details {
  margin: 0;
  border: 0;
  padding: 0;
}
.kb-hw-site-footer__brand-details summary {
  cursor: pointer;
  list-style: none;
  color: #94a3b8;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
}
.kb-hw-site-footer__brand-details summary::-webkit-details-marker { display: none; }
.kb-hw-site-footer__brand-details summary::after {
  content: " +";
  color: #64748b;
  font-weight: 700;
}
.kb-hw-site-footer__brand-details[open] summary::after { content: " −"; }
.kb-hw-site-footer__brand-body {
  margin-top: .65rem;
  display: grid;
  gap: .55rem;
}
.kb-hw-site-footer__brand-body p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  color: #64748b;
}

.kb-hw-site-footer__copy {
  margin: 0;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .kb-hw-site-footer__grid { grid-template-columns: 1fr 1fr; }
  .kb-hw-site-footer__visit-block { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .kb-hw-mail-cta { grid-template-columns: 1fr; }
  .kb-hw-mail-open { width: 100%; }
  .kb-hw-site-footer__visit-block { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kb-hw-site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .kb-hw-site-footer__licence {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mark"
      "actions"
      "main";
    gap: .75rem;
    align-items: start;
  }
  .kb-hw-site-footer__licence-mark {
    width: 180px;
    max-width: 70%;
  }
  .kb-hw-site-footer__licence-actions {
    justify-content: flex-start;
    justify-self: start;
  }
  .kb-hw-site-footer__licence-copy {
    font-size: .84rem;
  }
}

/* Hide leftover Kbex sticky offers bar if any remnant exists outside footer */
.kbex-element-9f6b9d7 { display: none !important; }
