/* Cookie consent banner and settings dialog (templates/partials/consent_banner.html).
   Plain CSS so it doesn't need a Tailwind rebuild. Colours match tailwind/input.css. */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1000;
  background: #ffffff;
  color: #0a0f1c;
  border-top: 3px solid #1b325f;
  box-shadow: 0 -6px 24px rgb(0 0 21 / 0.18);
  font-family: "RobotoCondensed", sans-serif;
}
.consent-banner[hidden] { display: none; }
.consent-banner__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .consent-banner__inner { flex-direction: row; align-items: center; gap: 2.5rem; padding-inline: 2rem; }
}
.consent-banner__text { flex: 1; min-width: 0; }
.consent-banner p, .consent-dialog p { font-size: 0.95rem; line-height: 1.45; margin: 0.25rem 0 0; }
.consent-banner a { color: #7b1222; text-decoration: underline; }
.consent-title {
  font-family: "KorolevBold", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1b325f;
  margin: 0;
}
.consent-note { font-size: 0.8rem !important; color: #4b5563; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.consent-btn {
  font-family: "KorolevBold", sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 2px solid #7b1222;
  cursor: pointer;
}
.consent-btn--primary { background: #7b1222; color: #ffffff; }
.consent-btn--primary:hover { background: #ffffff; color: #7b1222; }
.consent-btn--outline { background: #ffffff; color: #7b1222; }
.consent-btn--outline:hover { background: #7b1222; color: #ffffff; }
.consent-link {
  background: none;
  border: 0;
  padding: 0.5rem;
  font-family: "KorolevBold", sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #1b325f;
  cursor: pointer;
}
.consent-btn:focus-visible, .consent-link:focus-visible, .consent-close:focus-visible, .consent-switch:focus-visible {
  outline: 2px solid #1b325f;
  outline-offset: 2px;
}
.consent-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  margin: auto; /* the site's reset removes the browser's centring */
  padding: 0;
  border: 0;
  border-top: 4px solid #1b325f;
  color: #0a0f1c;
  font-family: "RobotoCondensed", sans-serif;
}
.consent-dialog::backdrop { background: rgb(0 0 21 / 0.6); }
.consent-dialog__inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.consent-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.consent-close { background: none; border: 0; padding: 0.4rem; margin: -0.4rem -0.4rem 0 0; cursor: pointer; color: #1b325f; }
.consent-list { list-style: none; margin: 0; padding: 0; border-block: 1px solid #e8eaef; }
.consent-list > li { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; padding: 1rem 0; }
.consent-list > li + li { border-top: 1px solid #e8eaef; }
.consent-list__name { display: block; font-weight: 700; margin: 0 !important; }
.consent-list__desc { display: block; font-size: 0.9rem; color: #4b5563; }
.consent-always { flex-shrink: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1b325f; }
.consent-switch-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; width: 100%; cursor: pointer; }
.consent-switch {
  appearance: none;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #787878;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.15s;
}
.consent-switch:checked { background: #1b325f; }
.consent-switch:checked::after { transform: translateX(1.25rem); }
/* Footer newsletter form: give the GHL iframe the column's width. */
.footer-form { width: 100%; max-width: 26rem; }
