/* AJC CHAMBERTAIN Style 0.1.2 — restrained, reversible theme overlays.
   No photos, no changes to individual WordPress posts or Google Maps iframe. */
:root,
:root[data-ajc-cs="signature"] {--ajc-cs-bg:#0D0D0E;--ajc-cs-panel:#1B1B1D;--ajc-cs-entry:#29292C;--ajc-cs-fg:#FFFFFF;--ajc-cs-accent:#9E8765;--ajc-cs-border:#393939;}
:root[data-ajc-cs="rose"] {--ajc-cs-bg:#251D25;--ajc-cs-panel:#382B36;--ajc-cs-entry:#493945;--ajc-cs-fg:#FFF4F7;--ajc-cs-accent:#E7B0C0;--ajc-cs-border:#65505D;}
:root[data-ajc-cs="ruby"] {--ajc-cs-bg:#25191D;--ajc-cs-panel:#382329;--ajc-cs-entry:#4A2C33;--ajc-cs-fg:#FFF2EE;--ajc-cs-accent:#DF9CA1;--ajc-cs-border:#64464E;}
:root[data-ajc-cs="sapphire"] {--ajc-cs-bg:#14202F;--ajc-cs-panel:#202F43;--ajc-cs-entry:#2D4057;--ajc-cs-fg:#F7FAFF;--ajc-cs-accent:#BDCEE0;--ajc-cs-border:#445970;}
:root[data-ajc-cs="emerald"] {--ajc-cs-bg:#152520;--ajc-cs-panel:#23382F;--ajc-cs-entry:#30463C;--ajc-cs-fg:#F8F5ED;--ajc-cs-accent:#D6BC8A;--ajc-cs-border:#4A6457;}
/* Venus 1.9: conservative palette applied on theme structural shells only;
   selectors need site verification. Do not recolor iframe or generated post content. */
html[data-ajc-cs] body {background-color:var(--ajc-cs-bg);color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(#page,.site,.site-content,#content,.site-main,#main,.content-area,#primary) {background-color:var(--ajc-cs-bg);color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(.site-header,#masthead,.main-navigation,.site-footer,#colophon) {background-color:var(--ajc-cs-panel);color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(.entry-title,.page-title,.site-title,.entry-header h1,.entry-header h2) {color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(.cg-contact,.cg-profile .cg-contact) {background:var(--ajc-cs-panel);border-color:var(--ajc-cs-border);color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(.cg-profile,.cg-editorial,.cg-features) {color:var(--ajc-cs-fg);}
html[data-ajc-cs] :is(.cg-contact strong,.cg-features a) {color:var(--ajc-cs-accent);}
/* Theme links: targeted site/editorial contexts, not every hyperlink or map. */
html[data-ajc-cs] :is(.entry-content a,.site-footer a,.cg-contact a) {color:var(--ajc-cs-accent);}
html[data-ajc-cs] :is(.entry-content input,.entry-content textarea) {background:var(--ajc-cs-entry);color:var(--ajc-cs-fg);border-color:var(--ajc-cs-border);}
/* Menu inherits Venus top-level styles; plugin styles ONLY its own submenu. */
.ajc-cs-menu {position:relative;}
.ajc-cs-menu .ajc-cs-panel,.ajc-cs-floating-panel {position:absolute!important;z-index:99998;min-width:208px;max-width:min(290px,92vw);padding:6px!important;margin:0!important;list-style:none!important;background:var(--ajc-cs-panel)!important;color:var(--ajc-cs-fg)!important;border:1px solid var(--ajc-cs-border)!important;border-radius:5px;box-shadow:0 12px 25px rgba(0,0,0,.28);left:0;top:100%;}
.ajc-cs-panel[hidden] {display:none!important;}
.ajc-cs-panel .ajc-cs-choice {list-style:none!important;padding:0!important;margin:0!important;float:none!important;width:100%!important;border:0!important;background:transparent!important;}
.ajc-cs-panel .ajc-cs-option {display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;margin:0;cursor:pointer;border:0;border-radius:4px;background:transparent;color:var(--ajc-cs-fg);font:inherit;text-align:left;line-height:1.3;}
.ajc-cs-panel .ajc-cs-option:hover,.ajc-cs-panel .ajc-cs-option:focus-visible,.ajc-cs-panel .ajc-cs-active {background:var(--ajc-cs-entry)!important;outline-offset:1px;}
.ajc-cs-swatch {display:inline-block;width:17px;height:17px;flex:0 0 17px;border:1px solid rgba(128,128,128,.45);border-radius:50%;}
.ajc-cs-swatch--signature{background:#9E8765}.ajc-cs-swatch--rose{background:#E7B0C0}.ajc-cs-swatch--ruby{background:#DF9CA1}.ajc-cs-swatch--sapphire{background:#BDCEE0}.ajc-cs-swatch--emerald{background:#D6BC8A}
.ajc-cs-menu.ajc-cs-open > .ajc-cs-panel {display:block;}
.ajc-cs-shortcode-holder{position:relative;display:inline-block;}
.ajc-cs-shortcode-trigger{cursor:pointer;padding:7px 12px;border:1px solid var(--ajc-cs-border);color:var(--ajc-cs-fg);background:var(--ajc-cs-panel);border-radius:4px;}
@media(max-width:767px){.ajc-cs-menu .ajc-cs-panel{position:relative!important;top:auto!important;left:auto!important;box-shadow:none;max-width:100%;}.ajc-cs-panel .ajc-cs-option{min-height:44px;}}

/* 0.1.1: Venus colour application fix. The initial 0.1.0 changed variables
   but its low-priority selectors did not visibly override Venus backgrounds.
   Only an explicitly selected alternative palette takes priority; Signature
   leaves the site's original appearance untouched. Do not style iframe maps. */
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #wrapper,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #page,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #content,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #main,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #primary,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .wrapper,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site-content,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site-main,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .content-area,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .main-content,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .main-wrapper,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .page-wrapper,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .container-wrap,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .content-wrapper,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .post,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body article {
    background-color:var(--ajc-cs-bg)!important;
    color:var(--ajc-cs-fg)!important;
}
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body header.site-header,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #masthead,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #header,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .header,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site-header,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .main-navigation,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .navbar,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #colophon,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site-footer,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body #footer {
    background-color:var(--ajc-cs-panel)!important;
    color:var(--ajc-cs-fg)!important;
}
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .entry-title,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .page-title,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .post-title,
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body .site-title {
    color:var(--ajc-cs-fg)!important;
}
/* Safe visual feedback even when a particular theme wrapper uses unknown IDs. */
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body { box-shadow: inset 0 5px 0 var(--ajc-cs-accent)!important; }
/* Interactive selection panel always remains legible. */
html[data-ajc-cs] .ajc-cs-panel {background-color:var(--ajc-cs-panel)!important;color:var(--ajc-cs-fg)!important;}

/* 0.1.2 — targeted cohesive colour surfaces, prompted by 2026-11-15
   desktop screenshots: ruby recoloured only outer gutters, not central
   black editorial content or navy footer. Preserve the CHAMBERTAIN logo
   masthead and map embeds. Keep dark palettes only. */
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body :is(
  #content .entry-content,
  #primary .entry-content,
  .site-content .entry-content,
  .main-content .entry-content,
  .page-content,
  .content-inner,
  .post-content,
  .page-inner,
  .page-content-wrapper,
  .elementor-section-wrap,
  .wp-block-group,
  .wp-block-cover__inner-container
) {background-color:var(--ajc-cs-panel)!important;color:var(--ajc-cs-fg)!important;}
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body :is(
  .footer-widgets,
  .footer-widget-area,
  .footer-widget,
  .footer-top,
  .footer-main,
  .footer-middle,
  #footer-widgets,
  #footer-widget-area,
  #footer-top,
  #footer-main,
  .site-footer .container,
  footer .widget-area,
  .footer-area
) {background-color:var(--ajc-cs-panel)!important;color:var(--ajc-cs-fg)!important;}
html[data-ajc-cs]:not([data-ajc-cs="signature"]) body :is(
  .entry-content input[type="search"],
  .entry-content input[type="text"],
  .entry-content select,
  .entry-content textarea
) {background-color:var(--ajc-cs-entry)!important;color:var(--ajc-cs-fg)!important;}
/* The hero/brand masthead, logo and editorial map iframe are intentionally
   untouched; any hard-coded black custom blocks not matched by these selectors
   require the exact Venus HTML/CSS selector, not blind global recolouring. */
