.rrbr-editor-empty { padding: 1rem; border: 1px dashed #9bc4e8; background: #e6f3ff; }
.rrbr-block-heading { max-width: 760px; margin-bottom: 2rem; }
.rrbr-block-heading > :last-child { margin-bottom: 0; }

.rrbr-dashboard-explorer { width: min(calc(100% - 2rem),1152px); margin: 0 auto; padding-block: clamp(4rem,8vw,7.5rem); }
.rrbr-dashboard-selector-shell { position: relative; width: 100%; min-width: 0; overflow: hidden; margin-bottom: 1.5rem; }
.rrbr-dashboard-selector-shell::after { content: '›'; position: absolute; top: 0; right: 0; display: none; place-items: center; width: 54px; height: 100%; background: linear-gradient(90deg,transparent,#fff 55%); color: #195594; font-size: 2rem; pointer-events: none; }
.rrbr-dashboard-selector { display: flex; gap: .65rem; max-width: 100%; overflow-x: auto; padding: .25rem .25rem .75rem; scrollbar-width: thin; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; }
.rrbr-dashboard-selector button { flex: 0 0 auto; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid #195594; border-radius: 999px; background: #fff; color: #195594; font-weight: 700; scroll-snap-align: start; }
.rrbr-dashboard-selector button[aria-selected=true] { background: #195594; color: #fff; }
.rrbr-dashboard-panel { position: relative; min-height: 560px; border: 1px solid #9bc4e8; border-radius: 16px; overflow: hidden; background: #fff; }
.rrbr-dashboard-host { min-height: var(--rrbr-dashboard-height,760px); display: grid; justify-items: center; }
.rrbr-report-badge { display: inline-block; width: fit-content; padding: 5px 10px; border-radius: 4px; font-weight: 700; }
.rrbr-publications .rrbr-report-badge-partner-report { background: #eea02e; color: #272727; }
.rrbr-publications .rrbr-report-badge-rrbr-report { background: #195594; color: #fff; }
.rrbr-dashboard-host tableau-viz { display: block; width: 100%; min-height: var(--rrbr-dashboard-height,760px); }
.rrbr-dashboard-iframe { display: block; width: 100%; border: 0; }
.rrbr-dashboard-mobile-note { display: none; }
.rrbr-dashboard-status,
.rrbr-dashboard-error { position: absolute; z-index: 3; inset: 0; place-items: center; align-content: center; gap: 1rem; padding: 2rem; text-align: center; background: #e6f3ff; }
.rrbr-dashboard-status { display: grid; }
.rrbr-dashboard-status[hidden],.rrbr-dashboard-error[hidden] { display: none; }
.rrbr-dashboard-error { background: rgba(230,243,255,.98); }
.rrbr-dashboard-error:not([hidden]) { display: grid; }
.rrbr-dashboard-error h3,.rrbr-dashboard-error p { max-width: 620px; margin: 0; }
.rrbr-dashboard-error button,.rrbr-dashboard-error a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin: .25rem; padding: .7rem 1rem; border: 2px solid #093563; border-radius: 999px; background: #093563; color: #fff; font-weight: 700; text-decoration: none; }
.rrbr-spinner { width: 42px; height: 42px; border: 4px solid #bfd7ec; border-top-color: #195594; border-radius: 50%; animation: rrbr-spin .85s linear infinite; }
@keyframes rrbr-spin { to { transform: rotate(1turn); } }

.rrbr-publications { width: 100%; padding-block: clamp(4rem,8vw,7.5rem); overflow: hidden; background: #e4f0cd; }
.rrbr-publications > .rrbr-block-heading { width: min(calc(100% - 2rem),1152px); margin-inline: auto; }
.rrbr-carousel-stage { position: relative; display: grid; grid-template-columns: 52px minmax(0,1152px) 52px; align-items: center; justify-content: center; gap: 14px; }
.rrbr-carousel-window { min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rrbr-carousel-window::-webkit-scrollbar { display: none; }
.rrbr-carousel-track { display: flex; gap: 24px; padding: 8px 0 18px; }
.rrbr-carousel-prev,.rrbr-carousel-next { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: var(--control-border-width,2px) solid var(--color-action,#195594); border-radius: 50%; background: #fff; color: var(--color-action,#195594); font-size: 0; line-height: 1; }
.rrbr-carousel-prev::before,.rrbr-carousel-next::before { font-size: 22px; line-height: 1; }
.rrbr-carousel-prev::before { content: '\2190'; }
.rrbr-carousel-next::before { content: '\2192'; }
.rrbr-carousel-prev:hover,.rrbr-carousel-next:hover,.rrbr-carousel-prev:focus-visible,.rrbr-carousel-next:focus-visible { background: var(--color-action,#195594); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(9,53,99,.18); }
.rrbr-carousel-prev:active,.rrbr-carousel-next:active { transform: translateY(0); box-shadow: none; }
.rrbr-publication-card { flex: 0 0 min(310px,82vw); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; scroll-snap-align: start; box-shadow: 0 5px 0 rgba(9,53,99,.12); }
.rrbr-publication-cover { aspect-ratio: 4/3; overflow: hidden; background: #e6f3ff; }
.rrbr-publication-cover img { width: 100%; height: 100%; object-fit: contain; }
.rrbr-publication-placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg,#d1eaff,#b7d1e8); }
.rrbr-publication-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.rrbr-publication-copy h3 { margin-bottom: .8rem; color: #195594; }
.rrbr-publication-copy > a { margin-top: auto; font-weight: 700; }
.rrbr-eyebrow { margin-bottom: .55rem; color: #195594; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.rrbr-resource-directory { width: 100%; }
.rrbr-resource-list { display: grid; gap: 0; }
.rrbr-resource-entry { padding-block: 2rem; border-top: 1px solid #9bc4e8; }
.rrbr-resource-entry:last-child { border-bottom: 1px solid #9bc4e8; }
.rrbr-resource-entry h3 { margin-bottom: .65rem; color: #195594; }
.rrbr-resource-entry > :last-child { margin-bottom: 0; }
.rrbr-resource-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.rrbr-resource-links a { font-weight: 700; }

.rrbr-team-section { width: 100%; padding: clamp(4rem,8vw,7.5rem) max(1rem,calc((100% - 1152px) / 2)); background: #e6f3ff; }
.rrbr-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.rrbr-person-card { min-width: 0; }
.rrbr-person-card > img,.rrbr-person-placeholder { width: 100%; aspect-ratio: 4/5; border-radius: 16px; object-fit: cover; background: linear-gradient(135deg,#d1eaff,#b7d1e8); }
.rrbr-person-card h3 { margin: 1rem 0 .4rem; color: #195594; }
.rrbr-person-card p { min-height: 2.7em; margin-bottom: .5rem; }
.rrbr-person-card a { overflow-wrap: anywhere; font-size: .875rem; }

.rrbr-contact-form-wrap h2 { margin-bottom: 1.5rem; }
.rrbr-contact-form-wrap > p { margin-bottom: 2rem; }
.rrbr-contact-form { display: grid; gap: 1.35rem; }
.rrbr-contact-form p { display: grid; gap: .5rem; margin: 0; }
.rrbr-contact-form label { color: #093563; font-weight: 700; }
.rrbr-contact-form input,
.rrbr-contact-form textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid #545454; border-radius: 8px; background: #fff; color: #272727; }
.rrbr-contact-form textarea { min-height: 160px; resize: vertical; }
.rrbr-contact-form input:focus-visible,
.rrbr-contact-form textarea:focus-visible { border-color: #195594; outline: 3px solid #b7d1e8; outline-offset: 2px; }
.rrbr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rrbr-contact-form .wp-element-button { justify-self: start; }
.rrbr-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rrbr-form-notice { width: min(calc(100% - 2rem),1152px); margin: 2rem auto 0; padding: 1rem 1.25rem; border-radius: 8px; font-weight: 700; }
.rrbr-form-notice.is-success { background: #e0edcd; color: #093563; }
.rrbr-form-notice.is-error { background: #fff4e6; color: #7a3f00; }

.rrbr-locality-section { display: grid; grid-template-columns: 1fr minmax(360px,528px); gap: clamp(2rem,7vw,5rem); width: min(calc(100% - 2rem),1152px); margin-inline: auto; padding-block: clamp(4rem,8vw,7.5rem); }
.home-locality-band { margin: 0; background: #e6f3ff; box-shadow: 0 -44px 0 #e6f3ff; }
.home-locality-band .rrbr-locality-section--home { grid-template-columns: 536px 524px; gap: 104px; width: min(calc(100% - 2rem),1160px); padding-top: 0; padding-bottom: 136px; }
.rrbr-locality-section--home .rrbr-locality-copy h3 { margin: 0 0 22px; color: #195594; font-size: 24px; line-height: 1.2; }
.rrbr-locality-section--home .rrbr-locality-copy > p { width: 578px; max-width: none; margin: 0; line-height: 1.35; }
.rrbr-locality-more { width: auto; margin-top: 27px; margin-left: 4px; white-space: nowrap; }
.rrbr-locality-section--home .rrbr-locality-more { padding-inline: 22px; }
.rrbr-locality-list { columns: 2; margin: 2rem 0 0; padding: 0; list-style: none; }
.rrbr-locality-section--home .rrbr-locality-list { columns: 1; margin-top: 28px; }
.rrbr-locality-list button { padding: .2rem 0; border: 0; background: transparent; color: #195594; font-weight: 700; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.rrbr-locality-section--home .rrbr-locality-list button { min-height: 0; padding: 0; line-height: 1.35; text-decoration-color: currentColor; }
.rrbr-locality-citations { width: 536px; margin-top: 52px; margin-left: 4px; color: #272727; font-size: 10px; font-weight: 500; line-height: 1.35; }
.rrbr-locality-citations p { margin: 0; }
.rrbr-locality-list button:hover,.rrbr-locality-list button:focus-visible,.rrbr-locality-list button.is-active { color: #093563; text-decoration-color: currentColor; }
.rrbr-region-map { position: relative; align-self: center; width: 100%; max-width: 528px; min-width: 0; padding: 0; border-radius: 0; background: transparent; transition: transform .25s ease; }
.rrbr-locality-section--home .rrbr-region-map { align-self: start; width: 524px; max-width: 524px; margin-top: -10px; padding: 0; border-radius: 0; }
.rrbr-locality-section--home .rrbr-locality-map-svg { width: 524px; height: 780px; }
.rrbr-map-help { margin: 0 0 .75rem; color: #093563; font-size: .875rem; font-weight: 700; text-align: center; }
.rrbr-locality-map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.rrbr-locality-map-svg text { fill: #fff; font-family: inherit; font-size: 330px; font-weight: 700; pointer-events: none; }
.rrbr-map-shape { fill: #195594; fill-rule: evenodd; clip-rule: evenodd; stroke: #fff; stroke-width: 80px; stroke-linejoin: round; transition: fill .22s ease,stroke .22s ease,filter .22s ease; }
.rrbr-map-region,.rrbr-map-locality { cursor: pointer; outline: none; }
.rrbr-locality-map-svg .rrbr-map-label { pointer-events: auto; cursor: pointer; }
.rrbr-locality-map-svg .rrbr-map-label:focus-visible { outline: 2px solid #b3d676; outline-offset: 3px; }
.rrbr-map-region:hover .rrbr-map-shape,.rrbr-map-region:focus .rrbr-map-shape,.rrbr-map-region.is-active .rrbr-map-shape,.rrbr-map-locality:hover .rrbr-map-shape,.rrbr-map-locality:focus .rrbr-map-shape,.rrbr-map-locality.is-active .rrbr-map-shape { fill: #093563; filter: drop-shadow(0 4px 4px rgba(9,53,99,.22)); }
.rrbr-locality-map-svg .rrbr-map-label.is-active { fill: #b7d1e8; }
.rrbr-map-region:focus-visible .rrbr-map-shape,.rrbr-map-locality:focus-visible .rrbr-map-shape { stroke: #b3d676; stroke-width: 3px; }
.rrbr-locality-dialog { width: min(calc(100% - 2rem),1163px); min-height: 397px; max-height: calc(100dvh - 2rem); padding: 54px 80px 38px; border: 0; border-radius: 16px; color: #195594; box-shadow: none; overflow-y: auto; }
.rrbr-locality-dialog::backdrop { background: rgba(107,107,107,.5); }
.rrbr-locality-dialog > h2 { margin: 0 0 39px; color: #195594; font-size: 24px; font-weight: 700; line-height: 1.2; }
.rrbr-dialog-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #195594; font-size: 24px; font-weight: 400; line-height: 1; }
.rrbr-dialog-close:hover { color: #093563; transform: rotate(90deg); }
.rrbr-locality-dialog-content { margin: 0; }
.rrbr-locality-dialog-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: -18px 0 28px; }
.rrbr-locality-dialog-choices button { min-height: 38px; padding: 7px 14px; border: 1px solid #195594; border-radius: 999px; background: #fff; color: #195594; font: inherit; font-size: 14px; font-weight: 700; }
.rrbr-locality-dialog-choices button:hover,.rrbr-locality-dialog-choices button:focus-visible,.rrbr-locality-dialog-choices button.is-active { background: #195594; color: #fff; }
.rrbr-locality-choice { min-width: 0; padding: 0; border: 0; background: transparent; }
.rrbr-locality-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 32px; }
.rrbr-locality-stats > div { display: flex; min-width: 0; min-height: 105px; flex-direction: column; gap: 0; padding: 0 54px; border-left: 1px solid #ed9d36; }
.rrbr-locality-stats > div:first-child { padding-left: 0; border-left: 0; }
.rrbr-locality-stats > div:last-child { padding-right: 0; }
.rrbr-locality-stats strong { color: #195594; font-size: 48px; font-weight: 700; line-height: 1.35; }
.rrbr-locality-stats span { color: #195594; font-size: 16px; font-weight: 500; line-height: 1.35; }
.rrbr-locality-profile-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 2px solid #b3d676; color: #195594; font-size: 14px; font-weight: 600; line-height: 16px; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.rrbr-locality-profile-link:hover { color: #093563; border-bottom-color: #195594; }
.rrbr-locality-profile-link span { font-size: 18px; line-height: 1; transition: transform .2s ease; }
.rrbr-locality-profile-link:hover span { transform: translate(2px,-2px); }
.rrbr-locality-dialog-actions { display: flex; flex-wrap: wrap; gap: 18px 32px; }
.rrbr-locality-dialog-note { margin: 27px 0 0; color: #000; font-size: 10px; font-weight: 500; line-height: 1.35; }

.rrbr-editor-preview { pointer-events: none; }
.rrbr-editor-preview .rrbr-dashboard-panel { min-height: 300px; }
.rrbr-editor-preview .rrbr-dashboard-host { min-height: 300px; }

@media (max-width: 1240px) {
  .rrbr-carousel-stage { grid-template-columns: 48px minmax(0,calc(100% - 128px)) 48px; }
  .home-locality-band .rrbr-locality-section--home { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(32px,6vw,80px); width: calc(100% - 56px); }
  .rrbr-locality-section--home .rrbr-region-map { width: 100%; max-width: 524px; }
  .rrbr-locality-section--home .rrbr-locality-map-svg { width: 100%; height: auto; }
  .rrbr-locality-section--home .rrbr-locality-copy > p,
  .rrbr-locality-section--home .rrbr-locality-citations { width: 100%; max-width: 100%; }
}
@media (max-width: 800px) {
  .rrbr-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rrbr-locality-section { grid-template-columns: 1fr; }
  .home-locality-band .rrbr-locality-section--home { grid-template-columns: 1fr; width: min(calc(100% - 56px),536px); padding-bottom: 72px; }
  .rrbr-locality-section--home .rrbr-region-map { width: 100%; max-width: 524px; margin-top: 28px; }
  .rrbr-locality-section--home .rrbr-locality-map-svg { width: 100%; height: auto; }
  .rrbr-locality-section--home .rrbr-locality-copy > p { width: 100%; max-width: 578px; }
  .rrbr-locality-citations { width: 100%; margin-top: 42px; }
  .rrbr-region-map { margin-inline: auto; }
}
@media (max-width: 1024px) {
  .rrbr-dashboard-selector { scrollbar-width: none; }
  .rrbr-dashboard-selector::-webkit-scrollbar { display: none; }
  .rrbr-dashboard-selector-shell::after { display: grid; }
}
@media (max-width: 680px) {
  .rrbr-team-grid { grid-template-columns: 1fr; }
  .rrbr-form-row { grid-template-columns: 1fr; }
  .rrbr-locality-list { columns: 1; }
  .rrbr-locality-stats { grid-template-columns: 1fr; gap: 0; }
  .rrbr-locality-stats > div { min-height: 0; padding: 18px 0; border-top: 1px solid #ed9d36; border-left: 0; }
  .rrbr-locality-stats > div:first-child { padding-top: 0; border-top: 0; }
}
@media (max-width: 540px) {
  .rrbr-dashboard-explorer { width: calc(100% - 56px); padding-block: 4rem; }
  .rrbr-dashboard-selector-shell::after { display: grid; }
  .rrbr-dashboard-selector { padding-right: 42px; }
  .rrbr-dashboard-panel,.rrbr-dashboard-host,.rrbr-dashboard-host tableau-viz { min-height: 620px; }
  .rrbr-carousel-stage { grid-template-columns: 40px minmax(0,calc(100% - 92px)) 40px; gap: 6px; }
  .rrbr-carousel-prev,.rrbr-carousel-next { width: 40px; height: 40px; }
  .rrbr-publication-card { flex-basis: 100%; }
  .rrbr-team-section { padding: 4rem 27px; }
  .rrbr-team-grid { grid-template-columns: 1fr; }
  .rrbr-locality-section { width: calc(100% - 56px); padding-block: 4rem; }
  .rrbr-locality-list { columns: 1; }
  .rrbr-locality-section--home .rrbr-locality-citations { display: none; }
  .rrbr-locality-dialog { width: calc(100% - 32px); min-height: 0; padding: 48px 24px 30px; border-radius: 16px; }
  .rrbr-locality-dialog > h2 { margin-bottom: 28px; font-size: 22px; }
  .rrbr-dialog-close { top: 10px; right: 10px; }
  .rrbr-locality-stats { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .rrbr-locality-stats > div { min-height: 0; padding: 18px 0; border-top: 1px solid #ed9d36; border-left: 0; }
  .rrbr-locality-stats > div:first-child { padding-top: 0; border-top: 0; }
  .rrbr-locality-stats > div:last-child { padding-right: 0; }
  .rrbr-locality-stats strong { font-size: 38px; }
  .rrbr-locality-profile-link { align-items: flex-start; font-size: 12px; line-height: 1.35; }
  .rrbr-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .rrbr-dashboard-panel { border-radius: 12px; }
  .rrbr-dashboard-host { overflow: hidden; }
  .rrbr-dashboard-host tableau-viz { touch-action: pan-x pan-y; }
  .rrbr-dashboard-mobile-note { display: block; margin: 16px 0 0; color: #093563; font-size: .9375rem; line-height: 1.45; }
  .rrbr-dashboard-mobile-note a { color: #195594; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .rrbr-spinner { animation: none; }
  .rrbr-region-map,.rrbr-map-shape { transition: none; }
}
