/* PhotoAction shared palette. Edit values here to change the linked staging pages.
   Keep text and background colours sufficiently different for readability.
   Image-viewer controls and purchase/status colours remain independent. */
:root {
  --pa-page: #131e29;
  --pa-header-start: #253746;
  --pa-header-end: #344c60;
  --pa-header-border: #657b8d;
  --pa-panel: #1c2a37;
  --pa-panel-muted: #233442;
  --pa-border: #526477;
  --pa-divider: #53697a;
  --pa-heading: #f2f4f7;
  --pa-text: #7a9ebd;
  --pa-muted: #c7d3dd;
  --pa-link: #a5def3;
  --pa-button: #8597a3;
  --pa-accent: #ff9a9e;
  --pa-dialog-header: #162431;
  --pa-dialog-text: #f5f7fa;
  --pa-title-tint: rgba(23,47,64,.06);
  --pa-title-border: rgba(23,47,64,.3);
}

:is(#pa-new,#pa-archive,#pa-about,#pa-portfolio,#pa-contact) .site > footer {
 background:linear-gradient(115deg,var(--pa-header-start),var(--pa-header-end));
 color:var(--pa-heading);border-top:1px solid var(--pa-header-border);
}

/* BEGIN PHOTOACTION THEME EDITOR */
:root {
  --pa-editor-home-archive-panel: #233442;
  --pa-editor-about-intro-text: #d4e3ec;
  --pa-editor-test-gallery-title: #d4e3ec;
  --pa-editor-selected-archive-tab: #d4e3ec;
  --pa-editor-heading-font: "Segoe UI", Arial, sans-serif;
}

#pa-new .bottom {
  background-color: var(--pa-editor-home-archive-panel, #eeeee7) !important;
}

#pa-about .lead {
  color: var(--pa-editor-about-intro-text, #203f50) !important;
}

#pa-archive .staging-gallery strong {
  color: var(--pa-editor-test-gallery-title, #203f50) !important;
}

#pa-archive .browse-modes button[aria-pressed="true"] {
  color: var(--pa-editor-selected-archive-tab, #203f50) !important;
}

#pa-archive .year-picker select {
  background-color: var(--pa-panel, #fffefa) !important;
  color-scheme: dark;
}

:is(#pa-new,#pa-archive,#pa-about,#pa-portfolio,#pa-contact) :is(h1,h2,h3),
body.pa-staging #app-container > header h2#event-title,
body.pa-staging #welcome-boat-overlay > div > div:first-child h2 {
  font-family: var(--pa-editor-heading-font) !important;
}
/* END PHOTOACTION THEME EDITOR */
