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

/* TABLE OF CONTENTS

  1. LAYOUT                          - #layout
  2. COLORS                          - #clrs
  3. TYPOGRAPHY                      - #typo
  4. BUTTONS                         - #btn
  5. FORMS                           - #form
  
***********************************************/


/* ========================================================================== */
/*  1. LAYOUT                                                #layout          */
/* ========================================================================== */
:root {
  --container-width: 1280px;

  /* Spacing */
  --spacing-0x: 0px;
  --spacing-05x: 0px;
  --spacing-1x: 0px;
  --spacing-2x: 4px;
  --spacing-3x: 8px;
  --spacing-4x: 12px;
  --spacing-5x: 16px;
  --spacing-6x: 20px;
  --spacing-8x: 24px;
  --spacing-10x: 32px;
  --spacing-12x: 32px;
  --spacing-14x: 32px;
  --spacing-16x: 32px;
  --spacing-18x: 32px;
  --spacing-20x: 32px;
  --spacing-24x: 32px;
  --spacing-30x: 32px;

  /* Dnd Spacing */
  --container-padding: var(--spacing-5x);
  --dnd-row-gap: var(--spacing-8x);
  --first-section-padding-top: var(--spacing-12x);
  --dnd-section-bottom-margin: var(--spacing-20x);
  --dnd-section-bg-padding: var(--spacing-14x) var(--spacing-24x);
  
  /* Misc */
  --scroll-margin-top: 90px;
}

@media (min-width: 640px) {
  :root {
    /* Dnd Spacing */
    /* --first-section-padding-top: 120px; */
    /* --dnd-section-bottom-margin: 80px; */
    /* --dnd-section-bg-padding: 80px;  */
    
    /* Misc */
    --scroll-margin-top: 100px;
  }
}

@media (min-width: 820px) {
  :root {
    /* Spacing */
    --spacing-05x: 2px;
    --spacing-1x: 4px;
    --spacing-2x: 8px;
    --spacing-3x: 12px;
    --spacing-4x: 16px;
    --spacing-5x: 20px;
    --spacing-6x: 24px;
    --spacing-8x: 32px;
    --spacing-10x: 40px;
    --spacing-12x: 48px;
    --spacing-14x: 56px;
    --spacing-16x: 64px;
    --spacing-18x: 72px;
    --spacing-20x: 80px;
    --spacing-24x: 96px;
    --spacing-30x: 120px;

    /* Dnd Spacing */
    --dnd-row-gap: var(--spacing-14x);
  }
}

@media (min-width: 1024px) {
  :root {
    /* Dnd Spacing */
    /* --first-section-padding-top: 160px; */
    --dnd-section-bottom-margin: var(--spacing-30x);
    /* --dnd-section-bg-padding: 120px;  */
    
    /* Misc */
    --scroll-margin-top: var(--spacing-30x);
  }
}

/* ========================================================================== */
/*  2. COLORS                                                #clrs            */
/* ========================================================================== */     

:root {
  --dark-blue-base: #121247;

  --red-base:  #DC0045;
  --red-50:    #F8CCDA;
  --red-400:   #E22B64;
  --red-600:   #B7003A;

  --blue-base:  #086EC5;
  --blue-50:    #CEE2F3;
  --blue-400:   #3186CF;
  --blue-600:   #075CA4;
  
  --white:       #FFFFFF;
  --gray-50:     #EFEFF3;

  --text-base:   #121247;
  --text-light:  #59597E;

  --background-beige: #FDFBF7;
  --background-dark-blue: var(--dark-blue-base);

  --forms-error: #D32F2F;
  --border-gray: var(--gray-50);
}

/* ========================================================================== */
/*  3. TYPOGRAPHY                                            #typo            */
/*=========================================================================== */
/*** Custom Fonts (uncomment for manual font-face properties) ***/


:root {
  /* ========================================================================== */
  /*  base                                                                      */
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Playfair Display', serif;

  /* ========================================================================== */
  /*  Font Sizing                                                               */
  --rem-base-px: 18px;
  --base-line-height: 1.4;

  /* update multiplier to change responsive sizing, unless design has specific sizing */
  --h1-font-size:         3rem;
  --h2-font-size:         2.5rem;
  --h3-font-size:         2.0556rem;
  --h4-font-size:         1.7222rem;
  --h5-font-size:         1.4444rem;
  --h6-font-size:         1.2222rem;
  --preheader-font-size:  0.7222rem;
  --text-sm:              0.8333rem;
  --text-xs:              0.6667rem;

  /* ========================================================================== */
  /*  Line Heights                                                              */
  --h1-line-height:         1.2;
  --h2-line-height:         1.2;
  --h3-line-height:         1.2;
  --h4-line-height:         1.2;
  --h5-line-height:         1.2;
  --h6-line-height:         1.2;
  --preheader-line-height:  1.2;
  --text-sm-line-height:    1.2;
  --text-xs-line-height:    1.2;
}

/*** Mobile Multiplier ***/
@media (max-width: 820px) {
  :root {
    --h1-font-size:         2rem;
    --h2-font-size:         1.7778rem;
    --h3-font-size:         1.6111rem;
    --h4-font-size:         1.4444rem;
    --h5-font-size:         1.2778rem;
    --h6-font-size:         1.1111rem;
  }
}


/* ========================================================================== */
/*  4. Global Styles                                              #styles            */
/*=========================================================================== */

:root {
  --transition: all 200ms cubic-bezier(.4,0,.2,1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 150px;

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ========================================================================== */
/*  5. FORMS                                                #form             */
/* ========================================================================== */  

form, 
form :before, 
form :after,
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  --form-error: var(--red-base);
  /* ========================================================================== */
  /*  Labels                                                                    */
  --legend-font-size:   0.9375rem;

  --label-font-family:  var(--body-font);
  --label-font-size:    0.7778rem;
  --label-font-weight:  600;
  --label-line-height:  1;
  --label-color:        var(--form-text-color);
  --label-margin-b:     8px;

  --label-error-font-size:          0.6667rem;
  --label-error-font-weight:        400;
  --label-error-line-height:        1;
  --label-error-color:              var(--form-error);
  --label-error-image:              url();


  /* ========================================================================== */
  /*  Text Input                                                                */
  --input-font-size:                0.8889rem;
  --input-font-weight:              400;
  --input-line-height:              1;
  --input-color-text:               var(--text-base);
  --input-color-text-placeholder:   var(--text-light);
  --input-color-required:           var(--form-error);
  --input-color-bg:                 var(--white);
  --input-border:                   1px solid var(--text-base);
  --input-border-radius:            var(--radius-sm);
  --input-padding:                  var(--spacing-4x);
  --input-spacing-y:                var(--spacing-6x);
  --input-transition:               var(--transition);
  --input-color-outline:            transparent;

  /* States */
  --input-error-color-border:       var(--form-error);
  --input-error-color-outline:      transparent;
  --input-focus-color-border:       var(--blue-base);
  --input-disabled-color-text:      var();
  --input-disabled-color-border:    var();
  --input-disabled-color-bg:        var();

  --textarea-height:                113px; 

  /* ========================================================================== */
  /*  Checkbox                                                                  */
  --checkbox-font-family:       var(--body-font);
  --checkbox-font-size:         0.8333rem;
  --checkbox-font-weight:       400;
  --checkbox-line-height:       normal;
  --checkbox-color-text:        var(--text-base);
  --checkbox-dimensions:        20px;
  --checkbox-image-dimensions:  18px;
  --checkbox-border:            1px solid var(--text-base);
  --checkbox-border-radius:     var(--radius-sm);
  --checkbox-color-bg:          var(--white);

  /* States */
  --checkbox-hover-image:                 url();
  --checkbox-hover-color-border:          var(--red-base);
  --checkbox-checked-image:               url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iZDYxOGIwMmQiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KPC9zdmc+);
  --checkbox-checked-color-bg:            var(--white);
  --checkbox-checked-color-border:        var(--red-base);
  --checkbox-checked-hover-color-bg:      var(--white);
  --checkbox-checked-hover-color-border:  var(--red-base);
  --checkbox-error-color-border:          var();
  --checkbox-disabled-color-text:         var();
  --checkbox-disabled-color-bg:           var();
  --checkbox-disabled-color-border:       var();
  --checkbox-disabled-checked-image:      url();
  --checkbox-disabled-checked-color-bg:   var();
  
  
  /* ========================================================================== */
  /*  Radio                                                                     */
  --radio-font-family:        var(--body-font);
  --radio-font-size:          var(--checkbox-font-size);
  --radio-font-weight:        var(--checkbox-font-weight);
  --radio-color-text:         var(--checkbox-color-text);
  --radio-line-height:        var(--checkbox-line-height);
  --radio-dimensions:         20px;
  --radio-inner-dimensions:   14px;
  --radio-color-bg:           var(--white);
  --radio-border:             1px solid var(--text-base);
  --radio-border-radius:      var(--radius-round);

  /* States */
  --radio-hover-color-inner:              var(--white);
  --radio-hover-border:                   1px solid var(--red-base);
  --radio-checked-color-inner:            var(--red-base); 
  --radio-checked-color-bg:               var(--white); 
  --radio-checked-color-border:           1px solid var(--red-base);
  --radio-checked-hover-color-border:     1px solid var(--red-base);
  --radio-error-color-border:             var();
  --radio-disabled-color-text:            var();
  --radio-disabled-color-bg:              var();
  --radio-disabled-color-border:          1px solid var();
  --radio-disabled-color-inner:           var();
  --radio-disabled-checked-color-bg:      var();
  --radio-disabled-checked-color-border:  1px solid var();
  --radio-disabled-checked-color-inner:   var();

  /* ========================================================================== */
  /*  Select                                                                    */
  --select-icon:          url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE1IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggaWQ9IjM2YzcxZGQ5IiBkPSJNNy42NjI0MyA3LjgwNjE1QzcuNDA4NzIgOC4wNjQ2MiA2Ljk5MTMzIDguMDY0NjIgNi43Mzc2MiA3LjgwNjE1TDAuMTkwMzA1IDEuMTM2MDFDLTAuMDYzNDA0MSAwLjg3NzU0IC0wLjA2MzQwNDEgMC40NTIzMTggMC4xOTAzMDUgMC4xOTM4NUMwLjQ0NDAxMyAtMC4wNjQ2MTc2IDAuODYxNDAzIC0wLjA2NDYxNzYgMS4xMTUxMSAwLjE5Mzg1TDcuMjAwMDIgNi4zOTI5MUwxMy4yODQ5IDAuMTkzODUxQzEzLjUzODYgLTAuMDY0NjE3IDEzLjk1NiAtMC4wNjQ2MTcgMTQuMjA5NyAwLjE5Mzg1MUMxNC40NjM1IDAuNDUyMzE5IDE0LjQ2MzUgMC44Nzc1NDEgMTQuMjA5NyAxLjEzNjAxTDcuNjYyNDMgNy44MDYxNVoiIGZpbGw9IiNEQzAwNDUiPjwvcGF0aD4KPC9zdmc+);

  /* ========================================================================== */
  /*  datepicker                                                                */
  --date-input-icon:                    url();
  --date-input-icon-height:             24px;
  --date-input-icon-width:              20px;
  --date-input-margin-right:            20px; /* match this to x-padding on input fields */

  --date-picker-font:                   var(--body-font);
  --date-picker-color:                  var();
  --date-picker-border:                 none;
  --date-picker-border-radius:          var(--radius-md);

  --date-picker-number-hover-color:     var();
  --date-picker-number-hover-bg:        var();
  --date-picker-number-today-color:     var();
  --date-picker-number-selected-color:  var();
  --date-picker-number-selected-bg:     var();
}

/* ========================================================================== */
/*  Form Color Variants                                                       */
.form--bg-dark_blue form, 
.form--bg-dark_blue form :before, 
.form--bg-dark_blue form :after, 
.form--bg-dark_blue div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  --form-error:                           var(--red-400);
  --input-border:                         2px solid var(--white);
  --input-focus-color-border:             var(--blue-base);
  --checkbox-color-text:                  var(--white);     
  --checkbox-border:                      1px solid var(--white);
  --checkbox-hover-color-border:          var(--blue-base);
  --checkbox-checked-color-bg:            var(--white);
  --checkbox-checked-color-border:        var(--blue-base);
  --checkbox-checked-hover-color-bg:      var(--white);
  --checkbox-checked-hover-color-border:  var(--blue-base);
  --radio-border:                         1px solid var(--white);
  --radio-hover-color-inner:              var(--white); 
  --radio-hover-border:                   1px solid var(--blue-base);
  --radio-checked-color-inner:            var(--blue-base); 
  --radio-checked-color-bg:               var(--white);
  --radio-checked-color-border:           1px solid var(--blue-base);
  --radio-checked-hover-color-border:     1px solid var(--blue-base);
}
*, *: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: 0%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */
.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--dnd-row-gap);
}


  .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: 820px) {
  .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));
    }
  
}
/* container */
.dnd-section {
  overflow-x: clip;
  margin: 0 0 var(--dnd-section-bottom-margin);
}

.content-wrapper,
.dnd-section > .row-fluid {
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
}

.body-wrapper {
  width: 100%;
}

.dnd-section .dnd-column,
.dnd-section .content-wrapper,
.dnd-section[class*="body_dnd_area-row"] {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.dnd-section > .row-fluid:has(.module-wrapper--full-width) {
  max-width: 100%;
  padding-inline: 0;
}

.dnd-section:first-child {
  padding-top: var(--first-section-padding-top);
}
  
.dnd-section:last-child {
  margin-bottom: var(--spacing-14x);
}
    
.dnd-section:has([class*="section-background"]) {
  padding-block: var(--dnd-section-bg-padding);
}

.dnd-section:last-child
  :has([class*="section-background"]), 
.dnd-section
  :has([class*="section-background"])
  :has(+ .dnd-section:has([class*="section-background"])) {
    margin-bottom: 0;
}

@media (max-width: 820px) {
  .dnd-section:last-child {
    margin-bottom: var(--spacing-8x);
  }

  .dnd-section:last-child
    :has([class*="section-background"]), 
  .dnd-section
    :has([class*="section-background"])
    :has(+ .dnd-section:has([class*="section-background"])) {
      margin-bottom: 0;
  }

  .dnd-column:has(.hs-horizontal-spacer) {
    margin-bottom: 0 !important;
  }
}


@media (min-width: 640px) {
  .dnd-section[class*="force-full-width-section"] .dnd-column {
    padding: 0;
  }
}

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

.module-wrapper {
  display: flex;
  max-width: 100%;

  & > div {
    width: 100%;
  }
}

.module-wrapper--center {
  margin: 0 auto;
}

.module-wrapper--right {
  margin: 0;

  @media (min-width: 1050px) {
    margin: 0 0 0 auto;
  }
}

.module-wrapper--col {
  flex-direction: column;
}

.icon-wrapper {
  display: block;
  height: fit-content;
  width: fit-content;

  & svg {
    display: block;
  }

  & svg path {
    transition: var(--transition);
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========================================================================== */
/* Slider                                                                     */
/* ========================================================================== */
.slider-container {
  position: relative;
}

.swiper-button-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-3x);
}

.slider-container :is(.swiper-button-prev, .swiper-button-next) {
  flex-shrink: 0;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  width: 58px;
  border-radius: var(--radius-round);
  border: 1px solid var(--red-base);
  background: var(--white-base);
  transition: var(--transition);
  margin: 0;

  &.swiper-button-disabled {
    opacity: .31;
  }

  &:after {
    display: none;
  }

  &:not(.swiper-button-disabled):hover {
    border-color: var(--red-600);

    & svg path {
      fill: var(--red-600);
    }
  }
}

/* ========================================================================== */
/*  Scrollbar                                                                 */
/* .slider-container .swiper:has(+ .swiper-scrollbar) {
  margin-bottom: var(--spacing-8x);
}

.slider-container .swiper-scrollbar {
  --swiper-scrollbar-border-radius: 8px;
  --swiper-scrollbar-bg-color: var(--primary-100);
}

.slider-container .swiper-horizontal > .swiper-scrollbar, 
.slider-container .swiper-scrollbar.swiper-scrollbar-horizontal {
  position: static !important;
  height: 4px;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--border);

  @media (max-width: 640px) {
    height: 9px;
  }
}

.slider-container .swiper-scrollbar-drag {
  --swiper-scrollbar-drag-bg-color: var(--blue-base);
  --swiper-scrollbar-border-radius: var(--radius-xl);
} */

/* ========================================================================== */
/*   Pagination                                                               */
.slider-container .swiper-pagination {
  display: none;
  position: static;
  justify-content: center;
  gap: 14px;
  margin-top: var(--spacing-6x);

  @media (max-width: 820px) {
    display: flex;
  }  
}

.slider-container :is(.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-horizontal.swiper-pagination-bullets) 
.swiper-pagination-bullet {
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-inactive-color: var(--gray-50);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-color: var(--blue-base);
  transition: var(--transition);
}
html {
  --border-color: var(--text-base);
  font-family: var(--body-font);
  font-size: var(--rem-base-px);
  font-weight: 400;
  line-height: var(--base-line-height);
  color: var(--text-base);
  overflow-wrap: break-word;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.heading-display-1,
.heading-display-2,
.heading-display-3,
.heading-display-4,
.heading-display-5,
.heading-display-6 {
  font-family: var(--heading-font);
  font-weight: 600;
  margin: 0;
}

h1, .heading-display-1 {
  font-size: var(--h1-font-size);
  line-height: var(--h1-line-height);
}

h2, .heading-display-2 {
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
}

h3, .heading-display-3 {
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
}

h4, .heading-display-4 {
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
}

h5, .heading-display-5 {
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
}

h6, .heading-display-6 {
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
}

/* Paragraphs */
p {
  font-size: var(--rem-base-px);
  margin: 0;
}

/* Anchors */
a {
  --anchor-color: var(--red-base);
  --underline-color: transparent;
  --font-size: var(--rem-base-px);
  cursor: pointer;
  font-size: var(--font-size);
  color: var(--anchor-color);
  text-decoration: underline;
  text-decoration-color: var(--underline-color);
  text-underline-position: from-font;
  transition: var(--transition);
  
  &:hover {
    --anchor-color: var(--red-600);
  }

  :is(p, span, li) & {
    --font-size: inherit;
  }
}


/* Preheaders */ 
.preheader {
  display: block;
  font-size: var(--preheader-font-size);
  font-weight: 600;
  line-height: var(--preheader-line-height);
  color: var(--red-base);
  letter-spacing: 2.47px;
  text-transform: uppercase;

  &.preheader--dark {
    color: var(--text-base);
  }

  .dnd-section:has(.section-background--dark-blue) & {
    color: var(--white);
  }
}

/* Lists */
ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
  text-align: start;

  &:is(.no-list-styling, .inputs-list) {
    margin: 0;
  }

  li & {
    margin: 0;
    padding: 0;
    margin-top: 8px;
  }

  :is(&.list-reset, .list-reset &) {
    list-style: disc !important;

    & ul {
      list-style: circle !important;

      & ul {
        list-style: square !important;
      }
    }
  }
}

ol {
  list-style: none !important;
  counter-reset: orderedlist;
  margin: 0 0 24px;
  padding: 0;
  text-align: start;

  li & {
    margin: 0;
    padding: 0;
    margin-top: 8px;
  }

  :is(&.list-reset, .list-reset &) {
    counter-reset: none;
    list-style: auto !important;

      & ul {
        list-style: disc !important;

        & ul {
          list-style: circle !important;
        }
      }
  }
}

li {
  --font-size: var(--rem-base-px);
  --line-height: 1.4;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: var(--line-height);
  margin-bottom: var(--spacing-2x);

  &:last-child {
    margin-bottom: 0;
  }
  
  ul > & {
    position: relative;
    padding-left: 32px;

    &:before {
      content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iMGMzMTBkZGUiIGQ9Ik0xOS41MjggNC45ODQ0MUMxOS40MTEgNC43OTY3MyAxOS4xNTc1IDQuNzM2NiAxOC45Njk4IDQuODUyNzlDMTUuNjEwOSA2LjkzMDM1IDEyLjM3NTUgMTEuMDE0OCAxMC40NDY2IDE0LjIzMDdDMTAuMzAzNiAxNC40Njc5IDEwLjA1MDEgMTQuNjE3NCA5Ljc3MjI3IDE0LjYyNDdDOS43NjQ5NSAxNC42MjQ3IDkuNzU2ODMgMTQuNjI0NyA5Ljc0OTUyIDE0LjYyNDdDOS40ODA1OCAxNC42MjQ3IDkuMjI4NyAxNC40OTE1IDkuMDc2NzcgMTQuMjY4QzguMjI4NTIgMTMuMDE3NiA2LjQ1ODg5IDExLjE0MjQgNS4yNzY3MSAxMC40NTA5QzQuODg5MTQgMTAuMjI1IDQuNzU4MzMgOS43MjY5OCA0Ljk4NTAyIDkuMzM5NDFDNS4yMTA4OSA4Ljk1MTA0IDUuNzA3MzMgOC44MjEwNCA2LjA5NjUyIDkuMDQ3NzNDNy4xNTE5NiA5LjY2NDQxIDguNDcxNDUgMTAuOTM0NCA5LjQ3OTc3IDEyLjEyNzlDOS41ODQ1OCAxMi4yNTIyIDkuNzcyMjcgMTIuMjQyNSA5Ljg2MTY0IDEyLjEwNkMxMi4wMDkxIDguODM5NzMgMTUuMDUxMSA1LjMwNjk4IDE4LjI3NjcgMy4zNzA3OUwxOC4yNzQzIDMuMzY4MzVDMTguNzg3IDMuMDU5NiAxOS4yOTMxIDIuNzk3OTggMTkuNzg2MyAyLjU4NjczQzIwLjE5OTEgMi40MTA0MSAyMC4zOTA4IDEuOTMyNjYgMjAuMjE0NSAxLjUxOTkxQzIwLjAzNjYgMS4xMDYzNSAxOS41NTY0IDAuOTE2MjI4IDE5LjE0NzcgMS4wOTI1NEMxOC40NTA2IDEuMzkwNzMgMTcuNzM1NiAxLjc3ODI5IDE3LjAxNzMgMi4yNDA2QzE0Ljg1MiAwLjU1MTQxNSAxMi4wMjk0IC0wLjMzMDE0NyA4Ljk4OTAyIDAuMTE0MjlDNC4zNjEwMiAwLjc5MTkxNSAwLjY2MTcwNSA0LjU3MjQ4IDAuMDg0MDE3MSA5LjIxNTkxQy0wLjc3MzE3IDE2LjEwNDMgNS4wNTE2NCAyMS45MTYxIDExLjk0MzMgMjEuMDM3OEMxNi43MjE2IDIwLjQyODQgMjAuNTQ2OCAxNi41MTcgMjEuMDYyIDExLjcyNzRDMjEuMzMwMSA5LjI0MzU0IDIwLjcyOTYgNi45MDg0MSAxOS41MjggNC45ODQ0MVoiIGZpbGw9IiNEQzAwNDUiPjwvcGF0aD4KPC9zdmc+);
      position: absolute;
      inset: 2px auto auto 0;
    }

    .list-item--blue &:before,
    .dnd-section:has(.section-background--dark-blue) &:before {
      content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iNWMwNmVmZjAiIGQ9Ik0xOS41MjggNC45ODQ0MUMxOS40MTEgNC43OTY3MyAxOS4xNTc1IDQuNzM2NiAxOC45Njk4IDQuODUyNzlDMTUuNjEwOSA2LjkzMDM1IDEyLjM3NTUgMTEuMDE0OCAxMC40NDY2IDE0LjIzMDdDMTAuMzAzNiAxNC40Njc5IDEwLjA1MDEgMTQuNjE3NCA5Ljc3MjI3IDE0LjYyNDdDOS43NjQ5NSAxNC42MjQ3IDkuNzU2ODMgMTQuNjI0NyA5Ljc0OTUyIDE0LjYyNDdDOS40ODA1OCAxNC42MjQ3IDkuMjI4NyAxNC40OTE1IDkuMDc2NzcgMTQuMjY4QzguMjI4NTIgMTMuMDE3NiA2LjQ1ODg5IDExLjE0MjQgNS4yNzY3MSAxMC40NTA5QzQuODg5MTQgMTAuMjI1IDQuNzU4MzMgOS43MjY5OCA0Ljk4NTAyIDkuMzM5NDFDNS4yMTA4OSA4Ljk1MTA0IDUuNzA3MzMgOC44MjEwNCA2LjA5NjUyIDkuMDQ3NzNDNy4xNTE5NiA5LjY2NDQxIDguNDcxNDUgMTAuOTM0NCA5LjQ3OTc3IDEyLjEyNzlDOS41ODQ1OCAxMi4yNTIyIDkuNzcyMjcgMTIuMjQyNSA5Ljg2MTY0IDEyLjEwNkMxMi4wMDkxIDguODM5NzMgMTUuMDUxMSA1LjMwNjk4IDE4LjI3NjcgMy4zNzA3OUwxOC4yNzQzIDMuMzY4MzVDMTguNzg3IDMuMDU5NiAxOS4yOTMxIDIuNzk3OTggMTkuNzg2MyAyLjU4NjczQzIwLjE5OTEgMi40MTA0MSAyMC4zOTA4IDEuOTMyNjYgMjAuMjE0NSAxLjUxOTkxQzIwLjAzNjYgMS4xMDYzNSAxOS41NTY0IDAuOTE2MjI4IDE5LjE0NzcgMS4wOTI1NEMxOC40NTA2IDEuMzkwNzMgMTcuNzM1NiAxLjc3ODI5IDE3LjAxNzMgMi4yNDA2QzE0Ljg1MiAwLjU1MTQxNSAxMi4wMjk0IC0wLjMzMDE0NyA4Ljk4OTAyIDAuMTE0MjlDNC4zNjEwMiAwLjc5MTkxNSAwLjY2MTcwNSA0LjU3MjQ4IDAuMDg0MDE3MSA5LjIxNTkxQy0wLjc3MzE3IDE2LjEwNDMgNS4wNTE2NCAyMS45MTYxIDExLjk0MzMgMjEuMDM3OEMxNi43MjE2IDIwLjQyODQgMjAuNTQ2OCAxNi41MTcgMjEuMDYyIDExLjcyNzRDMjEuMzMwMSA5LjI0MzU0IDIwLjcyOTYgNi45MDg0MSAxOS41MjggNC45ODQ0MVoiIGZpbGw9IiNDRUUyRjMiPjwvcGF0aD4KPC9zdmc+);
    }

    .text-color-override &:before {
      content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iMGMzMTBkZGUiIGQ9Ik0xOS41MjggNC45ODQ0MUMxOS40MTEgNC43OTY3MyAxOS4xNTc1IDQuNzM2NiAxOC45Njk4IDQuODUyNzlDMTUuNjEwOSA2LjkzMDM1IDEyLjM3NTUgMTEuMDE0OCAxMC40NDY2IDE0LjIzMDdDMTAuMzAzNiAxNC40Njc5IDEwLjA1MDEgMTQuNjE3NCA5Ljc3MjI3IDE0LjYyNDdDOS43NjQ5NSAxNC42MjQ3IDkuNzU2ODMgMTQuNjI0NyA5Ljc0OTUyIDE0LjYyNDdDOS40ODA1OCAxNC42MjQ3IDkuMjI4NyAxNC40OTE1IDkuMDc2NzcgMTQuMjY4QzguMjI4NTIgMTMuMDE3NiA2LjQ1ODg5IDExLjE0MjQgNS4yNzY3MSAxMC40NTA5QzQuODg5MTQgMTAuMjI1IDQuNzU4MzMgOS43MjY5OCA0Ljk4NTAyIDkuMzM5NDFDNS4yMTA4OSA4Ljk1MTA0IDUuNzA3MzMgOC44MjEwNCA2LjA5NjUyIDkuMDQ3NzNDNy4xNTE5NiA5LjY2NDQxIDguNDcxNDUgMTAuOTM0NCA5LjQ3OTc3IDEyLjEyNzlDOS41ODQ1OCAxMi4yNTIyIDkuNzcyMjcgMTIuMjQyNSA5Ljg2MTY0IDEyLjEwNkMxMi4wMDkxIDguODM5NzMgMTUuMDUxMSA1LjMwNjk4IDE4LjI3NjcgMy4zNzA3OUwxOC4yNzQzIDMuMzY4MzVDMTguNzg3IDMuMDU5NiAxOS4yOTMxIDIuNzk3OTggMTkuNzg2MyAyLjU4NjczQzIwLjE5OTEgMi40MTA0MSAyMC4zOTA4IDEuOTMyNjYgMjAuMjE0NSAxLjUxOTkxQzIwLjAzNjYgMS4xMDYzNSAxOS41NTY0IDAuOTE2MjI4IDE5LjE0NzcgMS4wOTI1NEMxOC40NTA2IDEuMzkwNzMgMTcuNzM1NiAxLjc3ODI5IDE3LjAxNzMgMi4yNDA2QzE0Ljg1MiAwLjU1MTQxNSAxMi4wMjk0IC0wLjMzMDE0NyA4Ljk4OTAyIDAuMTE0MjlDNC4zNjEwMiAwLjc5MTkxNSAwLjY2MTcwNSA0LjU3MjQ4IDAuMDg0MDE3MSA5LjIxNTkxQy0wLjc3MzE3IDE2LjEwNDMgNS4wNTE2NCAyMS45MTYxIDExLjk0MzMgMjEuMDM3OEMxNi43MjE2IDIwLjQyODQgMjAuNTQ2OCAxNi41MTcgMjEuMDYyIDExLjcyNzRDMjEuMzMwMSA5LjI0MzU0IDIwLjcyOTYgNi45MDg0MSAxOS41MjggNC45ODQ0MVoiIGZpbGw9IiNEQzAwNDUiPjwvcGF0aD4KPC9zdmc+) !important;
    }
  }


  ul:is(.no-list-styling, .inputs-list) & {
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 0;

    &:before {
      display: none;
    }
  }

  ol > & {
    position: relative;
    padding-left: 24px;
  }

  ol > &:before {
    counter-increment: orderedlist;
    content: counter(orderedlist) '.';
    position: absolute;
    inset: 2px auto auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--body-font);
    line-height: 1;
    color: inherit; 
    height: 21px;
    width: auto;
  }

  :is(.list-reset) & {
    margin-left: 20px;
    padding: 0;

    &::marker {
      font-size: 20px;
      line-height: calc(var(--font-size) * var(--line-height));
      color: var(--blue-base);
    }
    
    &:before {
      display: none;
    }
  }


  :is(.list-reset ol, ol.list-reset) > &::marker {
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 600;
    line-height: calc(var(--font-size) * var(--line-height));
  }
}

:is(.hs-tools-actions, .hubspot-disable-focus-styles) li {
  &:before {
    display: none;
  }
}

/* Code blocks */
pre {
  overflow: auto;
  margin: 0;
}

code {
  vertical-align: bottom;
}

/* Horizontal rules */
hr {
  width: 100%;
  margin-block: var(--spacing-8x) var(--spacing-4x);
  border: none;
  border-bottom: 1px solid var(--border);
}

/* Image alt text */
img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Figcaptions */
figcaption {
  font-size: 0.875rem;
}

/* ========================================================================== */
/*  RICH TEXT STYLING                                                         */
.custom-text-wrapper,
.custom-text-wrapper__rich-text {
  display: flex;
  flex-direction: column;
}

:is(.hs_cos_wrapper_type_rich_text, .custom-text-wrapper, .custom-text-wrapper__rich-text) :is(h1, h2, h3, h4, h5, h6):has(+ *) {
  text-wrap: wrap;
  margin-bottom: var(--spacing-4x);
}

:is(.hs_cos_wrapper_type_rich_text, .custom-text-wrapper, .custom-text-wrapper__rich-text) :is(.preheader, p, ul):has(+ *) {
  text-wrap: wrap;
  margin-bottom: var(--spacing-4x);
}


/*** Blog Post Body ***/
@scope (.post-body__content-wrapper) to (.hs_cos_wrapper_type_module) {
  .hs_cos_wrapper_type_rich_text {
    & h2 {
      font-size: var(--h3-font-size) !important;
      font-weight: 600 !important;
    }

    & h3 {
      font-size: var(--h4-font-size) !important;
      font-weight: 600 !important;
    }

    & h4 {
      font-size: var(--h5-font-size) !important;
      font-weight: 600 !important;
    }

    & h5 {
      font-size: var(--h6-font-size) !important;
      font-weight: 600 !important;
    }

    & h6 {
      font-size: 1.1111rem !important;
      font-weight: 600 !important;
    }

    & :is(h2, h3, h4, h5, h6) {
      margin-block: var(--spacing-10x) var(--spacing-5x);
      color: var(--text-base) !important;

      & > span {
        color: var(--text-base) !important;
      }
    }

    & p {
      font-family: var(--body-font) !important;
      font-size: var(--rem-base-px) !important;
      line-height: 1.58;
      color: var(--text-base) !important;

      & > span {
        color: var(--text-base) !important;
      }
    }

    & p:has(+ *) {
      margin-bottom: var(--spacing-5x);
    }
  }
}


.post-body__content-wrapper .hs_cos_wrapper_type_rich_text {
  display: block;
  margin-bottom: var(--spacing-12x);

  & > *:first-child,
  & #section-0 h2 {
    margin-top: 0;
  }

  & a {
    --underline-color: var(--anchor-color);
  }

  & .hs_cos_wrapper_type_module {
    margin-block: var(--spacing-10x);
  }

  /*** List Items -- Blog ***/
  & ul:not(.takeaways-wrapper ul) {
    list-style: initial !important;
    margin: 0 0 var(--spacing-5x) 7px;

    & li {
      padding-left: 0;
      margin: 0 0 var(--spacing-3x) var(--spacing-3x);

      &:last-of-type {
        margin-bottom: 0;
      }
    }
  
    & li:before {
      display: none;
    }
  
    & li::marker {
      color: var(--blue-base);
    }
  }


  & ol {
    list-style: none;
    counter-reset: orderedlist;
    margin-bottom: var(--spacing-5x);
  }

  & ol > li {
    position: relative;
    padding-left: 22px;
    margin-bottom: var(--spacing-3x);

    &:last-of-type {
      margin-bottom: 0;
    }
  }

  & ol > li:before {
    counter-increment: orderedlist;
    content: counter(orderedlist) '.';
    position: absolute;
    inset: 3px auto auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-family: var(--body-font);
    height: fit-content;
    width: fit-content;
    background: transparent;
  }

  /*** Figure/Img/Figcaption ***/
  & :is(img, figure, :is(.hs_cos_wrapper_type_module, .custom-blog-image):has(> img)) {
    margin-block: var(--spacing-8x);
  }

  & :is(.hs_cos_wrapper_type_module > img, .hs_cos_wrapper_type_module > figure, .custom-blog-image > figure, figure > img, .custom-blog-image > img) {
    margin: 0 !important;
  }

  & .hs_cos_wrapper_type_module > figure,
  & .custom-blog-image > figure {
    margin-block: var(--spacing-8x);
  }

  & figcaption {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--spacing-3x);
  }

  @media (max-width: 640px) {
    & ul {
      margin: 0 0 var(--spacing-10x) 11px;
    }
  }
}
.reset-button {
  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;
}

/* ========================================================================== */
/*  Button Group                                                              */
.btn-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-4x);
  width: 100%;

  @media (max-width: 820px) {
    flex-direction: column;
  }

  &.btn-group--center {
    justify-content: center;
  }

  &.btn-group--right {
    justify-content: flex-end;
  }
}

/* ========================================================================== */
/*  Button Styles                                                             */
.btn,
a.btn,
.btn-cta-wrapper a,
.form input[type="submit"],
.systems-page .email-prefs input[type="submit"],
#hs-subscriptions-survey-submit-button {
  --text-color: var(--white);
  --bg-color: transparent;
  --border-color: transparent;
  --underline-color: transparent;
  --hover-text-color: var(--white);
  --hover-bg-color: transparent;
  --hover-border-color: transparent;
  --hover-underline-color: transparent;
  --padding: var(--spacing-4x) var(--spacing-8x);
  --border-radius: var(--radius-round);
  --btn-transition: var(--transition);
  color: var(--text-color);
  padding: var(--padding);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--btn-transition);
  font-size: var(--rem-base-px);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2x);
  line-height: 1;
  text-decoration: none;
  width: fit-content;

  @media (max-width: 820px) {
    width: 100%;
  }

  & svg {
    transition: var(--btn-transition);
  }

  & svg path {
    fill: var(--text-color);
    transition: var(--btn-transition);
  }

  @media (hover: hover) {
    &:hover {
      color: var(--hover-text-color);
      background: var(--hover-bg-color);
      border-color: var(--hover-border-color);

      & svg path {
        fill: var(--hover-text-color);
      }
    } 
  }
}

.form input[type="submit"] {
  width: 100% !important;
}

.btn--primary,
a.btn--primary,
.btn-cta-wrapper--primary,
.btn-cta-wrapper--primary a.btn--cta,
:is(.form, form) input[type="submit"],
.systems-page .email-prefs input[type="submit"],
#hs-subscriptions-survey-submit-button {
  --bg-color: var(--red-base);
  --border-color: var(--red-base);
  --hover-bg-color: var(--red-600);
  --hover-border-color: var(--red-600);
}

.btn--primary-clear,
a.btn--primary-clear,
.btn-cta-wrapper--primary-clear,
.btn-cta-wrapper--primary-clear a.btn--cta {
  --text-color: var(--red-base);
  --border-color: var(--red-base);
  --hover-text-color: var(--red-600);
  --hover-border-color: var(--red-600);
}

.btn--ghost,
a.btn--ghost,
.btn-cta-wrapper--ghost,
.btn-cta-wrapper--ghost a.btn--cta {
  --text-color: var(--white);
  --border-color: var(--white);
  --hover-text-color: var(--gray-50);
  --hover-border-color: var(--gray-50);
}

.btn--link,
a.btn--link,
.btn-cta-wrapper--link,
.btn-cta-wrapper--link a.btn--cta {
  --text-color: var(--red-base);
  --hover-text-color: var(--red-600);
  --underline-color: var(--text-color);
  --hover-underline-color: var(--hover-text-color);
  --padding: 0;
  border: none;
}

.btn--link-white,
a.btn--link-white,
.btn-cta-wrapper--link-white,
.btn-cta-wrapper--link-white a.btn--cta {
  --text-color: var(--white);
  --hover-text-color: var(--gray-50);
  --underline-color: var(--white);
  --hover-underline-color: var(--hover-text-color);
  --padding: 0;
  border: none;
}

.btn-cta-wrapper--link,
.btn-cta-wrapper--link-white {
  --text-color: var(--white);
  --hover-text-color: var(--white);
  --btn-transition: var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2x);

  & svg {
    transition: var(--btn-transition);
  }

  & svg path {
    fill: var(--text-color);
    transition: var(--btn-transition);
  }

  @media (hover: hover) {
    &:hover svg path {
      fill: var(--hover-text-color);
    } 
  }
}

.btn--link,
.btn--link-white,
.btn-cta-wrapper--link,
.btn-cta-wrapper--link-white,
a:is(.btn--link, .btn--link-white) {
  justify-content: flex-start;
  text-decoration: none;
  transition: var(--btn-transition);

  & .btn-underline-wrapper {
    position: absolute;
    inset: 100% auto auto 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 5px;
    overflow: clip;
    
    &:after {
      content: '';
      display: block;
      height: 2px;
      width: 100%;
      border-radius: var(--border-radius);
      background: var(--text-color);
      animation: underlineSlideIn 300ms linear forwards;
    }
  }

  & .icon-wrapper {
    overflow: clip;

    & svg {
      width: 14px;
      height: auto;
    }
  }

  &:hover,
  .card:hover & {
    text-decoration-color: var(--hover-underline-color);

    & svg {
      animation: arrowSlideInOut 600ms linear forwards;
    }

    & .btn-underline-wrapper:after {
      animation: underlineSlideOut 300ms linear forwards;
    }
  }

  @media (max-width: 820px) {
    width: fit-content !important; 
  }
}

.btn--card-link,
a.btn--card-link {
  --text-color: var(--red-base);
  --hover-text-color: var(--red-base);
  --padding: 0;
  justify-content: flex-start;

  .card:hover & {
    color: var(--hover-text-color);

    & svg {
      transform: translateX(4px);
    }
  
    & svg path {
      fill: var(--hover-text-color) !important;
    }
  }

  &:hover {
    color: var(--hover-text-color);
  
    & svg {
      transform: translateX(4px);
    }
  
    & svg path {
      fill: var(--hover-text-color) !important;
    }
  }
}

@keyframes arrowSlideInOut {
  0% {
    transform: translateX(0);
  }
  
  50% {
    transform: translate(101%);
  }

  51% {
    transform: translateX(-101%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes underlineSlideOut {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translate(101%);
  }
}

@keyframes underlineSlideIn {
  from {
    transform: translateX(-100%);
  }
  
  to {
    transform: translate(0);
  }
}
.form--bg {
  padding: var(--spacing-12x);
  border-radius: var(--radius-lg);

  &.form--bg-white {
    --form-text-color: var(--text-base);
    background: var(--white);
    border: 1px solid var(--gray-50);
  }

  &.form--bg-beige {
    --form-text-color: var(--text-base);
    background: var(--background-beige);
    border: 1px solid transparent;
  }

  &.form--bg-dark_blue {
    --form-text-color: var(--white);
    background: var(--background-dark-blue);
    border: 1px solid var(--background-dark-blue);
  }

  @media (max-width: 640px) {
    padding: var(--spacing-8x);
  }
}

.form__heading {
  color: var(--form-text-color);
  margin-bottom: var(--spacing-4x); 

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}

.form__description {
  color: var(--form-text-color);
  margin-bottom: var(--spacing-8x);

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}

/* ========================================================================== */
/*  Fields                                                                    */
.hs-form-field {
  margin-bottom: var(--input-spacing-y);
}

/* ========================================================================== */
/*  Labels                                                                    */
form label {
  margin-bottom: var(--label-margin-b);
}

form label, form label span {
  display: flex;
  font-family: var(--label-font-family);
  font-size: var(--label-font-size);
  font-weight: var(--label-font-weight);
  line-height: var(--label-line-height);
  color: var(--label-color);
}

/* ========================================================================== */
/*  Help Text                                                                 */
form legend {
  font-size: var(--legend-font-size);
}

/* ========================================================================== */
/*  Fieldsets                                                                 */
form fieldset {
  max-width: 100% !important;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

form fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr;
}

form fieldset:is(.form-columns-1, .form-columns-2) .hs-form-field {
  width: 100% !important;
  float: none !important;
}

form fieldset:is(.form-columns-1, .form-columns-2) .input {
  margin-right: 0 !important;
}

@media (min-width: 480px) {
  form fieldset.form-columns-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4x);
  }
}

/* ========================================================================== */
/*  Inputs                                                                    */
form :is(
  select, 
  select option, 
  textarea, 
  input:is(
    [type=radio], 
    [type=text], 
    [type=checkbox], 
    [type=search], 
    [type=email],
    [type=tel])) 
  {
  display: inline-block;
  font-size: var(--input-font-size);
  font-weight: var(--input-font-weight);
  line-height: var(--input-line-height);
  color: var(--input-color-text);
  padding: var(--input-padding);
  width: 100% !important;
  border: var(--input-border);
  border-radius: var(--input-border-radius);
  background-color: var(--input-color-bg);
  outline: 3px solid transparent;
  outline-offset: 0;
}

form :is(input, textarea, select):is(:focus) {
  border-color: var(--input-focus-color-border);
  outline-color: var(--input-color-outline);
}

form :is(input, textarea, select):disabled {
  cursor: not-allowed;
  color: var(--input-disabled-color-text);
  background: var(--input-disabled-color-bg);
  border-color: var(--input-disabled-color-border);
}

form :is(
  select, 
  select option, 
  input:is(
    [type=text], 
    [type=search], 
    [type=email],
    [type=tel]))
{
  height: 50px;
}

form textarea {
  height: var(--textarea-height);
}

form .hs_submit input[type=submit] {
  display: block;
}

form input::-webkit-input-placeholder, 
form input::placeholder, 
form select.is-placeholder, 
form select option:disabled {
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 1 !important;
  color: var(--input-color-text-placeholder);
}

form input:placeholder:disabled {
  color: var(--input-disabled-color-text); 
}

/* ========================================================================== */
/*  Form List Items                                                           */  
form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0 0 12px;
}

form .inputs-list :is(input, span) {
  vertical-align: middle;
}

/* ========================================================================== */
/*  Inputs - Checkbox                                                         */
form li:has(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) {
  display: block;
  font-size: var(--checkbox-font-size);
  font-weight: var(--checkbox-font-weight);
  line-height: 1;
  margin-bottom: 0 !important;
}

form :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

form :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) span {
  font-family: var(--checkbox-font-family);
  font-size: var(--checkbox-font-size);
  font-weight: var(--checkbox-font-weight);
  line-height: var(--checkbox-line-height);
  color: var(--checkbox-color-text);
  transition: var(--input-transition);
  margin: 0;
}

form .hs-form-checkbox-display:has(input[type=checkbox]:disabled) span {
  color: var(--checkbox-disabled-color-text);
}

form input[type=checkbox] {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  height: var(--checkbox-dimensions);
  width: var(--checkbox-dimensions) !important;
  background-color: var(--checkbox-color-bg);
  border-radius: var(--checkbox-border-radius);
  border: var(--checkbox-border);
  transition: var(--input-transition);
  outline-offset: 3px;
  overflow: clip;
}

form .inputs-list.error input[type="checkbox"] {
  border-color: var(--checkbox-error-color-border);
}

form input[type="checkbox"]:checked {
  background-color: var(--checkbox-checked-color-bg);
  border-color: var(--checkbox-checked-color-border);
}

form input[type="checkbox"]:disabled,
form input[type="checkbox"]:disabled:hover {
  background-color: var(--checkbox-disabled-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}
form input[type="checkbox"]:disabled:checked,
form input[type="checkbox"]:disabled:checked:hover {
  background-color: var(--checkbox-disabled-checked-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}

form input[type="checkbox"]:after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  mask-repeat: no-repeat;
  mask-position: center;
  background: var(--checkbox-checked-color-border);
}

form input[type="checkbox"]:checked:after {
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iZDYxOGIwMmQiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KPC9zdmc+);
  mask-size: 100%;
  opacity: 1;
}

/* form input[type="checkbox"]:disabled:checked:before {
  --checkbox-content: var(--checkbox-disabled-checked-image);
} */

/* form input[type="checkbox"]:after {
  content: '';
  position: absolute;
  inset: 0;
  height: var(--checkbox-image-dimensions);
  width: var(--checkbox-image-dimensions);
  transition: var(--input-transition);
  opacity: 0;
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iZDYxOGIwMmQiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KPC9zdmc+);
  mask-size: 100%;
}

form input[type="checkbox"]:checked:after {
  opacity: 1;
}  */

form input[type="checkbox"]:disabled:after {
  opacity: 0;
}

/* Hover States */
@media (hover: hover) {
  form input[type="checkbox"]:hover:not(input[type="checkbox"]:disabled) {
    border-color: var(--checkbox-hover-color-border);
  }

  form input[type="checkbox"]:checked:hover:not(input[type="checkbox"]:disabled) {
    background-color: var(--checkbox-checked-hover-color-bg);
    border-color: var(--checkbox-checked-hover-color-border);
  }
}

/* ========================================================================== */
/*  Inputs - Radio                                                            */
form li:has(.hs-form-radio-display) {
  display: block;
  font-size: var(--radio-font-size);
  font-weight: var(--radio-font-weight);
  line-height: 1;
  margin-bottom: 0 !important;
}

form .hs-form-radio-display {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

form .hs-form-radio-display span {
  font-family: var(--radio-font-family);
  font-size: var(--radio-font-size);
  font-weight: var(--radio-font-weight);
  line-height: var(--radio-line-height);
  color: var(--radio-color-text);
  transition: var(--input-transition);
  margin: 0;
}

form .hs-form-radio-display:has(input[type=radio]:disabled) span {
  color: var(--radio-disabled-color-text);
}

form input[type=radio] {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  height: var(--radio-dimensions);
  width: var(--radio-dimensions) !important;
  background-color: var(--radio-color-bg);
  border-radius: var(--radio-border-radius);
  border: var(--radio-border);
  transition: var(--input-transition), border-width 0ms linear;
  outline-offset: 3px;
}

form .inputs-list.error input[type="radio"] {
  border-color: var(--radio-error-color-border);
}

form input[type="radio"]:checked {
  border: var(--radio-checked-color-border);
  background: var(--radio-checked-color-bg);
}

form input[type="radio"]:disabled,
form input[type="radio"]:disabled:hover {
  background-color: var(--radio-disabled-color-bg);
  border: var(--radio-disabled-color-border);
}

form input[type="radio"]:disabled:checked,
form input[type="radio"]:disabled:checked:hover {
  background-color: var(--radio-disabled-checked-color-bg);
  border: var(--radio-disabled-checked-color-border);
} 

form input[type="radio"]:after {
  content: '';
  height: var(--radio-inner-dimensions);
  width: var(--radio-inner-dimensions);
  border-radius: var(--radio-border-radius);
  transition: var(--input-transition);
}

form input[type="radio"]:checked:after {
  background-color: var(--radio-checked-color-inner);
}

form input[type="radio"]:disabled:after {
  background-color: var(--radio-disabled-color-inner);
}

form input[type="radio"]:disabled:checked:after {
  background-color: var(--radio-disabled-checked-color-inner);
}

/* Hover States */
@media (hover: hover) {
  form input[type="radio"]:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-hover-border);
  }

  form input[type="radio"]:checked:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-checked-hover-color-border);
  }

  form input[type="radio"]:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-hover-color-inner);
  }

  form input[type="radio"]:checked:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-checked-color-inner);
  }
}

/* ========================================================================== */
/*  Inputs - Select                                                           */
form .hs-fieldtype-select .input {
  position: relative;
}

form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

form .hs-fieldtype-select .input:after {
  content: var(--select-icon);
  pointer-events: none;
  position: absolute;
  inset: 50% 16px auto auto;
  line-height: 1;
  transform: translateY(-50%);
  transition: all 300ms ease-in-out;
  z-index: 1;
}

form .hs-fieldtype-select .input:has(select:focus):after {
  transform: translateY(-50%) rotate(-180deg);
}

/* ========================================================================== */
/*  Inputs - Date Picker                                                      */
.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content: '';
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  margin-right: var(--date-input-margin-right);
  height: var(--date-input-icon-height);
  width: var(--date-input-icon-width);
  background-image: var(--date-input-icon);
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.hs-datepicker {
  width: 100%;
  max-width: 400px;
}

.fn-date-picker.pika-single.is-bound {
  width: 100%;
  border-radius: var(--date-picker-border-radius);
  border: var(--date-picker-border);
}

.fn-date-picker .pika-lendar {
  height: 100%;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px;
  float: none !important;
}

.fn-date-picker .pika-table {
  margin-bottom: 0;
}

.fn-date-picker .pika-label,
.fn-date-picker .pika-table thead th,
.fn-date-picker .pika-button {
  font-family: var(--body-font);
  color: var(--date-picker-color) !important;
}

.fn-date-picker .pika-table thead th abbr {
  text-decoration: none;
}

.fn-date-picker .pika-button {
  font-family: var(--body-font);
  font-weight: 400;
  text-align: center !important;
  background: transparent !important;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.fn-date-picker td.is-today .pika-button {
  font-weight: 600;
  color: var(--date-picker-number-today-color) !important;
}

.fn-date-picker td.is-selected .pika-button {
  background-color: var(--date-picker-number-selected-bg) !important;
  color: var(--date-picker-number-selected-color) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: none;
}

@media (hover: hover) {
  form .fn-date-picker .pika-button:hover {
    background: var(--date-picker-number-hover-bg) !important;
    border-radius: var(--border-radius) !important;
    color: var(--date-picker-number-hover-color) !important;
  }
}

/* ========================================================================== */
/*  Inputs - File Picker                                                      */
form input[type=file] {
  background-color: transparent;
  border-radius: 0;
  border: initial;
  padding-left: 0;
}

/* ========================================================================== */
/*  GDPR                                                                      */
.legal-consent-container .hs-richtext,
.legal-consent-container .hs-richtext p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.form--style-dark .legal-consent-container .hs-richtext,
.form--style-dark .legal-consent-container .hs-richtext p {
  color: var(--neutral-200);
}

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 0 !important;
}

/* ========================================================================== */
/*  Validation                                                                */
form label span.hs-form-required {
  color: var(--input-color-required);
}

.hs-input.invalid.error {
  border-color: var(--input-error-color-border);
  box-shadow: var(--input-error-color-outline);
}

form .inputs-list.hs-error-msgs {
  margin: 0;
}

form .hs-error-msgs li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
}

form .hs-error-msgs li:before {
  content: var(--label-error-image);
  display: none;
  line-height: 1;
  height: 16px;
  width: 16px;
}

form .hs-error-msgs label {
  --font-size: var(--label-error-font-size);
  display: inline-block;
  font-size: var(--font-size);
  font-weight: var(--label-error-font-weight);
  line-height: var(--label-error-line-height);
  color: var(--label-error-color);
  margin-bottom: 0;
}

/* ========================================================================== */
/*  Captcha                                                                   */
.grecaptcha-badge {
  margin: 0 auto;
}

/* ========================================================================== */
/*  Submit Message                                                            */
.submitted-message {
  text-align: center;
  font-weight: 600;

  .form--bg-dark_blue & {
    color: var(--white);
  }
}


/* ========================================================================== */
/*  New Form System                                                           */
/* ========================================================================== */
/* ========================================================================== */
/*  NEW FORM VARIABLES                                                        */
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  /* To see all available properties, check: https://developers.hubspot.com/docs/reference/cms/forms/forms */
  --hsf-global__font-family: var(--body-font);
  --hsf-row__horizontal-spacing: var(--spacing-4x);
  --hsf-row__vertical-spacing: var(--input-spacing-y);
  --hsf-module__vertical-spacing: var(--spacing-2x);
  
  --hsf-button__font-family: var(--body-font);
  --hsf-button__font-size: var(--rem-base-px);
  --hsf-button__font-weight: 600;
  --hsf-button__color: var(--white);
  --hsf-button__background-color: var(--red-base);
  --hsf-button--hover__background-color: var(--red-600);
  --hsf-button__background-image: none;
  --hsf-button__border-radius: var(--radius-round);
  --hsf-button__padding: var(--spacing-4x) var(--spacing-8x);
  --hsf-button__box-shadow: none;

  --hsf-erroralert__font-family: var(--body-font);
  --hsf-erroralert__font-size: 0.6667rem;
  --hsf-erroralert__color: var(--form-error);

  --hsf-richtext__color: var(--label-color);

  --hsf-background__background-color: none;
  --hsf-background__background-image: none;
  --hsf-background__background-size: none;
  --hsf-background__background-position: none;
  --hsf-background__background-repeat: none;
  --hsf-background__border-style: none;
  --hsf-background__border-color: transparent;
  --hsf-background__border-radius: 0;
  --hsf-background__border-width: 0;
  --hsf-background__padding: 0;

  --hsf-field-label__font-family: var(--label-font-family);
  --hsf-field-label__font-size: var(--label-font-size);
  --hsf-field-label-requiredindicator__color: var(--form-error);
  --hsf-field-input__font-size: var(--input-font-size);
  --hsf-field-input__background-color: var(--white);
  --hsf-field-input__placeholder-color: var(--text-light);
  --hsf-field-input__border-color: var(--text-base);
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: var(--input-border-radius);
  --hsf-field-input__padding: var(--input-padding) !important;
  --hsf-default-field-input__padding: var(--spacing-4x);

  --hsf-field-checkbox__padding: 9px !important;
  --hsf-field-checkbox__color: var(--red-base);
  --hsf-field-checkbox__background-color: var(--white);
  --hsf-field-checkbox__border-color: var(--navy-base);
  --hsf-field-checkbox__border-width: 1px;

  --hsf-field-radio__border-color: var(--radio-border);
  --hsf-field-radio__padding: 9px !important;
  --hsf-field-radio__border-width: 1px;

  --hsf-field-dropdown-options__border-radius: var(--input-border-radius);

  --hsf-button__width: 100%;

  .form--bg-dark_blue & {
    --hsf-field-input__border-width: 2px;
    --hsf-field-input__border-color: var(--white);
    --hsf-field-checkbox__color: var(--blue-base);
    --hsf-field-checkbox__background-color: var(--white);
    --hsf-field-checkbox__border-color: var(--white);

    --hsf-field-radio__border-color: var(--white);
  }

  @media (max-width: 640px) {
    padding: 0;
  }

  & :is(input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea) {
      padding: var(--hsf-field-input__padding, var(--hsf-default-field-input__padding)) !important;
  }

  & .hsfc-FieldLabel {
    font-weight: 600;
    line-height: 1;
    text-align: left !important;

    & > span {
      text-align: left;
      margin: 0 0 !important;
    }

    &:has(> .hsfc-CheckboxInput, > .hsfc-RadioInput) span {
      cursor: pointer;
      font-size: 0.8333rem;
      font-weight: 400;
      line-height: normal;
      padding-left: 0;

      &:before, &:after {
        display: none;
      }
    }
  }

  & .hsfc-TextInput {
    --transition: all .2s ease;

    &:is(:hover, :active, :focus) {
      --hsf-field-input__border-color: var(--input-focus-color-border);
      box-shadow: none; 
    }

    &:has(+ .hsfc-ErrorAlert) {
      --hsf-field-input__border-color: var(--form-error);
    }
  }

  & .hsfc-CheckboxFieldGroup__Options label {
    display: inline-flex;
    align-items: flex-start;

    div:has(> &) {
      display: flex;
    }

    & > span {
      display: block;
    }
  }

  & .hsfc-CheckboxInput {
    border-radius: var(--checkbox-border-radius);
    left: auto;
    transition: all .2s ease;

    &:is(:hover, :active, :focus) {
      box-shadow: none; 
    }

    &:checked:after {
      mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iZDYxOGIwMmQiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KPC9zdmc+);
      mask-size: 100%;
      opacity: 1;
    }
  }

  & .hsfc-RadioFieldGroup__Options label {
    display: inline-flex;
    align-items: flex-start;

    div:has(> &) {
      display: flex;
    }

    & > span {
      display: block;
    }
  }

  & .hsfc-RadioInput {
    transition: all .2s ease;
    left: auto;

    &:is(:hover, :active, :focus) {
      box-shadow: none; 
    }

    &:after {
      position: absolute;
      inset: 50% auto auto 50%;
      height: var(--radio-inner-dimensions);
      width: var(--radio-inner-dimensions);
      mask-image: none;
      mask-size: 100%;
      transform: translate(-50%, -50%);
      opacity: 1;
    }

    &:checked:after {
      background: var(--radio-checked-color-inner);
    }
  }

  & .hsfc-ErrorAlert {
    font-weight: 400;
    line-height: 1;
    text-align: left;
  }
  
  & .hsfc-PhoneInput__FlagAndCaret {
    padding-block: 0;
  }


  & .hsfc-TextareaInput {
    display: block;
    height: var(--textarea-height);

    &:is(:hover, :active, :focus) {
      --hsf-field-textarea__border-color: var(--input-focus-color-border);
      box-shadow: none; 
    }
  }

  & .hsfc-DropdownInput__Caret,
  & .hsfc-PhoneInput__FlagAndCaret__Caret {
    border: none;
    transition: all 200ms ease;

    & span {
      display: none;
    }

    &:before {
      content: var(--select-icon);
    }
  }

  & .hsfc-DropdownOptions {
    box-shadow: var(--box-shadow-md);
  }

  & .hsfc-DropdownOptions__Search {
    display: none;
  }

  & .hsfc-DropdownOptions__List {
    padding-block: var(--spacing-2x);
  }

  & li.hsfc-DropdownOptions__List__ListItem {
    font-size: var(--input-font-size);
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    margin: 0;
    padding: var(--spacing-2x) var(--spacing-6x);
    transition: var(--input-transition);

    &.hsfc-DropdownOptions__List__ListItem--selected {
      filter: unset;
      background: var(--red-50);
    }

    &:before {
      display: none !important;
    }

    &:hover {
      color: var(--text-base);
      background: var(--red-50);
      filter: none;
    }
  }

  & .hsfc-TextInput--button[aria-expanded="true"] + * + .hsfc-DropdownInput__Caret {
    transform: rotate(-180deg);
  }

  & .hsfc-NavigationRow {
    margin-top: var(--spacing-8x);
  }

  & .hsfc-Button:not([disabled]):hover {
    transform: translateY(0);
  }

  .hsfc-PostSubmit .hsfc-RichText {
    text-align: center;
  }
}
/* 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;
}
.is-anchor {
  scroll-margin-top: var(--scroll-margin-top);
}

/* ========================================================================== */
/*  BACKGROUNDS                                                               */
/* ========================================================================== */
.dnd-section:has(.section-background--dark-blue) {
  --border-color: var(--white);
  background: var(--background-dark-blue);
  color: var(--white);
}

.dnd-section:has(.section-background--beige) {
  background: var(--background-beige);
}

.section-background-hidden-element {
  display: none;
}

.text-color-override {
  color: var(--text-base);
}

.section-background-helper {
  text-align: center;
  width: 100%;
  padding: var(--spacing-3x) var(--spacing-4x);
  margin-block: var(--spacing-4x);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);

  & p {
    font-size: var(--text-sm);
  }
}

.section-background-helper__title {
  font-weight: 700;
}

/* ========================================================================== */
/*  Typography                                                                */
/* ========================================================================== */
.text-white,
.text-white :where(*:not(.btn)) {
  color: var(--white);
}

.text-sm {
  font-size: var(--text-sm);
  line-height: var(--text-sm-line-height);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--text-xs-line-height);
}

.text-highlight--light-blue {
  color: var(--blue-400);
}

.text-highlight--red {
  color: var(--red-base);
}

:has(> .masked-link) {
  position: relative;
}

.masked-link {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
[data-accordion] {
  --panel-visibility: hidden;
  --panel-height: 0px;
}

[data-accordion-panel-wrapper] {
  height: var(--panel-height);
  overflow: hidden;
}

[data-accordion-panel] {
  visibility: var(--panel-visibility);
}
.video-player-wrapper {
  --media-button-touch-hover-border-radius: 8px;
  --media-button-touch-hover-bg: transparent;
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: clip;
}

.video-player {
  --media-button-icon-size: 42px;
  --media-button-hover-transform: none;
  --media-button-hover-bg: transparent;
  --right-btn-pos: 24px;
  position: relative;
  height: fit-content;
}

.video-player__thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.video-player media-player[data-media-player] {
  cursor: pointer;
  position: static;
  display: block;
  height: 100% !important;
  width: 100% !important;
}

.video-player iframe .ytp-watermark {
  display: none;
}

.video-player .vds-poster :where(img) {
  object-fit: cover;
}


/* ========================================================================== */
/*  MODAL VARIANT                                                             */
body:has(dialog.video-player-modal-wrapper[open]) {
  overflow: clip;
}

body:has(dialog.video-player-modal-wrapper[open][data-state="closing"]) {
  overflow: auto;
}

dialog.video-player-modal-wrapper {
  cursor: default;
  display: none;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: transparent;
  padding: 0 var(--container-padding);
  opacity: 0;
  transition: all 200ms ease-in-out;
  z-index: 0;
}

dialog.video-player-modal-wrapper[open] {
  display: flex;
  animation: openVideoModal 300ms forwards;
}

dialog.video-player-modal-wrapper[open][data-state="closing"] {
  animation: closeVideoModal 300ms forwards;
}

dialog.video-player-modal-wrapper::backdrop {
  display: none;
}

@keyframes openVideoModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes closeVideoModal {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.video-modal__backdrop {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  width: 100%;
  background: rgb(from #111 r g b/.2);
  backdrop-filter: blur(15px);
  z-index: -1;
}

.video-player-modal {
  --media-button-icon-size: 24px;
  max-width: 1063px;
  aspect-ratio: 16/9;
  height: auto !important;
  width: 100% !important;
  max-height: calc(100% - (var(--container-padding * 2)));
}

.video-player-modal media-player[data-media-player] {
  height: 100 !important;
  width: 100% !important;
  background: var(--black-base);
} 

.video-player-modal [data-media-player][data-layout=video]:not([data-fullscreen]) {
  border: none;
  border-radius: 0;
}

:where(.video-player-modal .vds-video-layout .vds-controls[data-visible]) {
  border-radius: 0 !important;
  /* background-image: linear-gradient(to top,rgb(0 0 0 / .6),10%,transparent,95%,rgb(0 0 0 / .0)) !important; */
}

.modal-close-btn {
  cursor: pointer;
  position: absolute;
  inset: 43px 51px auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 43px;
  width: 43px;
  border-radius: 150px;
  transition: all 550ms cubic-bezier(.215,.61,.355,1);
  background: var(--primary-base);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--primary-600);
}

.modal-close-btn svg {
  display: block;
}

.video-modal-trigger {
  cursor: pointer;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-trigger__icon {
  --bg-color: var(--secondary-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 119px;
  aspect-ratio: 1;
  border-radius: 150px;
  z-index: 0;
}

.video-modal-trigger__icon:hover {
  --bg-color: var(--secondary-600);
}

.video-modal-trigger__icon:before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle,rgb(from var(--bg-color) r g b/0) 0%, rgb(from var(--bg-color) r g b/ .6) 50% ,rgb(from var(--bg-color) r g b/1) 100%);
  border-radius: 150px;
  -webkit-animation: pulse-border 1500ms ease-out infinite;
  animation: pulse-border 1500ms ease-out infinite;
  transform: translateX(-50%) translateY(-50%);
  transition: all 500ms cubic-bezier(.215,.61,.355,1);
  z-index: -2;
}

.video-modal-trigger__icon:hover:before {
  animation: none;
}

.video-modal-trigger__icon:after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  border-radius: 150px;
  transform: translateX(-50%) translateY(-50%);
  transition: all 500ms cubic-bezier(.215,.61,.355,1);
  z-index: -1;
}

.video-slide:hover .video-modal-trigger__icon {
  transform: scale(1.2);
}

.video-modal-trigger__icon .icon-wrapper {
  margin-left: 8px;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .modal-close-btn {
    inset: 20px 20px auto auto;
  }
}

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

body:has(.header[data-state="open"]) {
  overflow: clip;
}

div :has(> header.header) {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  --logo-shape-color: var();
  --logo-text-color: var();
  --nav-item-color: var(--text-base);
  --nav-item-color-hover: var(--red-base);
  --bg-color: var(--white);
  width: 100%;
  padding-block: var(--spacing-4x);
  background: var(--bg-color);
  transition: var(--transition);

  @media (max-width: 1050px) {
    padding-block: var(--spacing-5x);
  }

  &[data-state="open"] {
    --logo-shape-color: var(--icon-green-base);
    --logo-text-color: var(--white);
    --nav-item-color: var(--text-base);
    --bg-color: var(--white);
  }

  .hubspot-disable-focus-styles & {
    position: relative;
  }
}

.header[data-scrolled="true"] {
  --logo-shape-color: var(--icon-green-base);
  --logo-text-color: var(--text-base);
  --nav-item-color: var(--text-base);
  --bg-color: var(--surface-white);
  box-shadow: 0px 3px 3px 0px rgb(from var(--gray-200) r g b / 0.18);
}

.header-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-14x);
}

.header-logo {
  flex: 0 0 150px;
  display: block;

  @media (max-width: 820px) {
    flex: 0 0 140px;
  }
}

.header-logo :is(svg, img) {
  width: 100%;
  height: auto;
}

.mobile-trigger {
  position: relative;
  display: none;
  height: 17px;
  width: 20px;

  @media (max-width: 1050px) {
    display: block;
  }
}

.mobile-trigger span {
  --translate-start: -50%;
  --translate-end: -50%;
  --rotate-start: 0;
  --rotate-end: 0;
  --inset-start: 50% auto auto 0;
  --inset-end: 50% auto auto 0;
  --opacity-end: 0;
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  transform: translateY(var(--translate-start));
  animation: triggerClose 400ms forwards;
  
  .header[data-state="open"] & {
    animation: triggerOpen 400ms forwards;
  }

  & svg {
    width: 100%; 
    height: 100%;
    
    & path {
      fill: var(--nav-item-color);
    }
  }


  &:first-child {
    --translate-start: 0;
    --rotate-end: 45deg;
    --inset-start: 0 auto auto 0;
    --opacity-end: 1;
  }

  &:last-child {
    --translate-start: 0;
    --rotate-end: -45deg;
    --inset-start: auto auto 0 0;
    --opacity-end: 1;
  }
}

@keyframes triggerOpen {
  0% {
    opacity: 1;
    inset: var(--inset-start);
    transform: translateY(var(--translate-start)) rotate(var(--rotate-start));
  }

  50% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-start));
  }

  100% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-end));
  }
}

@keyframes triggerClose {
  0% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-end));
  }

  50% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-start));
  }

  100% {
    opacity: 1;
    inset: var(--inset-start);
    transform: translateY(var(--translate-start)) rotate(var(--rotate-start));
  }
}

/* ========================================================================== */
/*  Buttons                                                                   */
.header-nav-mobile-btns {
  display: none;
  align-items: center;
  gap: var(--spacing-6x);

  @media (max-width: 1050px) {
    display: flex;
  }
}

.header .btn-group {
  width: fit-content;
  gap: var(--spacing-6x);

  @media (max-width: 1050px) {
    width: 100%;
    padding: 0 var(--container-padding);
  }

  & .btn {
    font-size: var(--text-sm);
  }
}


/* ========================================================================== */
/*  Navigation                                                                */
.header-nav-wrapper {
  flex: 1 1 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-16x);

  @media (max-width: 1050px) {
    flex: none;
    position: absolute;
    inset: 100% auto auto 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 0;
    width: 100vw;
    background: var(--primary-100);
    transition: var(--transition);
    overflow: hidden;

    .header[data-state="open"] & {
      height: calc(100vh - 100%);
      overflow-y: auto;
    }
  }
}

.hn-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-5x);

  @media (max-width: 1050px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

ul.list-reset li.hn-item-wrapper {
  margin-bottom: 0;
  position: relative;
  padding-block: 9px;
  
  &:before {
    content: '';
    display: none;
    position: absolute;
    inset: 100% auto auto 0;
    width: 100%;
    height: 20px;
    background: transparent;
  }

  @media (min-width: 1050px) {
    --panel-visibility: hidden !important;
    --panel-height: auto !important;

    &[data-state="open"] {
      --panel-visibility: visible !important;

      &:before {
        display: block;
      }
    }
  }

  @media (max-width: 1050px) {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--border-gray-light);
  }
}

.hn-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3x);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--nav-item-color);
  text-decoration: none;
  transition: var(--transition);
  
  & svg {
    transition: var(--transition);
    
    & path {
      fill: var(--nav-item-color);
      transition: var(--transition);
    }

    @media (max-width: 1050px) {
      height: 14px;
      width: 16px;
    }
  }
  

  li.hn-item-wrapper[aria-expanded="true"] & {
    --nav-item-color: var(--nav-item-color-hover);
    
    & svg {
      transform: rotate(-180deg);
    }
  }
  

  @media (min-width: 1050px) {
    li.hn-item-wrapper[data-state="open"] & {
      --nav-item-color: var(--nav-item-color-hover);

      & svg {
        transform: rotate(-180deg);
      }
    }

  }

  @media (max-width: 1050px) {
    justify-content: space-between;
    font-size: 1.1111rem;
    line-height: 1.4;
    width: 100%;
    padding-block: var(--spacing-6x) var(--spacing-5x);
  }
}

@media (max-width: 1050px) {
  .header-nav {
    width: 100%;
    background: var(--background-white);
    padding: 0 var(--container-padding) var(--spacing-12x);
  }
}

/* ========================================================================== */
/*  Dropdowns                                                                 */
@keyframes fadeIn {
  0% {
    visibility: visible;
    opacity: 0;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    visibility: visible;
    opacity: 100%;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes fadeInDropdown {
  0% {
    visibility: visible;
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  100% {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOutDropdown {
  0% {
    visibility: visible;
    opacity: 100%;
    transform: translate(-50%, 0);
  }
  100% {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -8px);
  }
}

.hn-dropdown-wrapper--mobile {
  display: none;

  @media (max-width: 1050px) {
    display: block;
  }
}

.hn-mega-dropdown-container {
  display: none;
  position: absolute;
  inset: 100% auto auto 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: calc(100vh - 100%);
  z-index: 1000;
  
  .header[data-state="open"] & {
    pointer-events: all;
  }

  .header[data-state="closed"] & {
    pointer-events: none;
  }

  @media (min-width: 1050px) {
    display: block;  
  }
}
 
.hn-mega-dropdown__overlay {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  background: rgb(from #000 r g b/.3);
  opacity: 0;
  transition: all 300ms ease;
  z-index: 1;

  .header[data-state="open"] & {
    opacity: 1;
  }

  .header[data-state="closed"] & {
    opacity: 0;
  }
}

.hn-mega-dropdown__sections {
  --position-offset: -100px;
  position: absolute;
  inset: 15px auto auto calc(50% + var(--position-offset));
  background: var(--white);
  width: 100%;
  height: var(--dropdown-height);
  width: var(--dropdown-width);
  transition: all 400ms cubic-bezier(.4,0,.2,1);
  opacity: var(--opacity);
  transform: var(--transform);
  visibility: visible;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: clip;
  animation: fadeOutDropdown 400ms forwards;
  z-index: 10;
  
  .header[data-state="open"] & {
    animation: fadeInDropdown 400ms forwards;
  }

  &:has(#hn-mega-dropdown--1[data-state="open"]) {
    --position-offset: -150px;
  }

  &:has(#hn-mega-dropdown--2[data-state="open"]) {
    --position-offset: -75px;
  }
}

.hn-mega-dropdown__section {
  visibility: hidden;
  position: absolute;
  inset: 0 auto auto 0;
  width: max-content;
  padding: var(--spacing-10x) var(--spacing-8x);
  opacity: 0;
  animation: fadeOut 400ms forwards;

  &[data-state="open"] {
    visibility: visible;
    opacity: 1;
    animation: fadeIn 400ms forwards;
  }
}

.hn-mega-dropdown {
  display: flex;
  justify-content: center;
  gap: var(--spacing-14x);
  width: max-content
}

.hn-dropdown-section {
  max-width: 276px;
}

.hn-dropdown-section__title {
  font-size: 0.7778rem;
  font-weight: 600;
  color: var(--text-light);
  padding-bottom: var(--spacing-3x);
  margin-bottom: var(--spacing-6x);
  border-bottom: 1px solid var(--border-gray);
}

.hn-dropdown-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6x);
}

.hn-dropdown-item {
  display: flex;
  gap: var(--spacing-3x);
}

.hn-dropdown-item__logo-wrapper {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-beige);
  border-radius: var(--radius-md);
  height: 40px;
  width: 40px;
  padding: 10px 6px;
}

.hn-dropdown-item__logo {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.hn-dropdown-item__label {
  display: flex;
  align-items: center;
  gap: var(--spacing-2x);
  font-size: 0.8889rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
  transition: var(--transition);

  & svg {
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
  }

  .hn-dropdown-item:hover & {
    color: var(--red-base);

    & svg {
      opacity: 1;
      transform: none;
    }
  }
}

.hn-dropdown-item__description {
  font-size: 0.7778rem;
  color: var(--text-light);
}

.hn-dropdown-resource {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4x);

  & .btn {
    font-size: 0.8889rem;
  }
}

.hn-dropdown-resource__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  z-index: 0;
  background: radial-gradient(circle at 100% 100%,rgba(115, 44, 103, 1) 0%, rgba(57, 43, 103, 1) 12%, rgba(21, 21, 74, 1) 26%, rgba(21, 21, 74, 1) 100%);

  & a {
    color: var(--white) !important;

    &:hover {
      --underline-color: var(--red-50) !important;
      color: var(--red-50) !important;
    }
  }

  @media (max-width: 820px) {
    background: var(--background-dark-blue);
  }
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-14x);
  padding-block: var(--spacing-16x) var(--spacing-14x);
  border-bottom: 1px solid var(--text-light);

  @media (max-width: 640px) {
    flex-direction: column;
    gap: var(--spacing-10x);
    padding-block: var(--spacing-12x) var(--spacing-10x); 
  }
}

.footer-bg {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  width: 100%;
  background: var(--background-dark-blue);
  z-index: -2;
}

/* ========================================================================== */
/*  Company Info                                                              */
.footer-company-info {
  flex: 0 1 189px;

  @media (max-width: 640px) {
    flex: none;
  }
}

.footer-company-info__logo {
  margin-bottom: var(--spacing-8x);
}

.footer-company-info__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-3x);
  font-size: 0.7778rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-3x);

  &:last-child {
    margin-bottom: 0;
  }

  a& {
    --underline-color: var(--white);
    text-decoration-style: dotted;
  }

  & .icon-wrapper {
    flex: 0 0 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 29px;
    width: 29px;
    border: 1px solid var(--blue-50);
    border-radius: var(--radius-round);
  }
}

/* ========================================================================== */
/*  Navigation                                                                */
.footer-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-12x);
  max-width: 684px;
}

.footer-nav-menu {
  flex: 0 1 196px;
}

.footer-section-label {
  font-size: 0.7222rem;
  font-weight: 600;
  letter-spacing: 2.47px;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--blue-50);
  margin-bottom: var(--spacing-5x);
}

li.footer-nav-menu__item {
  font-size: 0.7778rem;
  line-height: 1.2;
  width: fit-content;
  margin-bottom: 8px;

  &:last-child {
    margin-bottom: 0;
  }

  & a {
    font-size: 0.7778rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration-style: dotted;
  }
}

/* ========================================================================== */
/*  AI & Socials                                                              */
.footer-ai-social-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-2x);

  &:not(:last-child) {
    margin-bottom: var(--spacing-8x);
  }
}

.footer-ai-social-link {
  flex: 0 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  width: 32px;
  border-radius: var(--radius-round);
  background: var(--white);
  transition: var(--transition);

  &:hover {
    opacity: .4;
  }
}

/* ========================================================================== */
/*  Subfooter                                                                 */
.subfooter {
  padding-block: var(--spacing-5x);
}

.subfooter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-5x);
}

.subfooter__copyright {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 400;
}

.subfooter-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-3x);

  @media (max-width: 640px) {
    order: 1;
  }
}

a.subfooter-links__link {
  --underline-color: var(--white);
  font-size: var(--text-xs);
  font-weight: 400;
  text-decoration-style: dotted;
}
/* 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%;
}