/* PCMM site-wide look: the home page style on every other page, post and archive.
   Scoped to body.pcmm-theme. Switch off in Home Page > General. Colors and photo come from the Background tab. */
body.pcmm-theme{
  --global-palette1:#dca43c;--global-palette2:#f0c566;--global-palette3:#dca43c;--global-palette4:#f4eef9;
  --global-palette5:#d8cbe8;--global-palette6:#8f7aae;--global-palette7:#2a1450;--global-palette8:#190a2e;--global-palette9:#190a2e;
  --pcmm-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104'%3E%3Cg fill='none' stroke='%23dca43c' stroke-opacity='.22' stroke-width='1'%3E%3Ccircle cx='-30' cy='-52' r='60'/%3E%3Ccircle cx='30' cy='-52' r='60'/%3E%3Ccircle cx='90' cy='-52' r='60'/%3E%3Ccircle cx='-60' cy='0' r='60'/%3E%3Ccircle cx='0' cy='0' r='60'/%3E%3Ccircle cx='60' cy='0' r='60'/%3E%3Ccircle cx='120' cy='0' r='60'/%3E%3Ccircle cx='-30' cy='52' r='60'/%3E%3Ccircle cx='30' cy='52' r='60'/%3E%3Ccircle cx='90' cy='52' r='60'/%3E%3Ccircle cx='-60' cy='104' r='60'/%3E%3Ccircle cx='0' cy='104' r='60'/%3E%3Ccircle cx='60' cy='104' r='60'/%3E%3Ccircle cx='120' cy='104' r='60'/%3E%3Ccircle cx='-30' cy='156' r='60'/%3E%3Ccircle cx='30' cy='156' r='60'/%3E%3Ccircle cx='90' cy='156' r='60'/%3E%3C/g%3E%3C/svg%3E");
  position:relative;isolation:isolate;background:var(--pcmm-base,#190a2e) !important;color:#f4eef9}

/* One stable photo + overlay, and one continuous flower of life pattern across the whole page */
body.pcmm-theme::before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-3;pointer-events:none;
  background-image:var(--pcmm-overlay,none),var(--pcmm-photo,none);background-size:cover;background-position:center;background-repeat:no-repeat}
body.pcmm-theme::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none;background-image:var(--pcmm-pattern)}

body.pcmm-theme #wrapper,body.pcmm-theme .site,body.pcmm-theme #inner-wrap,body.pcmm-theme #primary,
body.pcmm-theme #main,body.pcmm-theme .content-area,body.pcmm-theme .site-main{background:transparent !important}

/* Page title band */
body.pcmm-theme .entry-hero .entry-hero-container-inner,body.pcmm-theme .page-hero-section .entry-hero-container-inner{background:rgba(var(--pcmm-panel-rgb,25,10,46),.6) !important;border-bottom:1px solid #dca43c}
body.pcmm-theme .entry-hero .hero-section-overlay{display:none}

/* Content boxes */
body.pcmm-theme .content-bg,body.pcmm-theme article.entry.content-bg,body.pcmm-theme .comments-area,body.pcmm-theme .widget-area .widget{
  background:var(--pcmm-panel,rgba(25,10,46,.8)) !important;border:1px solid #dca43c;border-radius:6px;box-shadow:none}

/* Type */
body.pcmm-theme .entry-content,body.pcmm-theme .entry-content p,body.pcmm-theme .entry-content li,body.pcmm-theme .entry-meta,body.pcmm-theme .site-main{color:#f4eef9}
body.pcmm-theme h1,body.pcmm-theme h2,body.pcmm-theme h3,body.pcmm-theme h4,body.pcmm-theme h5,body.pcmm-theme h6,
body.pcmm-theme .entry-title,body.pcmm-theme .page-title{font-family:"Times New Roman",Georgia,serif !important;font-style:italic;font-weight:700;color:#dca43c !important}
body.pcmm-theme #main a:not(.wp-block-button__link):not(.kb-button):not(.button):not([href^="sms:"]){color:#f0c566}
body.pcmm-theme #main a:not(.wp-block-button__link):not(.kb-button):not(.button):not([href^="sms:"]):hover{color:#fff}

/* Gold buttons everywhere */
body.pcmm-theme .wp-block-button__link,body.pcmm-theme .wp-element-button,body.pcmm-theme .kb-button,body.pcmm-theme a.button,
body.pcmm-theme button.button,body.pcmm-theme input[type=submit],body.pcmm-theme button[type=submit]{
  background:#dca43c !important;color:#190a2e !important;border:2px solid #dca43c !important;border-radius:14px !important;
  text-transform:uppercase;letter-spacing:.2em;font-size:.85rem;font-weight:700;padding:16px 40px;box-shadow:none !important;text-decoration:none;transition:background .25s,border-color .25s}
body.pcmm-theme .wp-block-button__link:hover,body.pcmm-theme .wp-element-button:hover,body.pcmm-theme .kb-button:hover,body.pcmm-theme a.button:hover,
body.pcmm-theme input[type=submit]:hover,body.pcmm-theme button[type=submit]:hover{background:#f0c566 !important;border-color:#f0c566 !important;color:#190a2e !important}

/* Forms */
body.pcmm-theme input[type=text],body.pcmm-theme input[type=email],body.pcmm-theme input[type=tel],body.pcmm-theme input[type=url],
body.pcmm-theme input[type=number],body.pcmm-theme input[type=search],body.pcmm-theme input[type=password],body.pcmm-theme textarea,body.pcmm-theme select{
  background:#240f42 !important;color:#f4eef9 !important;border:1px solid #dca43c !important;border-radius:8px}
body.pcmm-theme ::placeholder{color:#b9a8d3;opacity:1}

/* Tables, quotes, rules */
body.pcmm-theme .entry-content table td,body.pcmm-theme .entry-content table th{border-color:rgba(220,164,60,.35)}
body.pcmm-theme blockquote{border-left:3px solid #dca43c;color:#f4eef9}
body.pcmm-theme hr,body.pcmm-theme .wp-block-separator{border-color:rgba(220,164,60,.45) !important}

/* Trustindex stays readable on its own white card */
body.pcmm-theme .ti-widget{background:#fff;color:#222;border-radius:12px}

/* Footer */
body.pcmm-theme #colophon,body.pcmm-theme .site-footer,body.pcmm-theme .site-footer .site-footer-row-container-inner{background:#150a2a !important;color:#dca43c}
body.pcmm-theme .site-footer a{color:#f0c566}

/* Shorter title banner on inner pages */
body.pcmm-theme .entry-hero.page-hero-section .entry-header,
body.pcmm-theme .entry-hero .hero-container{min-height:0 !important;height:auto !important}
body.pcmm-theme .entry-hero.page-hero-section .entry-header{padding-top:34px !important;padding-bottom:34px !important}
body.pcmm-theme .entry-hero .entry-title{margin:0 !important}

/* Images placed in page content (maps, photos) are centered with room around them */
body.pcmm-theme .entry-content figure.wp-block-image{margin:44px auto !important;text-align:center;display:table;max-width:100%}
body.pcmm-theme .entry-content figure.wp-block-image img{display:block;margin:0 auto;max-width:100%;height:auto}

/* Service Area page: the list of places becomes the same gold pill buttons as the home page */
body.pcmm-areas-page .entry-content ul.wp-block-list{list-style:none !important;margin:28px auto !important;padding:0 !important;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;text-align:center;max-width:800px}
body.pcmm-areas-page .entry-content ul.wp-block-list li{list-style:none !important;border:1px solid #dca43c;color:#f0c566;padding:8px 22px !important;border-radius:999px;letter-spacing:.06em;margin:0 !important;text-align:center}
body.pcmm-areas-page .entry-content ul.wp-block-list li::marker{content:none}
body.pcmm-areas-page .entry-content > p{text-align:center}

/* Service Area page city buttons: gold with purple text */
body.pcmm-areas-page .entry-content ul.wp-block-list li{background:#dca43c;border-color:#dca43c;color:#190a2e !important;font-weight:700}
