/* 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)
*/



/* 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 HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

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-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

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

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

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

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.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;
}
/* 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;
  }
}
/* 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
*/

{/* 
Header Video Module
  Displays a logo on the left and a call-to-action button on the right with a transparent background.
*/}
<header class="custom-header">
  <div class="custom-header__inner">
    <div class="custom-header__logo">
      <div id="hs_cos_wrapper_site_logo" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_module widget-type-logo" style="" data-hs-cos-general-type="widget" data-hs-cos-type="module" >
  





  <span id="hs_cos_wrapper_site_logo_hs_logo_widget" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_logo" style="" data-hs-cos-general-type="widget" data-hs-cos-type="logo" ><a href="http://www.watter.com"  id="hs-link-site_logo_hs_logo_widget" style="border-width:0px;border:0px;"><img src="https://242834833.fs1.hubspotusercontent-na2.net/hubfs/242834833/Logos/Watter_PrimaryLogotype-02-1.png" class="hs-image-widget "  height="500" style="height: auto;width:1745px;border-width:0px;border:0px;" width="1745" alt="Watter" title="Watter" loading="lazy"></a></span>
</div>
    </div>
    <div class="custom-header__cta">
      <a href="#waitlist" class="custom-header__button">Join the Waitlist</a>
    </div>
  </div>
</header>.custom-header {
  position: relative;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 10;
  background: transparent;
}
.custom-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.custom-header__button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.custom-header__button:hover {
  background-color: rgba(255, 255, 255, 0.35);
}
/* 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;
  }
}


/* Dark Mode Toggle Button */
.toggle {
  z-index: 20;
  background-color: #e5e5e5; /* Light gray background */
  cursor: pointer;
  border-radius: 9999px;
  width: 102px;
  height: 50px;
  padding: 10px 11px;
  display: inline-block;
  position: fixed;
  bottom: 15px;
  left: 24px;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle:hover,
.toggle:focus {
  opacity: 0.8;
  text-decoration: none;
  outline: none;
}

.toggle__inner {
  width: 30px;
  height: 30px;
  background-color: #1a1a1a; /* Dark circle */
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translateX(0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Dark mode state */
.dark-mode .toggle {
  background-color: #333333; /* Dark background when in dark mode */
}

.dark-mode .toggle__inner {
  background-color: #ebeced; /* Light inner circle */
  transform: translateX(41px); /* Slide to the right */
}

/* Mobile responsive */
@media (max-width: 768px) {
  .toggle {
    width: 80px;
    height: 40px;
    padding: 8px 9px;
    bottom: 10px;
    left: 16px;
  }
  
  .toggle__inner {
    width: 24px;
    height: 24px;
  }
  
  .dark-mode .toggle__inner {
    transform: translateX(31px); /* Adjusted for smaller toggle */
  }
}

/* ==============================
   DARK MODE — Tabs & Footer
   ============================== */

/* Tabs Section Dark Mode */
.dark-mode .tabs__content-info div,
.dark-mode .tabs__content-paragraph,
.dark-mode .tabs__content-list-item,
.dark-mode .tabs__content-title,
.dark-mode .tabs__panel-content p {
  color: #ffffff !important;
}

/* Tabs Section Background */
.dark-mode .dnd_area-row-1-background-layers {
  background-image: linear-gradient(rgba(26, 26, 26, 1), rgba(26, 26, 26, 1)) !important;
}

.dark-mode .row-number-3.dnd_area-row-1-padding,
.dark-mode .dnd_area-row-1-background-color {
  background-color: #1a1a1a !important;
}

/* Tabs container borders */
.dark-mode .tabs__menu,
.dark-mode .tabs {
  border-bottom-color: #393939 !important;
}

/* Non-active tab links */
.dark-mode .tabs__link:not(.is-active) {
  color: #ffffff !important;
}
.dark-mode .tabs__link:not(.is-active):hover {
  color: #ffffff !important;
}

/* Active tab link */
.dark-mode .tabs__link.is-active { color: #ffffff !important; }
.dark-mode .tabs__link.is-active:hover { color: #ffffff !important; }

/* Decoration lines on non-active tabs */
.dark-mode .tabs__link:not(.is-active) .decoration-line { background-color: #444444 !important; }
.dark-mode .tabs__link:not(.is-active) .decoration-line-gradient {
  background: linear-gradient(90deg, #444444 0%, transparent 100%) !important;
}

/* Icons */
.dark-mode .icon-292 { filter: invert(1) brightness(0.9) !important; }

/* Tab Panels */
.dark-mode .tabs__panel { background-color: #1a1a1a !important; }
.dark-mode .tabs__panel-inner { background-color: transparent !important; }
.dark-mode .tabs__panel-content > p { color: #cccccc !important; }
.dark-mode .tabs__contents { background-color: #1a1a1a !important; }
.dark-mode .tabs__content-list-item { border-color: #333333 !important; }

/* ==============================
   FOOTER — Inverted in Dark Mode
   ============================== */
html.dark-mode body footer.wtr-footer[style*="background-color"],
html.dark-mode body footer.wtr-footer,
html.dark-mode footer.wtr-footer[style*="background-color"],
html.dark-mode footer.wtr-footer {
  background-color: #ebeced !important;
  background: #ebeced !important;
}
html.dark-mode body .wtr-footer__container,
html.dark-mode .wtr-footer__container { background-color: #ebeced !important; }
html.dark-mode body .wtr-footer__content,
html.dark-mode .wtr-footer__content { background-color: #ebeced !important; }

/* Override HubSpot gradient bg */
html.dark-mode .cell_17543663556782-background-layers {
  background-image: linear-gradient(rgba(235,236,237,1), rgba(235,236,237,1)) !important;
  background-color: #ebeced !important;
}

/* Footer text & assets */
html.dark-mode .wtr-footer__copyright { color: #333333 !important; }
html.dark-mode .wtr-footer__logo-main,
html.dark-mode .wtr-footer__logo--svg { filter: invert(1) brightness(0.8) !important; }
html.dark-mode .wtr-footer__social-icon { filter: invert(1) brightness(0.8) !important; }
html.dark-mode .wtr-footer__social-link--circle .wtr-footer__social-icon { filter: invert(1) brightness(0.8) !important; }
html.dark-mode .wtr-footer__social-link--circle { background-color: #000000; }
html.dark-mode .wtr-footer__cta-btn { background: #333333 !important; color: #ffffff !important; }
html.dark-mode .wtr-footer__cta-btn:before { background: #333333 !important; }
html.dark-mode .wtr-footer__cta-text { color: #ffffff !important; }
html.dark-mode .wtr-footer__social-link:hover .wtr-footer__social-icon,
html.dark-mode .wtr-footer__social-link:focus .wtr-footer__social-icon { filter: invert(1) brightness(0.6) !important; }

/* ==============================
   MOBILE TABS (mtabs-only)
   ============================== */
.dark-mode .mtabs { background-color: #1b1c21 !important; --title-color: #ebeced; --mtabs-text-dark: #ebeced; }
.dark-mode .mtabs .mtabs__contents,
.dark-mode .mtabs .mtabs__panel { background-color: #1b1c21 !important; }
.dark-mode .mtabs .mtabs__panel-inner { background: transparent !important; }
.dark-mode .mtabs .mtabs__content-title,
.dark-mode .mtabs .mtabs__content-info div,
.dark-mode .mtabs .mtabs__content-paragraph,
.dark-mode .mtabs .mtabs__mission-text,
.dark-mode .mtabs .mtabs__panel-content p { color: var(--mtabs-text-dark, #ebeced) !important; }
.dark-mode .mtabs .mtabs-icon { background-color: var(--mtabs-text-dark, #ebeced) !important; }
.dark-mode .mtabs .mtabs__link { color: var(--mtabs-text-dark, #ebeced) !important; background: transparent !important; border: none !important; box-shadow: none !important; }
.dark-mode .mtabs .mtabs__link.is-active { color: var(--mtabs-text-dark, #ebeced) !important; }

/* Underline behavior */
.dark-mode .mtabs .mtabs__link .mtabs-decoration-line { background: #393939 !important; opacity: 1 !important; }
.dark-mode .mtabs .mtabs__link:not(.is-active) .mtabs-decoration-line-gradient { opacity: 0 !important; }
.dark-mode .mtabs .mtabs__link:hover .mtabs-decoration-line-gradient { opacity: 0 !important; }
.dark-mode .mtabs .mtabs__link.is-active .mtabs-decoration-line { opacity: 0 !important; }
.dark-mode .mtabs .mtabs__link.is-active .mtabs-decoration-line-gradient { opacity: 1 !important; }
.dark-mode .mtabs .mtabs__arrow { color: var(--mtabs-text-dark, #ebeced) !important; }
.dark-mode .mtabs .mtabs__arrow[disabled] { color: #ffffff !important; }
.dark-mode .mtabs .mtabs__panel-media { background: transparent !important; }

/* =====================================================
   NEW: BLOG LISTING PAGE — Dark Mode
   Applies to custom module #blog-cards and common wrappers
   ===================================================== */

/* Page & wrappers */
.dark-mode .hs-blog-listing,
.dark-mode .blog-listing,
.dark-mode #blog-cards { background-color: #1b1c21 !important; }

/* Token-driven color system for the cards module */
.dark-mode #blog-cards {
  --ink: #ebeced;           /* main text */
  --muted: #bdbdbd;        /* meta (author/date) */
  --pill-bg: #22252a;      /* tag pill bg */
  --pill-ink: #ebeced;     /* tag pill text */
  --pill-border: #3a3d44;  /* tag pill border */
  --pill-bg-hover: #ebeced;/* pill hover bg */
  --pill-ink-hover: #1b1c21; /* pill hover text */
}

/* Headings, text, links inside the listing */
.dark-mode #blog-cards, 
.dark-mode #blog-cards * { color: var(--ink, #ebeced); }
.dark-mode #blog-cards .meta,
.dark-mode #blog-cards .byline,
.dark-mode #blog-cards .date { color: var(--muted, #bdbdbd) !important; }

/* Cards */
.dark-mode #blog-cards .card,
.dark-mode #blog-cards article { background: #17191d; border-color: #2a2d33; }
.dark-mode #blog-cards .card:hover { border-color: #3a3d44; }

/* Images should not invert in dark mode; ensure natural colors */
.dark-mode #blog-cards img,
.dark-mode #blog-cards .card_image img,
.dark-mode #blog-cards a.card_imageLink img { filter: none !important; mix-blend-mode: normal !important; }

/* Tag pills */
.dark-mode #blog-cards .tag,
.dark-mode #blog-cards .pill,
.dark-mode #blog-cards .blog-tag { 
  background: var(--pill-bg) !important; 
  color: var(--pill-ink) !important; 
  border: 1px solid var(--pill-border) !important; 
}
.dark-mode #blog-cards .tag:hover,
.dark-mode #blog-cards .pill:hover,
.dark-mode #blog-cards .blog-tag:hover { 
  background: var(--pill-bg-hover) !important; 
  color: var(--pill-ink-hover) !important; 
}

/* Read-more and links */
.dark-mode #blog-cards a { color: #e6e9ee; }
.dark-mode #blog-cards a:hover { color: #ffffff; }

/* Pagination */
.dark-mode .hs-pagination,
.dark-mode .blog-pagination { border-top: 1px solid #2a2d33; }
.dark-mode .hs-pagination a,
.dark-mode .blog-pagination a { color: #e6e9ee; }
.dark-mode .hs-pagination a:hover { color: #ffffff; }

/* Loading overlay if present */
.dark-mode #blog-cards #blog-loading { background-color: rgba(0,0,0,0.6); }

/* =====================================================
   NEW: BLOG POST PAGE — Dark Mode
   Targets common HubSpot classes and typical custom wrappers
   ===================================================== */

/* Page shell */
.dark-mode .hs-blog-post,
.dark-mode .blog-post,
.dark-mode .post-wrapper { background-color: #1b1c21 !important; color: #ebeced; }

/* Post header */
.dark-mode .post-header,
.dark-mode .blog-post__header { border-bottom: 1px solid #2a2d33; }
.dark-mode .post-title,
.dark-mode .blog-post__title,
.dark-mode .post-header h1 { color: #ffffff !important; }
.dark-mode .post-meta,
.dark-mode .blog-post__meta { color: #bdbdbd !important; }

/* Body content */
.dark-mode .post-body,
.dark-mode .blog-post__body,
.dark-mode .blog-content { color: #ebeced; }
.dark-mode .post-body h2,
.dark-mode .post-body h3,
.dark-mode .post-body h4,
.dark-mode .blog-content h2,
.dark-mode .blog-content h3,
.dark-mode .blog-content h4 { color: #ffffff; }
.dark-mode .post-body p,
.dark-mode .blog-content p { color: #d9dde2; }

/* Links */
.dark-mode .post-body a,
.dark-mode .blog-content a { color: #e6e9ee; text-decoration-color: rgba(230,233,238,0.45); }
.dark-mode .post-body a:hover,
.dark-mode .blog-content a:hover { color: #ffffff; text-decoration-color: rgba(255,255,255,0.7); }

/* Figures, images, captions */
.dark-mode .post-body figure,
.dark-mode .blog-content figure { background: #14161a; border: 1px solid #2a2d33; }
.dark-mode .post-body figcaption,
.dark-mode .blog-content figcaption { color: #bdbdbd; }
.dark-mode .post-body img,
.dark-mode .blog-content img { filter: none !important; mix-blend-mode: normal !important; }

/* Code, pre, blockquotes */
.dark-mode pre,
.dark-mode code,
.dark-mode kbd,
.dark-mode samp { background: #0f1114; color: #e6e9ee; border: 1px solid #2a2d33; }
.dark-mode pre code { background: transparent; border: 0; }
.dark-mode blockquote { color: #cfd3d9; border-left: 4px solid #3a3d44; }

/* Tables */
.dark-mode .post-body table { background: #14161a; border-color: #2a2d33; }
.dark-mode .post-body th { color: #ffffff; background: #1a1d22; }
.dark-mode .post-body td { color: #d9dde2; }
.dark-mode .post-body tr + tr td { border-top: 1px solid #2a2d33; }

/* Tags at footer of post */
.dark-mode .post-tags a { 
  background: #22252a; color: #ebeced; border: 1px solid #3a3d44; 
}
.dark-mode .post-tags a:hover { background: #ebeced; color: #1b1c21; }

/* Author box */
.dark-mode .author-box { background: #14161a; border: 1px solid #2a2d33; }
.dark-mode .author-box .author-name { color: #ffffff; }
.dark-mode .author-box .author-bio { color: #c7ccd3; }

/* Related posts */
.dark-mode .related-posts,
.dark-mode .related-posts__title { color: #ffffff; }
.dark-mode .related-posts .card { background: #17191d; border-color: #2a2d33; }

/* Comments (HubSpot form styles may vary) */
.dark-mode .comments,
.dark-mode .hs-form-field label { color: #ebeced; }
.dark-mode .hs-input, 
.dark-mode input[type="text"],
.dark-mode textarea { background: #0f1114; color: #ebeced; border: 1px solid #2a2d33; }
.dark-mode .hs-button, 
.dark-mode button[type="submit"] { background: #ebeced; color: #1B1C21; border: 2px solid #1B1C21; }
.dark-mode .hs-button:hover { background: #1B1C21; }

/* Breadcrumbs */
.dark-mode .breadcrumbs, 
.dark-mode .breadcrumbs a { color: #bdbdbd; }
.dark-mode .breadcrumbs a:hover { color: #ffffff; }

/* Share icons */
.dark-mode .share-icons svg, 
.dark-mode .share-icons img { filter: invert(1) brightness(0.85); }

/* HR and separators */
.dark-mode hr { border-color: #2a2d33; background: #2a2d33; }

/* Accessibility: selection */
.dark-mode ::selection { background: rgba(235,236,237,0.25); color: #ffffff; }

/* End of blog dark mode */

/* =====================================================
   BLOG POST — Dark Mode addenda (scoped)
   Does not change the base CSS; everything under html.dark-mode
   Compatible with the classes provided in the blog CSS
   ===================================================== */

/* Tokens for the blog post scope in dark mode */
html.dark-mode .body-container--blog-post {
  --wtr-text: #ebeced;        /* primary text */
  --wtr-muted: #b8bec8;       /* meta, details */
  --wtr-surface: #14161a;     /* inner surfaces */
  --wtr-border: #2a2d33;      /* borders and dividers */
  --wtr-accent: #e6e9ee;      /* subtle highlights/links */
  --link-normal: #e6e9ee;     /* default in-body links */
  --link-active: #ffffff;     /* active/selected link */
  --link-hover: #f0f2f6;      /* hover (lighter) */
  --sumary-gradient: var(--wtr-gradient, var(--btn-gradient, var(--button-gradient, var(--cta-gradient, linear-gradient(90deg, #8b93a3 0%, #ffffff 100%)))));
  background-color: #1b1c21 !important;
  color: var(--wtr-text);
}

/* Post header and meta */
html.dark-mode .body-container--blog-post .blog-post__meta { color: var(--wtr-muted) !important; }
html.dark-mode .body-container--blog-post .blog-post__meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
html.dark-mode .body-container--blog-post .blog-post__meta a:hover { text-decoration: underline; }
html.dark-mode .body-container--blog-post .blog-post__timestamp { color: inherit; }

/* Headings */
html.dark-mode .body-container--blog-post .blog-post h1,
html.dark-mode .body-container--blog-post .blog-post h2,
html.dark-mode .body-container--blog-post .blog-post h3,
html.dark-mode .body-container--blog-post .blog-post h4,
html.dark-mode .body-container--blog-post .blog-post h5,
html.dark-mode .body-container--blog-post .blog-post h6 { color: #ffffff !important; }

/* Body text */
html.dark-mode .body-container--blog-post .blog-post__body,
html.dark-mode .body-container--blog-post .blog-post__body p,
html.dark-mode .body-container--blog-post .blog-post__body li,
html.dark-mode .body-container--blog-post .blog-post__body span,
html.dark-mode .body-container--blog-post .blog-post__body strong,
html.dark-mode .body-container--blog-post .blog-post__body em { color: var(--wtr-text); }

/* In-body / rich text links (high specificity to override globals) */
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a,
html.dark-mode body .body-container--blog-post .blog-post__body a {
  color: var(--link-normal) !important;
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 5px;
  text-underline-offset: 2px;
  font-weight: 600;
}
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:hover,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:hover,
html.dark-mode body .body-container--blog-post .blog-post__body a:hover,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:focus-visible,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:focus-visible,
html.dark-mode body .body-container--blog-post .blog-post__body a:focus-visible {
  color: var(--link-hover) !important;
  text-decoration: underline;
  border-left-color: var(--link-hover);
}
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a.is-active,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a.is-selected,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a[aria-current="true"],
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a.is-active,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a.is-selected,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a[aria-current="true"],
html.dark-mode body .body-container--blog-post .blog-post__body a.is-active,
html.dark-mode body .body-container--blog-post .blog-post__body a.is-selected,
html.dark-mode body .body-container--blog-post .blog-post__body a[aria-current="true"] {
  color: var(--link-active) !important;
  text-decoration: underline;
  border-left-color: var(--link-active);
}

/* Sidebar summary */
html.dark-mode .body-container--blog-post #sumary a {
  color: var(--link-normal);
  border-left: 2px solid transparent;
  padding-left: 8px;
  text-decoration: none;
}
html.dark-mode .body-container--blog-post #sumary a:hover,
html.dark-mode .body-container--blog-post #sumary a:focus-visible {
  background-image: var(--sumary-gradient);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}
html.dark-mode .body-container--blog-post #sumary a.is-active,
html.dark-mode .body-container--blog-post #sumary a.is-selected,
html.dark-mode .body-container--blog-post #sumary a[aria-current="true"] {
  background-image: var(--sumary-gradient);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}

/* Fixed mobile summary */
html.dark-mode .body-container--blog-post .blog-post #sumary-mobile { background-color: #17191d; }
html.dark-mode .body-container--blog-post .blog-post #sumary-mobile select {
  background-color: #0f1114;
  color: #ebeced;
  border: 1px solid var(--wtr-border);
}
html.dark-mode .body-container--blog-post .blog-post #sumary-mobile option { color: #ebeced; background: #0f1114; }

/* Media blocks */
html.dark-mode .body-container--blog-post .blog-post__body figure { background: #14161a; border: 1px solid var(--wtr-border); }
html.dark-mode .body-container--blog-post .blog-post__body figcaption { color: var(--wtr-muted); }
html.dark-mode .body-container--blog-post .blog-post__body img { filter: none !important; mix-blend-mode: normal !important; }

/* Blockquote */
html.dark-mode .body-container--blog-post .blog-post__body blockquote {
  background: var(--wtr-surface);
  border-left: 3px solid #3a3d44;
  color: #cfd3d9;
}

/* Code */
html.dark-mode .body-container--blog-post pre,
html.dark-mode .body-container--blog-post code,
html.dark-mode .body-container--blog-post kbd,
html.dark-mode .body-container--blog-post samp { background: #0f1114; color: #e6e9ee; border: 1px solid var(--wtr-border); }
html.dark-mode .body-container--blog-post pre code { background: transparent; border: 0; }

/* Tables */
html.dark-mode .body-container--blog-post .blog-post__body table { background: #14161a; border-color: var(--wtr-border); }
html.dark-mode .body-container--blog-post .blog-post__body th { color: #ffffff; background: #1a1d22; }
html.dark-mode .body-container--blog-post .blog-post__body td { color: #d9dde2; }
html.dark-mode .body-container--blog-post .blog-post__body tr + tr td { border-top: 1px solid var(--wtr-border); }

/* Separators and general borders */
html.dark-mode .body-container--blog-post hr { border-color: var(--wtr-border); background: var(--wtr-border); }

/* Comments / forms */
html.dark-mode .body-container--blog-post .blog-comments,
html.dark-mode .body-container--blog-post .hs-form-field label { color: var(--wtr-text); }
html.dark-mode .body-container--blog-post .hs-input,
html.dark-mode .body-container--blog-post input[type="text"],
html.dark-mode .body-container--blog-post textarea { background: #0f1114; color: #ebeced; border: 1px solid var(--wtr-border); }
html.dark-mode .body-container--blog-post .hs-button,
html.dark-mode .body-container--blog-post button[type="submit"] { background: #333842; color: #ffffff; border: 1px solid #3a3d44; }
html.dark-mode .body-container--blog-post .hs-button:hover { background: #3a3f4a; }

/* Related posts */
html.dark-mode .body-container--blog-post .blog-related-posts { background-color: var(--wtr-surface) !important; }
html.dark-mode .body-container--blog-post .blog-related-posts h2,
html.dark-mode .body-container--blog-post .blog-related-posts__title { color: #ffffff; }
html.dark-mode .body-container--blog-post .blog-related-posts__title-link { color: #e6e9ee; }
html.dark-mode .body-container--blog-post .blog-related-posts__title-link:hover { color: #ffffff; }

/* Accessibility: text selection */
html.dark-mode .body-container--blog-post ::selection { background: rgba(235,236,237,0.25); color: #ffffff; }


/* =============================================
   Page background — Blog Post & Listing (Dark Mode shell)
   Ensures the entire page canvas is dark, not just modules
   ============================================= */
html.dark-mode,
html.dark-mode body,
html.dark-mode .body-container-wrapper,
html.dark-mode .body-container,
html.dark-mode .site-wrapper,
html.dark-mode .body-wrapper,
html.dark-mode .content-wrapper,
html.dark-mode .body-container--blog-post,
html.dark-mode .hs-blog-listing,
html.dark-mode .blog-listing,
html.dark-mode .post-wrapper {
  background-color: #1b1c21 !important;
}


/* ===========================================
   Dark Mode — Top section background (DnD row 0)
   Fixes background coming from HubSpot DnD classes
   Only adds overrides under html.dark-mode
   =========================================== */
/* Exact composite signature the page is using */
html.dark-mode .row-fluid-wrapper.row-depth-1.row-number-1.dnd_area-row-0-background-layers,
html.dark-mode .row-fluid-wrapper.row-depth-1.row-number-1.dnd_area-row-0-background-color,
html.dark-mode .row-fluid-wrapper.row-depth-1.row-number-1.dnd_area-row-0-padding,
html.dark-mode .row-fluid-wrapper.row-depth-1.row-number-1.dnd-section {
  background-color: #1b1c21 !important;
  background: #1b1c21 !important;
  background-image: linear-gradient(#1b1c21, #1b1c21) !important; /* defeats any previous gradient */
}

/* Slightly looser matches to catch variants generated by HubSpot */
html.dark-mode .row-number-1.dnd_area-row-0-background-layers,
html.dark-mode .row-number-1.dnd_area-row-0-background-color,
html.dark-mode .row-number-1.dnd_area-row-0-padding,
html.dark-mode .row-number-1.dnd-section {
  background-color: #1b1c21 !important;
  background: #1b1c21 !important;
  background-image: linear-gradient(#1b1c21, #1b1c21) !important;
}

/* Attribute contains selector as a safety net (kept scoped to dark mode) */
html.dark-mode [class*="dnd_area-row-0-background-layers"],
html.dark-mode [class*="dnd_area-row-0-background-color"],
html.dark-mode [class*="dnd_area-row-0-padding"] {
  background-color: #1b1c21 !important;
  background: #1b1c21 !important;
  background-image: linear-gradient(#1b1c21, #1b1c21) !important;
}


/* =============================================
   BLOG HERO — Dark Mode addenda (scoped)
   Does not change base styles; only applies under html.dark-mode
   ============================================= */
html.dark-mode #blog-hero {
  /* Token-style hooks (optional overrides via :root or parent) */
  --hero-ink: #ebeced;           /* primary text */
  --hero-muted: #c7cdd6;         /* excerpt, minor text */
  --hero-btn-bg: #333842;        /* button base */
  --hero-btn-bg-hover: #3a3f4a;  /* button hover */
  --hero-btn-ink: #ffffff;       /* button text */
  --hero-btn-border: #3a3d44;    /* button border */
  color: var(--hero-ink);
}

/* Title + link color */
html.dark-mode #blog-hero .card .card__content h1,
html.dark-mode #blog-hero .card .card__content h1 a {
  color: #ffffff !important;
}
html.dark-mode #blog-hero .card .card__content h1 a {
  text-decoration: none;
  text-decoration-color: rgba(255,255,255,0.4);
}
html.dark-mode #blog-hero .card .card__content h1 a:hover,
html.dark-mode #blog-hero .card .card__content h1 a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.7);
}

/* Excerpt text */
html.dark-mode #blog-hero .card .card__content .card__excerpt {
  color: var(--hero-muted);
}

/* Image overlay — slightly stronger on dark to unify tones */
html.dark-mode #blog-hero .card .card__imageLink::after {
  background-color: rgba(0, 0, 0, 0.28) !important;
}

/* Keep images natural (no inversion) */
html.dark-mode #blog-hero .card .card__imageLink img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Buttons — override conflicting light-mode hovers with higher specificity */
html.dark-mode #blog-hero .card .card__content .button {
  background-color: var(--hero-btn-bg);
  color: var(--hero-btn-ink);
  border: 1px solid var(--hero-btn-border);
}
html.dark-mode #blog-hero .card .card__content .button:hover,
html.dark-mode #blog-hero .card .card__content .button:focus-visible {
  background-color: var(--hero-btn-bg-hover);
  color: #ffffff;
}

/* Mobile stacking doesn't change — colors only */
@media (max-width: 767px) {
  html.dark-mode #blog-hero { color: var(--hero-ink); }
}


/* =============================================
   BLOG HERO — Dark Mode: lighter hover per request
   Uses brand light gray on hover with dark ink for contrast
   ============================================= */
html.dark-mode #blog-hero {
  --hero-btn-bg-hover: #E5E7EB; /* lighter gray */
  --hero-btn-ink-hover: #1B1C21; /* dark text on light hover */
}
html.dark-mode #blog-hero .card .card__content .button:hover,
html.dark-mode #blog-hero .card .card__content .button:focus-visible {
  background-color: var(--hero-btn-bg-hover) !important;
  color: var(--hero-btn-ink-hover) !important;
  border-color: transparent;
}


/* =====================================================
   POST PAGE — Keep summary & hyperlinks SAME as light mode
   Requirement: in dark mode, do NOT restyle summary links or body links
   We revert properties so the base (light) CSS wins
   ===================================================== */
html.dark-mode .body-container--blog-post #sumary a,
html.dark-mode .body-container--blog-post .blog-post__body a,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a,
html.dark-mode .body-container--blog-post .content-side a {
  color: revert !important;
  text-decoration: revert !important;
  border-left: revert !important;
  padding-left: revert !important;
  text-underline-offset: revert !important;
  background-image: revert !important;
  background-size: revert !important;
  background-repeat: revert !important;
  background-position: revert !important;
  font-weight: revert !important;
}


/* =====================================================
   POST PAGE — Dark Mode link color request
   Apply #b3e3f3 to summary and in-body hyperlinks only
   Keeps all other decorations/behaviors from light mode
   ===================================================== */
html.dark-mode .body-container--blog-post #sumary a,
html.dark-mode .body-container--blog-post .blog-post__body a,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a,
html.dark-mode .body-container--blog-post .content-side a {
  color: #b3e3f3 !important;
}
html.dark-mode .body-container--blog-post #sumary a:hover,
html.dark-mode .body-container--blog-post #sumary a:focus-visible,
html.dark-mode .body-container--blog-post #sumary a:active,
html.dark-mode .body-container--blog-post #sumary a:visited,
html.dark-mode .body-container--blog-post .blog-post__body a:hover,
html.dark-mode .body-container--blog-post .blog-post__body a:focus-visible,
html.dark-mode .body-container--blog-post .blog-post__body a:active,
html.dark-mode .body-container--blog-post .blog-post__body a:visited,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:hover,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:focus-visible,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:active,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:visited,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:hover,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:focus-visible,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:active,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:visited,
html.dark-mode .body-container--blog-post .content-side a:hover,
html.dark-mode .body-container--blog-post .content-side a:focus-visible,
html.dark-mode .body-container--blog-post .content-side a:active,
html.dark-mode .body-container--blog-post .content-side a:visited {
  color: #b3e3f3 !important; /* unify states */
}


/* =====================================================
   POST PAGE — Dark Mode link behavior update
   Default: no underline; Hover: same behavior as light mode
   Color: #b3e3f3 for normal state
   ===================================================== */
/* Normal state — summary + in-body links */
html.dark-mode .body-container--blog-post #sumary a,
html.dark-mode .body-container--blog-post .blog-post__body a,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a,
html.dark-mode .body-container--blog-post .content-side a {
  color: #b3e3f3 !important;
  text-decoration: none !important;
}

/* Hover/focus for in-body links — mirror light mode (underline + light hover color) */
html.dark-mode .body-container--blog-post .blog-post__body a:hover,
html.dark-mode .body-container--blog-post .blog-post__body a:focus-visible,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:hover,
html.dark-mode body .body-container--blog-post #hs_cos_wrapper_post_body a:focus-visible,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:hover,
html.dark-mode body .body-container--blog-post .hs_cos_wrapper_type_rich_text a:focus-visible,
html.dark-mode .body-container--blog-post .content-side a:hover,
html.dark-mode .body-container--blog-post .content-side a:focus-visible {
  color: var(--link-hover) !important;         /* uses the same hover token from light */
  text-decoration: underline !important;       /* same underline behavior as light */
  border-left-color: var(--link-hover) !important;
}

/* Hover/focus for summary links — mirror light mode (gradient underline) */
html.dark-mode .body-container--blog-post #sumary a:hover,
html.dark-mode .body-container--blog-post #sumary a:focus-visible {
  color: var(--link-hover) !important;         /* light-mode hover color */
  text-decoration: none !important;            /* light-mode uses bg underline, not text underline */
  background-image: var(--sumary-gradient) !important;
  background-size: 100% 2px !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  border-left-color: var(--link-hover) !important;
}


/* =============================================
   POST PAGE — Dark Mode rich text links: bold 600
   Applies only to HubSpot rich text and in-body anchors
   ============================================= */
html.dark-mode .body-container--blog-post #hs_cos_wrapper_post_body a,
html.dark-mode .body-container--blog-post .hs_cos_wrapper_type_rich_text a,
html.dark-mode .body-container--blog-post .blog-post__body a {
  font-weight: 600 !important;
}
html.dark-mode .body-container--blog-post #hs_cos_wrapper_post_body a:hover,
html.dark-mode .body-container--blog-post #hs_cos_wrapper_post_body a:focus-visible,
html.dark-mode .body-container--blog-post .hs_cos_wrapper_type_rich_text a:hover,
html.dark-mode .body-container--blog-post .hs_cos_wrapper_type_rich_text a:focus-visible,
html.dark-mode .body-container--blog-post .blog-post__body a:hover,
html.dark-mode .body-container--blog-post .blog-post__body a:focus-visible {
  font-weight: 600 !important; /* keep the same weight on hover */
}


/* =====================================================
   RELATED CARDS — Dark Mode addenda (scoped to #related-cards)
   Matches the Listing + Tabs dark palette and behaviors
   ===================================================== */
html.dark-mode #related-cards {
  /* Tokenized palette mirroring listing */
  --ink: #ebeced;            /* main text */
  --muted: #bdbdbd;          /* meta (author/date) */
  --pill-bg: #22252a;        /* tag pill bg */
  --pill-ink: #ebeced;       /* tag pill text */
  --pill-border: #3a3d44;    /* tag pill border */
  --pill-bg-hover: #ebeced;  /* tag hover bg */
  --pill-ink-hover: #1b1c21; /* tag hover text */
}

/* Section heading */
html.dark-mode #related-cards #related-heading { color: #ffffff; }

/* Cards */
html.dark-mode #related-cards .related-cards__list > article {
  background: #17191d;
  border-color: #2a2d33;
}

/* Title link behavior like listing */
html.dark-mode #related-cards .card__title a { color: var(--ink); }
html.dark-mode #related-cards .card__title a:hover,
html.dark-mode #related-cards .card__title a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

/* Meta */
html.dark-mode #related-cards .card__meta { color: var(--muted); }
html.dark-mode #related-cards .card__meta .meta__author { color: inherit; }

/* Tags (top filter bar, if present) */
html.dark-mode #related-cards .blog-cards__tags .tag {
  background: var(--pill-bg);
  color: var(--pill-ink);
  border-color: var(--pill-border);
}
html.dark-mode #related-cards .blog-cards__tags .tag:hover,
html.dark-mode #related-cards .blog-cards__tags .tag.is-active,
html.dark-mode #related-cards .blog-cards__tags .tag:focus-visible {
  background: var(--pill-bg-hover);
  color: var(--pill-ink-hover);
  box-shadow: 0 0 0 3px rgba(235,236,237,0.10);
}

/* Tags inside each card */
html.dark-mode #related-cards .card__tags .tag {
  background: var(--pill-bg);
  color: var(--pill-ink);
  border-color: var(--pill-border);
}
html.dark-mode #related-cards .card__tags .tag:hover,
html.dark-mode #related-cards .card__tags .tag:focus-visible {
  background: var(--pill-bg-hover);
  color: var(--pill-ink-hover);
  box-shadow: 0 0 0 3px rgba(235,236,237,0.10);
}

/* Image overlay — slightly stronger to unify tones in dark */
html.dark-mode #related-cards .related-cards__list > article a.card__imageLink::after {
  background-color: rgba(0,0,0,0.28) !important;
}
/* Keep images natural */
html.dark-mode #related-cards .related-cards__list > article .card__imageLink img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Optional desc color if used */
html.dark-mode #related-cards .card__desc { color: #d9dde2; }

/* Loading overlay */
html.dark-mode #related-cards #blog-loading { background-color: rgba(0,0,0,0.6); }


/* =====================================================
   FORMS — Dark Mode (HubSpot Form Components + inputs)
   Fix: email field stayed light because selector missed [type="email"] and hsfc classes
   ===================================================== */
/* Inputs & textareas inside HubSpot forms */
html.dark-mode .hs-form input[type="text"],
html.dark-mode .hs-form input[type="email"],
html.dark-mode .hs-form input[type="tel"],
html.dark-mode .hs-form input[type="url"],
html.dark-mode .hs-form input[type="search"],
html.dark-mode .hs-form input[type="number"],
html.dark-mode .hs-form textarea,
html.dark-mode .hs-form select,
/* HubSpot Form Components (hsfc) */
html.dark-mode .hsfc-TextInput,
html.dark-mode .hsfc-Textarea,
html.dark-mode .hsfc-Select select {
  background: #0f1114 !important;
  color: #ebeced !important;
  border: 1px solid #2a2d33 !important;
}

/* Placeholders */
html.dark-mode .hs-form ::placeholder,
html.dark-mode .hsfc-TextInput::placeholder,
html.dark-mode .hsfc-Textarea::placeholder { color: #9aa0a6; opacity: 1; }

/* Focus state */
html.dark-mode .hs-form input:focus,
html.dark-mode .hs-form textarea:focus,
html.dark-mode .hs-form select:focus,
html.dark-mode .hsfc-TextInput:focus,
html.dark-mode .hsfc-Textarea:focus,
html.dark-mode .hsfc-Select select:focus {
  outline: 0;
  border-color: #3a3d44 !important;
  box-shadow: 0 0 0 3px rgba(235,236,237,0.08);
}

/* Error state (keep red visible on dark) */
html.dark-mode .hs-form [aria-invalid="true"],
html.dark-mode .hsfc-TextInput[aria-invalid="true"],
html.dark-mode .hsfc-Textarea[aria-invalid="true"],
html.dark-mode .hsfc-Select select[aria-invalid="true"] {
  border-color: #ef4444 !important;
}
html.dark-mode .hs-error-msg, 
html.dark-mode .hsfc-Error { color: #ef4444; }


/* =============================================
   POST PAGE — Back button (dark mode)
   Normal: brand medium gray; Hover/Active: brand light gray
   ============================================= */
html.dark-mode .body-container--blog-post a.back {
  background-color: #9CA3AF !important; /* medium gray */
  color: #1B1C21 !important;            /* dark ink for contrast */
  text-decoration: none !important;
  border: 1px solid transparent;        /* keep shape without visible border */
}
html.dark-mode .body-container--blog-post a.back:hover,
html.dark-mode .body-container--blog-post a.back:focus-visible,
html.dark-mode .body-container--blog-post a.back:active {
  background-color: #E5E7EB !important; /* light gray */
  color: #1B1C21 !important;             /* keep dark ink */
  outline: 0;
}



/* =============================================
   POST PAGE — #sumary custom scrollbar (Dark Mode only)
   Scoped to the sticky summary column; no changes to light mode
   ============================================= */
/* POST PAGE — #sumary scrollbar (Dark Mode) */
html.dark-mode .body-container--blog-post #sumary {
  /* Brand grays */
  --scroll-track: #1B1C21;     /* fundo do trilho */
  --scroll-thumb: #9CA3AF;     /* polegar normal/hover */
  --scroll-thumb-hover: #9CA3AF;
  --scroll-thumb-active: #E5E7EB; /* polegar ao arrastar */

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

/* WebKit (Chrome, Edge, Safari) */
html.dark-mode .body-container--blog-post #sumary::-webkit-scrollbar { width: 10px; }
html.dark-mode .body-container--blog-post #sumary::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 999px;
}
html.dark-mode .body-container--blog-post #sumary::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 2px solid var(--scroll-track);
  border-radius: 999px;
}
html.dark-mode .body-container--blog-post #sumary:hover::-webkit-scrollbar-thumb,
html.dark-mode .body-container--blog-post #sumary:focus-within::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb-hover);
}
html.dark-mode .body-container--blog-post #sumary::-webkit-scrollbar-thumb:active {
  background: var(--scroll-thumb-active);
}
/* #sumary — scrollbar do lado ESQUERDO (apenas no dark) */
html.dark-mode .body-container--blog-post #sumary {
  direction: rtl;           /* move a barra para a esquerda */
  scrollbar-gutter: stable; /* evita “pulo” quando o scroll aparece (browsers compatíveis) */
}
html.dark-mode .body-container--blog-post #sumary * {
  direction: ltr;           /* mantém o texto e layout normais */
  text-align: left;         /* garante alinhamento à esquerda */
}
/* #sumary — espaço de 10px ao lado da barra (Dark Mode + scrollbar à esquerda) */
html.dark-mode .body-container--blog-post #sumary a {
  display: block;
  margin-inline-start: 10px; /* em RTL isso fica do lado da barra (esquerda) */
}
/* INLINE <code> — sem fundo no dark mode (post page) */
html.dark-mode .body-container--blog-post code {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Mantém blocos de código (<pre> e dentro) com fundo para legibilidade */
html.dark-mode .body-container--blog-post pre,
html.dark-mode .body-container--blog-post pre code {
  background: transparent !important;
  border: 1px solid var(--wtr-border) !important;
  padding: 12px 14px !important;
}

/* Inline <code> sem “caixinha” no dark (site-wide) */
html.dark-mode code {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Mantém blocos de código legíveis */
html.dark-mode pre,
html.dark-mode pre code {
  background: transparent !important;
  border: 1px solid #2a2d33 !important;
  padding: 12px 14px !important;
}

/* (opcional) reforço só nas tabs, caso tenha cache/regra teimosa */
html.dark-mode .tabs .tabs__link code {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
/* TABS (desktop) — underline/linha em #b3e3f3 apenas no HOVER (Dark Mode) */
html.dark-mode .tabs__link:not(.is-active):hover .decoration-line {
  background-color: #1e00ce !important;
}
html.dark-mode .tabs__link:not(.is-active):hover .decoration-line-gradient {
  background: linear-gradient(90deg, #1e00ce 95%, transparent 100%) !important;
}
/* FORMS — Dark Mode: unify inputs across browsers + autofill */
html.dark-mode .hs-form,
html.dark-mode .hs-form * { color-scheme: dark; } /* dica pro UA */

html.dark-mode .hs-form input[type="text"],
html.dark-mode .hs-form input[type="email"],
html.dark-mode .hs-form input[type="tel"],
html.dark-mode .hs-form input[type="url"],
html.dark-mode .hs-form input[type="search"],
html.dark-mode .hs-form input[type="number"],
html.dark-mode .hs-form textarea,
html.dark-mode .hs-form select,
html.dark-mode .hs-input,
html.dark-mode .hsfc-TextInput,
html.dark-mode .hsfc-Textarea,
html.dark-mode .hsfc-Select select {
  background: #0f1114 !important;
  color: #ebeced !important;
  border: 1px solid #2a2d33 !important;
  caret-color: #ebeced !important;
}

/* Chrome/Edge/Safari – AUTOFILL (normal/hover/focus/active) */
html.dark-mode .hs-form input:-webkit-autofill,
html.dark-mode .hsfc-TextInput:-webkit-autofill,
html.dark-mode .hs-form textarea:-webkit-autofill,
html.dark-mode .hs-form select:-webkit-autofill,
html.dark-mode .hs-form input:-webkit-autofill:hover,
html.dark-mode .hsfc-TextInput:-webkit-autofill:hover,
html.dark-mode .hs-form input:-webkit-autofill:focus,
html.dark-mode .hsfc-TextInput:-webkit-autofill:focus,
html.dark-mode .hs-form input:-webkit-autofill:active,
html.dark-mode .hsfc-TextInput:-webkit-autofill:active {
  -webkit-text-fill-color: #ebeced !important;
  -webkit-box-shadow: 0 0 0 1000px #0f1114 inset !important;
          box-shadow: 0 0 0 1000px #0f1114 inset !important;
  border: 1px solid #2a2d33 !important;
}

/* Firefox – AUTOFILL */
html.dark-mode .hs-form input:-moz-autofill,
html.dark-mode .hs-form textarea:-moz-autofill,
html.dark-mode .hs-form select:-moz-autofill {
  box-shadow: 0 0 0 1000px #0f1114 inset !important;
  -moz-text-fill-color: #ebeced !important;
  border: 1px solid #2a2d33 !important;
}

/* Estado de erro continua evidente no dark */
html.dark-mode .hs-form [aria-invalid="true"] {
  border-color: #ef4444 !important;
}
html.dark-mode .hs-error-msg { color: #ef4444 !important; }