/*
 * Template reference: Start Bootstrap - New Age v6.0.7
 * Copyright (c) 2013-2023 Start Bootstrap LLC
 * MIT License: https://github.com/StartBootstrap/startbootstrap-new-age/blob/master/LICENSE
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

.digital-page-builder {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 0.25rem;
  color: #172033;
  font-family: inherit;
}

.digital-page-builder,
.digital-page-builder * {
  box-sizing: border-box;
}

.digital-page-builder .btn,
.digital-page-builder .form-control,
.digital-page-builder .form-select {
  min-width: 0;
  border-radius: 8px;
}

.digital-page-builder .btn {
  white-space: normal;
}

.dbpb-app-header {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1.2fr) minmax(12rem, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.dbpb-app-brand,
.dbpb-header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.85rem;
}

.dbpb-app-brand {
  font-size: 1rem;
}

.dbpb-app-name {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 750;
}

.dbpb-app-divider {
  padding-left: 0.85rem;
  border-left: 1px solid #cbd2dc;
  font-weight: 600;
}

.dbpb-page-title-field {
  min-width: 0;
}

.dbpb-title-input {
  width: 100%;
  border-color: transparent;
  background: transparent;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.dbpb-title-input:focus {
  border-color: #b18a43;
  background: #fff;
  box-shadow: 0 0 0 0.16rem rgb(177 138 67 / 16%);
}

.dbpb-header-actions {
  justify-content: flex-end;
}

.dbpb-status {
  min-width: 4rem;
  margin: 0;
  color: #5c6574;
  text-align: right;
}

.dbpb-status[data-state="error"] {
  color: #a32626;
}

.dbpb-status[data-state="success"] {
  color: #276443;
}

.dbpb-save-button {
  min-width: 6.5rem;
  padding: 0.48rem 0.8rem;
  border-color: #a77e34;
  background: #b18a43;
  color: #fff;
}

.digital-page-builder .dbpb-save-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dbpb-save-button:hover:not(:disabled) {
  border-color: #8f6b2f;
  background: #9f782f;
  color: #fff;
}

.dbpb-workspace {
  display: grid;
  grid-template-columns: minmax(24rem, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 0.75rem;
  min-width: 0;
}

.dbpb-editor-panel,
.dbpb-preview-panel {
  min-width: 0;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.dbpb-editor-panel {
  padding: 1rem;
}

.dbpb-layout-panel {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.dbpb-layout-feedback,
.dbpb-brand-prerequisite {
  line-height: 1.4;
}

.dbpb-start-template-button {
  justify-self: start;
}

.dbpb-template-preview-note {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #f9fafb;
  line-height: 1.4;
}

.dbpb-editor-heading {
  margin: 0 0 0.85rem;
  color: #172033;
  font-size: 1.15rem;
  font-weight: 700;
}

.dbpb-selection-fields {
  display: grid;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
}

.dbpb-disclosure {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.dbpb-disclosure > summary {
  color: #172033;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
}

.dbpb-disclosure > summary:focus-visible {
  outline: 2px solid #806125;
  outline-offset: 3px;
}

.dbpb-business-row,
.dbpb-page-selection-row,
.dbpb-new-business-row {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  min-width: 0;
}

.dbpb-business-row .dbpb-toolbar-field,
.dbpb-page-selection-row .dbpb-toolbar-field,
.dbpb-new-business-row .dbpb-toolbar-field {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.dbpb-page-selection-row .btn,
.dbpb-new-business-row .btn {
  flex: 0 0 auto;
}

.dbpb-toolbar-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.dbpb-toolbar-field > span {
  margin-bottom: 0.25rem;
  color: #30394a;
  font-size: 0.77rem;
  font-weight: 600;
}

.dbpb-toolbar-field small {
  margin-top: 0.25rem;
  color: #697386;
  font-size: 0.7rem;
  line-height: 1.35;
}

.dbpb-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.85rem;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  overflow: hidden;
}

.digital-page-builder .dbpb-tab {
  min-height: 2.35rem;
  padding: 0.38rem 0.55rem;
  border: 0;
  border-right: 1px solid #d6dce6;
  border-radius: 0;
  background: #fff;
  color: #263244;
  font-size: 0.82rem;
  font-weight: 500;
}

.digital-page-builder .dbpb-tab:last-child {
  border-right: 0;
}

.digital-page-builder .dbpb-tab.is-active {
  border-bottom: 2px solid #a77e34;
  background: #fbf8f1;
  color: #172033;
  font-weight: 700;
}

.digital-page-builder .dbpb-tab:focus-visible,
.digital-page-builder .dbpb-template-choice:focus-visible,
.digital-page-builder .dbpb-section-toggle:focus-visible,
.digital-page-builder .dbpb-preview-mode-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #806125;
  outline-offset: 2px;
}

.dbpb-tab-panel {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
}

.dbpb-tab-panel[hidden] {
  display: none;
}

.dbpb-panel-heading {
  margin: 0;
  color: #172033;
  font-size: 0.9rem;
  font-weight: 700;
}

.dbpb-template-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.digital-page-builder .dbpb-template-choice {
  display: grid;
  min-width: 0;
  gap: 0.32rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d293b;
  text-align: center;
}

.digital-page-builder .dbpb-template-choice:hover:not(:disabled) {
  color: #172033;
}

.digital-page-builder .dbpb-template-choice:hover:not(:disabled) .dbpb-template-mini-preview {
  border-color: #b18a43;
}

.digital-page-builder .dbpb-template-choice.is-selected .dbpb-template-mini-preview {
  border: 2px solid #a77e34;
  padding: calc(0.35rem - 1px);
  background: #fcfaf5;
}

.dbpb-template-mini-preview {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-height: 3rem;
  padding: 0.35rem;
  border: 1px solid #e0e4eb;
  border-radius: 4px;
  background-color: #f8f9fb;
}

.dbpb-template-mini-preview--new-age {
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 0.4rem 0.25rem 0.25rem;
  background: linear-gradient(105deg, #fff 56%, #edf1ff 56%);
}

.dbpb-template-mini-preview--mind-matters {
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 0.35rem 0.45rem 0.2rem;
  background: linear-gradient(145deg, #fbfaff, #eee9ff);
}

.dbpb-template-mini-preview--artist {
  grid-template-columns: 0.68fr 1fr;
  grid-template-rows: repeat(4, 0.22rem);
  background: linear-gradient(110deg, #e8e2d8 0 42%, #fcfbf9 42%);
}

.dbpb-template-mini-line {
  display: block;
  min-width: 0;
  border-radius: 2px;
  background: #d6dce7;
}

.dbpb-template-mini-preview--new-age .dbpb-template-mini-line:first-child,
.dbpb-template-mini-preview--artist .dbpb-template-mini-line:first-child {
  grid-column: 1 / -1;
  background: #b18a43;
}

.dbpb-template-mini-preview--mind-matters .dbpb-template-mini-line:first-child {
  grid-column: 1 / -1;
  background: #7967b3;
}

.dbpb-template-name {
  display: block;
  overflow-wrap: anywhere;
}

.dbpb-template-name {
  font-size: 0.72rem;
  font-weight: 650;
}

.dbpb-chat-draft-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  background: #fafbfc;
}

.dbpb-chat-draft-copy {
  min-width: 0;
  color: #1b2739;
  font-size: 0.82rem;
}

.dbpb-chat-draft-copy p {
  margin-top: 0.18rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.dbpb-chat-draft-card .btn {
  flex: 0 0 auto;
  padding: 0.38rem 0.58rem;
  border-color: #a77e34;
  background: #b18a43;
  color: #fff;
}

.dbpb-page-details {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.6rem;
}

.dbpb-page-details .dbpb-toolbar-field {
  min-width: 0;
}

.dbpb-section-list {
  display: grid;
  gap: 0.36rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dbpb-section-item {
  min-width: 0;
  border: 1px solid #d9dee7;
  border-radius: 6px;
  background: #fff;
}

.dbpb-section-item.is-archived-layout-section {
  border-style: dashed;
  background: #fbfaf7;
}

.dbpb-section-item.is-selected {
  border-color: #d7c69f;
  background: #fcfaf6;
}

.dbpb-section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.digital-page-builder .dbpb-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #202b3b;
  font-size: 0.79rem;
  font-weight: 600;
  text-align: left;
}

.dbpb-section-item.is-selected .dbpb-section-toggle {
  color: #172033;
}

.dbpb-section-chevron {
  flex: 0 0 auto;
  margin-left: 0.55rem;
  font-size: 1rem;
  line-height: 1;
  transform: rotate(0deg);
}

.dbpb-section-toggle[aria-expanded="true"] .dbpb-section-chevron {
  transform: rotate(180deg);
}

.dbpb-block-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.22rem;
  padding-right: 0.3rem;
}

.dbpb-block-controls .btn {
  min-height: 1.7rem;
  padding: 0.12rem 0.3rem;
  font-size: 0.68rem;
}

.digital-page-builder .dbpb-drag-handle {
  display: inline-grid;
  width: 1.8rem;
  min-height: 1.7rem;
  place-items: center;
  padding: 0.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #535e6c;
  cursor: grab;
  font-size: 0.95rem;
  line-height: 1;
}

.digital-page-builder .dbpb-drag-handle:hover:not(:disabled),
.digital-page-builder .dbpb-drag-handle:focus-visible {
  border-color: #bcc5d2;
  background: #f5f6f8;
  outline: 2px solid #806125;
  outline-offset: 1px;
}

.digital-page-builder .dbpb-drag-handle:active {
  cursor: grabbing;
}

.dbpb-section-item.is-dragging {
  opacity: 0.55;
}

.dbpb-section-item.is-drop-target {
  border-color: #a77e34;
  box-shadow: 0 0 0 2px rgb(167 126 52 / 16%);
}

.digital-page-builder .dbpb-reorder-button {
  min-width: 2.45rem;
  padding: 0.12rem 0.28rem !important;
  font-size: 0.68rem !important;
  white-space: nowrap;
}

.dbpb-reorder-button--down {
  transform: rotate(180deg);
}

.dbpb-inspector {
  display: grid;
  gap: 0.8rem;
  padding: 0 0.75rem 0.8rem;
}

.dbpb-inspector-field {
  display: grid;
  min-width: 0;
  gap: 0.24rem;
}

.dbpb-inspector-field > label,
.dbpb-image-display-control > label {
  color: #263244;
  font-size: 0.9rem;
  font-weight: 600;
}

.dbpb-custom-colour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.dbpb-custom-colour-field {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.dbpb-custom-colour-field > label {
  color: #263244;
  font-size: 0.72rem;
  font-weight: 600;
}

.dbpb-custom-colour-controls {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.3rem;
  min-width: 0;
}

.digital-page-builder .dbpb-colour-picker {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.16rem;
  border: 1px solid #cbd2dc;
  border-radius: 8px;
  background: #fff;
}

.digital-page-builder .dbpb-colour-hex {
  min-width: 0;
  padding-right: 0.35rem;
  padding-left: 0.35rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.digital-page-builder .dbpb-colour-hex[aria-invalid="true"] {
  border-color: #a32626;
  background: #fff8f8;
}

.dbpb-colour-validation {
  color: #a32626;
  font-size: 0.68rem;
  line-height: 1.3;
}

.dbpb-inspector-field textarea {
  min-height: 10rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  line-height: 1.55;
  resize: vertical;
}

.dbpb-image-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dbpb-image-edit-target {
  cursor: pointer;
}

.dbpb-image-edit-target:focus-visible {
  outline: 2px solid #806125;
  outline-offset: 3px;
}

.dbpb-add-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  min-width: 0;
  margin-top: 0.15rem;
}

.dbpb-add-section-button {
  min-width: 7.2rem;
}

.dbpb-preview-panel {
  display: grid;
  min-height: 42rem;
  gap: 0.65rem;
  padding: 0.8rem;
  background: #f9fafb;
}

.dbpb-preview-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-width: 0;
}

.dbpb-live-preview-title {
  margin: 0;
  color: #222c3b;
  font-size: 0.98rem;
  font-weight: 650;
}

.dbpb-preview-toolbar {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.16rem;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  background: #fff;
}

.digital-page-builder .dbpb-preview-mode-button {
  min-width: 5.4rem;
  padding: 0.32rem 0.62rem;
  border: 1px solid transparent;
  background: #fff;
  color: #263244;
  font-size: 0.78rem;
}

.digital-page-builder .dbpb-preview-mode-button.is-active {
  border-color: #b18a43;
  background: #fcfaf5;
  color: #172033;
  font-weight: 700;
}

.dbpb-viewport {
  width: 100%;
  min-width: 0;
  min-height: 38rem;
  margin: 0 auto;
  overflow: auto;
  border: 1px solid #d4dae3;
  border-radius: 8px;
  background: #eef0f3;
  transition: max-width 180ms ease;
}

.dbpb-viewport--desktop {
  max-width: 100%;
}

.dbpb-viewport--mobile {
  max-width: 24.375rem;
  min-height: 42rem;
  box-shadow: 0 3px 14px rgb(30 41 59 / 12%);
}

.dbpb-preview-page {
  min-height: 38rem;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.dbpb-preview-empty {
  display: grid;
  min-height: 30rem;
  place-items: center;
  padding: 1.5rem;
  color: #687386;
  text-align: center;
}

.dbpb-funnel-preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid #d7dce5;
  border-radius: 6px;
  background: #fff;
  color: #4f5b6c;
  font-size: 0.75rem;
}

.dbpb-preview-document {
  --dbpb-ink: #17264a;
  --dbpb-muted: #53617a;
  --dbpb-primary: #1c469e;
  --dbpb-accent: #b18a43;
  --dbpb-surface: #fff;
  --dbpb-soft-surface: #f7f8fa;
  container-type: inline-size;
  container-name: dbpb-page;
  min-height: 38rem;
  overflow: hidden;
  background: var(--dbpb-surface);
  color: var(--dbpb-ink);
  font-family: inherit;
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] {
  --dbpb-background: #ffffff;
  --dbpb-gradient-start: #f1eaff;
  --dbpb-gradient-end: #dce8ff;
  --dbpb-surface: var(--dbpb-background);
  --dbpb-soft-surface: var(--dbpb-background);
  --dbpb-muted: var(--dbpb-ink);
  background: var(--dbpb-background);
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="gradient"] .dbpb-preview-hero,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="gradient"] .dbpb-preview-editorial-panel,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="gradient"] .dbpb-preview-testimonial {
  background: linear-gradient(125deg, var(--dbpb-gradient-start), var(--dbpb-gradient-end));
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="solid"] .dbpb-preview-hero,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="solid"] .dbpb-preview-editorial-panel,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="solid"] .dbpb-preview-testimonial {
  background: var(--dbpb-background);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-button,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-site-nav-action {
  border-color: var(--dbpb-primary);
  background: var(--dbpb-primary);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-block :is(h1, h2, h3, h4, p, blockquote, summary),
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-unsupported-copy,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-image-placeholder {
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-eyebrow,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-feature-number,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-pricing-number {
  color: var(--dbpb-accent);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-features,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-faq,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-preview-pricing {
  background: var(--dbpb-background);
}

.dbpb-preview-document[data-brand-palette="new-age"]:not([data-custom-colors="true"]) {
  --dbpb-ink: #14244b;
  --dbpb-muted: #536180;
  --dbpb-primary: #214ca5;
  --dbpb-accent: #7964c2;
  --dbpb-soft-surface: #f1f2ff;
}

.dbpb-preview-document[data-brand-palette="mind-matters"]:not([data-custom-colors="true"]) {
  --dbpb-ink: #282344;
  --dbpb-muted: #655e78;
  --dbpb-primary: #6953a9;
  --dbpb-accent: #b09155;
  --dbpb-soft-surface: #f6f3fb;
}

.dbpb-preview-document[data-brand-palette="artist"]:not([data-custom-colors="true"]) {
  --dbpb-ink: #252522;
  --dbpb-muted: #66645f;
  --dbpb-primary: #373733;
  --dbpb-accent: #aa8341;
  --dbpb-soft-surface: #f2eee7;
}

.dbpb-preview-document[data-brand-palette="forest"]:not([data-custom-colors="true"]) {
  --dbpb-ink: #203a31;
  --dbpb-muted: #546a60;
  --dbpb-primary: #2f6852;
  --dbpb-accent: #b18a43;
  --dbpb-soft-surface: #eef5f0;
}

.dbpb-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 3.65rem;
  padding: 0.7rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid #e2e6ec;
  background: #fff;
  color: var(--dbpb-ink);
}

.dbpb-site-brand {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 700;
}

.dbpb-site-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  color: var(--dbpb-muted);
  font-size: 0.76rem;
}

.dbpb-site-nav-action {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--dbpb-primary);
  border-radius: 6px;
  background: var(--dbpb-primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 650;
}

.dbpb-preview-sections {
  display: grid;
  min-width: 0;
}

.dbpb-preview-block {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(1.3rem, 4vw, 3rem);
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.dbpb-preview-block:hover,
.dbpb-preview-block:focus-visible {
  border-color: #bac5d8;
  outline: none;
}

.dbpb-preview-block.is-selected {
  z-index: 1;
  border-color: #3074d4;
  box-shadow: inset 0 0 0 1px #3074d4;
}

.dbpb-preview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 20rem;
  padding: clamp(1.8rem, 5vw, 4rem);
  background: linear-gradient(105deg, #fff 48%, var(--dbpb-soft-surface) 48%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: linear-gradient(145deg, #faf9fd 0%, var(--dbpb-soft-surface) 100%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero-visual {
  position: relative;
  isolation: isolate;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero-visual::before {
  position: absolute;
  inset: 8% 5%;
  z-index: -1;
  border: 1px solid rgb(121 103 179 / 22%);
  border-radius: 48% 48% 8px 8px;
  background: linear-gradient(155deg, #e8e1f5, #f8f4e8);
  content: "";
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero-image {
  padding: 0.65rem;
  border: 1px solid rgb(121 103 179 / 18%);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 12px 30px rgb(55 46 88 / 12%);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: linear-gradient(110deg, #ede7dd 0 43%, #fbfaf8 43%);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-copy {
  grid-column: 2;
  grid-row: 1;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-visual {
  grid-column: 1;
  grid-row: 1;
  min-height: 17rem;
}

.dbpb-preview-hero-copy {
  min-width: 0;
}

.dbpb-preview-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--dbpb-accent);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dbpb-preview-hero-title {
  max-width: 15ch;
  margin: 0 0 0.75rem;
  color: var(--dbpb-ink);
  font-size: clamp(1.75rem, 3.8vw, 3.6rem);
  font-weight: 750;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.dbpb-preview-hero-body,
.dbpb-preview-cta-copy {
  max-width: 44rem;
  margin: 0 0 1.15rem;
  color: var(--dbpb-muted);
  font-size: clamp(0.92rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dbpb-preview-hero-action,
.dbpb-preview-cta .btn,
.dbpb-preview-button {
  border-radius: 8px;
}

.digital-page-builder .dbpb-preview-document .dbpb-preview-hero-action,
.digital-page-builder .dbpb-preview-document .dbpb-preview-cta .btn,
.digital-page-builder .dbpb-preview-document .dbpb-preview-button {
  padding: 0.58rem 1.1rem;
  border: 1px solid var(--dbpb-primary);
  background: var(--dbpb-primary);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.digital-page-builder .dbpb-preview-document .dbpb-preview-hero-action:hover,
.digital-page-builder .dbpb-preview-document .dbpb-preview-cta .btn:hover,
.digital-page-builder .dbpb-preview-document .dbpb-preview-button:hover {
  border-color: var(--dbpb-ink);
  background: var(--dbpb-ink);
  color: #fff;
}

.dbpb-preview-hero-action:disabled,
.dbpb-preview-cta .btn:disabled,
.dbpb-preview-button:disabled {
  border-color: #aeb5c0 !important;
  background: #e4e7eb !important;
  color: #566171 !important;
  opacity: 1;
}

.dbpb-preview-hero-visual {
  display: grid;
  min-width: 0;
  min-height: 13rem;
  place-items: center;
}

.dbpb-preview-hero-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 22rem;
  border-radius: 8px;
  object-fit: contain;
}

.dbpb-preview-hero-placeholder {
  display: grid;
  width: min(100%, 22rem);
  min-height: 12rem;
  place-items: center;
  padding: 1rem;
  border: 1px dashed #c7ced9;
  border-radius: 8px;
  background: rgb(255 255 255 / 70%);
  color: #697386;
  font-size: 0.78rem;
  text-align: center;
}

button.dbpb-preview-hero-placeholder {
  appearance: none;
  font-family: inherit;
}

.dbpb-preview-heading {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.dbpb-preview-heading-text {
  margin: 0;
  color: var(--dbpb-ink);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dbpb-preview-text {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.dbpb-preview-text-copy {
  max-width: 58rem;
  margin: 0 auto;
  color: var(--dbpb-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dbpb-preview-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 38rem;
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  object-fit: contain;
}

.dbpb-preview-image--size-full {
  width: 100%;
  max-width: 100%;
}

.dbpb-preview-image--size-medium {
  width: min(75%, 40rem);
  max-width: min(75%, 40rem);
}

.dbpb-preview-image--size-small {
  width: min(50%, 24rem);
  max-width: min(50%, 24rem);
}

.dbpb-preview-image--align-left {
  margin-left: 0;
  margin-right: auto;
}

.dbpb-preview-image--align-center {
  margin-right: auto;
  margin-left: auto;
}

.dbpb-preview-image--align-right {
  margin-right: 0;
  margin-left: auto;
}

.dbpb-image-placeholder {
  display: grid;
  min-height: 8rem;
  place-items: center;
  border: 1px dashed #c7ced9;
  border-radius: 8px;
  background: #f8f9fb;
  color: #697386;
  text-align: center;
}

button.dbpb-image-placeholder {
  appearance: none;
  width: 100%;
  padding: 1rem;
  font: inherit;
}

.dbpb-preview-features {
  background: #fff;
}

.dbpb-preview-pricing {
  background: var(--dbpb-soft-surface);
}

.dbpb-pricing-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 70rem;
  margin: 0 auto;
}

.dbpb-pricing-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dedfe8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.dbpb-pricing-number {
  color: var(--dbpb-accent);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.dbpb-pricing-title,
.dbpb-pricing-price {
  margin: 0;
  color: var(--dbpb-ink);
  overflow-wrap: anywhere;
}

.dbpb-pricing-title {
  font-size: 1rem;
}

.dbpb-pricing-price {
  font-size: 1.15rem;
  font-weight: 700;
}

.dbpb-pricing-copy {
  margin: 0;
  color: var(--dbpb-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.dbpb-preview-editorial-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(13rem, 0.85fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  background: #fbfaf8;
}

.dbpb-preview-editorial-panel.is-reversed {
  grid-template-columns: minmax(13rem, 0.85fr) minmax(0, 1.15fr);
}

.dbpb-preview-editorial-panel.is-reversed .dbpb-editorial-copy {
  grid-column: 2;
  grid-row: 1;
}

.dbpb-preview-editorial-panel.is-reversed .dbpb-editorial-side-panel {
  grid-column: 1;
  grid-row: 1;
}

.dbpb-editorial-copy,
.dbpb-editorial-side-panel {
  min-width: 0;
}

.dbpb-editorial-copy .dbpb-preview-section-title {
  text-align: left;
}

.dbpb-editorial-body,
.dbpb-editorial-panel-copy {
  margin: 0;
  color: var(--dbpb-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dbpb-editorial-side-panel {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #e1ded7;
  border-radius: 8px;
  background: #fff;
}

.dbpb-editorial-panel-heading {
  margin: 0 0 0.55rem;
  color: var(--dbpb-ink);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.dbpb-preview-section-title {
  margin: 0 0 1.35rem;
  color: var(--dbpb-ink);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.dbpb-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 68rem;
  margin: 0 auto;
}

.dbpb-feature-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e1e5ec;
  border-radius: 8px;
  background: #fff;
}

.dbpb-feature-number {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.8rem;
  place-items: center;
  border: 1px solid var(--dbpb-accent);
  border-radius: 7px;
  background: var(--dbpb-soft-surface);
  color: var(--dbpb-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.dbpb-preview-card-title {
  margin: 0 0 0.45rem;
  color: var(--dbpb-ink);
  font-size: 0.98rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dbpb-preview-card-copy {
  margin: 0;
  color: var(--dbpb-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dbpb-preview-testimonial {
  background: linear-gradient(105deg, #f1eaff, #dce8ff);
  text-align: center;
}

.dbpb-preview-document[data-gradient-palette="ocean"] .dbpb-preview-testimonial {
  background: linear-gradient(105deg, #e2f2fb, #cad9f2);
}

.dbpb-preview-document[data-gradient-palette="warm"] .dbpb-preview-testimonial {
  background: linear-gradient(105deg, #f7f0e5, #e8dfd1);
}

.dbpb-preview-document[data-gradient-palette="meadow"] .dbpb-preview-testimonial {
  background: linear-gradient(105deg, #e8f2e8, #d5e4da);
}

.dbpb-preview-quote {
  max-width: 56rem;
  margin: 0 auto 0.7rem;
  color: var(--dbpb-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dbpb-preview-testimonial-name {
  margin: 0.7rem 0 0.1rem;
  color: var(--dbpb-ink);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dbpb-preview-testimonial-role {
  margin: 0;
  color: var(--dbpb-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dbpb-preview-faq {
  background: #fff;
}

.dbpb-preview-faq-list {
  display: grid;
  gap: 0.45rem;
  max-width: 55rem;
  margin: 0 auto;
}

.dbpb-preview-faq-item {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
}

.dbpb-preview-faq-item summary {
  color: var(--dbpb-ink);
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
}

.dbpb-preview-faq-answer {
  margin: 0.65rem 0 0;
  color: var(--dbpb-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.dbpb-preview-cta {
  background: var(--dbpb-soft-surface);
  text-align: center;
}

.dbpb-preview-cta-copy {
  margin-right: auto;
  margin-left: auto;
  font-size: 0.92rem;
}

.dbpb-preview-unsupported {
  border-top: 1px dashed #aeb7c5;
  border-bottom: 1px dashed #aeb7c5;
  background: #f8f9fb;
}

.dbpb-preview-unsupported-copy {
  max-width: 50rem;
  margin: 0 auto;
  color: #5b6573;
  font-size: 0.82rem;
  text-align: center;
}

.dbpb-preview-next-step,
.dbpb-preview-next-step .btn {
  text-align: center;
}

.dbpb-next-step {
  margin: 0.7rem clamp(1rem, 4vw, 3rem);
}

.dbpb-site-footer {
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid #e3e6ec;
  background: #f8f9fa;
  color: #626c7a;
  font-size: 0.72rem;
}

.dbpb-private-note {
  margin: 0;
  text-align: right;
}

.dbpb-image-library-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.dbpb-image-picker {
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.dbpb-image-picker > summary {
  color: #263244;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.dbpb-image-picker > summary:focus-visible {
  outline: 2px solid #806125;
  outline-offset: 3px;
}

.dbpb-current-image-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;
  margin-bottom: 0.5rem;
}

.dbpb-image-library {
  min-width: 0;
}

.dbpb-image-library-heading {
  margin: 0 0 0.45rem;
  color: #263244;
  font-size: 0.78rem;
  font-weight: 700;
}

.dbpb-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
  gap: 0.42rem;
}

.dbpb-image-choice {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  width: 100%;
  min-width: 0;
  padding: 0.35rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
  color: #263244;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dbpb-image-choice:hover:not(:disabled) {
  border-color: #b18a43;
}

.dbpb-image-choice:focus-visible {
  outline: 2px solid #806125;
  outline-offset: 2px;
}

.dbpb-image-choice.is-selected {
  border-color: #a77e34;
  box-shadow: 0 0 0 1px #a77e34;
}

.dbpb-image-choice.is-unavailable {
  cursor: not-allowed;
  opacity: 0.72;
}

.dbpb-image-thumbnail-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background: #eef0f3;
}

.dbpb-image-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.dbpb-image-thumbnail[hidden],
.dbpb-inspector-image[hidden] {
  display: none;
}

.dbpb-image-thumbnail-message {
  position: absolute;
  inset: auto 0 0;
  padding: 0.2rem;
  background: rgb(255 255 255 / 85%);
  color: #465265;
  font-size: 0.62rem;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}

.dbpb-image-filename {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #293548;
  font-size: 0.68rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dbpb-image-source-status {
  color: #657185;
  font-size: 0.63rem;
}

.dbpb-image-choice.is-selected .dbpb-image-source-status {
  color: #72551f;
}

.dbpb-inspector-image {
  display: block;
  width: 100%;
  max-height: 12rem;
  margin-bottom: 0.6rem;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  object-fit: contain;
}

.dbpb-current-image-row .dbpb-inspector-image {
  flex: 0 0 5.5rem;
  width: 5.5rem;
  height: 4.2rem;
  max-height: 4.2rem;
  margin: 0;
  background: #f5f6f8;
}

.dbpb-current-image-row .dbpb-image-picker {
  flex: 1 1 10rem;
}

.dbpb-current-image-row .dbpb-image-picker[open] {
  flex-basis: 100%;
}

.dbpb-image-display-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.dbpb-image-display-control {
  display: grid;
  min-width: 0;
  gap: 0.28rem;
}

.dbpb-image-display-control label {
  color: #172b4d !important;
  font-size: 0.76rem;
  font-weight: 600;
}

.digital-page-builder .dbpb-image-setting-select,
.digital-page-builder .dbpb-image-setting-select option {
  color: #172b4d !important;
}

.digital-page-builder .dbpb-image-setting-select {
  border-radius: 8px;
  background-color: #fff !important;
}

.digital-page-builder .dbpb-image-setting-select:disabled {
  color: #4b5563 !important;
  opacity: 1;
}

.digital-page-builder .dbpb-image-setting-select:focus-visible {
  color: #172b4d !important;
  outline: 2px solid #705321;
  outline-offset: 2px;
}

.dbpb-image-remove {
  justify-self: start;
  border-radius: 8px !important;
}

.dbpb-private-notice {
  margin: 0;
  border-radius: 8px;
}

@container dbpb-page (max-width: 680px) {
  .dbpb-site-nav {
    min-height: 3.2rem;
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .dbpb-site-links {
    display: none;
  }

  .dbpb-preview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.3rem;
    background: linear-gradient(180deg, #fff, var(--dbpb-soft-surface));
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero {
    background: linear-gradient(180deg, #ede7dd, #fbfaf8);
  }

  .dbpb-preview-hero-title {
    max-width: 100%;
    font-size: 2rem;
  }

  .dbpb-preview-hero-visual {
    min-height: 9rem;
  }

  .dbpb-preview-hero-image {
    max-height: 16rem;
  }

  .dbpb-preview-block {
    padding: 1.25rem;
  }

  .dbpb-feature-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-pricing-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-preview-editorial-panel,
  .dbpb-preview-editorial-panel.is-reversed {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-preview-editorial-panel.is-reversed .dbpb-editorial-copy,
  .dbpb-preview-editorial-panel.is-reversed .dbpb-editorial-side-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .dbpb-preview-image--size-medium {
    width: min(82%, 32rem);
    max-width: min(82%, 32rem);
  }

  .dbpb-preview-image--size-small {
    width: min(66%, 22rem);
    max-width: min(66%, 22rem);
  }
}

@media (max-width: 1050px) {
  .dbpb-workspace {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
  }

  .dbpb-app-header {
    grid-template-columns: minmax(10rem, 0.9fr) minmax(10rem, 1fr) minmax(11rem, 1fr);
  }
}

@media (max-width: 820px) {
  .dbpb-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-preview-panel {
    min-height: 0;
  }

  .dbpb-viewport {
    min-height: 30rem;
  }

  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero,
  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 9rem;
  }
}

@media (max-width: 620px) {
  .digital-page-builder {
    gap: 0.55rem;
  }

  .dbpb-app-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .dbpb-app-brand {
    grid-column: 1;
    grid-row: 1;
    white-space: nowrap;
  }

  .dbpb-page-title-field {
    grid-column: 1;
    grid-row: 2;
  }

  .dbpb-title-input {
    text-align: left;
  }

  .dbpb-header-actions {
    grid-column: 1;
    grid-row: 3;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .dbpb-status {
    max-width: none;
    overflow-wrap: break-word;
    font-size: 0.68rem;
    text-align: left;
  }

  .dbpb-editor-panel,
  .dbpb-preview-panel {
    padding: 0.65rem;
  }

  .dbpb-page-selection-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dbpb-page-selection-row .dbpb-toolbar-field {
    grid-column: 1 / -1;
  }

  .dbpb-new-business-row {
    align-items: end;
  }

  .dbpb-new-business-row .dbpb-toolbar-field {
    flex: 1 1 auto;
  }

  .dbpb-template-choices {
    gap: 0.35rem;
  }

  .dbpb-template-choice {
    padding: 0.28rem;
  }

  .dbpb-template-name {
    font-size: 0.66rem;
  }

  .dbpb-chat-draft-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-chat-draft-card .btn {
    justify-self: start;
  }

  .dbpb-preview-header {
    align-items: start;
  }

  .dbpb-viewport,
  .dbpb-viewport--mobile {
    min-height: 30rem;
  }

  .dbpb-add-section-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-add-section-button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dbpb-viewport,
  .dbpb-preview-block {
    transition: none;
  }
}

/* Full-page template compositions: source blocks stay in their saved order. */
.dbpb-preview-document .dbpb-preview-sections {
  min-width: 0;
}

.dbpb-preview-document .dbpb-preview-block,
.dbpb-preview-document .dbpb-preview-content-cluster {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dbpb-preview-document .dbpb-preview-hero-title {
  font-size: clamp(1.85rem, 5.2cqi, 3.8rem);
}

.dbpb-preview-document .dbpb-preview-section-title {
  font-size: clamp(1.3rem, 3.2cqi, 1.9rem);
}

.dbpb-preview-document .dbpb-preview-content-cluster {
  display: grid;
  min-width: 0;
}

.dbpb-preview-document .dbpb-preview-content-cluster > .dbpb-preview-block {
  min-width: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.dbpb-preview-document .dbpb-preview-content-cluster--benefits {
  grid-template-columns: minmax(0, 1fr);
}

.dbpb-preview-document .dbpb-preview-content-cluster--benefits > .dbpb-preview-heading {
  padding-bottom: 0.1rem;
}

.dbpb-preview-document .dbpb-preview-content-cluster--benefits > .dbpb-preview-features {
  padding-top: 0.4rem;
}

/* Simple / New Age: open product hero, practical cards, clear next action. */
.dbpb-preview-document[data-template-id="new-age"] {
  background: #fff;
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-site-nav {
  min-height: 3.75rem;
  background: #fff;
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-hero {
  min-height: 23rem;
  background: linear-gradient(105deg, #fff 48%, var(--dbpb-soft-surface) 48%);
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-features {
  background: #fff;
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-feature-card {
  border-color: #e3e5ee;
  box-shadow: 0 0.35rem 1.3rem rgb(35 48 82 / 5%);
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-content-cluster--content {
  justify-items: center;
  padding: clamp(1.6rem, 4cqi, 3rem) clamp(1rem, 6cqi, 4rem);
  background: #fff;
  text-align: center;
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading,
.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
  width: min(100%, 54rem);
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-content-cluster--content .dbpb-preview-heading-text {
  font-size: clamp(1.45rem, 3.6cqi, 2.2rem);
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-image {
  max-height: 34rem;
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-preview-cta {
  background: linear-gradient(135deg, var(--dbpb-soft-surface), #fff);
}

/* Layered / Mind Matters: lavender surfaces, framed copy and tiered options. */
.dbpb-preview-document[data-template-id="mind-matters"] {
  background: #faf9fd;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-site-nav {
  border-bottom-color: #dfdbea;
  background: #282344;
  color: #fff;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-site-links,
.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-site-brand {
  color: #fff;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-site-nav-action {
  border-color: var(--dbpb-accent);
  background: var(--dbpb-accent);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-hero {
  min-height: 24rem;
  border-bottom-color: #e3dff0;
  background: linear-gradient(130deg, #fbfaff 0 42%, #eee9f8 42% 100%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-features {
  position: relative;
  z-index: 1;
  margin: -0.6rem clamp(0.7rem, 3cqi, 2rem) 0;
  border: 1px solid #e3dfed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.7rem 2rem rgb(48 39 77 / 9%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-feature-card {
  border-color: #e7e2f0;
  background: linear-gradient(165deg, #fff, #fbfaff);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  padding: clamp(1rem, 3cqi, 2rem);
  background: #fff;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading {
  display: grid;
  align-content: center;
  padding-right: clamp(0.4rem, 2cqi, 1.5rem);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
  display: grid;
  align-content: center;
  border-left: 3px solid var(--dbpb-accent);
  background: #f6f3fb;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content .dbpb-preview-text-copy {
  margin-left: 0;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-pricing {
  background: linear-gradient(180deg, #f5f1fb, #fbfaff);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-pricing-card {
  border-color: #ded8eb;
  box-shadow: 0 0.35rem 1.1rem rgb(53 44 81 / 6%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-pricing-card:nth-child(2) {
  position: relative;
  z-index: 1;
  border-color: var(--dbpb-accent);
  box-shadow: 0 0.6rem 1.7rem rgb(53 44 81 / 12%);
  transform: translateY(-0.4rem);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-image {
  max-height: 28rem;
  padding: 0.7rem;
  border: 1px solid #e1dced;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgb(49 39 79 / 10%);
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-cta {
  background: linear-gradient(125deg, #ece6f6, #f8f5fb);
}

/* Editorial / Artist: cream and charcoal, alternating copy and side panels. */
.dbpb-preview-document[data-template-id="artist"] {
  background: #f7f4ee;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-site-nav {
  border-bottom-color: #343431;
  background: #252522;
  color: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-site-links,
.dbpb-preview-document[data-template-id="artist"] .dbpb-site-brand {
  color: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-site-nav-action {
  border-color: var(--dbpb-accent);
  background: var(--dbpb-accent);
  color: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero {
  min-height: 24rem;
  background: linear-gradient(110deg, #e8e2d8 0 40%, #fbfaf8 40% 100%);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-visual {
  min-height: 18rem;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-image {
  max-height: 24rem;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 1rem 2.6rem rgb(37 37 34 / 14%);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
  padding: clamp(1rem, 3.5cqi, 2.5rem) clamp(1rem, 5cqi, 3.5rem);
  background: #f7f4ee;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading {
  display: grid;
  align-content: center;
  padding-right: clamp(0.5rem, 2cqi, 1.4rem);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading .dbpb-preview-heading-text {
  text-align: left;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
  display: grid;
  align-content: center;
  padding: clamp(1rem, 3cqi, 2rem);
  border: 1px solid #e2ded5;
  border-radius: 8px;
  background: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content .dbpb-preview-text-copy {
  margin-left: 0;
  color: #5b5a55;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content.is-reversed > .dbpb-preview-heading {
  grid-column: 2;
  grid-row: 1;
  padding-right: 0;
  padding-left: clamp(0.5rem, 2cqi, 1.4rem);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content.is-reversed > .dbpb-preview-text {
  grid-column: 1;
  grid-row: 1;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-features {
  background: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-feature-cards {
  grid-template-columns: minmax(0, 1fr);
  max-width: 68rem;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-feature-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid #dedbd3;
  border-radius: 0;
  background: transparent;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-feature-number {
  margin: 0;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-editorial-panel {
  background: #eee9df;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-editorial-side-panel {
  border-color: #d8d3ca;
  background: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-image {
  max-height: 32rem;
  background: #fff;
  box-shadow: 0 0.7rem 2rem rgb(37 37 34 / 10%);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-cta {
  background: #252522;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-cta .dbpb-preview-section-title,
.dbpb-preview-document[data-template-id="artist"] .dbpb-preview-cta .dbpb-preview-cta-copy {
  color: #fff;
}

/* Preview-width breakpoints also apply inside the editor's phone frame. */
@container dbpb-page (max-width: 680px) {
  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content,
  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading,
  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-heading,
  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content > .dbpb-preview-text,
  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
    grid-column: 1;
    grid-row: auto;
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
    border-top: 0;
    border-left: 3px solid var(--dbpb-accent);
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content > .dbpb-preview-text {
    border-top: 1px solid #e2ded5;
    border-left: 1px solid #e2ded5;
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content.is-reversed > .dbpb-preview-heading,
  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-content-cluster--content.is-reversed > .dbpb-preview-text {
    grid-column: 1;
    grid-row: auto;
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-preview-hero-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .dbpb-preview-document[data-template-id="mind-matters"] .dbpb-pricing-card:nth-child(2) {
    transform: none;
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-feature-card {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .dbpb-preview-document[data-template-id="artist"] .dbpb-feature-card .dbpb-preview-card-copy {
    grid-column: 2;
  }
}

/* Reference-based page layouts. These are native preview sections, not user-authored markup. */
.dbpb-preview-document .dbpb-template-section {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: clamp(2.75rem, 6cqi, 5.5rem) clamp(1.15rem, 5cqi, 4.5rem);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--dbpb-ink);
  font-family: inherit;
  cursor: pointer;
}

.dbpb-preview-document .dbpb-template-section:hover {
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgb(177 138 67 / 28%);
}

.dbpb-preview-document .dbpb-template-section.is-selected {
  z-index: 2;
  box-shadow: inset 0 0 0 3px #a77e34;
}

.dbpb-preview-document .dbpb-template-section:focus-visible {
  outline: 3px solid #806125;
  outline-offset: -3px;
}

.dbpb-preview-document .dbpb-template-section h1,
.dbpb-preview-document .dbpb-template-section h2,
.dbpb-preview-document .dbpb-template-section h3,
.dbpb-preview-document .dbpb-template-section p,
.dbpb-preview-document .dbpb-template-section figure,
.dbpb-preview-document .dbpb-template-section blockquote {
  margin-top: 0;
}

.dbpb-template-copy,
.dbpb-template-centered-content,
.dbpb-template-steps-inner,
.dbpb-template-pricing-inner,
.dbpb-template-audience-inner,
.dbpb-template-question-inner,
.dbpb-template-closing-inner,
.dbpb-template-footer-inner {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.dbpb-template-eyebrow {
  margin-bottom: 1rem;
  color: var(--dbpb-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dbpb-template-section-title,
.dbpb-template-hero-title,
.dbpb-template-cta-title {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  color: var(--dbpb-ink);
  font-size: clamp(1.75rem, 4.5cqi, 3.35rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.dbpb-template-hero-title {
  max-width: 12ch;
  font-size: clamp(2.35rem, 6cqi, 4.75rem);
  letter-spacing: -0.045em;
}

.dbpb-template-section-copy,
.dbpb-template-section-intro,
.dbpb-template-hero-body,
.dbpb-template-hero-lead,
.dbpb-template-card-copy,
.dbpb-template-pricing-copy,
.dbpb-template-pricing-extra {
  color: var(--dbpb-muted);
  font-size: clamp(0.98rem, 1.5cqi, 1.15rem);
  line-height: 1.72;
}

.dbpb-template-hero-lead {
  color: var(--dbpb-ink);
  font-size: clamp(1.08rem, 1.85cqi, 1.32rem);
  font-weight: 650;
}

.dbpb-template-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.dbpb-preview-document .dbpb-template-action {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--dbpb-primary);
  border-radius: 7px;
  background: var(--dbpb-primary);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.dbpb-preview-document .dbpb-template-action:hover,
.dbpb-preview-document .dbpb-template-action:focus-visible {
  border-color: var(--dbpb-primary);
  background: var(--dbpb-primary);
  color: #fff;
  filter: brightness(0.93);
}

.dbpb-preview-document .dbpb-template-action:disabled {
  border-color: var(--dbpb-primary);
  background: var(--dbpb-primary);
  color: #fff;
  opacity: 0.72;
}

.dbpb-preview-document .dbpb-template-action--empty {
  border-style: dashed;
}

.dbpb-template-actions--badges .dbpb-template-action {
  min-width: 9rem;
  min-height: 3.05rem;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 750;
}

.dbpb-template-copy-image-copy,
.dbpb-template-copy,
.dbpb-template-feature-content,
.dbpb-template-checklist-content,
.dbpb-template-storefront-copy,
.dbpb-template-editorial-main {
  min-width: 0;
}

.dbpb-template-section .is-empty {
  color: color-mix(in srgb, var(--dbpb-muted) 74%, transparent);
  font-style: italic;
}

.dbpb-template-section .dbpb-template-section-title.is-empty,
.dbpb-template-section .dbpb-template-hero-title.is-empty,
.dbpb-template-section .dbpb-template-card-title.is-empty {
  color: color-mix(in srgb, var(--dbpb-ink) 55%, transparent);
}

.dbpb-template-image-slot {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 7rem;
  overflow: hidden;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--dbpb-accent) 66%, #fff);
  border-radius: 8px;
  background: color-mix(in srgb, var(--dbpb-soft-surface) 84%, #fff);
}

.dbpb-template-image-slot .dbpb-template-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
}

/* The shared Marketing/CRM picker is opened from this Page Builder route too. */
.clariia-image-picker-modal .clariia-image-picker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.clariia-image-picker-modal .clariia-image-picker-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 32px;
}

.clariia-image-picker-modal .clariia-image-picker-preview {
  position: sticky;
  top: 0;
  min-height: 320px;
  padding: 1rem;
  background: #fffdf8;
  border: 1px solid rgba(176, 138, 72, 0.38);
  border-radius: 8px;
}

.clariia-image-picker-modal .clariia-image-picker-preview-frame {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.clariia-image-picker-modal .clariia-image-picker-preview-frame img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.clariia-image-picker-modal .clariia-image-picker-preview-empty,
.clariia-image-picker-modal .clariia-image-picker-empty {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: #6c757d;
  text-align: center;
  border: 1px dashed rgba(176, 138, 72, 0.48);
  border-radius: 8px;
}

.clariia-image-picker-modal .clariia-image-picker-preview-empty i,
.clariia-image-picker-modal .clariia-image-picker-empty i {
  color: #b08a48;
  font-size: 2rem;
}

.clariia-image-picker-modal .campaign-image-option {
  overflow: hidden;
  border-width: 1px;
  border-radius: 8px;
}

.clariia-image-picker-modal .campaign-image-option:hover,
.clariia-image-picker-modal .campaign-image-option:focus-visible {
  border-color: #b08a48 !important;
  box-shadow: 0 0 0 3px rgba(176, 138, 72, 0.12);
}

.clariia-image-picker-modal [data-picker-confirm] {
  min-width: 150px;
}

@media (max-width: 991px) {
  .clariia-image-picker-modal .clariia-image-picker-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .clariia-image-picker-modal .clariia-image-picker-preview {
    position: static;
    min-height: 0;
    order: -1;
  }
}

.dbpb-preview-document .dbpb-template-image-placeholder {
  display: grid;
  width: 100%;
  min-height: inherit;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--dbpb-muted);
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
}

.dbpb-preview-document .dbpb-template-image-placeholder::before {
  content: "＋";
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--dbpb-accent) 55%, #fff);
  border-radius: 50%;
  color: var(--dbpb-accent);
  font-size: 1.25rem;
}

.dbpb-preview-document .dbpb-template-image-placeholder:hover,
.dbpb-preview-document .dbpb-template-image-placeholder:focus-visible {
  background: rgb(255 255 255 / 38%);
  color: var(--dbpb-ink);
  outline: 2px solid var(--dbpb-accent);
  outline-offset: -3px;
}

/* Simple / New Age */
.dbpb-preview-document[data-template-id="new-age"] .dbpb-template-section--simple-hero {
  min-height: 29rem;
  background: linear-gradient(105deg, #fff 53%, var(--dbpb-soft-surface) 53%);
}

.dbpb-preview-document[data-template-id="new-age"] .dbpb-template-section--simple-hero .dbpb-template-hero-title,
.dbpb-preview-document[data-template-id="new-age"] .dbpb-template-section--closing-cta .dbpb-template-cta-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.dbpb-template-section--simple-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4.5rem);
}

.dbpb-template-hero-copy {
  position: relative;
  z-index: 1;
}

.dbpb-template-hero-visual,
.dbpb-template-feature-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 24rem;
  place-items: center;
}

.dbpb-template-hero-visual::before,
.dbpb-template-feature-visual::before {
  position: absolute;
  z-index: -2;
  width: min(88%, 27rem);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--dbpb-accent) 40%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--dbpb-accent) 12%, transparent);
  content: "";
}

.dbpb-template-hero-visual::after {
  position: absolute;
  z-index: -1;
  width: 78%;
  height: 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--dbpb-accent), var(--dbpb-primary));
  content: "";
  transform: rotate(-37deg);
}

.dbpb-template-decoration {
  position: absolute;
  z-index: -1;
  display: block;
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dbpb-accent);
  opacity: 0.82;
}

.dbpb-template-decoration--one {
  top: 6%;
  right: 8%;
}

.dbpb-template-decoration--two {
  bottom: 8%;
  left: 8%;
  width: 2.25rem;
  background: var(--dbpb-primary);
}

.dbpb-template-phone-frame {
  position: relative;
  z-index: 1;
  width: min(58%, 14rem);
  min-height: 22rem;
  aspect-ratio: 9 / 17;
  padding: 0.45rem;
  border: 4px solid #17181b;
  border-radius: 2rem;
  background: #17181b;
  box-shadow: 0 1.35rem 3rem rgb(21 25 35 / 20%);
}

.dbpb-template-phone-frame::before {
  position: absolute;
  z-index: 2;
  top: 0.35rem;
  left: 50%;
  width: 30%;
  height: 0.45rem;
  border-radius: 1rem;
  background: #17181b;
  content: "";
  transform: translateX(-50%);
}

.dbpb-template-phone-frame .dbpb-template-phone-screen {
  min-height: 100%;
  border: 0;
  border-radius: 1.5rem;
  background: #f1f2f5;
}

.dbpb-template-phone-screen .dbpb-template-image,
.dbpb-template-phone-screen .dbpb-template-image-placeholder {
  min-height: 21rem;
  border: 0;
  border-radius: 1.45rem;
  background: #f5f5f7;
}

.dbpb-template-phone-screen .dbpb-template-image-placeholder {
  color: #30323a;
}

.dbpb-template-section--proof-band {
  padding-block: clamp(2.25rem, 4cqi, 3.5rem) !important;
  background: linear-gradient(120deg, var(--dbpb-primary), var(--dbpb-accent));
  color: #fff;
}

.dbpb-template-proof-inner {
  display: grid;
  width: min(100%, 62rem);
  justify-items: center;
  gap: 0.7rem;
  margin-inline: auto;
  text-align: center;
}

.dbpb-template-proof-quote {
  max-width: 28ch;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: clamp(1.35rem, 3.3cqi, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.34;
}

.dbpb-template-section--proof-band .dbpb-template-proof-quote.is-empty,
.dbpb-template-section--proof-band .dbpb-template-proof-attribution.is-empty {
  color: rgb(255 255 255 / 84%);
}

.dbpb-template-proof-attribution {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 0.95rem;
  font-weight: 700;
}

.dbpb-template-proof-mark {
  width: 8rem;
  margin-top: 0.55rem;
}

.dbpb-template-proof-logo {
  min-height: 2.7rem;
  border-color: rgb(255 255 255 / 45%);
  background: rgb(255 255 255 / 12%);
}

.dbpb-template-section--simple-features {
  display: grid !important;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4.5rem);
  background: #fff;
}

@container dbpb-page (max-width: 780px) {
  .dbpb-template-section--simple-features .dbpb-template-feature-content {
    order: 1;
  }

  .dbpb-template-section--simple-features .dbpb-template-feature-visual {
    order: 2;
  }
}

.dbpb-template-feature-visual {
  min-height: 28rem;
}

.dbpb-template-feature-visual .dbpb-template-phone-frame {
  width: min(66%, 13rem);
}

.dbpb-template-feature-grid {
  display: grid;
  gap: 1.15rem;
}

.dbpb-template-feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dbpb-template-feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dbpb-template-feature-item {
  min-width: 0;
  padding: 1rem 0.65rem;
  text-align: center;
}

.dbpb-template-feature-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 auto 0.9rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dbpb-accent) 14%, #fff);
  color: var(--dbpb-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.dbpb-template-feature-content > .dbpb-template-section-title {
  margin-bottom: 0.7rem;
}

.dbpb-template-section-intro {
  margin-bottom: 1.3rem;
}

.dbpb-template-section--copy-image {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6cqi, 5rem);
  background: var(--dbpb-soft-surface);
}

.dbpb-template-copy-image-visual {
  display: grid;
  min-height: 20rem;
  place-items: center;
}

.dbpb-template-story-image {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1rem 2.8rem rgb(31 42 67 / 12%);
}

.dbpb-template-story-image .dbpb-template-image,
.dbpb-template-story-image .dbpb-template-image-placeholder {
  min-height: 100%;
  border: 0;
  border-radius: 50%;
}

.dbpb-template-section--image-cta {
  display: grid !important;
  min-height: 25rem;
  align-items: center;
  background: #30333b;
  color: #fff;
}

.dbpb-preview-document .dbpb-template-section--image-cta {
  padding: 0;
}

.dbpb-template-cta-backdrop,
.dbpb-template-image-cta-copy {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}

.dbpb-template-cta-backdrop {
  position: absolute;
  inset: 0;
}

.dbpb-template-cta-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(130deg, var(--dbpb-primary), #2c3039);
}

.dbpb-template-cta-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(18 24 40 / 56%), rgb(18 24 40 / 18%));
  content: "";
  pointer-events: none;
}

.dbpb-template-cta-image .dbpb-template-image-placeholder {
  color: #fff;
}

.dbpb-template-image-cta-copy {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding: clamp(2rem, 6cqi, 4.5rem) clamp(1.15rem, 5cqi, 4.5rem);
}

.dbpb-template-section--image-cta .dbpb-template-cta-title,
.dbpb-template-section--image-cta .dbpb-template-section-copy {
  max-width: 16ch;
  color: #fff;
}

.digital-page-builder .dbpb-preview-document .dbpb-template-section--image-cta .dbpb-template-action {
  border-radius: 0 !important;
}

.dbpb-template-section--closing-cta {
  background: linear-gradient(135deg, color-mix(in srgb, var(--dbpb-primary) 95%, #222), color-mix(in srgb, var(--dbpb-accent) 82%, #222));
  color: #fff;
  text-align: center;
}

.dbpb-template-closing-inner {
  display: grid;
  justify-items: center;
}

.dbpb-template-section--closing-cta .dbpb-template-eyebrow,
.dbpb-template-section--closing-cta .dbpb-template-cta-title,
.dbpb-template-section--closing-cta .dbpb-template-section-copy {
  color: #fff;
}

.dbpb-template-section--site-footer {
  padding-block: 2.2rem !important;
  background: #15171c;
  color: rgb(255 255 255 / 78%);
}

.dbpb-preview-document .dbpb-template-section--site-footer {
  color: rgb(255 255 255 / 78%);
}

.dbpb-template-footer-inner {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.dbpb-preview-document .dbpb-template-section--site-footer .dbpb-template-footer-inner p {
  margin: 0;
  color: inherit;
}

.dbpb-template-footer-brand {
  font-weight: 800;
}

.dbpb-template-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.dbpb-preview-document .dbpb-template-footer-link {
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-color: rgb(255 255 255 / 30%);
  background: transparent;
  color: rgb(255 255 255 / 78%);
  font-size: 0.78rem;
}

/* Layered / Mind Matters */
.dbpb-preview-document[data-template-id="mind-matters"] {
  background: #fbfaff;
  --dbpb-primary: #6953a9;
  --dbpb-accent: #b09155;
  --dbpb-soft-surface: #f0ecfa;
}

.dbpb-preview-document[data-template-id="mind-matters"] .dbpb-template-section {
  padding-block: clamp(3rem, 6cqi, 5.6rem);
}

.dbpb-template-section--layered-hero {
  display: grid !important;
  min-height: 34rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4.5rem);
  background: linear-gradient(115deg, #fbfaff 56%, #f1edfa 56%);
}

.dbpb-layered-hero-copy {
  position: relative;
  z-index: 2;
}

.dbpb-layered-hero-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(61%, 18rem);
  margin: 0;
  padding: 1.15rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: #181716;
  color: #fff;
  box-shadow: 0 0.75rem 2rem rgb(24 23 22 / 22%);
}

.dbpb-layered-hero-card .dbpb-template-card-title,
.dbpb-layered-hero-card .dbpb-template-card-copy,
.dbpb-layered-hero-card .dbpb-template-eyebrow {
  color: #fff;
}

.dbpb-layered-hero-card .dbpb-template-eyebrow {
  color: var(--dbpb-accent);
}

.dbpb-layered-hero-card p:last-child,
.dbpb-layered-hero-card h2:last-child {
  margin-bottom: 0;
}

.dbpb-layered-hero-visual {
  position: relative;
  display: grid;
  min-height: 25rem;
  align-items: center;
}

.dbpb-layered-hero-back {
  position: absolute;
  inset: 5% 3% 6% 13%;
  border: 0;
  border-radius: 0;
  background: #252523;
}

.dbpb-layered-hero-image {
  width: 86%;
  min-height: 21rem;
  margin-left: 6%;
  border: 0.55rem solid #fff;
  border-radius: 0;
  box-shadow: 0 0.8rem 2rem rgb(42 34 68 / 15%);
}

.dbpb-layered-hero-highlight {
  width: fit-content;
  max-width: 40rem;
  margin: 1.35rem 0 1.15rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--dbpb-accent);
  background: #fff;
}

.dbpb-layered-hero-highlight-label {
  margin-bottom: 0.25rem;
  color: var(--dbpb-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dbpb-layered-hero-highlight-copy {
  margin-bottom: 0;
  color: var(--dbpb-muted);
  line-height: 1.55;
}

.dbpb-layered-hero-overlap-mark {
  position: absolute;
  right: -0.8rem;
  bottom: 1.15rem;
  max-width: 12rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(176 145 85 / 42%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.7rem 1.6rem rgb(35 29 54 / 12%);
  color: var(--dbpb-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.dbpb-template-section--centered-intro {
  background: #fff;
  text-align: center;
}

.dbpb-template-centered-content {
  max-width: 56rem;
}

.dbpb-template-centered-content .dbpb-template-section-title {
  max-width: 24ch;
  margin-inline: auto;
}

.dbpb-template-centered-content .dbpb-template-section-copy {
  max-width: 68ch;
  margin-inline: auto;
}

.dbpb-template-section--six-features {
  background: #f5f3f8;
}

.dbpb-template-centered-title {
  max-width: none;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.dbpb-template-feature-card {
  min-width: 0;
  padding: clamp(1.2rem, 2.5cqi, 1.8rem);
  border: 1px solid #e4e0eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 0.45rem 1.4rem rgb(42 36 61 / 5%);
}

.dbpb-template-card-number {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--dbpb-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dbpb-template-card-title {
  margin-bottom: 0.55rem;
  color: var(--dbpb-ink);
  font-size: clamp(1rem, 1.8cqi, 1.27rem);
  font-weight: 750;
  line-height: 1.3;
}

.dbpb-template-card-copy {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.dbpb-template-section--image-checklist {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4rem);
  background: #fff;
}

.dbpb-template-checklist-image {
  min-height: 22rem;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1rem 2.2rem rgb(35 32 48 / 12%);
}

.dbpb-template-checklist-list,
.dbpb-template-list,
.dbpb-template-editorial-list,
.dbpb-template-panel-list,
.dbpb-template-storefront-list,
.dbpb-template-audience-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.dbpb-template-checklist-list li,
.dbpb-template-list li,
.dbpb-template-editorial-list li,
.dbpb-template-panel-list li,
.dbpb-template-storefront-list li,
.dbpb-template-audience-list li {
  position: relative;
  min-height: 1.5rem;
  padding-left: 1.55rem;
  color: var(--dbpb-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.dbpb-template-checklist-list li::before {
  position: absolute;
  top: -0.05rem;
  left: 0;
  color: var(--dbpb-accent);
  content: "✓";
  font-weight: 800;
}

.dbpb-template-section--numbered-steps {
  background: #f3f1f6;
  text-align: center;
}

.dbpb-template-section--numbered-steps .dbpb-template-section-title {
  max-width: none;
  margin-bottom: 2.25rem;
}

.dbpb-template-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.dbpb-template-step-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.4cqi, 1.9rem);
  border: 1px solid #e2dfe8;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 0.45rem 1.4rem rgb(42 36 61 / 5%);
  text-align: left;
}

.dbpb-template-step-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--dbpb-accent);
  font-size: clamp(2rem, 4cqi, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.dbpb-template-section--two-pricing-cards {
  background: #fff;
}

.dbpb-template-pricing-inner > .dbpb-template-section-title {
  max-width: none;
  margin-bottom: 2.4rem;
  text-align: center;
}

.dbpb-template-pricing-grid {
  display: grid;
  width: min(100%, 64rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-inline: auto;
}

.dbpb-template-pricing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.4rem, 3cqi, 2.2rem);
  border: 1px solid #dcd7e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0.6rem 1.8rem rgb(46 37 68 / 8%);
}

.dbpb-template-pricing-card--upgrade {
  border-color: #5c4a91;
  background: #2c2542;
  color: #fff;
  transform: translateY(-0.55rem);
}

.dbpb-template-pricing-title {
  margin-bottom: 1.2rem;
  color: var(--dbpb-ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dbpb-template-pricing-card--upgrade .dbpb-template-pricing-title,
.dbpb-template-pricing-card--upgrade .dbpb-template-pricing-price {
  color: #d4c6f1;
}

.dbpb-template-pricing-price {
  margin-bottom: 0.25rem;
  color: var(--dbpb-accent);
  font-size: clamp(2.2rem, 5cqi, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dbpb-template-pricing-period,
.dbpb-template-pricing-extra {
  color: var(--dbpb-muted);
  font-size: 0.9rem;
}

.dbpb-template-pricing-card--upgrade .dbpb-template-pricing-copy,
.dbpb-template-pricing-card--upgrade .dbpb-template-pricing-extra {
  color: rgb(255 255 255 / 78%);
}

.dbpb-template-pricing-card .dbpb-template-action {
  width: 100%;
  margin-top: auto;
}

.dbpb-template-pricing-additional {
  display: grid;
  width: min(100%, 64rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.35rem 1.4rem;
  margin: 1.35rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--dbpb-accent) 34%, #e8e4db);
}

.dbpb-template-pricing-additional-title,
.dbpb-template-pricing-additional-price,
.dbpb-template-pricing-additional-copy,
.dbpb-template-pricing-additional-extra {
  margin: 0;
}

.dbpb-template-pricing-additional-title {
  color: var(--dbpb-ink);
  font-size: 1rem;
  font-weight: 750;
}

.dbpb-template-pricing-additional-price {
  color: var(--dbpb-accent);
  font-weight: 700;
}

.dbpb-template-pricing-additional-copy,
.dbpb-template-pricing-additional-extra {
  color: var(--dbpb-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dbpb-template-pricing-additional-action {
  grid-column: 2;
}

/* Editorial / Artist */
.dbpb-preview-document[data-template-id="artist"] {
  --dbpb-ink: #252522;
  --dbpb-muted: #66645f;
  --dbpb-primary: #373733;
  --dbpb-accent: #aa8341;
  --dbpb-soft-surface: #f4f0e8;
  background: #fcfbf9;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-template-section {
  padding-block: clamp(3rem, 6cqi, 5.2rem);
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-template-section-title,
.dbpb-preview-document[data-template-id="artist"] .dbpb-template-hero-title,
.dbpb-preview-document[data-template-id="artist"] .dbpb-template-cta-title,
.dbpb-preview-document[data-template-id="artist"] .dbpb-template-card-title {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.025em;
}

.dbpb-template-section--artist-hero {
  display: grid !important;
  min-height: 35rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4.5rem);
  background: #f7f3eb;
}

.dbpb-template-section--artist-hero .dbpb-template-hero-title {
  max-width: 11ch;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 6cqi, 4.6rem);
}

.dbpb-template-section--artist-hero .dbpb-template-hero-visual::before {
  background: rgb(176 138 72 / 20%);
  border-color: rgb(176 138 72 / 35%);
}

.dbpb-template-section--artist-hero .dbpb-template-phone-frame {
  width: min(100%, 34rem);
  min-height: 18rem;
  aspect-ratio: 1.35;
  padding: 0;
  border: 1px solid rgb(176 138 72 / 66%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1.7rem 3.8rem rgb(23 23 23 / 17%);
}

.dbpb-template-section--artist-hero .dbpb-template-phone-frame::before {
  display: none;
}

.dbpb-template-section--artist-hero .dbpb-template-phone-screen,
.dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image,
.dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image-placeholder {
  min-height: 18rem;
  border-radius: 7px;
  background: #fff;
}

.dbpb-template-section--artist-proof {
  background: #fff;
}

.dbpb-preview-document[data-template-id="artist"] .dbpb-template-section--artist-proof .dbpb-template-proof-quote {
  max-width: 60ch;
  color: #34332f;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2.5cqi, 1.7rem);
  font-weight: 500;
  line-height: 1.7;
}

.dbpb-template-section--artist-intro {
  background: #fff;
  text-align: center;
}

.dbpb-template-section--artist-intro .dbpb-template-section-title {
  max-width: 24ch;
}

.dbpb-template-section--artist-intro .dbpb-template-section-copy {
  max-width: 66ch;
}

.dbpb-template-section--artist-journey {
  background: #20201e;
  color: #f7f3eb;
}

.dbpb-template-section--artist-journey .dbpb-template-section-title,
.dbpb-template-section--artist-journey .dbpb-template-card-title {
  color: #fff;
}

.dbpb-template-section--artist-journey .dbpb-template-eyebrow,
.dbpb-template-section--artist-journey .dbpb-template-step-number {
  color: #d1ad6d;
}

.dbpb-template-section--artist-journey .dbpb-template-section-intro,
.dbpb-template-section--artist-journey .dbpb-template-card-copy {
  color: rgb(247 243 235 / 76%);
}

.dbpb-template-step-grid--dark .dbpb-template-step-card {
  border-color: rgb(176 138 72 / 65%);
  background: rgb(255 255 255 / 4%);
  box-shadow: none;
}

.dbpb-template-step-closing {
  max-width: 55rem;
  margin: 2rem auto 0;
  color: #f7f3eb;
  font-weight: 650;
  text-align: center;
}

.dbpb-template-section--artist-collage {
  padding-block: clamp(2.25rem, 4.5cqi, 4rem) !important;
  background: #fff;
}

.dbpb-template-collage-frame {
  width: min(100%, 74rem);
  margin-inline: auto;
}

.dbpb-template-collage-image {
  min-height: 17rem;
  aspect-ratio: 2.2;
  border: 1px solid rgb(176 138 72 / 55%);
  border-radius: 8px;
  box-shadow: 0 1.5rem 3rem rgb(23 23 23 / 14%);
}

.dbpb-template-collage-caption {
  margin-top: 1.05rem;
  color: var(--dbpb-muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.dbpb-template-section--artist-editorial {
  background: #fff;
}

.dbpb-template-section--artist-editorial-soft {
  background: #f7f3eb;
}

.dbpb-template-editorial-grid {
  display: grid;
  width: min(100%, 72rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 6cqi, 5rem);
  margin-inline: auto;
}

.dbpb-template-section--soft-reverse .dbpb-template-editorial-grid {
  grid-template-columns: minmax(16rem, 0.88fr) minmax(0, 1.12fr);
}

.dbpb-template-editorial-main .dbpb-template-section-title {
  max-width: 16ch;
}

.dbpb-template-editorial-closing {
  margin: 1.45rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--dbpb-accent);
  color: var(--dbpb-ink);
  font-weight: 700;
}

.dbpb-template-editorial-list li::before,
.dbpb-template-panel-list li::before,
.dbpb-template-storefront-list li::before,
.dbpb-template-audience-list li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  color: var(--dbpb-accent);
  content: "•";
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.dbpb-template-side-panel {
  min-width: 0;
  padding: clamp(1.5rem, 3.4cqi, 2.7rem);
  border: 1px solid var(--dbpb-accent);
  border-radius: 9px;
  background: #252523;
  box-shadow: 0 1.2rem 2.8rem rgb(23 23 23 / 12%);
  color: #f7f3eb;
}

.dbpb-template-panel-mark {
  display: block;
  margin-bottom: 0.8rem;
  color: #d1ad6d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dbpb-template-panel-title {
  color: #fff;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3cqi, 2.25rem);
  line-height: 1.2;
}

.dbpb-template-panel-copy,
.dbpb-template-panel-list li {
  color: rgb(247 243 235 / 78%);
}

.dbpb-template-panel-closing {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(176 138 72 / 50%);
  color: #f7f3eb;
  font-weight: 650;
}

.dbpb-template-side-panel--light {
  border-color: #e0d8c9;
  background: #fff;
  color: #252522;
}

.dbpb-template-side-panel--light .dbpb-template-panel-title,
.dbpb-template-side-panel--light .dbpb-template-panel-closing {
  color: #252522;
}

.dbpb-template-side-panel--light .dbpb-template-panel-copy,
.dbpb-template-side-panel--light .dbpb-template-panel-list li {
  color: #66645f;
}

.dbpb-template-mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.45rem 0;
}

.dbpb-template-mini-feature-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e0d8c9;
  border-radius: 8px;
  background: rgb(255 255 255 / 75%);
}

.dbpb-template-mini-feature-card .dbpb-template-card-title {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.dbpb-template-mini-feature-card .dbpb-template-card-copy {
  margin: 0;
  font-size: 0.9rem;
}

.dbpb-template-section--artist-storefront {
  background: #e9e1d3;
}

.dbpb-template-storefront-shell {
  position: relative;
  width: min(100%, 72rem);
  overflow: hidden;
  margin-inline: auto;
  padding: clamp(2rem, 6cqi, 4.5rem);
  border: 1px solid var(--dbpb-accent);
  border-radius: 9px;
  background: #252523;
  box-shadow: 0 1.7rem 3.8rem rgb(23 23 23 / 17%);
}

.dbpb-template-storefront-shell::after {
  position: absolute;
  top: -42%;
  right: -12%;
  width: min(48cqi, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgb(176 138 72 / 30%);
  border-radius: 50%;
  background: rgb(176 138 72 / 10%);
  content: "";
}

.dbpb-template-storefront-copy {
  position: relative;
  z-index: 1;
  max-width: 55rem;
}

.dbpb-template-section--artist-storefront .dbpb-template-section-title,
.dbpb-template-section--artist-storefront .dbpb-template-section-intro,
.dbpb-template-section--artist-storefront .dbpb-template-section-copy,
.dbpb-template-section--artist-storefront .dbpb-template-storefront-list li,
.dbpb-template-section--artist-storefront .dbpb-template-storefront-statement {
  color: #f7f3eb;
}

.dbpb-template-storefront-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.4rem;
}

.dbpb-template-storefront-statement {
  margin: 1.5rem 0;
  font-size: clamp(1.2rem, 2.5cqi, 1.65rem);
  font-weight: 800;
}

.dbpb-template-section--artist-audience {
  background: #f7f3eb;
}

.dbpb-template-audience-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6cqi, 5rem);
  margin-top: 2rem;
}

.dbpb-template-audience-main {
  min-width: 0;
  max-width: 58ch;
  grid-column: 2;
  grid-row: 1;
}

.dbpb-template-audience-panel {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0;
  box-shadow: none;
}

.dbpb-template-audience-panel .dbpb-template-panel-mark {
  color: var(--dbpb-accent);
}

.dbpb-template-audience-panel .dbpb-template-panel-closing {
  color: var(--dbpb-ink);
}

.dbpb-template-audience-card {
  min-width: 0;
  padding: clamp(1.5rem, 3cqi, 2.5rem);
  border: 1px solid #e0d8c9;
  border-radius: 9px;
  background: #fff;
}

.dbpb-template-audience-card--dark {
  border-color: var(--dbpb-accent);
  background: #252523;
}

.dbpb-template-audience-card--dark .dbpb-template-card-title {
  color: #fff;
}

.dbpb-template-audience-card--dark .dbpb-template-card-copy,
.dbpb-template-audience-card--dark .dbpb-template-audience-list li {
  color: rgb(247 243 235 / 78%);
}

.dbpb-template-audience-card--dark .dbpb-template-step-number {
  color: #d1ad6d;
}

.dbpb-template-audience-main > .dbpb-template-section-copy {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--dbpb-accent);
  color: var(--dbpb-ink);
  font-weight: 700;
}

.dbpb-template-section--question-cards {
  background: #fff;
}

.dbpb-template-question-inner > .dbpb-template-section-title {
  margin-bottom: 2rem;
}

.dbpb-template-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.dbpb-template-question-card {
  min-width: 0;
  padding: clamp(1.35rem, 3cqi, 2.4rem);
  border: 1px solid #e0d8c9;
  border-radius: 9px;
  background: #fff;
}

.dbpb-template-question-card:nth-child(even) {
  border-color: rgb(176 138 72 / 55%);
  background: #f7f3eb;
}

.dbpb-template-section--artist-closing {
  background: #20201e;
  color: #f7f3eb;
  text-align: center;
}

.dbpb-template-section--artist-closing .dbpb-template-eyebrow,
.dbpb-template-section--artist-closing .dbpb-template-cta-title,
.dbpb-template-section--artist-closing .dbpb-template-section-copy,
.dbpb-template-section--artist-closing .dbpb-template-emphasis {
  color: #fff;
}

.dbpb-template-section--artist-closing .dbpb-template-emphasis {
  max-width: 50ch;
  margin: 1rem auto;
  font-size: clamp(1.15rem, 2.1cqi, 1.55rem);
  font-weight: 800;
}

.dbpb-template-closing-note {
  margin: 1.2rem 0 0;
  color: #d1ad6d;
  font-size: 0.9rem;
  font-weight: 700;
}

/* User-added repeatable image and copy section */
.dbpb-preview-document .dbpb-template-section--repeat-image-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5cqi, 4rem);
  background: #fff;
}

.dbpb-template-repeat-image {
  min-height: 19rem;
  aspect-ratio: 1.25;
}

.dbpb-template-repeat-copy {
  min-width: 0;
}

.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--simple-hero,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-hero,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-hero,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--simple-proof,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--closing-cta,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-closing {
  border-color: var(--dbpb-primary);
}

.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-action {
  border-color: var(--dbpb-primary);
  background: var(--dbpb-primary);
}

.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-eyebrow,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-feature-icon,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-card-number,
.dbpb-preview-document[data-custom-colors="true"] .dbpb-template-step-number {
  color: var(--dbpb-accent);
}

@container dbpb-page (max-width: 780px) {
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--image-checklist,
  .dbpb-preview-document .dbpb-template-section--repeat-image-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-template-section--simple-hero,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--artist-hero {
    gap: 1.4rem;
  }

  .dbpb-template-hero-visual,
  .dbpb-template-feature-visual {
    min-height: 20rem;
  }

  .dbpb-template-section--artist-hero .dbpb-template-hero-visual {
    min-height: 17rem;
  }

  .dbpb-template-section--artist-hero .dbpb-template-phone-frame,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image-placeholder {
    min-height: 15rem;
  }

  .dbpb-template-editorial-grid,
  .dbpb-template-section--soft-reverse .dbpb-template-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-template-section--soft-reverse .dbpb-template-editorial-grid .dbpb-template-editorial-main {
    grid-row: 1;
  }

  .dbpb-template-feature-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dbpb-template-feature-grid--two {
    gap: 0.55rem;
  }

  .dbpb-template-storefront-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-template-collage-image {
    aspect-ratio: 1.65;
  }
}

@container dbpb-page (max-width: 520px) {
  .dbpb-preview-document .dbpb-template-section {
    padding: 2.5rem 1rem;
  }

  .dbpb-template-section--simple-hero,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--artist-hero {
    background: var(--dbpb-soft-surface);
  }

  .dbpb-template-hero-title {
    font-size: clamp(2.2rem, 11cqi, 3.25rem);
  }

  .dbpb-template-actions--badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .dbpb-template-actions--badges .dbpb-template-action {
    min-width: 0;
    padding-inline: 0.45rem;
    font-size: 0.72rem;
  }

  .dbpb-template-phone-frame {
    width: min(62%, 12rem);
    min-height: 18.5rem;
  }

  .dbpb-template-phone-screen .dbpb-template-image,
  .dbpb-template-phone-screen .dbpb-template-image-placeholder {
    min-height: 17.5rem;
  }

  .dbpb-layered-hero-visual {
    min-height: 17rem;
  }

  .dbpb-layered-hero-image {
    min-height: 15rem;
  }

  .dbpb-layered-hero-card {
    width: min(72%, 15rem);
    padding: 0.85rem 0.95rem;
  }

  .dbpb-layered-hero-card .dbpb-template-card-title {
    font-size: 1.15rem;
  }

  .dbpb-layered-hero-card .dbpb-template-card-copy {
    font-size: 0.85rem;
  }

  .dbpb-template-feature-grid--two,
  .dbpb-template-feature-grid--three,
  .dbpb-template-step-grid,
  .dbpb-template-pricing-grid,
  .dbpb-template-audience-grid,
  .dbpb-template-question-grid,
  .dbpb-template-mini-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-template-audience-main {
    grid-column: 1;
    grid-row: 1;
    order: 1;
  }

  .dbpb-template-audience-panel {
    grid-column: 1;
    grid-row: 2;
    order: 2;
  }

  .dbpb-template-feature-item {
    padding: 0.75rem 0.25rem;
  }

  .dbpb-template-pricing-card--upgrade {
    transform: none;
  }

  .dbpb-template-collage-image {
    min-height: 12rem;
    aspect-ratio: 1.1;
  }

  .dbpb-template-section--artist-hero .dbpb-template-phone-frame,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image,
  .dbpb-template-section--artist-hero .dbpb-template-phone-screen .dbpb-template-image-placeholder {
    min-height: 12rem;
  }

  .dbpb-template-footer-links {
    width: 100%;
  }
}

.digital-page-builder .dbpb-template-image-placeholder:focus-visible,
.digital-page-builder .dbpb-template-action:focus-visible {
  outline: 3px solid #806125;
  outline-offset: 2px;
}

/* New template surfaces keep image-backed areas and dark panels readable while custom colours change light surfaces. */
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--simple-hero,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--simple-features,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--simple-story,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-hero,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-intro,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-features,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-checklist,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--layered-pricing,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-hero,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-intro,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-collage,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-editorial,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-editorial-soft,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-audience,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-questions,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--repeat-image-copy {
  border-color: var(--dbpb-primary);
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="gradient"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--simple-story,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--layered-intro,
  .dbpb-template-section--layered-features,
  .dbpb-template-section--layered-checklist,
  .dbpb-template-section--layered-pricing,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-soft,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--artist-questions,
  .dbpb-template-section--repeat-image-copy
) {
  background: linear-gradient(125deg, var(--dbpb-gradient-start), var(--dbpb-gradient-end));
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="solid"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--simple-story,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--layered-intro,
  .dbpb-template-section--layered-features,
  .dbpb-template-section--layered-checklist,
  .dbpb-template-section--layered-pricing,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-soft,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--artist-questions,
  .dbpb-template-section--repeat-image-copy
) {
  background: var(--dbpb-background);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--simple-story,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--layered-intro,
  .dbpb-template-section--layered-features,
  .dbpb-template-section--layered-checklist,
  .dbpb-template-section--layered-pricing,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-soft,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--artist-questions,
  .dbpb-template-section--repeat-image-copy
) :is(
  .dbpb-template-section-title,
  .dbpb-template-hero-title,
  .dbpb-template-hero-lead,
  .dbpb-template-hero-body,
  .dbpb-template-section-copy,
  .dbpb-template-section-intro,
  .dbpb-template-card-title,
  .dbpb-template-card-copy,
  .dbpb-template-panel-title,
  .dbpb-template-panel-copy,
  .dbpb-template-panel-list li,
  .dbpb-template-panel-closing,
  .dbpb-template-editorial-list li,
  .dbpb-template-audience-list li
) {
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--simple-story,
  .dbpb-template-section--layered-hero,
  .dbpb-template-section--layered-intro,
  .dbpb-template-section--layered-features,
  .dbpb-template-section--layered-checklist,
  .dbpb-template-section--layered-pricing,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-soft,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--artist-questions,
  .dbpb-template-section--repeat-image-copy
) .dbpb-template-image-placeholder {
  border-color: var(--dbpb-accent);
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-eyebrow,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-audience-panel .dbpb-template-panel-mark {
  color: var(--dbpb-accent);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-layered-hero-card :is(
  .dbpb-template-card-title,
  .dbpb-template-card-copy
),
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-layered-hero-card .dbpb-template-eyebrow,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-side-panel:not(.dbpb-template-side-panel--light) :is(
  .dbpb-template-panel-title,
  .dbpb-template-panel-copy,
  .dbpb-template-panel-list li,
  .dbpb-template-panel-closing
) {
  color: #fff;
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-layered-hero-card .dbpb-template-eyebrow,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-side-panel:not(.dbpb-template-side-panel--light) .dbpb-template-panel-mark {
  color: var(--dbpb-accent);
}

@container dbpb-page (max-width: 780px) {
  .dbpb-template-audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container dbpb-page (max-width: 520px) {
  .dbpb-template-pricing-additional {
    grid-template-columns: minmax(0, 1fr);
  }

  .dbpb-template-pricing-additional-action {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

@container dbpb-page (max-width: 520px) {
  .dbpb-preview-document .dbpb-template-section--image-cta {
    padding: 0;
  }

  .dbpb-template-image-cta-copy {
    padding: 2.5rem 1rem;
  }
}

/* Responsive frames and retained copy use the classes emitted by the renderer. */
.dbpb-template-section--repeat-image-copy .dbpb-template-repeat-image {
  width: 100%;
  min-width: 0;
  min-height: 19rem;
  aspect-ratio: 1.25;
}

.dbpb-template-section--repeat-image-copy .dbpb-template-repeat-image .dbpb-template-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
}

.dbpb-template-preserved-content {
  display: grid;
  max-width: 72rem;
  gap: 0.6rem;
  margin: 1.4rem auto 0;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--dbpb-accent) 45%, #fff);
  border-radius: 8px;
  background: var(--dbpb-soft-surface);
  color: var(--dbpb-ink);
}

.dbpb-template-preserved-title,
.dbpb-template-preserved-field p {
  margin: 0;
}

.dbpb-template-preserved-title {
  color: var(--dbpb-ink);
  font-size: 0.95rem;
}

.dbpb-template-preserved-field {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dbpb-template-preserved-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--dbpb-muted);
  font-size: 0.75rem;
}

.dbpb-template-preserved-image-slot {
  width: min(100%, 34rem);
  min-height: 12rem;
  aspect-ratio: 1.25;
  cursor: pointer;
}

.dbpb-preserved-inspector-heading {
  margin: 1.1rem 0 0.3rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e4e7ec;
  color: #25344f;
  font-size: 0.95rem;
  font-weight: 700;
}

.dbpb-preview-document:not([data-custom-colors="true"]) .dbpb-template-section:is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) {
  border-color: color-mix(in srgb, var(--dbpb-primary) 28%, #fff);
  background: var(--dbpb-soft-surface);
  color: var(--dbpb-ink);
}

.dbpb-preview-document:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) :is(.dbpb-template-section-title, .dbpb-template-section-copy, .dbpb-template-section-intro, .dbpb-template-card-title, .dbpb-template-card-copy, .is-empty) {
  color: var(--dbpb-ink);
}

.dbpb-preview-document:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) .dbpb-template-image-placeholder {
  border-color: var(--dbpb-accent);
  color: var(--dbpb-ink);
}

.dbpb-preview-document[data-gradient-palette="ocean"]:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: linear-gradient(125deg, #e2f2fb, #cad9f2); }

.dbpb-preview-document[data-gradient-palette="warm"]:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: linear-gradient(125deg, #f7f0e5, #e8dfd1); }

.dbpb-preview-document[data-gradient-palette="meadow"]:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: linear-gradient(125deg, #e8f2e8, #d5e4da); }

.dbpb-preview-document[data-gradient-palette="lavender"]:not([data-custom-colors="true"]) :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: linear-gradient(125deg, #f1eaff, #dce8ff); }

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) {
  border-color: var(--dbpb-primary);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="gradient"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: linear-gradient(125deg, var(--dbpb-gradient-start), var(--dbpb-gradient-end)); }

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"][data-background-mode="solid"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) { background: var(--dbpb-background); }

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] :is(
  .dbpb-template-section--simple-hero,
  .dbpb-template-section--proof-band,
  .dbpb-template-section--simple-features,
  .dbpb-template-section--copy-image,
  .dbpb-template-section--centered-intro,
  .dbpb-template-section--six-features,
  .dbpb-template-section--image-checklist,
  .dbpb-template-section--two-pricing-cards,
  .dbpb-template-section--artist-hero,
  .dbpb-template-section--artist-intro,
  .dbpb-template-section--artist-collage,
  .dbpb-template-section--artist-editorial,
  .dbpb-template-section--artist-editorial-features,
  .dbpb-template-section--artist-audience,
  .dbpb-template-section--question-cards,
  .dbpb-template-section--repeat-image-copy
) :is(.dbpb-template-section-title, .dbpb-template-section-copy, .dbpb-template-section-intro, .dbpb-template-card-title, .dbpb-template-card-copy, .dbpb-template-pricing-title, .dbpb-template-pricing-period, .dbpb-template-pricing-extra, .dbpb-template-preserved-content, .is-empty) {
  color: var(--dbpb-ink);
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] :is(.dbpb-template-eyebrow, .dbpb-template-feature-icon, .dbpb-template-step-number, .dbpb-template-pricing-price, .dbpb-template-preserved-label) {
  color: var(--dbpb-accent);
}

.digital-page-builder :is(
  .dbpb-preview-document[data-custom-colors="true"],
  .dbpb-preview-document[data-custom-colors="false"]
) :is(
  .dbpb-template-section--artist-journey,
  .dbpb-template-storefront-shell,
  .dbpb-template-section--closing-cta,
  .dbpb-template-section--artist-closing,
  .dbpb-template-section--site-footer,
  .dbpb-template-pricing-card--upgrade,
  .dbpb-template-side-panel:not(.dbpb-template-side-panel--light)
) :is(.dbpb-template-section-title, .dbpb-template-cta-title, .dbpb-template-section-copy, .dbpb-template-section-intro, .dbpb-template-card-title, .dbpb-template-card-copy, .dbpb-template-step-closing, .dbpb-template-closing-note, .dbpb-template-pricing-title, .dbpb-template-pricing-price, .dbpb-template-pricing-period, .dbpb-template-pricing-copy, .dbpb-template-pricing-extra, .dbpb-template-panel-title, .dbpb-template-panel-copy, .dbpb-template-panel-list li, .dbpb-template-panel-closing, .dbpb-template-storefront-list li, .dbpb-template-storefront-statement, .dbpb-template-footer-brand, .dbpb-template-footer-note, .dbpb-template-preserved-content, .is-empty) {
  color: #f7f3eb;
}

.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--artist-journey :is(.dbpb-template-eyebrow, .dbpb-template-step-number),
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-side-panel:not(.dbpb-template-side-panel--light) .dbpb-template-panel-mark,
.digital-page-builder .dbpb-preview-document[data-custom-colors="true"] .dbpb-template-section--site-footer .dbpb-template-footer-link {
  color: var(--dbpb-accent);
}

.digital-page-builder .dbpb-preview-document :is(.dbpb-layered-hero-card, .dbpb-template-pricing-card--upgrade) :is(
  .dbpb-template-card-title,
  .dbpb-template-card-copy,
  .dbpb-template-pricing-title,
  .dbpb-template-pricing-price,
  .dbpb-template-pricing-period,
  .dbpb-template-pricing-copy,
  .dbpb-template-pricing-extra,
  .dbpb-template-eyebrow,
  .is-empty
) {
  color: #f7f3eb;
}

.digital-page-builder .dbpb-preview-document :is(.dbpb-layered-hero-card, .dbpb-template-pricing-card--upgrade) .dbpb-template-eyebrow {
  color: var(--dbpb-accent);
}

.digital-page-builder .dbpb-preview-document .dbpb-template-section--artist-journey.dbpb-template-section .is-empty {
  color: #f7f3eb;
}

@container dbpb-page (max-width: 780px) {
  .dbpb-preview-document .dbpb-template-section--repeat-image-copy {
    grid-template-columns: minmax(0, 1fr);
  }
}
