/* www.peoplesunion.com - the old Crio (BoldGrid) home page, rebuilt.
   Every value below was measured from the live page's computed styles (sandboxed Playwright,
   2026-10-26) at 320-1920px and on an emulated iPhone, and is re-checked by tests/bp.js +
   tests/bpdiff.py. Breakpoints are the old theme's (Bootstrap 3): xs < 768, sm 768-991,
   md 992-1199, lg >= 1200. Quirks of the old theme kept on purpose, because they set the layout:
   - content rows have no gutter below 992px and a 20px side margin from 992px;
   - sections are centred flex columns, so a phone-width container shrinks to its content;
   - between 992 and 1199px the CONTACT box sits in a one-twelfth column (col-md-1) and its
     heading wraps letter by letter, as on the old site (one class in page.php to change);
   - the header shows a menu button below 992px with no menu behind it (decoration here).
   Fonts are self-hosted copies from Google Fonts (not the old server). */

/* Open Sans is declared at 400 only, as on the old site: its bold text (form labels, strong) is
   the browser's synthetic bold, which is narrower than the real bold and sets the line breaks. */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/open-sans.woff2) format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/raleway.woff2) format("woff2"); }

:root {
  --bg: rgb(10, 10, 5);             /* page, header, About, footer */
  --blue: rgb(60, 119, 188);        /* headings, button, menu button lines */
  --slate: rgb(77, 86, 91);         /* Get in touch */
  --grey: rgb(216, 216, 216);       /* Location / Contact strip */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; color: #fff; background: var(--bg);
}
#boldgrid-sticky-wrap { flex: 1 0 auto; display: flex; flex-direction: column; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 0; padding: 8px 12px; z-index: 100; background: #fff; color: #000; }
p { margin: 0 0 10px; }
h1, h2, h4 {
  font-family: Raleway, sans-serif; font-weight: 600; text-transform: uppercase; color: var(--blue);
  overflow-wrap: break-word;
}
h1 { font-size: 49px; line-height: 53.9px; margin: 20px 0 10px; }
h2 { font-size: 40px; line-height: 44px; margin: 20px 0 10px; }
h4 { font-size: 24px; line-height: 26.4px; margin: 10px 0; }
a { color: inherit; text-decoration: none; }
.text-center { text-align: center; }

/* ---- Grid (Bootstrap 3 sizes; rows are flex, as in the old theme) ---- */
.container { margin: 0 auto; padding: 0 15px; max-width: 100%; }
@media (min-width: 768px) { .container { width: 750px; } }
@media (min-width: 992px) { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }
.row { display: flex; flex-wrap: wrap; }
[class*="col-"] { position: relative; min-height: 1px; padding: 0 15px; flex: 0 0 auto; width: 100%; }
.col-xs-12 { width: 100%; }
@media (min-width: 768px) {
  .col-sm-1 { width: 8.33333333%; } .col-sm-4 { width: 33.33333333%; } .col-sm-6 { width: 50%; }
  .col-sm-10 { width: 83.33333333%; } .col-sm-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-md-1 { width: 8.33333333%; } .col-md-2 { width: 16.66666667%; } .col-md-3 { width: 25%; }
  .col-md-5 { width: 41.66666667%; } .col-md-6 { width: 50%; } .col-md-7 { width: 58.33333333%; }
  .col-md-8 { width: 66.66666667%; } .col-md-10 { width: 83.33333333%; } .col-md-12 { width: 100%; }
}
@media (min-width: 1200px) {
  .col-lg-1 { width: 8.33333333%; } .col-lg-2 { width: 16.66666667%; } .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333333%; } .col-lg-5 { width: 41.66666667%; } .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.66666667%; } .col-lg-10 { width: 83.33333333%; } .col-lg-12 { width: 100%; }
}

/* ---- Header: logo on the left, the (empty) menu button on the right ---- */
#masthead { position: relative; display: flex; flex-direction: column; background: var(--bg); }
.site-header .boldgrid-section { display: flex; flex-direction: column; align-items: center; }
.site-header .container { width: 100%; padding: 0 30px; }
.site-header [class*="col-"] { padding: 0; }
.site-branding { display: flex; flex-direction: column; align-items: flex-start; padding: 0 15px; }
.custom-logo-link { display: block; margin: 15px 0; }
.custom-logo { display: block; width: 300px; max-width: 100%; height: auto; }
#main-wrap { display: flex; justify-content: flex-end; height: 100%; }
/* The old header kept its phone padding up to 768px inclusive (one px past the grid's 767). */
@media (min-width: 769px) {
  .site-header .container { width: 750px; padding: 0 15px; }
  .site-header .h47 { padding: 0 0 0 15px; margin: 0 -15px 0 15px; }
  .site-header .h48 { padding: 0 15px 0 0; margin: 0 15px 0 -15px; }
  .site-branding { padding: 0; }
}
@media (min-width: 992px) { .site-header .container { width: 970px; } }
@media (min-width: 1200px) { .site-header .container { width: 1170px; } }

.main-menu-btn { display: flex; justify-content: center; align-items: center; padding: 6px 3px 3px; }
.hamburger { width: 70px; height: 60px; padding: 15px; }
.hamburger-box { position: relative; display: block; width: 40px; height: 24px; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  position: absolute; left: 0; width: 40px; height: 4px; border-radius: 4px; background: var(--blue); content: "";
}
.hamburger-inner { bottom: 0; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { top: -20px; }
@media (min-width: 768px) { .main-menu-btn { margin-top: -14px; } }
@media (min-width: 992px) { .main-menu-btn { display: none; } }

/* ---- Content ---- */
.site-content { display: flex; flex-direction: column; font: 16px/25.6px "Open Sans", sans-serif; }
.site-content .boldgrid-section { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; }
.site-content .row, .site-content [class*="col-"] { min-height: 30px; }
@media (min-width: 992px) { .site-content .row { margin: 0 20px; } }

.sec-hero { background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/hero.jpg) 50% 50% / cover; }
.sec-hero > .container { width: 100%; }
@media (min-width: 768px) { .sec-hero > .container { width: 750px; } }
@media (min-width: 992px) { .sec-hero > .container { width: 970px; } }
@media (min-width: 1200px) { .sec-hero > .container { width: 1170px; } }
.row-hero { padding-top: 120px; }
.hero-title {
  text-align: center; color: #fff;
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 3px, rgba(0, 0, 0, 0.1) 0 8px 13px, rgba(0, 0, 0, 0.1) 0 18px 23px;
}
.row-hero-foot { padding: 25px 0 90px; }

.row-about { padding: 45px 0; }
.sec-about h2 { text-align: center; }
.about-note { text-align: center; text-decoration: underline; }

.sec-contact { background: var(--slate); }
.row-contact { padding-top: 60px; }
.sec-contact h2 { color: #fff; }
.row-contact-foot { padding-top: 60px; }

/* ---- Contact form: WPForms (classic) look, centred ---- */
.wpforms-container { margin: 24px 0; }
.wpforms-form { position: relative; }
.wpforms-field { padding: 5px 0; }
.wpforms-field-label { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 20.8px; }
.wpforms-required-label { font-weight: 400; }
.wpforms-form input, .wpforms-form textarea {
  display: block; width: 100%; margin: 0; padding: 6px 10px; border: 1px solid #ccc; border-radius: 2px;
  background: #fff; color: rgb(51, 51, 51); font: 16px/20.8px "Open Sans", sans-serif;
}
.wpforms-form textarea.wpforms-field-small { height: 70px; min-height: 38px; resize: vertical; }
.wpforms-form input:focus, .wpforms-form textarea:focus { outline: none; border-color: #999; }
.wpforms-form input.wpforms-error, .wpforms-form textarea.wpforms-error { border: 1px solid #c00; }
.wpforms-form label.wpforms-error { display: block; margin-top: 4px; color: #fff; font-size: 15px; line-height: 1.3; }
.wpforms-recaptcha-container { padding: 10px 0 20px; }
.wpforms-submit-container { position: relative; padding: 10px 0 0; }
.wpforms-submit {
  display: inline-block; height: 40px; padding: 0 40px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--blue); color: #fff; font: 16px/40px "Open Sans", sans-serif; vertical-align: middle;
}
.wpforms-submit:hover, .wpforms-submit:focus { filter: brightness(0.9); }
.wpforms-submit:disabled { opacity: 0.7; cursor: wait; }
.wpforms-status { margin: 12px 0 0; color: #fff; font-size: 15px; line-height: 1.3; }
.wpforms-status--invalid { display: none; }
/* WPForms replaces the form with its confirmation box. */
.wpforms-status--sent { margin: 24px auto; padding: 15px; border: 1px solid #b4d39b; background: #e0ffc7; color: rgb(51, 51, 51); font-size: 16px; line-height: 1.5; }

/* ---- Location / Contact strip ---- */
.sec-location { background: var(--grey); color: #000; }
.row-location { padding-top: 45px; }
.row-location-foot { padding-top: 45px; }
.bg-box { padding: 16px; }
.bg-box-contact strong { font-weight: 700; }

/* ---- Footer ---- */
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 0 0 1px; background: var(--bg); }
.site-footer .container { width: auto; }
@media (min-width: 768px) { .site-footer .container { width: 750px; } }
@media (min-width: 992px) { .site-footer .container { width: 970px; } }
@media (min-width: 1200px) { .site-footer .container { width: 1170px; } }
.footer-copy { margin: 0; padding: 25px 20px 39px; }
.footer-copy span { display: block; font: 16px/25.6px "Open Sans", sans-serif; text-align: center; }
