/*
Theme Name: baseMSP
Theme URI: https://basemsp.co.uk/
Author: baseMSP LTD
Author URI: https://basemsp.co.uk/
Description: Bespoke WordPress theme for baseMSP managed IT support and Microsoft 365 services.
Version: 1.24.11
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: basemsp
*/

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: #ffffff;
}

.bm-anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: 92px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Shared-header safeguard. Contact remains available in the top bar and primary
   navigation, leaving the free review as the only highlighted header action. */
#basemsp-accessible-homepage .bmc-header-actions .bmc-contact-cta,
#basemsp-accessible-homepage .bmc-mobile-panel .bmc-mobile-contact {
  display: none !important;
}

/* Location heroes are informational entry points. Their conversion actions
   remain in the body and final section rather than competing with the title. */
#basemsp-accessible-homepage.bm-location-page .bm-location-hero .bm-actions {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/*
 * Shared content primitives used by every bespoke page template.
 * Keeping these here prevents new templates from redefining buttons, links
 * and content widths differently from the established site system.
 */
#basemsp-accessible-homepage,
#basemsp-accessible-homepage button,
#basemsp-accessible-homepage input,
#basemsp-accessible-homepage select,
#basemsp-accessible-homepage textarea {
  font-family: "Manrope","Segoe UI",sans-serif;
}

#basemsp-accessible-homepage * { box-sizing: border-box; }
#basemsp-accessible-homepage .bm-shell { width: min(1180px,calc(100% - 48px)); margin: 0 auto; }

#basemsp-accessible-homepage .bm-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 35px;
}

#basemsp-accessible-homepage .bm-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  color: #ffffff;
  background: #019fdb;
  box-shadow: 0 13px 34px rgba(1,159,219,.22);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .22s ease,box-shadow .22s ease;
}

#basemsp-accessible-homepage .bm-button:hover,
#basemsp-accessible-homepage .bm-button:focus-visible {
  color: #ffffff;
  background: #007eae;
  box-shadow: 0 16px 38px rgba(1,159,219,.3);
}

#basemsp-accessible-homepage .bm-text-link,
#basemsp-accessible-homepage .bm-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007eae;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color .22s ease;
}

#basemsp-accessible-homepage .bm-text-link:hover,
#basemsp-accessible-homepage .bm-text-link:focus-visible,
#basemsp-accessible-homepage .bm-section-link:hover,
#basemsp-accessible-homepage .bm-section-link:focus-visible { color: #019fdb; }

@media (max-width: 760px) {
  #basemsp-accessible-homepage .bm-shell { width: min(100% - 32px,1180px); }
}

.basemsp-content {
  width: min(1180px,calc(100% - 48px));
  min-height: 50vh;
  margin: 0 auto;
  padding: 96px 0;
  color: #073a4d;
  font-family: "Manrope","Segoe UI",sans-serif;
}

@media (max-width: 720px) {
  .basemsp-content {
    width: calc(100% - 32px);
    padding: 64px 0;
  }
}
