/* PCMM header and menu: purple and gold (loads on every page) */
#masthead .site-header-row-container-inner,
#masthead .site-header-upper-inner-wrap,
#masthead .site-main-header-inner-wrap{background:#150a2a}

/* Logo: round crop removes the square box behind the badge, and the header stays compact */
#masthead .site-branding a.brand img,
#masthead .site-branding .custom-logo{border-radius:50%;max-height:84px;width:auto;height:auto}

/* Menu links */
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a,
#masthead .header-navigation ul li.menu-item > a{color:#dca43c;text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;font-weight:600}
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a:hover,
#masthead .header-navigation ul li.menu-item.current-menu-item > a,
#masthead .header-navigation ul li.menu-item.current_page_item > a{color:#f0c566}

/* Dropdown */
#masthead .header-navigation ul ul.sub-menu{background:#190a2e;border:1px solid #dca43c;box-shadow:0 8px 24px rgba(0,0,0,.35)}
#masthead .header-navigation ul ul.sub-menu li.menu-item > a{color:#dca43c;border-bottom:1px solid rgba(220,164,60,.2)}
#masthead .header-navigation ul ul.sub-menu li.menu-item > a:hover{background:#2a1450;color:#f0c566}

/* Book Now button */
#masthead .header-navigation ul li.pcmm-menu-book > a,
.mobile-navigation ul li.pcmm-menu-book > a,
.drawer-nav-drop-wrap ul li.pcmm-menu-book > a{background:#dca43c;color:#190a2e !important;border-radius:12px;padding:.75em 1.5em;margin-left:.6em;font-weight:700;transition:background .2s}
#masthead .header-navigation ul li.pcmm-menu-book > a:hover{background:#f0c566;color:#190a2e}

/* Mobile drawer */
#mobile-drawer .drawer-inner,.popup-drawer .drawer-inner{background:#150a2a}
#mobile-drawer .mobile-navigation li.menu-item > a{color:#dca43c}
.mobile-navigation ul li.pcmm-menu-book > a{display:inline-block;margin:.8em 0 0}

/* Centered logo with the menu centered beneath it (desktop). Turn off in Home Page > General. */
@media(min-width:1025px){
  body.pcmm-center-logo #masthead .site-main-header-inner-wrap{display:flex !important;flex-direction:column;align-items:center;justify-content:center;min-height:0 !important;padding-top:10px;padding-bottom:10px}
  body.pcmm-center-logo #masthead .site-main-header-inner-wrap > div{width:100%;flex:none;display:flex;justify-content:center;align-items:center}
  body.pcmm-center-logo #masthead .site-branding{margin:0 auto;padding:0;justify-content:center;text-align:center}
  body.pcmm-center-logo #masthead .site-branding a.brand{justify-content:center}
  body.pcmm-center-logo #masthead .header-navigation .header-menu-container > ul{justify-content:center}
}

/* Text Us buttons on every page: the same gold button as the home page (Home Page > General to switch off).
   Matches any link that opens a text message, whatever button block made it. */
body.pcmm-style-sms #main a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky),
body.pcmm-style-sms .entry-content a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky){
  display:inline-block !important;padding:16px 40px !important;border:2px solid #dca43c !important;background:#dca43c !important;color:#190a2e !important;
  font-family:"Helvetica Neue",Arial,sans-serif !important;font-size:.85rem !important;font-weight:700 !important;line-height:1.7 !important;
  text-transform:uppercase !important;letter-spacing:.2em !important;text-decoration:none !important;border-radius:14px !important;box-shadow:none !important;
  text-align:center;transition:background .25s,border-color .25s}
body.pcmm-style-sms #main a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky) *,
body.pcmm-style-sms .entry-content a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky) *{color:inherit !important;font:inherit !important;letter-spacing:inherit !important;text-transform:inherit !important}
body.pcmm-style-sms #main a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky):hover,
body.pcmm-style-sms .entry-content a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky):hover{background:#f0c566 !important;border-color:#f0c566 !important;color:#190a2e !important}

/* Every Text Us / Book Now text button is centered, with room above and below (all pages) */
body.pcmm-style-sms #main .entry-content > a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky),
body.pcmm-style-sms #main .entry-content-wrap > a[href^="sms:"]:not(.pcm-btn):not(.pcm-more):not(.pcm-sticky){
  display:table !important;margin:52px auto !important}
body.pcmm-style-sms .entry-content p:has(> a[href^="sms:"]:only-child),
body.pcmm-style-sms .entry-content .wp-block-button:has(> a[href^="sms:"]){text-align:center !important}
body.pcmm-style-sms .entry-content .wp-block-buttons:has(a[href^="sms:"]),
body.pcmm-style-sms .entry-content .kb-buttons-wrap:has(a[href^="sms:"]){justify-content:center !important;text-align:center}
body.pcmm-style-sms .entry-content .kb-btn-global-outer:has(a[href^="sms:"]){justify-content:center !important;display:flex}
