/* The Powell Collective Site Readiness Update v1.0.0 */

:root {
  --powell-cerulean: #2b75b9;
  --powell-cerulean-deep: #205f95;
  --powell-muted: #5f7079;
  --wp--preset--color--cerulean: #2b75b9;
}

body a:where(:not(.wp-element-button)) {
  color: #23679f;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

body a:where(:not(.wp-element-button)):hover,
body a:where(:not(.wp-element-button)):focus-visible {
  color: #123f5a;
}

.wp-element-button,
.wp-block-button__link,
.powell-form-submit-row button {
  background-color: #2b75b9;
}

.powell-form-submit-row button:hover,
.powell-form-submit-row button:focus-visible {
  background-color: #205f95;
}

.powell-image-note .powell-card-eyebrow {
  color: #9b5b49;
}

:focus-visible {
  outline-color: #23679f;
}

.powell-brand-lockup {
  background-image: url("../images/powell-brand-board.webp");
}

.powell-image-bridge {
  background-image:
    linear-gradient(90deg, rgba(11, 48, 69, 0.18), rgba(11, 48, 69, 0.62)),
    url("../images/forest-road.webp");
}

.powell-inline-privacy-choice,
.powell-footer-privacy-choice {
  padding: 0;
  border: 0;
  background: transparent;
  color: #23679f;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.powell-inline-privacy-choice:hover,
.powell-inline-privacy-choice:focus-visible,
.powell-footer-privacy-choice:hover,
.powell-footer-privacy-choice:focus-visible {
  color: #123f5a;
}

.powell-consent-banner[hidden] {
  display: none !important;
}

.powell-consent-banner {
  position: fixed;
  z-index: 100000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #304650;
}

.powell-consent-banner__inner {
  display: grid;
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: 22px 24px;
  border: 1px solid #b9d1df;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(11, 48, 69, 0.2);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.powell-consent-banner h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.powell-consent-banner p {
  max-width: 720px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.powell-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.powell-consent-button {
  min-height: 46px;
  padding: 11px 16px;
  border: 2px solid #2b75b9;
  border-radius: 10px;
  cursor: pointer;
  font: 700 0.86rem/1.25 var(--powell-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}

.powell-consent-button--accept {
  background: #2b75b9;
  color: #fff;
}

.powell-consent-button--decline {
  background: #fffdf9;
  color: #205f95;
}

.powell-consent-button:hover,
.powell-consent-button:focus-visible {
  border-color: #123f5a;
  box-shadow: 0 0 0 3px rgba(35, 103, 159, 0.18);
}

@media (max-width: 780px) {
  .powell-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .powell-consent-banner__inner {
    max-height: calc(100vh - 24px);
    padding: 18px;
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .powell-consent-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .powell-consent-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .powell-consent-banner *,
  .powell-readiness-update-active * {
    scroll-behavior: auto !important;
  }
}

