/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

/* ============================================================================
   BrigadeIQ — Design Tokens
   Included in main.css via the objects directory.
   Google Fonts (Poppins + Manrope) are loaded via link tags in base.html head.
   ============================================================================ */

:root {
  /* ---- Typography ---------------------------------------------------------- */
  --bq-font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --bq-font-body:    'Manrope', 'Poppins', system-ui, -apple-system, sans-serif;
  --bq-font-mono:    'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;

  --bq-weight-light:    300;
  --bq-weight-regular:  400;
  --bq-weight-medium:   500;
  --bq-weight-semibold: 600;
  --bq-weight-bold:     700;

  --bq-text-xs:   0.75rem;   /* 12px — badges, captions      */
  --bq-text-sm:   0.875rem;  /* 14px — body default          */
  --bq-text-base: 1rem;      /* 16px                         */
  --bq-text-lg:   1.125rem;  /* 18px — card titles           */
  --bq-text-xl:   1.25rem;   /* 20px                         */
  --bq-text-2xl:  1.5rem;    /* 24px — section headings      */
  --bq-text-3xl:  1.875rem;  /* 30px — page titles           */
  --bq-text-4xl:  2.25rem;   /* 36px                         */
  --bq-text-5xl:  3rem;      /* 48px — hero headline         */

  --bq-leading-tight:   1.2;
  --bq-leading-snug:    1.35;
  --bq-leading-normal:  1.5;
  --bq-leading-relaxed: 1.65;

  --bq-tracking-tight:  -0.02em;
  --bq-tracking-normal: 0;
  --bq-tracking-wide:   0.05em;
  --bq-tracking-wider:  0.08em;

  /* ---- Core surfaces & text ------------------------------------------------ */
  --bq-background:          hsl(210 20% 98%);   /* app canvas — cool gray     */
  --bq-foreground:          hsl(220 13% 13%);   /* near-black charcoal        */
  --bq-card:                hsl(0 0% 100%);     /* white card surface         */
  --bq-card-foreground:     hsl(220 13% 13%);
  --bq-muted:               hsl(214 100% 97%);  /* pale blue tint             */
  --bq-muted-foreground:    hsl(220 10% 40%);   /* secondary / caption text   */
  --bq-border:              hsl(220 13% 85%);
  --bq-input:               hsl(220 13% 85%);
  --bq-ring:                hsl(220 13% 13%);

  /* ---- Primary (near-black charcoal — NOT a blue) -------------------------- */
  --bq-primary:             hsl(220 13% 13%);
  --bq-primary-foreground:  hsl(0 0% 100%);

  /* ---- Secondary / accent (pale blue tint) --------------------------------- */
  --bq-secondary:           hsl(214 100% 97%);
  --bq-secondary-foreground: hsl(220 13% 13%);
  --bq-accent:              hsl(214 100% 97%);
  --bq-accent-foreground:   hsl(220 13% 13%);

  --bq-destructive:         hsl(0 84.2% 60.2%);
  --bq-destructive-foreground: hsl(0 0% 98%);

  /* ---- Brand colours (from the flame logo mark) ---------------------------- */
  --bq-brand-silver:     #c7ccd1;
  --bq-brand-teal:       #1f9d92;
  --bq-brand-green:      #7ac142;
  --bq-brand-green-deep: #377b2b;

  /* ---- Status semantics ---------------------------------------------------- */
  --bq-status-active:        #377b2b;
  --bq-status-reserve:       #007cc3;
  --bq-status-training:      #7ac142;
  --bq-status-inactive:      #374151;
  --bq-status-expired:       #dc2626;
  --bq-status-active-soft:   #eaf3e8;
  --bq-status-reserve-soft:  #e6f2fb;
  --bq-status-training-soft: #f0f8e8;
  --bq-status-inactive-soft: #eef0f3;
  --bq-status-expired-soft:  #fdeaea;

  /* ---- Radius -------------------------------------------------------------- */
  --bq-radius-sm:   0.25rem;
  --bq-radius:      0.375rem;   /* buttons, inputs, badges    */
  --bq-radius-lg:   0.5rem;
  --bq-radius-xl:   0.75rem;    /* cards                      */
  --bq-radius-full: 9999px;     /* avatars, pills             */

  /* ---- Spacing (4px base) -------------------------------------------------- */
  --bq-space-1:  0.25rem;   /* 4px  */
  --bq-space-2:  0.5rem;    /* 8px  */
  --bq-space-3:  0.75rem;   /* 12px */
  --bq-space-4:  1rem;      /* 16px */
  --bq-space-5:  1.25rem;   /* 20px */
  --bq-space-6:  1.5rem;    /* 24px — card padding           */
  --bq-space-8:  2rem;      /* 32px — page gutter            */
  --bq-space-10: 2.5rem;    /* 40px */
  --bq-space-12: 3rem;      /* 48px */
  --bq-space-16: 4rem;      /* 64px — section padding        */
  --bq-space-20: 5rem;      /* 80px */
  --bq-space-24: 6rem;      /* 96px */

  /* ---- Shadows ------------------------------------------------------------- */
  --bq-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --bq-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.10), 0 1px 2px -1px rgb(0 0 0 / 0.10);
  --bq-shadow:    0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --bq-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
  --bq-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);

  /* ---- Motion -------------------------------------------------------------- */
  --bq-ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --bq-duration-fast: 150ms;
  --bq-duration-base: 200ms;
  --bq-duration-slow: 300ms;

  /* ---- Layout -------------------------------------------------------------- */
  --bq-content-max:   80rem;    /* 1280px max content width   */
  --bq-header-height: 4rem;     /* 64px sticky header         */
  --bq-section-py:    var(--bq-space-20); /* default section vertical padding */
}


/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* ============================================================================
   BrigadeIQ — Typography
   Poppins (headings/UI), Manrope (body). Headings use tracking-tight.
   ============================================================================ */

body {
  font-family: var(--bq-font-body);
  font-size: var(--bq-text-sm);
  line-height: var(--bq-leading-normal);
  color: var(--bq-foreground);
  background-color: var(--bq-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

/* Handles word breaking for CJK languages */
html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-family: var(--bq-font-body);
  font-size: var(--bq-text-base);
  line-height: var(--bq-leading-relaxed);
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  color: var(--bq-brand-teal);
  text-decoration: none;
  transition: color var(--bq-duration-fast) var(--bq-ease);
}

a:hover,
a:focus {
  color: var(--bq-brand-green-deep);
  text-decoration: underline;
}

a:active {
  color: var(--bq-primary);
}

/* Headings — Poppins, tight tracking */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--bq-font-heading);
  letter-spacing: var(--bq-tracking-tight);
  font-weight: var(--bq-weight-semibold);
  line-height: var(--bq-leading-tight);
  color: var(--bq-foreground);
  margin: 0 0 1.25rem;
}

h1, .h1 {
  font-size: var(--bq-text-5xl);
  font-weight: var(--bq-weight-bold);
}

h2, .h2 {
  font-size: var(--bq-text-3xl);
  font-weight: var(--bq-weight-bold);
}

h3, .h3 {
  font-size: var(--bq-text-2xl);
  font-weight: var(--bq-weight-semibold);
}

h4, .h4 {
  font-size: var(--bq-text-xl);
  font-weight: var(--bq-weight-semibold);
}

h5, .h5 {
  font-size: var(--bq-text-lg);
  font-weight: var(--bq-weight-semibold);
}

h6, .h6 {
  font-size: var(--bq-text-base);
  font-weight: var(--bq-weight-semibold);
}

/* Lists */

ul, ol {
  margin: 0 0 1.4rem;
  padding-left: 1.5rem;
}

ul ul, ol ul,
ul ol, ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Blockquote */

blockquote {
  border-left: 4px solid var(--bq-brand-teal);
  margin: 0 0 1.4rem;
  padding: var(--bq-space-4) var(--bq-space-6);
  background: var(--bq-secondary);
  border-radius: 0 var(--bq-radius-lg) var(--bq-radius-lg) 0;
  font-family: var(--bq-font-body);
  font-style: italic;
  color: var(--bq-muted-foreground);
}

/* Uppercase tracked eyebrow label */

.bq-eyebrow {
  font-family: var(--bq-font-heading);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: var(--bq-tracking-wider);
  font-weight: var(--bq-weight-semibold);
  color: var(--bq-brand-teal);
}

/* Section label / tag pill */

.bq-section-tag {
  display: inline-block;
  font-family: var(--bq-font-heading);
  font-size: var(--bq-text-xs);
  font-weight: var(--bq-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--bq-tracking-wider);
  color: var(--bq-brand-teal);
  background: var(--bq-secondary);
  border: 1px solid hsl(214 60% 90%);
  border-radius: var(--bq-radius-full);
  padding: var(--bq-space-1) var(--bq-space-3);
  margin-bottom: var(--bq-space-4);
}

/* Responsive typography */

@media (max-width: 767px) {
  h1, .h1 { font-size: var(--bq-text-4xl); }
  h2, .h2 { font-size: var(--bq-text-2xl); }
  h3, .h3 { font-size: var(--bq-text-xl); }
}
/* ============================================================================
   BrigadeIQ — Buttons
   Base styles + BrigadeIQ variants. Default = charcoal primary (not blue).
   ============================================================================ */

button,
.button,
.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bq-space-2);
  white-space: nowrap;
  font-family: var(--bq-font-heading);
  font-weight: var(--bq-weight-medium);
  font-size: var(--bq-text-sm);
  line-height: 1;
  border-radius: var(--bq-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--bq-duration-fast) var(--bq-ease),
    color var(--bq-duration-fast) var(--bq-ease),
    border-color var(--bq-duration-fast) var(--bq-ease),
    filter var(--bq-duration-fast) var(--bq-ease);
  padding: 0.625rem 1.25rem;
  min-height: 2.375rem;
}

/* Primary — near-black charcoal */

.button,
.hs-button,
button.button--primary {
  background-color: var(--bq-primary);
  color: var(--bq-primary-foreground);
  border-color: var(--bq-primary);
}

.button:hover,
.hs-button:hover,
.button:focus,
.hs-button:focus,
button.button--primary:hover,
button.button--primary:focus {
  background-color: hsl(220 13% 20%);
  border-color: hsl(220 13% 20%);
  color: var(--bq-primary-foreground);
  text-decoration: none;
}

.button:active,
.hs-button:active {
  filter: brightness(0.9);
}

/* Teal CTA variant */

.button--teal {
  background-color: var(--bq-brand-teal);
  color: #fff;
  border-color: var(--bq-brand-teal);
}

.button--teal:hover,
.button--teal:focus {
  background-color: #187d74;
  border-color: #187d74;
  color: #fff;
  text-decoration: none;
}

/* Outline variant */

.button--outline {
  background-color: transparent;
  color: var(--bq-foreground);
  border-color: var(--bq-border);
  box-shadow: var(--bq-shadow-xs);
}

.button--outline:hover,
.button--outline:focus {
  background-color: var(--bq-secondary);
  color: var(--bq-foreground);
  text-decoration: none;
}

/* Secondary / ghost */

.button--secondary {
  background-color: var(--bq-secondary);
  color: var(--bq-foreground);
  border-color: hsl(214 60% 90%);
}

.button--secondary:hover,
.button--secondary:focus {
  background-color: hsl(214 80% 93%);
  text-decoration: none;
}

.button--ghost {
  background-color: transparent;
  color: var(--bq-foreground);
  border-color: transparent;
}

.button--ghost:hover,
.button--ghost:focus {
  background-color: var(--bq-secondary);
  text-decoration: none;
}

/* Sizes */

.button--sm {
  font-size: var(--bq-text-xs);
  padding: 0.375rem 0.875rem;
  min-height: 2rem;
}

.button--lg {
  font-size: var(--bq-text-base);
  padding: 0.75rem 1.75rem;
  min-height: 2.75rem;
  border-radius: var(--bq-radius-lg);
}

/* Disabled */

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: var(--bq-border);
  border-color: var(--bq-border);
  color: var(--bq-muted-foreground);
  cursor: not-allowed;
  pointer-events: none;
}

/* No-button reset */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
  min-height: unset;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}


/* ==========================================================================
   BrigadeIQ — Header overrides for the global partial
   ========================================================================== */

/* Sticky header shell */
.bq-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid hsl(220 13% 85%);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Remove default DND padding inside header */
.bq-header .dnd-section {
  padding: 0 !important;
}

.bq-header .row-fluid {
  max-width: none;
}

/* Inner container row */
.bq-header .header__container {
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 0 2rem;
  max-width: 80rem;
  margin: 0 auto;
  gap: 1.5rem;
}

/* Logo area */
.bq-header__logo-wrap {
  flex-shrink: 0;
  margin-right: auto;
}

.bq-header__logo-wrap .header__logo {
  margin-right: 0;
}

/* Nav area — stretch to fill, right-aligned */
.bq-header__nav-wrap {
  display: flex;
  align-items: center;
}

/* Override boilerplate nav styles for BrigadeIQ */
.bq-header .menu__link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(220 13% 13%);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 150ms ease;
}

.bq-header .menu__link:hover,
.bq-header .menu__link:focus {
  background-color: hsl(214 100% 97%);
  color: hsl(220 13% 13%);
  text-decoration: none;
}

.bq-header .menu__link--active-link {
  color: #1f9d92;
}

/* Dropdown */
.bq-header .menu__submenu {
  border: 1px solid hsl(220 13% 85%);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 0.5rem;
  background: #fff;
}

.bq-header .menu__submenu .menu__link {
  border-radius: 0.5rem;
}

/* CTA actions area */
.bq-header__actions-area {
  flex-shrink: 0;
}

.bq-header__actions-area .dnd-section {
  padding: 0 !important;
}

.bq-header__cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Mobile: tighten padding */
@media (max-width: 767px) {
  .bq-header .header__container {
    padding: 0 1rem;
  }
}


/* ==========================================================================
   BrigadeIQ — Mobile optimisation overrides
   ========================================================================== */

/* ---- Header: keep CTA buttons compact and inline on mobile -------------- */

@media (max-width: 767px) {

  /* The DND actions area row should not stack */
  .bq-header__actions-area .row-fluid {
    flex-wrap: nowrap !important;
    align-items: center;
  }

  .bq-header__actions-area .row-fluid .span12 {
    width: auto !important;
    min-width: 0;
  }

  /* CTA group — stay side by side, shrink text */
  .bq-header__cta-group {
    flex-wrap: nowrap;
    gap: 0.375rem;
  }

  .bq-header__cta-group .button {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
    min-height: 1.875rem;
    white-space: nowrap;
  }

  /* Header inner: tighten gap on mobile */
  .bq-header .header__container {
    gap: 0.5rem;
    padding: 0 0.75rem;
    min-height: 3.5rem;
  }

  /* Logo: smaller on mobile */
  .bq-header__logo-wrap .header__logo img {
    max-height: 2rem;
    width: auto;
  }

  /* Nav wraps below header row on mobile */
  .bq-header__nav-wrap {
    display: none;
  }

  /* Mobile menu accordion styling */
  .header__navigation {
    background: var(--bq-card);
    border-top: 1px solid var(--bq-border);
    padding: 0.5rem 0;
  }

  .menu__link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bq-foreground) !important;
    padding: 0.625rem 1rem !important;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu__child-toggle-icon {
    border-top-color: var(--bq-muted-foreground) !important;
  }

  .menu__submenu .menu__link {
    font-size: 0.875rem;
    color: var(--bq-muted-foreground) !important;
    padding-left: 1.5rem !important;
  }

}

/* ---- Hero: tighter mobile sizing ---------------------------------------- */

@media (max-width: 767px) {

  .bq-hero--pad-lg { padding: 2.5rem 0 !important; }
  .bq-hero--pad-md { padding: 2rem 0 !important; }
  .bq-hero--pad-xl { padding: 3rem 0 !important; }

  .bq-hero__headline--xl { font-size: 2rem !important; }
  .bq-hero__headline--lg { font-size: 1.75rem !important; }
  .bq-hero__headline--md { font-size: 1.5rem !important; }

  .bq-hero__sub {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .bq-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .bq-hero__ctas .button--lg {
    width: 100%;
    justify-content: center;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
  }

}

/* ---- Feature cards: single column on mobile ----------------------------- */

@media (max-width: 767px) {

  .bq-section {
    padding: 2.5rem 0 !important;
  }

  .bq-features__header {
    margin-bottom: 1.75rem;
  }

  .bq-features__heading {
    font-size: 1.5rem !important;
  }

  .bq-features__card {
    padding: 1.25rem;
  }

}

/* ---- Content split: full-width text on mobile --------------------------- */

@media (max-width: 767px) {

  .bq-split__heading {
    font-size: 1.5rem !important;
  }

  .bq-split__media {
    order: -1; /* image above text on mobile */
  }

  .bq-split--img-left .bq-split__media,
  .bq-split--img-right .bq-split__media {
    order: -1;
  }

}

/* ---- Pricing: stack cards on mobile ------------------------------------- */

@media (max-width: 767px) {

  .bq-pricing__card--highlighted {
    transform: none !important;
  }

  .bq-pricing__amount {
    font-size: 2rem !important;
  }

  .bq-pricing__toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

}

/* ---- Container: tighter mobile padding ---------------------------------- */

@media (max-width: 767px) {

  .bq-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}