/* 4Cast cookie consent (2026-11-10): the bottom bar, the settings dialog and the map placeholder */

.ck-btn {
  min-height: 44px; padding: .6rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 .9375rem/1 Poppins, system-ui, sans-serif; color: inherit; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor;
  transition: background-color .2s ease, transform .15s ease;
}
.ck-btn--solid { background: #fff; color: #08111c; box-shadow: none; }
.ck-btn:active { transform: scale(.97); }
.ck-btn:focus-visible, .ck-link:focus-visible, .ck-sw:focus-visible, .ck-x:focus-visible, .foot__ck:focus-visible { outline: 3px solid #ffbf00; outline-offset: 3px; }

/* ---------- bar ---------- */
.ck-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 34;
  display: flex; align-items: center; gap: 1rem 2rem;
  padding: 1.1rem var(--gut, 24px); padding-bottom: max(1.1rem, env(safe-area-inset-bottom));
  background: rgba(5, 11, 19, .94); color: #e8eef4; border-top: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-family: Poppins, system-ui, sans-serif;
  animation: ck-up .45s cubic-bezier(.23, 1, .32, 1);
}
.ck-bar[hidden] { display: none; }
@keyframes ck-up { from { transform: translateY(100%); } }
.ck-bar__txt { flex: 1; margin: 0; font-size: .9375rem; line-height: 1.6; font-weight: 500; }
.ck-bar__btns { display: flex; gap: .6rem; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .ck-bar .ck-btn:not(.ck-btn--solid):hover { background: rgba(255, 255, 255, .12); }
  .ck-bar .ck-btn--solid:hover { background: #dfe9f3; }
}
.ck-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-link:hover { color: #47AEE3; }

/* the accessibility button sits above the bar while it is showing */
html.has-ck .a11y { bottom: calc(var(--ck-h, 90px) + 12px); }
/* and so does the hero video's pause button */
html.has-ck .hero__pause { bottom: calc(var(--ck-h, 90px) + 1rem); }

@media (max-width: 760px) {
  .ck-bar { flex-direction: column; align-items: stretch; padding-inline: 16px; }
  .ck-bar__txt { font-size: .875rem; }
  .ck-bar__txt br { display: none; }
  .ck-bar__btns .ck-btn { flex: 1; }
}

/* ---------- settings dialog ---------- */
.ck-dlg {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 1.4rem; border: 0; border-radius: 24px;
  background: #fff; color: #0b1a2b; font-family: Poppins, system-ui, sans-serif;
  box-shadow: 0 30px 80px -20px rgba(4, 10, 18, .6);
}
.ck-dlg[open] { animation: ck-in .25s cubic-bezier(.23, 1, .32, 1); }
.ck-dlg::backdrop { background: rgba(5, 11, 19, .6); }
@keyframes ck-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ck-dlg__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ck-dlg__title { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: #0b1a2b; }
.ck-x { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px -6px 0; border: 0; border-radius: 50%; background: transparent; color: #0b1a2b; cursor: pointer; }
.ck-x:hover { background: #eef2f6; }
.ck-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ck-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ck-row { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 16px; background: #f2f5f8; }
.ck-row > div { flex: 1; }
.ck-row__h { margin: 0 0 .15rem; font-size: .9375rem; font-weight: 700; color: #0b1a2b; }
.ck-row__p { margin: 0; font-size: .8125rem; line-height: 1.5; color: #3a4b5e; }
.ck-row__on { flex: none; font-size: .8125rem; font-weight: 600; color: #226BC4; }
.ck-sw { flex: none; position: relative; width: 52px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: #c3ccd6; cursor: pointer; transition: background-color .2s ease; }
.ck-sw span { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.ck-sw[aria-checked="true"] { background: #226BC4; }
.ck-sw[aria-checked="true"] span { transform: translateX(22px); }
.ck-dlg__more { margin: .9rem 0 0; font-size: .8125rem; }
.ck-dlg__more a { color: #226BC4; text-underline-offset: 3px; }
.ck-dlg__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.ck-dlg__btns .ck-btn { flex: 1; color: #0b1a2b; }
.ck-dlg__btns .ck-btn--solid { background: #0b1a2b; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .ck-dlg__btns .ck-btn:not(.ck-btn--solid):hover { background: #eef2f6; }
  .ck-dlg__btns .ck-btn--solid:hover { background: #226BC4; }
}

/* ---------- map placeholder (Contact page) ---------- */
.ct-map { position: relative; }
.ck-map { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center; color: #e8eef4; font-family: Poppins, system-ui, sans-serif; }
.ck-map p { margin: 0; max-width: 30ch; font-size: .875rem; line-height: 1.5; color: rgba(232, 238, 244, .8); }

/* ---------- footer link ---------- */
.foot__ck { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.foot__ck:hover { text-decoration: underline; }

/* the toolbar's settings reach the consent pieces too */
html.a11y-still .ck-bar, html.a11y-still .ck-dlg[open] { animation: none; }
@media (prefers-reduced-motion: reduce) { .ck-bar, .ck-dlg[open] { animation: none; } }
html.a11y-contrast .ck-bar { background: #000; border-top: 2px solid #fff; }
