/* Cookie consent banner: a full-width navy bar fixed to the bottom edge, in the site's look */
.webmason-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  transform: none;
  z-index: 60;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  /* Content lines up with the page's width; the bar itself runs edge to edge */
  padding: .9rem max(1.25rem, calc((100% - var(--wrap)) / 2));
  background-color: var(--navy-900);
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #d6e0ea;
  border: 0;
  border-top: 3px solid var(--green);
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(8, 16, 28, .25);
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.5;
}
.webmason-consent-message {
  flex: 1 1 26rem;
  margin: 0;
  color: #d6e0ea;
}
.webmason-consent a,
.webmason-consent-privacy {
  color: #9bd66a;
  text-underline-offset: 2px;
}
.webmason-consent-privacy:hover { text-decoration-thickness: 2px; }
.webmason-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  flex: 0 0 auto;
  margin: 0;
}
.webmason-consent-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2;
  padding: .55rem 1.05rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: none;
}
.webmason-consent-accept {
  background: var(--green);
  color: var(--navy-900);
}
.webmason-consent-accept:hover { background: var(--green-hover); }
.webmason-consent-decline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .55);
}
.webmason-consent-decline:hover { border-color: #ffffff; background: rgba(255, 255, 255, .06); }
.webmason-consent-button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

@media (max-width: 600px) {
  .webmason-consent { padding: .85rem 1rem; }
  .webmason-consent-actions { width: 100%; }
  .webmason-consent-button { flex: 1 1 0; text-align: center; }
}

/* Room below the footer, the banner's exact height, so all content can scroll clear of it
   (the Cookie banner spacing script sets --consent-space while the banner shows) */
.site-footer { padding-bottom: calc(2rem + var(--consent-space, 0px)); }