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






/* ========================================================================== */
/*  1. LAYOUT                                                #layout          */
/* ========================================================================== */
:root {
  --container-width: 1340px;

  /* 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: 90px; 
  --dnd-section-bottom-margin: var(--spacing-20x); 
  --dnd-section-bg-padding: var(--spacing-20x); 
  
  /* 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: 120px;
  }
}

@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-24x);
    --dnd-section-bg-padding: var(--spacing-14x) var(--spacing-24x); 
    
    /* Misc */
    --scroll-margin-top: 160px;
  }
}

/* ========================================================================== */
/*  2. COLORS                                                #clrs            */
/* ========================================================================== */     

:root,
:host {
  --white-base:             #FFFFFF;
  --border-base:            #D9DCE2;
  --primary-base:           #4CBD97;
  --gray-base:              #F3F4F6;
  --secondary-base:         #4398D3;
  --accent-base:            #F4B51B;
  --accent-300:             #F9DA8D;
  --cta-base:               #4CBD97;
  --cta-600:                #3F9D7E;
  --text-base:              #162D53;
  --text-light:             #64738C;
  --text-light-dark-bg:     #D9DCE2;

  --background-dark:        #2D658D;

  --form-input-border-color:#8A919E;
  --form-state-active:      #FFFFFF;
  --form-state-error:       #F12C2C;
}


/* ========================================================================== */
/*  3. TYPOGRAPHY                                            #typo            */
/*=========================================================================== */
/*** Custom Fonts (uncomment for manual font-face properties) ***/
/* @font-face {
  font-family: ;
  font-weight:  ;
  font-style: ;
  src: url('') format(''),
       url('') format(''),
       url('') format(''); 
} */




/*  */

:root {
  /* ========================================================================== */
  /*  base                                                                      */
  --body-font: "Schibsted Grotesk", sans-serif;
  --heading-font: "Schibsted Grotesk", sans-serif;

  /* ========================================================================== */
  /*  Font Sizing                                                               */
  --rem-base-px: 18px;
  --base-line-height: 1.4;
  --secondary-line-height: 1.2;

  /* update multiplier to change responsive sizing, unless design has specific sizing */
  --h1-font-size:         clamp(2rem, 1.2rem + 2.25vw, 3rem);
  --h2-font-size:         clamp(1.7778rem, 1.2rem + 1.625vw, 2.5rem);
  --h3-font-size:         clamp(1.6111rem, 1.2556rem + 1vw, 2.0556rem);
  --h4-font-size:         clamp(1.4444rem, 1.2222rem + 0.625vw, 1.7222rem);
  --h5-font-size:         clamp(1.2778rem, 1.1444rem + 0.375vw, 1.4444rem);
  --h6-font-size:         clamp(1.1111rem, 1.0222rem + 0.25vw, 1.2222rem);
  --eyebrow-font-size:    0.7778rem;
  --text-sm:              0.8333rem;
  --text-xs:              0.6667rem;
}


/* ========================================================================== */
/*  4. Global Styles                                              #styles            */
/*=========================================================================== */

:root {
  /* General */
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-round: 150px;

  --transition: all 300ms cubic-bezier(.4,0,.2,1);
}

/* ========================================================================== */
/*  5. Buttons                                                                */
/* ========================================================================== */
:root {
  --btn-font-size: var(--rem-base-px);
  --btn-font-weight: 600;
  --btn-line-height: 1;
  --btn-text-decoration: none;
  --btn-text-color: var(--white-base);
  --btn-width: fit-content;
  --btn-padding: var(--spacing-3x) var(--spacing-8x);
  --btn-bg-color: transparent;
  --btn-border-color: transparent;
  --btn-hover-text-color: var(--white-base);
  --btn-hover-bg-color: transparent;
  --btn-hover-border-color: transparent;
  --btn-border-radius: var(--radius-md);
  --btn-transition: var(--transition);

  @media (max-width: 820px) {
    --btn-width: 100%;
  }
}

/* ========================================================================== */
/*  5. FORMS                                                #form             */
/* ========================================================================== */  

form, 
.form, 
form :before, 
.form :before, 
form :after,
.form :after,
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  --form-font-family: var(--body-font);
  --form-error: #A8373C;
  /* ========================================================================== */
  /*  Labels                                                                    */
  --legend-font-size:   0.9375rem;

  --label-font-family:  var(--form-font-family);
  --label-font-size:    0.7778rem;
  --label-font-weight:  700;
  --label-line-height:  1;
  --label-color:        var(--text-base);
  --label-margin-b:     8px;

  --label-error-font-size:          var(--text-xs);
  --label-error-font-weight:        700;
  --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:              600;
  --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-base);
  --input-border-width:             1px;
  --input-border-style:             solid;
  --input-border-color:             var(--form-input-border-color);
  --input-border:                   var(--input-border-width) var(--input-border-style) var(--input-border-color);
  --input-border-radius:            12px;
  --input-padding:                  var(--spacing-4x);
  --input-spacing-y:                var(--spacing-6x);
  --input-gap:                      var(--spacing-5x);
  --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:       #3675BD;
  --input-disabled-color-text:      var();
  --input-disabled-color-border:    var();
  --input-disabled-color-bg:        var();

  --textarea-height:                139 px; 

  /* ========================================================================== */
  /*  Checkbox                                                                  */
  --checkbox-font-family:       var(--form-font-family);
  --checkbox-font-size:         var(--text-sm);
  --checkbox-font-weight:       600;
  --checkbox-line-height:       20px;
  --checkbox-color-text:        var(--text-base);
  --checkbox-dimensions:        20px;
  --checkbox-image-dimensions:  18px;
  --checkbox-border-width:      1px;
  --checkbox-border-style:      solid;
  --checkbox-border-color:      var(--text-base);
  --checkbox-border:            var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);
  --checkbox-border-radius:     4px;
  --checkbox-color-bg:          var(--white-base);

  /* States */
  --checkbox-hover-image:                 url();
  --checkbox-hover-color-border:          var(--secondary-base);
  --checkbox-checked-image:               url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iY2IzOTQwYzkiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyNUFERTMiPjwvcGF0aD4KPC9zdmc+); /* SVG base64 format */
  --checkbox-checked-color-bg:            var(--white-base);
  --checkbox-checked-color-image-bg:      var(--secondary-base);
  --checkbox-checked-color-border:        var(--secondary-base);
  --checkbox-checked-hover-color-bg:      var(--white-base);
  --checkbox-checked-hover-color-border:  var(--secondary-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(--form-font-family);
  --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-base);
  --radio-border-width:       1px;
  --radio-border-style:       solid;
  --radio-border-color:       var(--text-base);
  --radio-border:             var(--radio-border-width) var(--radio-border-style) var(--radio-border-color);
  --radio-border-radius:      150px;

  /* States */
  --radio-hover-color-inner:              var(--white-base);
  --radio-hover-border:                   1px solid var(--secondary-base);
  --radio-checked-color-inner:            var(--secondary-base);
  --radio-checked-color-bg:               var(--white-base);
  --radio-checked-color-border:           1px solid var(--secondary-base);
  --radio-checked-hover-color-border:     1px solid var(--secondary-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:  2px solid var();
  --radio-disabled-checked-color-inner:   var(); */

  /* ========================================================================== */
  /*  Select                                                                    */
  --select-icon:          url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE1IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggaWQ9IjNiMzVkMTUwIiBkPSJNNy42NjI0MyA3LjgwNjE1QzcuNDA4NzIgOC4wNjQ2MiA2Ljk5MTMzIDguMDY0NjIgNi43Mzc2MiA3LjgwNjE1TDAuMTkwMzA2IDEuMTM2MDFDLTAuMDYzNDAyOCAwLjg3NzU0MSAtMC4wNjM0MDI4IDAuNDUyMzE5IDAuMTkwMzA2IDAuMTkzODUxQzAuNDQ0MDE0IC0wLjA2NDYxNyAwLjg2MTQwNCAtMC4wNjQ2MTcgMS4xMTUxMSAwLjE5Mzg1MUw3LjIwMDAyIDYuMzkyOTFMMTMuMjg0OSAwLjE5Mzg1MUMxMy41Mzg2IC0wLjA2NDYxNyAxMy45NTYgLTAuMDY0NjE3IDE0LjIwOTcgMC4xOTM4NTFDMTQuNDYzNSAwLjQ1MjMxOSAxNC40NjM1IDAuODc3NTQxIDE0LjIwOTcgMS4xMzYwMUw3LjY2MjQzIDcuODA2MTVaIiBmaWxsPSIjMzQ2Q0IwIj48L3BhdGg+Cjwvc3ZnPg==);

  /* ========================================================================== */
  /*  datepicker                                                                */
  /* --date-input-icon:                    url();
  --date-input-icon-height:             24px;
  --date-input-icon-width:              20px;
  --date-input-margin-right:            20px;

  --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(); */
}


/* ========================================================================== */
/*  New Form Variables                                                        */
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  --hsf-global__font-family:                    var(--form-font-family);
  --hsf-row__horizontal-spacing:                var(--input-gap);
  --hsf-row__vertical-spacing:                  var(--input-spacing-y);
  --hsf-module__vertical-spacing:               var(--spacing-2x);

  --hsf-erroralert__font-family:                var(--form-font-family);
  --hsf-erroralert__font-size:                  var(--label-error-font-size);
  --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-input__color:                     var(--input-color-text);
  --hsf-field-label-requiredindicator__color:   var(--input-color-required);
  --hsf-field-input__font-size:                 var(--input-font-size);
  --hsf-field-input__background-color:          var(--input-color-bg);
  --hsf-field-input__placeholder-color:         var(--input-color-text-placeholder);
  --hsf-field-input__border-width:              var(--input-border-width);
  --hsf-field-input__border-style:              var(--input-border-style);
  --hsf-field-input__border-color:              var(--input-border-color);
  --hsf-field-input__border-radius:             var(--input-border-radius);
  --hsf-field-input__padding:                   var(--input-padding);

  --hsf-field-checkbox__padding:                0 !important;
  --hsf-field-checkbox__color:                  var(--checkbox-color-bg);
  --hsf-field-checkbox__background-color:       var(--checkbox-color-bg);
  --hsf-field-checkbox__border-width:           var(--checkbox-border-width);
  --hsf-field-checkbox__border-style:           var(--checkbox-border-style);
  --hsf-field-checkbox__border-color:           var(--checkbox-border-color);

  --hsf-field-radio__padding:                   0 !important;
  --hsf-field-radio__border-width:              var(--radio-border-width);
  --hsf-field-radio__border-style:              var(--radio-border-style);
  --hsf-field-radio__border-color:              var(--radio-border-color);

  --hsf-field-dropdown-options__border-radius:  var(--input-border-radius);

  --hsf-navigationrow-buttons-single__justify-content: start;
}

/* ========================================================================== */
/*  Form Color Variants                                                       */


.form--bg-dark form, 
.form.form--bg-dark, 
.form--bg-dark form :before, 
.form.form--bg-dark :before, 
.form--bg-dark form :after,
.form.form--bg-dark :after,
.form--bg-dark div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  --label-color:            var(--white-base);
  --input-color-required:   var(--white-base);
  --checkbox-color-text:    var(--white-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:not([class*="padding"]),
.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;
}

/* set custom padding for fixed header */
.dnd-section:has([class*="section-background"]) {
  padding-block: var(--dnd-section-bg-padding);
}

.dnd-section:first-child {
  padding-top: var(--first-section-padding-top);
}

.dnd-section:last-child {
  margin-bottom: var(--spacing-8x);
}

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

@media (max-width: 820px) {
  /* .dnd-section .row-fluid > .dnd-column:has(+ .dnd-column) {
    margin-bottom: var(--dnd-section-bottom-margin);
  } */

  .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%;
}

.module-wrapper--center {
  margin: 0 auto;
}

.module-wrapper--right {
  margin: 0;
}

.module-wrapper > div {
  width: 100%;
}

.module-wrapper--col {
  flex-direction: column;
}

@media (min-width: 1050px) {
  .module-wrapper--right {
    margin: 0 0 0 auto;
  }
}

.icon-wrapper,
.icon-wrapper svg {
  display: block;
  height: fit-content;
  width: fit-content;
  transition: var(--transition);

  & 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-4x); 

  &:has(.swiper-button-lock) {
    display: none;
  }

  @media (max-width: 820px) {
    display: none;
  }
}

.slider-container .swiper-button {
  --swiper-navigation-sides-offset: 0;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-items: center;   
  height: 50px;
  width: 50px;
  margin: 0 !important;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: clip;
  transition: var(--transition);
  z-index: 0;

  &:after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    height: 100%;
    width: 220%;
    background: linear-gradient(84deg, #FF204F 55.29%, #FFB200 100%);
    transition: var(--btn-transition);
    z-index: -1;
  }

  &:not(.swiper-button-disabled):hover {
    &:after {
      transform: translateX(-54%);
    }
  }

  &.swiper-button-prev {
    &:after {
      inset: 0 0 auto auto !important;
      transform: rotate(180deg);
    }    

    &:hover:after {
      transform: rotate(180deg) translateX(-54%) !important;
    }
  }

  &.swiper-button-disabled {
    opacity: .5;
  }

  &.swiper-button-lock {
    display: none;
  }
}

/* ========================================================================== */
/*   Pagination                                                               */
.slider-container .swiper-pagination {
  display: none;
  position: static;
  justify-content: center;
  gap: var(--spacing-3x);
  margin-top: var(--spacing-8x);

  @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: 20px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-inactive-color: var(--gray-base);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-color: var(--red-base);
  transition: var(--transition);
}
html {
  font-family: var(--body-font);
  font-size: var(--rem-base-px);
  font-weight: 400;
  line-height: var(--base-line-height);
  color: var(--text-base);
  letter-spacing: -3%;
  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: 700;
  line-height: var(--secondary-line-height);
  text-wrap: balance;
  margin: 0;
}

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

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

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

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

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

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

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

/* Anchors */
a:where(:not(.site-footer a)) {
  --anchor-color: var(--secondary-base);
  cursor: pointer;
  font-size: inherit;
  color: var(--anchor-color);
  text-decoration: underline;
  text-decoration-color: var(--anchor-color);
  text-underline-offset: 2px;
  transition: var(--transition);
  
  .text-white & {
    --anchor-color: var(--white-base);
  }

  &:is(:hover, :focus, :focus-visible) {
    --anchor-color: var(--cta-base);

    .text-white & {
      --anchor-color: var(--text-light-dark-bg);
    }
  }
}

/* eyebrows */
.eyebrow {
  --eyebrow-color: var(--text-base);
  display: block;
  font-size: var(--eyebrow-font-size);
  font-weight: 600;
  line-height: 1.2;
  color: var(--eyebrow-color);
  text-transform: uppercase;

  &.eyebrow--blue {
    --eyebrow-color: var(--secondary-base);
  }

  &.eyebrow--yellow {
    --eyebrow-color: var(--accent-300);
  }
}

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

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

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

li:not(.site-footer li) {
  --list-font-size: var(--rem-base-px);
  --list-line-height: var(--base-line-height);
  font-size: var(--list-font-size);
  font-weight: 400;
  line-height: var(--list-line-height);
  margin-bottom: var(--spacing-2x);

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

    &:before {
      content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBpZD0iYWE0NmRlYzgiPgogICAgPHBhdGggaWQ9ImFjN2FmZWFiIiBkPSJNMTguMzMzMyA1LjVMOC4yNDk5NiAxNS41ODMzTDMuNjY2NjMgMTEiIHN0cm9rZT0iIzQzOThEMyIgc3Ryb2tlLXdpZHRoPSIyLjI5MTY3IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4KICA8L2c+Cjwvc3ZnPg==);
      position: absolute;
      inset: 0 auto auto 0;
      line-height: 0;
      height: 22px;
      width: 22px;
    }
  }

  :is(ul.text-white, .text-white ul) > &:before {
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBpZD0iMzk5MGMzNzAiPgogICAgPHBhdGggaWQ9IjRiZWY1YzJmIiBkPSJNMjAgNkw5IDE3TDQgMTIiIHN0cm9rZT0iIzRDQkQ5NyIgc3Ryb2tlLXdpZHRoPSIyLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPgogIDwvZz4KPC9zdmc+);
  }

  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: 0 auto auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--body-font);
    font-size: var(--list-font-size);
    line-height: var(--list-line-height);
    color: inherit; 
    width: auto;
  }
}

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

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

code {
  vertical-align: bottom;
}

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

/* Horizontal rules */
hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

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

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

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

:is(.custom-text-wrapper, .custom-text-wrapper__rich-text) :is(.eyebrow, p, ul, ol):has(+ *) {
  margin-bottom: var(--spacing-5x);
}

:is(.custom-text-wrapper, .custom-text-wrapper__rich-text) :is(h1, h2, h3, h4, h5, h6):has(+ *) {
  margin-bottom: var(--spacing-5x);
}
.reset-button {
  all: unset;
}

/* ========================================================================== */
/*  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"],
[data-hsfc-id=Renderer] button.hsfc-Button,
.systems-page .email-prefs input[type="submit"],
#hs-subscriptions-survey-submit-button {
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2x);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: var(--btn-line-height);
  text-decoration: var(--btn-text-decoration);
  color: var(--btn-text-color);
  width: var(--btn-width);
  padding: var(--btn-padding);
  background: var(--btn-bg-color);
  border: 1px solid var(--btn-border-color);
  border-radius: var(--btn-border-radius);
  transition: var(--btn-transition);

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

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

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

.btn-underline-wrapper {
  position: absolute;
  inset: 100% auto auto 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--btn-text-color);
  transition: var(--btn-transition);

  .btn:hover & {
    background: var(--btn-hover-text-color);
  }
}

.form input[type="submit"],
[data-hsfc-id=Renderer] button.hsfc-Button {
  --hsf-button__background-image: none;
  --hsf-button__box-shadow: none;
  width: 100% !important;
}

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

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

@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 220deg;
}

@property --gradient-color {
  syntax: "<color>";
  inherits: false;
  initial-value: #fff;
}

.btn--ghost,
a.btn--ghost,
.btn-cta-wrapper--ghost,
.btn-cta-wrapper--ghost a {
  --btn-text-color: var(--white-base);
  --btn-border-color: var(--white-base);
  --btn-hover-text-color: #F9F9FB;
  --btn-hover-border-color: #DEDFED;
  --btn-font-weight: 700;
}

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

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

  & .btn-underline-wrapper {
    background: var(--btn-underline-color);
  }

  :is(&:hover, .card:hover &) {
    color: var(--btn-hover-text-color);
    
    .btn-underline-wrapper {
      background: var(--btn-hover-underline-color);
    }
  }

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

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

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

.btn-cta-wrapper {
  --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(--btn-text-color);
    transition: var(--btn-transition);
  }

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

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

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

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

  @media (max-width: 820px) {
    width: fit-content !important; 
  }
}
.form {
  --form-heading-color: var(--text-base);
  --form-description-color: var(--text-light);
  padding: var(--spacing-8x) var(--spacing-10x);
  border-radius: var(--radius-md);
  background: var(--white-base);
  box-shadow: 0 24px 48px 0 rgba(22, 45, 83, 0.28);

  @media (max-width: 640px) {
    padding: var(--spacing-8x);
  }
}

.form__heading {
  color: var(--form-heading-color);
  margin-bottom: var(--spacing-8x); 

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}

.form__description {
  color: var(--form-description-color);
  margin-bottom: var(--spacing-8x);

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}

.form__credit-warning {
  display: flex;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--text-base);
  margin-top: var(--spacing-5x);

  & svg {
    margin-top: 2px;
  }

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}

.form__disclaimer {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--form-description-color);
  margin-top: var(--spacing-4x);

  .form:has(.submitted-message, .hsfc-PostSubmit) & {
    display: none;
  }
}



/* ========================================================================== */
/*  Fields                                                                    */
.hs-form-field {
  margin-bottom: var(--input-spacing-y);
}

/* ========================================================================== */
/*  Labels                                                                    */
:is(form, .form) label {
  margin-bottom: var(--label-margin-b);
}

:is(form, .form) label, 
:is(form, .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                                                                 */
:is(form, .form) legend {
  font-size: var(--legend-font-size);
}

/* ========================================================================== */
/*  Fieldsets                                                                 */
:is(form, .form) fieldset {
  max-width: 100% !important;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

:is(form, .form) fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr;
}

:is(form, .form) fieldset:is(.form-columns-1, .form-columns-2) .hs-form-field {
  width: 100% !important;
  float: none !important;
}

:is(form, .form) fieldset:is(.form-columns-1, .form-columns-2) .input {
  margin-right: 0 !important;
}

@media (min-width: 480px) {
  :is(form, .form) fieldset.form-columns-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--input-gap);
  }
}

/* ========================================================================== */
/*  Inputs                                                                    */
:is(form, .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: 0 solid transparent;
  outline-offset: 0;
  transition: var(--input-transition);
}

:is(form, .form) :is(input, textarea, select):is(:focus) {
  border-color: var(--input-focus-color-border);
  outline-color: var(--input-color-outline);
}

:is(form, .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);
}

:is(form, .form) :is(
  select, 
  select option, 
  input:is(
    [type=text], 
    [type=search], 
    [type=email],
    [type=tel]))
{
  height: 50px;
}

:is(form, .form) textarea {
  height: var(--textarea-height);
}

:is(form, .form) .hs_submit input[type=submit] {
  display: block;
}

:is(form, .form) input::-webkit-input-placeholder, 
:is(form, .form) input::placeholder, 
:is(form, .form) select.is-placeholder, 
:is(form, .form) select option:disabled {
  font-family: var(--form-font-family);
  font-weight: 400;
  line-height: 1 !important;
  color: var(--input-color-text-placeholder);
}

:is(form, .form) input:placeholder:disabled {
  color: var(--input-disabled-color-text); 
}

/* ========================================================================== */
/*  List Items                                                                */  
:is(form, .form) .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(form, .form) .inputs-list > li {
  display: block;
  margin: 0 0 12px;
}

:is(form, .form) .inputs-list :is(input, span) {
  vertical-align: middle;
}

/* ========================================================================== */
/*  Inputs - Checkbox                                                         */
:is(form, .form) li:has(.hs-form-checkbox-display, .hs-form-booleancheckbox-display):not(.fs-filter-option) {
  display: block;
  font-size: var(--checkbox-font-size);
  font-weight: var(--checkbox-font-weight);
  line-height: 1;
  margin-bottom: 0 !important;
}

:is(form, .form) :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

:is(form, .form) :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) span,
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) .hsfc-FieldLabel:has(> .hsfc-CheckboxInput) 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;
}

:is(form, .form) .hs-form-checkbox-display:has(input[type=checkbox]:disabled) span {
  color: var(--checkbox-disabled-color-text);
}

:is(form, .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;
}

:is(form, .form) .inputs-list.error input[type="checkbox"] {
  border-color: var(--checkbox-error-color-border);
}

:is(form, .form) input[type="checkbox"]:checked {
  background-color: var(--checkbox-checked-color-bg);
  border-color: var(--checkbox-checked-color-border);
}

:is(form, .form) input[type="checkbox"]:disabled,
:is(form, .form) input[type="checkbox"]:disabled:hover {
  background-color: var(--checkbox-disabled-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}

:is(form, .form) input[type="checkbox"]:disabled:checked,
:is(form, .form) input[type="checkbox"]:disabled:checked:hover {
  background-color: var(--checkbox-disabled-checked-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}

:is(form, .form) input[type="checkbox"]:after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: var(--checkbox-checked-color-image-bg);
  transition: var(--input-transition);
}

:is(form, .form) input[type="checkbox"]:checked:after {
  mask-image: var(--checkbox-checked-image);
  mask-size: 100%;
  opacity: 1;
}

:is(form, .form) input[type="checkbox"]:disabled:after {
  opacity: 0;
}

div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  & .hsfc-CheckboxFieldGroup > label {
    margin-bottom: var(--spacing-4x);
  }

  & .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: unset;
    transition: var(--input-transition);

    &:is(:hover, :active, :focus) {
      box-shadow: none; 
    }

    &:checked:after {
      mask-image: var(--checkbox-checked-image);
      mask-size: 100%;
      opacity: 1;
      background-color: var(--checkbox-checked-color-image-bg);
    }
  }
}

/* Hover States */
@media (hover: hover) {
  :is(form, .form) input[type="checkbox"]:hover:not(input[type="checkbox"]:disabled) {
    border-color: var(--checkbox-hover-color-border);
  }

  :is(form, .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                                                            */
:is(form, .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;
}

:is(form, .form) .hs-form-radio-display {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

:is(form, .form) .hs-form-radio-display span,
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) .hsfc-FieldLabel:has(> .hsfc-RadioInput) 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;
}

:is(form, .form) .hs-form-radio-display:has(input[type=radio]:disabled) span {
  color: var(--radio-disabled-color-text);
}

:is(form, .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;
}

:is(form, .form) .inputs-list.error input[type="radio"] {
  border-color: var(--radio-error-color-border);
}

:is(form, .form) input[type="radio"]:checked {
  border: var(--radio-checked-color-border);
  background: var(--radio-checked-color-bg);
}

:is(form, .form) input[type="radio"]:disabled,
:is(form, .form) input[type="radio"]:disabled:hover {
  background-color: var(--radio-disabled-color-bg);
  border: var(--radio-disabled-color-border);
}

:is(form, .form) input[type="radio"]:disabled:checked,
:is(form, .form) input[type="radio"]:disabled:checked:hover {
  background-color: var(--radio-disabled-checked-color-bg);
  border: var(--radio-disabled-checked-color-border);
} 

:is(form, .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);
}

:is(form, .form) input[type="radio"]:checked:after {
  background-color: var(--radio-checked-color-inner);
}

:is(form, .form) input[type="radio"]:disabled:after {
  background-color: var(--radio-disabled-color-inner);
}

:is(form, .form) input[type="radio"]:disabled:checked:after {
  background-color: var(--radio-disabled-checked-color-inner);
}

div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  & .hsfc-RadioFieldGroup > label {
    margin-bottom: var(--spacing-4x);
  }

  & .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);
    }
  }
}

/* Hover States */
@media (hover: hover) {
  :is(form, .form) input[type="radio"]:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-hover-border);
  }

  :is(form, .form) input[type="radio"]:checked:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-checked-hover-color-border);
  }

  :is(form, .form) input[type="radio"]:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-hover-color-inner);
  }

  :is(form, .form) input[type="radio"]:checked:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-checked-color-inner);
  }
}

/* ========================================================================== */
/*  Inputs - Select                                                           */
:is(form, .form) .hs-fieldtype-select .input {
  position: relative;
}

:is(form, .form) select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

:is(form, .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;
}

:is(form, .form) .hs-fieldtype-select .input:has(select:focus):after {
  transform: translateY(-50%) rotate(-180deg);
}

div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  & .hsfc-PhoneInput__FlagAndCaret {
    padding-block: 0;
  }

  & .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;
      color: #3675BD;
      background: #EBF1F9;
  }

    &:before {
      display: none !important;
    }

    &:hover {
      color: #3675BD;
      background: #EBF1F9;
      filter: none;
    }
  }

  & .hsfc-TextInput--button[aria-expanded="true"] + * + .hsfc-DropdownInput__Caret {
    transform: 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(--form-font-family);
  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(--form-font-family);
  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) {
  :is(form, .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                                                      */
:is(form, .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: var(--text-xs);
  color: var(--form-description-color);
  margin-bottom: var(--spacing-6x);
}

.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                                                                */
:is(form, .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);
}

:is(form, .form) .inputs-list.hs-error-msgs {
  margin: 0;
}

:is(form, .form) .hs-error-msgs li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
}

:is(form, .form) .hs-error-msgs li:before {
  content: var(--label-error-image);
  display: none;
  line-height: 1;
  height: 16px;
  width: 16px;
}

:is(form, .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-base);
  }
}

/* ========================================================================== */
/*  New Form System - One Offs                                                */
/* ========================================================================== */
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  @media (max-width: 640px) {
    padding: 0;
  }

  & .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 {
      &:before, &:after {
        display: none;
      }
    }
  }

  & .hsfc-TextInput {
    --transition: all .2s ease;
    outline: none;

    &:is(:active, :focus, :focus-visible) {
      --hsf-field-input__border-color: var(--input-focus-color-border);
      box-shadow: none; 
    }

    &:hover {
      box-shadow: none;
    }

    &:has(+ .hsfc-ErrorAlert) {
      --hsf-field-input__border-color: var(--form-error);
    }
  }

  & .hsfc-ErrorAlert {
    font-weight: var(--label-error-font-weight);
    line-height: 1;
    text-align: left;
  }
  
  & .hsfc-TextareaInput {
    display: block;
    box-shadow: none; 
    outline: none;
    height: var(--textarea-height);

    &:is(:active, :focus, :focus-visible) {
      --hsf-field-textarea__border-color: var(--input-focus-color-border);
      box-shadow: none; 
    }

    &:hover {
      box-shadow: none;
    }
  }

  & .hsfc-NavigationRow {
    margin-top: var(--spacing-6x);
  }

  & .hsfc-Button:not([disabled]):hover {
    transform: translateY(0);
  }

  & .hsfc-DataPrivacyField {
    & .hsfc-Row:last-child {
      margin-bottom: 0;
    }

    & .hsfc-RichText {
      font-size: var(--text-xs);
      color: var(--form-description-color);
    }
  } 
  
  .hsfc-PostSubmit .hsfc-RichText {
    text-align: center;
  }

  .hsfc-FieldLabel__RequiredIndicator {
    color: var(--hsf-field-label-requiredindicator__color) !important;
  }
}
/* 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);
}

.anchor-id-element {
  position: absolute;
  inset: 0 auto auto 0;
  height: 0;
  width: 100%;

  .dnd-section:has(&) {
    position: relative;
  }
}

/* ========================================================================== */
/*  BACKGROUNDS                                                               */
/* ========================================================================== */
.dnd-section:has(.section-background--dark) {
  background: var(--background-dark);
}

.dnd-section:has(.section-background--light-gray) {
  background: var(--gray-base);
}

.section-background-hidden-element {
  display: none;
}

.section-helper {
  text-align: center;
  width: 100%;
  padding: var(--spacing-3x) var(--spacing-4x);
  margin-block: var(--spacing-4x);
  border: 1px dashed var(--text-base);
  border-radius: var(--radius-md);

  & .section-helper__title {
    font-size: var(--text-sm);
    font-weight: 700;
  }

  & .section-helper__description {
    font-size: var(--text-sm);
  }

  .dnd-section:has(.section-background--dark) & {
    border-color: var(--white-base);

    & :is(.section-helper__title, .section-helper__description) {
      color: var(--white-base);
    }
  }
}

/* ========================================================================== */
/*  Typography                                                                */
/* ========================================================================== */
.text-white,
.text-white :where(*:not(a):not(.btn):not(.eyebrow)) {
  color: var(--white-base);
}

.text-light,
.text-light :where(*:not(a):not(.btn):not(.eyebrow)) {
  color: var(--text-light);

  .text-white & {
    color: var(--text-light-dark-bg); 
  }
}

.text-highlight {
  font-style: italic;
}

.text-sm {
  font-size: var(--text-sm);
  line-height: var(--secondary-line-height);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--secondary-line-height);
}

:has(> .masked-link) {
  position: relative;
}

.masked-link {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(297px, 1fr));
  gap: var(--spacing-8x);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5x);

  &.card--resource {
    gap: var(--spacing-6x);
  }
}

.card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: clip;
  border-radius: var(--radius-lg);
}

.card__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);

  .card:hover & {
    transform: scale(1.05);
  }
}

.card__tag {
  position: absolute;
  inset: auto auto 17px 21px;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1;
  color: var(--white-base);
  padding: 12px 10px;
  border-radius: var(--radius-lg);
}

.card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-6x);
}

.card__title {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: var(--secondary-line-height);
  margin-bottom: 10px;
  transition: var(--transition);

  .card--webinar &,
  .card--case-study & {
    font-family: var(--body-font);
    font-size: 1.2222rem;
    line-height: 1.31;
  }

  .card--resource & {
    font-family: var(--body-font);
    font-size: 1.1111rem;
    line-height: var(--base-line-height);
    margin-bottom: var(--spacing-3x);
  }

  .card:hover & {
    color: var(--red-base);
  }
}

.card__description {
  font-size: var(--text-sm);
  color: var(--text-light);

  .card--webinar & {
    line-height: 1.5;
  }
}

.card__date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: var(--secondary-line-height);
  margin-top: var(--spacing-4x);

  .card--webinar & {
    & svg {
      height: 4px;
      width: 4px;
    }

    & circle {
      fill: var(--text-light);
    }
  }
}

.card__logo {
  margin-top: var(--spacing-5x);
  max-height: 60px;
  max-width: 200px;
}

.card__link {
  --text-color: var(--text-base);
  position: relative;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  width: fit-content;
  transition: var(--transition);

  &:before {
    content: '';
    position: absolute;
    inset: calc(100% + 2px) auto auto 0;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    transition: var(--transition);
  }

  .card:hover & {
    --text-color: var(--red-base);
  }
}
[data-accordion-panel-wrapper] {
  display: grid;
  grid-template-rows: 0fr;
  transition: var(--transition);
  transition-duration: 300ms;
  
  [data-accordion][aria-expanded="true"] & {
    grid-template-rows: 1fr;
  }
}

[data-accordion-panel] {
  min-height: 0;
  overflow: clip;
  opacity: 0;
  transition: var(--transition);
  transition-duration: 200ms;
  padding: 0 !important;

  [data-accordion][aria-expanded="true"] & {
    opacity: 1;
    transition-delay: 100ms;
  }
}

.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4x);
}

.accordion {
  padding-bottom: 4px;
  border: 1px solid var(--text-base);
  border-radius: var(--radius-md);
  background: var(--white-base);
  transition: var(--transition);
  transition: all 0.3s ease-out;

  &:not([aria-expanded="true"]):hover {
    border-color: var(--secondary-base);
  }
}

.accordion-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: stretch;
  padding: var(--spacing-5x) var(--spacing-5x) var(--spacing-4x);
  transition: var(--transition);

  .accordion[aria-expanded="not-active"] & {
    cursor: text;
  }
}

.accordion-header__title {
  font-weight: 700;
}

.accordion-header__icon {
  flex-shrink: 0;
  position: relative;
  height: 32px;
  width: 32px;
  border: 1px solid var(--text-base);
  border-radius: var(--radius-round);
  background: var(--light-blue-50);
  transition: var(--transition);

  & span {
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: var(--radius-round);
    background: var(--text-base);
    transition: var(--transition);
    transform: translate(-50%, -50%);

    &:first-of-type {
      height: 12px;
      width: 2px;
    }

    &:last-of-type {
      height: 2px;
      width: 12px;
    }
  }

  /* .accordion-header:not([aria-expanded="true"] .accordion-header):hover & {
    border-color: var(--secondary-base);
  }  */


  [aria-expanded="true"] & {
    background: var(--cta-base);
    border-color: var(--cta-base);

    & span {
      background: var(--white-base);

      &:first-of-type {
        transform: translate(-50%, -50%) rotate(270deg);
      }
      
      &:last-of-type {
        transform: translate(-50%, -50%) rotate(360deg);
      }
    }
  }
}

.accordion-panel-inner {
  padding: 0 var(--spacing-16x) var(--spacing-4x) var(--spacing-5x);
}

.accordion-panel > *:has(+ *) {
  margin-bottom: var(--spacing-4x);
}
.video-player-wrapper {
  position: relative;
  display: grid;
  /* width: fit-content !important; */
  height: fit-content;
  overflow: clip;
  border-radius: var(--radius-lg);
}

.video-player {
  position: relative;
  height: fit-content;
}

.video-player__thumbnail {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);

  .video-player-wrapper[data-video-layout="inline"] & {
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .video-player-wrapper[data-video-layout="inline"][data-state="playing"] & {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.video-player-inline {
  z-index: 1;
  transition: var(--transition);
}

.video-trigger {
  position: absolute;
  inset: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  transition: var(--transition);
  z-index: 3;

  .video-player-wrapper[data-video-layout="inline"][data-state="playing"] & {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.video-trigger__icon {
  --bg-color: ;
  position: absolute;
  inset: auto 36px 25px auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8889rem;
  color: var(--white-base);
  padding: var(--spacing-3x) var(--spacing-4x);
  background: var(--bg-color) !important;
  border-radius: var(--radius-round);
  transition: var(--transition);
  z-index: 0;
  opacity: .8;

  .video-trigger:hover & {
    opacity: 1;
  }
}

.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 media-poster,
.video-player .vds-poster {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.video-player .vds-blocker {
  pointer-events: none;
}

/* ========================================================================== */
/*  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[open] {
  display: flex;
  opacity: 1;
}

dialog.video-player-modal-wrapper {
  cursor: default;
  justify-content: center;
  align-items: center;
  max-height: 100vh;
  max-width: 100vw;
  background: transparent;
  border: none;
  padding: 0 var(--container-padding);
  opacity: 0;
  transition: all 500ms cubic-bezier(.4,0,.2,1) allow-discrete;
  z-index: 0;
}

@starting-style {
  dialog.video-player-modal-wrapper[open] {
    opacity: 0;
  }
}

dialog.video-player-modal-wrapper::backdrop {
  background: transparent;
  transition: all 500ms allow-discrete;
}

dialog.video-player-modal-wrapper[open]::backdrop {
  background: rgb(from var(--navy-base) r g b / .9);
  backdrop-filter: blur(12px);
}

@starting-style {
  dialog.video-player-modal-wrapper[open]::backdrop {
    background-color: transparent;
  }
}

.video-player-modal {
  --media-button-icon-size: 24px;
  max-width: 1063px;
  aspect-ratio: 16/9;
  height: auto !important;
  width: 100vw !important;
  max-height: calc(100% - (var(--container-padding * 2)));
  border-radius: var(--radius-xl);
  overflow: clip;
}

.modal-close-btn {
  cursor: pointer;
  position: fixed;
  inset: 43px 51px auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  width: 44px;
  border-radius: 150px;
  transition: var(--transition);
  background: var(--red-base);
  z-index: 10;
  
  &:hover {
    background: var(--red-600);
  }

  @media (max-width: 640px) {
    inset: 20px 20px auto auto;
  } 
}

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

.header {
  padding: var(--spacing-4x);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  max-width: 194px;
  
  & img {
    height: auto;
    width: 100%;
  }
}

a.header-phone-link {
  --anchor-color: var(--text-base);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none !important;

  &:hover {
    --anchor-color: var(--primary-base);
  }
}
.site-footer {
  background-color: #f3f4f6;
  display: flex;
  justify-content: center;
  padding: 3.33333em 0;

  & li {
    padding: 0;
    margin: 0;

    &:before {
      display: none;
    }
  }

  /* Carried over from mjtw_styles.css */
  color: #3f4652;
  font-size: 16px;
  line-height: 1.15;
  padding: 3.33333em 15px;
  text-align: center;

  @media (min-width: 1440px) {
    font-size: 18px;
  }

  /* Old global element styles, wrapped in :where() to keep their original low specificity */
  & :where(p, ul) {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 1em;
  }

  & :where(ul li) {
    font-size: 1em;
  }

  & :where(a) {
    color: #277cb7;
    text-decoration: underline;
  }

  & :where(a:hover) {
    cursor: pointer;
    text-decoration: none;
  }

  & :where(a:visited) {
    color: #277cb7;
  }

  & :where(h1) {
    line-height: 58px;
    margin-bottom: .62222em;
  }

  & :where(h2) {
    line-height: 48px;
    margin-bottom: .84848em;
    letter-spacing: 0;
  }

  & :where(h3) {
    line-height: 40px;
    margin-bottom: .6em;
  }

  & :where(h4) {
    line-height: 33px;
    margin-bottom: .95238em;
  }

  & :where(h5) {
    line-height: 28px;
    margin-bottom: .52632em;
  }

  & :where(h6) {
    line-height: 20px;
    margin-bottom: .625em;
  }

  @media (max-width: 767px) {
    & :where(h1) {
      line-height: 50px;
    }

    & :where(h2) {
      line-height: 33px;
    }

    & :where(h4) {
      line-height: 25px;
    }

    & :where(h5) {
      line-height: 23px;
    }

    & .site-footer__menu .hs-menu-depth-1 a {
      padding: 13px 0;
    }

    & .site-footer__license a[href^="tel:"] {
      padding: 13px 4px;
    }
  }
}

.site-footer__inner {
  max-width: 1400px;
  position: relative;
  width: 100%;
}

.site-footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 1.11111em;
}

.site-footer__top-left {
  align-items: center;
  border: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.site-footer__footer-logo {
  margin-right: 1.11111em;
  width: 3.77778em;
}

.site-footer__menu .hs-menu-depth-1 a {
  color: #3f4652;
  font-size: .88889em;
  font-weight: 700;
  margin: 0 .88889em 0 0;
  padding: 0;
  text-decoration: none;
}

.site-footer__menu .hs-menu-depth-1 a:hover {
  color: #277cb7;
}

.site-footer__top-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.site-footer__top-right a {
  align-items: center;
  display: flex;
  padding: 8px;
}

.site-footer__icon {
  display: block;
  margin-left: 1.11111em;
}

.site-footer__middle {
  border-bottom: 1px solid #a2abba;
  border-top: 1px solid #a2abba;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 3.33333em 0;
}

.site-footer__middle a {
  color: #3f4652;
}

.site-footer__middle a:hover {
  color: #277cb7;
  text-decoration: underline;
}

.site-footer__license {
  padding: 0 1.11111em;
  text-align: left;
  width: 25%;
}

.site-footer__license h1,.site-footer__license h2,.site-footer__license h3,.site-footer__license h4,.site-footer__license h5,.site-footer__license h6 {
  font-size: .88889em;
  font-weight: 700;
}

.site-footer__license a,.site-footer__license p {
  font-size: 1em;
}

.site-footer__license a {
  display: block;
  padding: 4px;
}

.site-footer__license a p {
  margin: 0!important;
}

.site-footer__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 1.11111em;
  padding-top: 1.11111em;
}

.site-footer__bottom-left {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-size: .88889em;
}

.site-footer__bottom-left a {
  color: #3f4652;
  padding-right: .55556em;
  text-decoration: none;
}

.site-footer__bottom-left a:hover {
  color: #277cb7;
}

.site-footer__copyright {
  padding-right: .55556em;
  white-space: nowrap;
}

.site-footer__legal-menu {
  white-space: nowrap;
}

.site-footer__social-media {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.site-footer__social-link {
  padding-left: .83333em;
}

.site-footer__social-link-background {
  fill: #3f4652;
}

.site-footer__social-link-logo {
  fill: #fff!important;
}

.site-footer__social-link-background:hover {
  fill: #277cb7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  display: inline-block;
}

@media (max-width: 1069px) {
  .site-footer__top {
    flex-wrap:wrap;
    justify-content: center;
  }

  .site-footer__icon {
    padding-top: 1.11111em;
  }

  .site-footer__bottom {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer__license {
    padding-bottom: 2.22222em;
    width: 50%;
  }

  .site-footer__social-media {
    padding-top: 1.11111em;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding:2.22222em 1.66667em 3.33333em;
    text-align: center;
  }

  .site-footer__top,.site-footer__top-left {
    flex-direction: column;
  }

  .site-footer__menu .hs-menu-depth-1 {
    display: flex;
    flex-direction: column;
    margin-top: .88889em;
  }

  .site-footer__top-right {
    justify-content: center;
  }

  .site-footer__middle {
    padding: 1.66667em 0;
  }

  .site-footer__bottom,.site-footer__bottom-left {
    flex-direction: column;
  }

  .site-footer__copyright {
    padding-top: 1.11111em;
  }

  .site-footer__legal-menu .hs-menu-depth-1 {
    display: flex;
    flex-direction: column;
  }

  .site-footer__legal-menu a {
    display: block;
    padding: .44444em;
  }

  .site-footer__license {
    padding-bottom: 2.22222em;
    text-align: center;
    width: 100%;
  }
}
/* 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%;
}