:root {
  --ncp-blue: #2f759f;
}

/*
 * Accessible brand surfaces.
 *
 * Storefront and the GoDaddy customizer emit several of these colors after the
 * child theme stylesheet. Keep the overrides together and load them last so
 * the selected blue is consistent on desktop and mobile.
 */
.site-header,
.site-footer,
.secondary-navigation ul ul,
.main-navigation ul.menu > li.menu-item-has-children::after,
.secondary-navigation ul.menu ul,
.storefront-handheld-footer-bar,
.storefront-handheld-footer-bar ul li > a,
.storefront-handheld-footer-bar ul li.search .site-search,
button.menu-toggle,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button,
.wp-block-button__link:not(.has-background),
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link {
  border-color: var(--ncp-blue) !important;
  background-color: var(--ncp-blue) !important;
}

.site-header,
.site-header a,
.site-header .cart-contents,
.site-header .cart-contents .amount,
.site-header .cart-contents .count,
.storefront-handheld-footer-bar,
.storefront-handheld-footer-bar a,
.site-footer,
.site-footer a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button,
.wp-block-button__link {
  color: #fff !important;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
.widget a.button:hover,
.widget a.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  border-color: var(--ncp-blue-deep) !important;
  background-color: var(--ncp-blue-deep) !important;
  color: #fff !important;
}

body.home .entry-content > p.has-vivid-cyan-blue-background-color,
body.home .entry-content > p:nth-child(4) {
  background: var(--ncp-blue) !important;
}

.site-footer .footer-testimonial-carousel .swiper-slide,
.site-footer .footer-testimonial-carousel .wp-block-coblocks-post-carousel__item {
  background: rgba(0, 0, 0, 0.08) !important;
}

/* Replace legacy bright-blue accents on their owning pages. */
body.home .entry-content > h2:nth-child(2),
body.page-id-142 .entry-content > h2:nth-child(3),
body.page-id-142 .entry-content > :nth-child(5) svg,
body.page-id-142 .entry-content > :nth-child(10) svg,
body.page-id-142 .entry-content > :nth-child(14) svg,
body.page-id-183 .entry-content > h2:first-of-type + h2,
body.page-id-183 .entry-content > .wp-block-coblocks-icon,
body.single-product.postid-1404 table.variations .reset_variations,
body.page-id-180 .wp-block-coblocks-accordion-item summary::after,
body.page-id-956 .entry-content > .wp-block-details summary::after {
  color: var(--ncp-blue) !important;
}

body.page-id-174 .entry-content > h2,
body.page-id-1028 .entry-content > h2.is-style-info,
body.page-id-180 .wp-block-coblocks-accordion-item details[open] summary,
body.page-id-183 .entry-content > p.is-style-info.has-large-font-size,
body.page-id-956 .entry-content > .wp-block-details[open] summary {
  background: var(--ncp-blue) !important;
}

body.page-id-805 .entry-content > h3,
body.page-id-448 .entry-content > p:has(> strong:only-child),
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
body.page-id-510 .entry-content > .wp-block-paragraph,
body.page-id-510 .wpconsent-cookie-service-name,
body.page-id-458 .entry-content > h2,
body.page-id-956 .entry-content > .wpforms-container,
body.page-id-956 #wpforms-953 input:focus,
body.page-id-956 #wpforms-953 textarea:focus,
body.page-id-802 #customer_details input:focus,
body.page-id-802 #customer_details select:focus,
body.page-id-802 #customer_details .select2-container--open .select2-selection,
body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account .woocommerce-form-login input.input-text:focus {
  border-color: var(--ncp-blue) !important;
}
