:root {
  --green: var(--wp--preset--color--brand-green, #48a749);
  --button: var(--wp--preset--color--brand-brown, #a45a2b);
  --terracotta: var(--wp--preset--color--brand-brown, #a45a2b);
  --terracotta-dark: var(--terracotta);
  --ink: var(--wp--preset--color--ink, #203c29);
  --brown: var(--ink);
  --cream: var(--wp--preset--color--cream, #fafbf6);
  --sand: var(--wp--preset--color--sand, #edf4e7);
}
.wp-site-blocks {
  padding: 0;
}
.wp-site-blocks > .variant-site,
.variant-site > .wp-block-template-part,
.variant-site > main,
.variant-site .wp-block-post-content {
  margin: 0;
  padding: 0;
  max-width: none;
}
.variant-site .wp-block-group {
  box-sizing: border-box;
}
.variant-site [hidden] {
  display: none !important;
}
.variant-site .wp-block-button:not(.cmv-standalone) {
  margin: 0;
}
.variant-site .cms-hero .wp-block-buttons {
  gap: 12px;
}
.variant-site .header-actions .wp-block-buttons {
  margin: 0;
}
.variant-site .header-actions .button {
  white-space: nowrap;
}
/* Stick the template part, whose height otherwise confines its sticky header. */
.variant-site > .wp-block-template-part:has(> .site-header) {
  position: sticky;
  top: var(--cm-admin-offset, 0px);
  z-index: 50;
}
.variant-site > .wp-block-template-part > .site-header {
  position: static;
}
.admin-bar {
  --cm-admin-offset: 32px;
}
.cmv-edit-page {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: #203c29;
  color: #fff;
  padding: 13px 22px;
  border: 1px solid #fff;
  border-radius: 6px;
  font:
    500 14px "DM Sans",
    Arial,
    sans-serif;
  box-shadow: 0 4px 18px #0002;
}
.cmv-edit-page:focus-visible {
  outline: 3px solid #48a749;
  outline-offset: 3px;
}
@media (max-width: 782px) {
  .admin-bar {
    --cm-admin-offset: 46px;
  }
}
/* WordPress's mobile admin toolbar scrolls away below this breakpoint. */
@media (max-width: 600px) {
  .admin-bar {
    --cm-admin-offset: 0px;
  }
}
.cmv-proxy-control {
  position: relative;
}
.cmv-proxy-control .cmv-edit-record {
  position: absolute;
  right: 12px;
  top: 12px;
  background: white;
  color: #203c29;
  border: 1px solid #203c29;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 14px;
}

.gallery-caption {
  display: block;
  text-align: left;
  padding-top: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}
.cmv-preview-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  background: #fffef9;
  color: #203c29;
  border: 1px solid #d4e2cb;
  border-radius: 4px;
  box-shadow: 0 3px 18px #203c2920;
  font:
    500 13px/1.5 "DM Sans",
    Arial,
    sans-serif;
}
