/* Theme base styles */

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

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

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

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

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

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

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

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

body {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

legend {
  padding: 0;
}

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

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

details {
  display: block;
}

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

summary {
  display: list-item;
}

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



/* CSS variables */

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

/* Mobile layout */

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


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

/* Desktop layout */

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

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

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

.dnd-section {
	padding: 60px 44px;
}

.dnd-section > .row-fluid {
	max-width: calc(1440px - 88px);
  margin: 0 auto;
}

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

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

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

/* Satoshi */

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Light.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-LightItalic.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Regular.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Italic.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Medium.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-MediumItalic.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Bold.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-BoldItalic.woff2') format('woff2'),
       url('https://242164388.fs1.hubspotusercontent-na2.net/hubfs/242164388/fonts/Satoshi/Satoshi-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ================================================ */

body {
	font-family: "Satoshi", sans-serif;
  font-size: 20px;
  overflow-wrap: break-word;
}

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p, li {
	font-family: "Satoshi", sans-serif;
  font-size: 20px;
  line-height: 28px;
}

p {
	margin: 0 0 1.4rem;
}

small {
	font-family: "Satoshi", sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 18.2px;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
	color: #031E45;
}

h1,
h2,
h3,
h4 {
	font-family: "ivypresto-display", serif;
}

h5,
h6 {
	font-family: "Satoshi", sans-serif;
}

h1 {
	font-size: clamp(3.063rem, 1.054rem + 5.357vw, 5.875rem); /* 94px */
	font-style: normal;
	font-weight: 100;
	line-height: clamp(3.369rem, 1.369rem + 5.333vw, 6.169rem);
	letter-spacing: -0.8px;
}

h2 {
	font-size: clamp(2.75rem, 1.946rem + 2.143vw, 3.875rem); /* 62px */
	font-style: normal;
	font-weight: 100;
	line-height: clamp(3.3rem, 2.336rem + 2.571vw, 4.65rem);
	letter-spacing: -0.4px;
}

h3 {
	font-size: clamp(1.875rem, 1.696rem + 0.476vw, 2.125rem); /* 34px */
	font-style: normal;
	font-weight: 400;
	line-height: clamp(2.25rem, 2.036rem + 0.571vw, 2.55rem);
}

h4 {
  font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 28.8px;
}

h5 {
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 19.2px;
}

h6 {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 22.4px;
}

/* Lists */

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

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

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

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

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

/* Horizontal rules */

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

/* Image alt text */

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

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

/* No button */

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

/* Main */

button,
.button,
.hs-button,
[class*="-btn"] {
	padding: 16px 32px;
	color: #ffffff;
  text-align: center;
	border-radius: 60px;
	background: #021E42;
	border: 1px solid #021E42;
	font-family: Satoshi;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	display: inline-block;
}

.white-btn {
	background: white;
	color: #021E42;
}

.clean-btn {
	padding: 0;
	color: initial;
	border-radius: 0px;
	background: transparent;
	border: none;
}

.arrow-btn {
	background: none;
	padding: 0;
	border: none;
	display: inline-flex;
	align-items: center;
}

.arrow-btn.dark {
	color: #031E45;
}

.arrow-btn::after {
  content: '';
  display: inline-block;
  width: 41px;
  height: 20px;
  margin-left: 8px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg width='41' height='20' viewBox='0 0 41 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='33.3536' y1='4.64645' x2='40.3536' y2='11.6464' stroke='%23B6954E'/%3E%3Cline y1='11.5' x2='40' y2='11.5' stroke='%23B6954E'/%3E%3Cline y1='-0.5' x2='9.8995' y2='-0.5' transform='matrix(0.707107 -0.707107 -0.707107 -0.707107 33 19)' stroke='%23B6954E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
/* Fields */

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

/* Labels */

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

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

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

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

form textarea {
  resize: vertical;
}

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

/* Inputs - checkbox/radio */

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

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

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

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

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

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

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

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

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

/* Inputs - file picker */

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

/* Headings and text */

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

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

/* GDPR */

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

/* Validation */

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

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

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

/* Submit button */

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

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


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

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

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

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

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

/* Table */

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

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

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

/* Header DND sections */

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

.header .hs-button {
	background: #003171 !important;
}

/* Header container */

.header__container .header__main .header__wrapper {
	max-width: calc(1440px - 88px);
	margin: 0 auto;
	padding: 50px 0 16px 0;
	display: flex;
	align-items: center;
}

@media (min-width: 768px) {
	html:not(.hs-inline-edit) .header__main {
		position: fixed;
		z-index: 9999;
		top: 0;
		left: 0;
		width: 100%;
		padding: 0 44px;
	}

	html.hs-inline-edit .header__main .header__wrapper {
		padding-top: 16px;
	}
}

@media (max-width: 767px) {
	.header__container .header__main .header__wrapper {
		padding: 16px 20px;
		justify-content: space-between;
	}
}

/* Navigation skipper */

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

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

/* Logo */

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

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

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

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

.header__logo--main span {
  display: block;
	line-height: 0;
}

/* Hide parent link "Visit X" on desktop */

@media (min-width: 768px) {
  .menu__item--parent-link {
    display: none !important;
  }
}

/* Search bar */

.header__search input,
.header__search label {
	display: none !important;
}

.header__search {
  margin-left: 32px;
  width: auto;
}



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

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



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



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #003171;
    background-color: transparent;
    border: none;
  }

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


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

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

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

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

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

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

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

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

/* Button */

.header__button {
	margin-left: 48px;
}

/* Navigation */

#nav-toggle {
  display: none;
}

/* ======================================
   MOBILE MENU OVERLAY
   ====================================== */

.header__nav-toggle {
  display: none;
}

.header__navigation-top {
  display: none;
}

@media (max-width: 767px) {
  .header__button,
  .header__search {
    display: none;
  }

  /* Hamburger toggle (in header) */
  .header__nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #08234B;
    color: #fff;
    cursor: pointer;
    padding: 0;
    position: relative;
  }

  .header__nav-toggle .header__nav-toggle-icon,
  .header__nav-toggle .header__nav-toggle-icon::before,
  .header__nav-toggle .header__nav-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .header__nav-toggle .header__nav-toggle-icon {
    position: relative;
    background: transparent;
  }

  .header__nav-toggle .header__nav-toggle-icon::before,
  .header__nav-toggle .header__nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .header__nav-toggle .header__nav-toggle-icon::before {
    top: -4px;
  }

  .header__nav-toggle .header__nav-toggle-icon::after {
    top: 4px;
  }

  /* Mobile nav overlay */
  .header__navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #08234B;
    color: #fff;
    z-index: 10000;
    overflow-y: auto;
    padding: 0 24px 60px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.mobile-nav-open .header__navigation {
    visibility: visible;
    opacity: 1;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  /* Top bar inside the overlay (logo + close button) */
  .header__navigation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin: 0 -4px 32px;
  }

  .header__navigation-logo img {
    display: block;
    max-width: 200px;
    width: auto;
    height: auto;
  }

  .header__navigation-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
  }

  .header__navigation-close-icon {
    display: block;
    width: 18px;
    height: 18px;
    position: relative;
  }

  .header__navigation-close-icon::before,
  .header__navigation-close-icon::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
  }

  .header__navigation-close-icon::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .header__navigation-close-icon::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  /* Mobile menu nav structure */
  .menu--mobile {
    display: block;
    text-align: center;
  }

  .menu--mobile .menu__wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
  }

  .menu--mobile .menu__item--depth-1 {
    border: none;
    padding: 0;
    width: 100%;
    display: block;
    margin: 0;
  }

  .menu--mobile .menu__item--depth-1 > .menu__link {
    color: #fff;
    font-family: "ivypresto-display", serif;
    font-size: clamp(1.875rem, 1.696rem + 0.476vw, 2.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(2.25rem, 2.036rem + 0.571vw, 2.55rem);
    text-transform: none;
    padding: 14px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    text-decoration: none;
    cursor: pointer;
  }

  /* Chevron next to top-level label */
  .menu--mobile .menu__item--has-submenu > .menu__link::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
  }

  .menu--mobile .menu__item--open > .menu__link::after {
    transform: rotate(225deg) translateY(-2px);
  }

  /* Hide the original child-toggle button on mobile */
  .menu--mobile .menu__child-toggle {
    display: none;
  }

  /* Submenu (level 2) */
  .menu--mobile .menu__submenu {
    display: none;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 8px 0 16px !important;
    margin: 0;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .menu--mobile .menu__item--open > .menu__submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 0;
  }

  .menu--mobile .menu__submenu .menu__item {
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
  }

  .menu--mobile .menu__submenu .menu__link {
    color: #fff;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 8px 16px;
    display: block;
    text-align: center;
    background: transparent;
    text-transform: none;
    text-decoration: none;
  }

  .menu--mobile .menu__submenu .menu__link:hover {
    text-decoration: none;
    opacity: 0.8;
  }

  .menu--mobile .menu__item--parent-link .menu__link--parent {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 1;
    padding-bottom: 12px;
  }
}

/* Hide top ribbon on mobile (it's only for desktop) */
@media (max-width: 767px) {
  .header__ribbon {
    display: none;
  }
}

/* Hide mobile-overlay ribbon on desktop */
.header__mobile-ribbon {
  display: none;
}

/* On mobile, show it inside the overlay and remove ribbon's default chrome */
@media (max-width: 767px) {
  .header__mobile-ribbon {
    display: block;
    margin-top: 32px;
  }

  .header__mobile-ribbon #ribbon {
    margin: 0;
    z-index: auto;
  }

  .header__mobile-ribbon #ribbon .bg-area {
    background: transparent;
  }

  .header__mobile-ribbon #ribbon .bg-area .content-area {
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .header__mobile-ribbon #ribbon .tagline {
    display: none;
  }

  .header__mobile-ribbon #ribbon .submenu .hs-menu-wrapper ul {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .header__mobile-ribbon #ribbon .submenu .hs-menu-wrapper ul li {
    margin: 0 !important;
    width: 100%;
  }

  .header__mobile-ribbon #ribbon .submenu .hs-menu-item a {
    display: block;
    padding: 10px 16px;
    font-size: 16px;
    text-align: center;
  }
}

/* ======================================
   END MOBILE MENU OVERLAY
   ====================================== */
/* Menu and simple menu */

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

/* Horizontal menu */

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

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

/* Vertical menu */

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

/* Flyouts */

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

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

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

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

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

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

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

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

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

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

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

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

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

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