/*
Theme Name: Stand Central Bricks Child
Theme URI: https://standcentral.com/
Description: Bricks child theme for Stand Central Bricks test build. Keep site-specific PHP/CSS overrides here rather than editing the Bricks parent theme.
Author: Stand Central
Template: bricks
Version: 0.1.0
Text Domain: standcentral-bricks-child
*/

/* ALFRED FAQ ICON CENTRE FIX 2026-07-03
   Keep FAQ expand/collapse plus/minus visually centred inside circular icon. */
.home .qa summary .pm,
.faq .qa summary .pm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
}

.home .qa summary .pm::after,
.faq .qa summary .pm::after {
  display: block !important;
  width: 1em;
  height: 1em;
  line-height: 0.92 !important;
  text-align: center !important;
  transform: translateY(-1px);
}

/* ALFRED FAQ BAR ICON FIX 2026-07-07
   Replace font glyph +/- with centred CSS bars so the icon is geometrically centred. */
.home .qa summary .pm,
.faq .qa summary .pm {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}

.home .qa summary .pm::after,
.faq .qa summary .pm::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 12px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
  line-height: 0 !important;
}

.home .qa summary .pm::before,
.faq .qa summary .pm::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 2px !important;
  height: 12px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
}

.home .qa[open] summary .pm::before,
.faq .qa[open] summary .pm::before {
  opacity: 0 !important;
}

/* ALFRED FAQ TRUE CENTRE REFINEMENT 2026-07-14
   Use inset border instead of real border so pseudo-bar centre equals circle centre. */
.home .qa summary .pm,
.faq .qa summary .pm {
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1.5px var(--line) !important;
}

.home .qa[open] summary .pm,
.faq .qa[open] summary .pm {
  box-shadow: none !important;
}

.home .qa summary .pm::before,
.home .qa summary .pm::after,
.faq .qa summary .pm::before,
.faq .qa summary .pm::after {
  left: 50% !important;
  top: 50% !important;
}

/* SC_POLICY_PAGE_TITLE_ALIGNMENT_20260714 - align plain policy-page hero titles with the narrower content column. */
.page-id-11 .page-hero {
  padding-top: 32px;
  padding-bottom: 52px;
}
.page-id-11 .page-hero .wrap {
  width: min(100% - 48px, 820px);
  margin-left: auto;
  margin-right: auto;
}
.page-id-11 .page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}
@media (max-width: 767px) {
  .page-id-11 .page-hero { padding-top: 24px; padding-bottom: 36px; }
  .page-id-11 .page-hero .wrap { width: min(100% - 32px, 820px); }
}
