/* Theme base styles */

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

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

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

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

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

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

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

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

body {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

legend {
  padding: 0;
}

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

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

details {
  display: block;
}

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

summary {
  display: list-item;
}

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



/* CSS variables */

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

/* Mobile layout */

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


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

/* Desktop layout */

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

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

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

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

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

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

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

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

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

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

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

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

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

/* Lists */

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

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

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

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

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

/* Horizontal rules */

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

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}

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

/* =========================================================
   EAST COAST CONTAINER SERVICES
   FLOATING WEBSITE HEADER
   ========================================================= */

:root {
  --eccs-navy: #001d35;
  --eccs-navy-hover: #0a3452;
  --eccs-accent-blue: #0984e3;
  --eccs-accent-blue-hover: #0984e3;
  --eccs-white: #ffffff;
  --eccs-border: rgba(0, 29, 53, 0.1);
  --eccs-shadow: 0 16px 50px rgba(0, 29, 53, 0.16);
}

/* Header positioning */

.header {
  left: 0;
  padding: 22px 24px 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.header__shell {
  margin: 0 auto;
  max-width: 1440px;
  position: relative;
}

.header__container {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  box-shadow: var(--eccs-shadow);
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  min-height: 88px;
  padding: 12px 14px 12px 24px;
  width: 100%;
}

/* Accessibility skipper */

.header__skip {
  background: var(--eccs-white);
  color: var(--eccs-navy);
  height: 1px;
  left: -1000px;
  overflow: hidden;
  padding: 10px 16px;
  position: absolute;
  top: -1000px;
  width: 1px;
  z-index: 1001;
}

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

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  margin: 0;
  max-width: 200px;
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 2;
}

.header__logo img {
  display: block;
  height: auto;
  max-height: 58px;
  max-width: 100%;
  width: auto;
}

.header__logo .logo-company-name {
  color: var(--eccs-navy);
  font-size: 1.1rem;
  margin: 0;
}

/* Desktop navigation */

.header__navigation {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 0 18px;
}

.header__navigation ul {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 1.8vw, 32px);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__navigation li {
  margin: 0;
  padding: 0;
  position: relative;
}

.header__navigation a {
  align-items: center;
  color: var(--eccs-navy);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 18px 0;
  text-decoration: none;
  white-space: nowrap;
}

.header__navigation a:hover,
.header__navigation a:focus,
.header__navigation .active > a,
.header__navigation .active-branch > a {
  color: var(--eccs-accent-blue);
}

/* Submenus */

.header__navigation li > ul {
  align-items: stretch;
  background: var(--eccs-white);
  border: 1px solid var(--eccs-border);
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(0, 29, 53, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0;
  left: -20px;
  min-width: 230px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 2px);
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  visibility: hidden;
  z-index: 20;
}

.header__navigation li:hover > ul,
.header__navigation li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.header__navigation li > ul a {
  border-radius: 6px;
  padding: 11px 12px;
  white-space: normal;
}

.header__navigation li > ul a:hover,
.header__navigation li > ul a:focus {
  background: rgba(0, 29, 53, 0.05);
}

/* Header actions */

.header__actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.header__cta {
  align-items: center;
  background: var(--eccs-accent-blue);
  border: 2px solid var(--eccs-accent-blue);
  border-radius: 7px;
  color: var(--eccs-white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 54px;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.header__cta:hover,
.header__cta:focus {
  background: var(--eccs-accent-blue-hover);
  border-color: var(--eccs-accent-blue-hover);
  color: var(--eccs-white);
  transform: translateY(-1px);
}

.header__cta svg {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.header__cta:hover svg,
.header__cta:focus svg {
  transform: translateX(3px);
}

/* Search */

.header__search {
  padding: 0;
  position: relative;
  width: 42px;
}

.header__search .hs-search-field {
  position: static;
}

.header__search .hs-search-field__bar {
  position: static;
}

.header__search form {
  margin: 0;
  position: static;
}

.header__search label,
.header__search .hs-search-field__label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.header__search .hs-search-field__input {
  background: var(--eccs-white);
  border: 1px solid var(--eccs-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 29, 53, 0.12);
  height: 48px;
  opacity: 0;
  padding: 0 48px 0 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 18px);
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: min(320px, 80vw);
}

.header__search:focus-within .hs-search-field__input,
.header__search:hover .hs-search-field__input {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header__search .hs-search-field__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--eccs-navy);
  cursor: pointer;
  display: flex;
  fill: var(--eccs-navy);
  height: 42px;
  justify-content: center;
  padding: 10px;
  position: relative;
  width: 42px;
  z-index: 2;
}

.header__search .hs-search-field__button:hover,
.header__search .hs-search-field__button:focus {
  background: rgba(0, 29, 53, 0.06);
}

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

.header__search .hs-search-field__suggestions {
  background: var(--eccs-white);
  border: 1px solid var(--eccs-border);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 30px rgba(0, 29, 53, 0.12);
  position: absolute;
  right: 0;
  top: calc(100% + 66px);
  width: min(320px, 80vw);
  z-index: 30;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid var(--eccs-border);
  font-size: 14px;
}

.header__search .hs-search-field__suggestions li a {
  color: var(--eccs-navy);
  display: block;
  padding: 10px 14px;
  text-decoration: none;
}

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

/* Language selector */

.header__language-switcher {
  cursor: pointer;
  padding: 0;
}

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

/* Mobile controls */

.header__mobile-toggle,
.header__mobile-panel {
  display: none;
}

/* Tablet adjustments */

@media (max-width: 1180px) {
  .header__container {
    grid-template-columns: 170px 1fr auto;
    padding-left: 18px;
  }

  .header__navigation {
    padding: 0 12px;
  }

  .header__navigation ul {
    gap: 15px;
  }

  .header__navigation a {
    font-size: 12px;
  }

  .header__cta {
    font-size: 11px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .header__language-switcher {
    display: none;
  }
}

/* Mobile header */

@media (max-width: 900px) {
  .header {
    padding: 14px 14px 0;
  }

  .header__container {
    display: flex;
    min-height: 72px;
    padding: 10px 14px 10px 18px;
  }

  .header__logo {
    margin-right: auto;
    max-width: 165px;
  }

  .header__logo img {
    max-height: 48px;
  }

  .header__navigation,
  .header__actions {
    display: none;
  }

  .header__mobile-toggle {
    align-items: center;
    background: var(--eccs-navy);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 46px;
    justify-content: center;
    padding: 0;
    width: 46px;
  }

  .header__mobile-toggle span {
    background: var(--eccs-white);
    border-radius: 2px;
    display: block;
    height: 2px;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
    width: 21px;
  }

  .header__mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__mobile-panel {
    background: var(--eccs-white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 20px 35px rgba(0, 29, 53, 0.15);
    display: block;
    left: 10px;
    opacity: 0;
    padding: 22px;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: calc(100% - 4px);
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    visibility: hidden;
  }

  .header__mobile-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .header__mobile-navigation ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header__mobile-navigation li {
    border-bottom: 1px solid var(--eccs-border);
    margin: 0;
  }

  .header__mobile-navigation a {
    color: var(--eccs-navy);
    display: block;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 4px;
    text-decoration: none;
  }

  .header__mobile-navigation li > ul {
    border-left: 2px solid var(--eccs-accent-blue);
    margin: 0 0 12px 4px;
    padding-left: 14px;
  }

  .header__mobile-navigation li > ul li {
    border: 0;
  }

  .header__mobile-navigation li > ul a {
    font-size: 15px;
    font-weight: 600;
    padding: 9px 4px;
  }

  .header__cta--mobile {
    display: flex;
    margin-top: 20px;
    width: 100%;
  }

  .header__mobile-phone {
    color: var(--eccs-navy);
    display: block;
    font-size: 15px;
    font-weight: 800;
    padding: 16px 0 2px;
    text-align: center;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 10px 0;
  }

  .header__container {
    border-radius: 8px;
    min-height: 66px;
    padding: 8px 10px 8px 14px;
  }

  .header__logo {
    max-width: 140px;
  }

  .header__logo img {
    max-height: 44px;
  }

  .header__mobile-toggle {
    height: 42px;
    width: 42px;
  }

  .header__mobile-panel {
    left: 6px;
    padding: 18px;
    right: 6px;
  }
}

/* =========================================================
   HEADER ACTION BUTTONS
   ========================================================= */

.header__actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}


/* Secondary phone CTA */

.header__phone-cta {
  align-items: center;
  background: var(--eccs-white, #ffffff);
  border: 1px solid var(--eccs-border, #dce3e8);
  border-radius: 12px;
  color: var(--eccs-navy, #001d35);
  display: inline-flex;
  gap: 11px;
  justify-content: center;
  min-height: 58px;
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.header__phone-cta > svg {
  flex: 0 0 auto;
}

.header__phone-cta-content {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header__phone-cta-label {
  color: var(--eccs-gray, #637180);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.header__phone-cta strong {
  color: inherit;
  font-size: 15px;
  font-weight: 800;
}

.header__phone-cta:hover,
.header__phone-cta:focus-visible {
  background: var(--eccs-light-gray, #f5f7f8);
  border-color: var(--eccs-accent-blue, #1597d4);
  box-shadow: 0 6px 18px rgba(0, 29, 53, 0.08);
  color: var(--eccs-accent-blue, #1597d4);
  transform: translateY(-1px);
}


/* Primary CTA sizing */

.header__cta {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  justify-content: center;
  min-height: 58px;
  white-space: nowrap;
}


/* Mobile actions */

.header__mobile-actions {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.header__mobile-phone {
  align-items: center;
  background: var(--eccs-white, #ffffff);
  border: 1px solid var(--eccs-border, #dce3e8);
  border-radius: 10px;
  color: var(--eccs-navy, #001d35);
  display: flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  padding: 13px 18px;
  text-decoration: none;
  width: 100%;
}

.header__mobile-phone svg {
  color: var(--eccs-accent-blue, #1597d4);
  flex: 0 0 auto;
}

.header__cta--mobile {
  width: 100%;
}


/* Responsive adjustments */

@media (max-width: 1180px) {
  .header__phone-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header__phone-cta-label {
    display: none;
  }

  .header__phone-cta-content {
    display: block;
  }
}

@media (max-width: 1024px) {
  .header__actions {
    display: none;
  }
}

@media (min-width: 1025px) {
  .header__mobile-actions {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__phone-cta {
    transition: none;
  }

  .header__phone-cta:hover,
  .header__phone-cta:focus-visible {
    transform: none;
  }
}
/* =========================================================
   FINAL HEADER ACTION REFINEMENTS
   ========================================================= */

.header a,
.header a:hover,
.header a:focus,
.header a:focus-visible,
.header a:active {
  text-decoration: none !important;
}


/* Desktop action wrapper */

.header__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}


/* Matching CTA dimensions */

.header__phone-cta,
.header__cta {
  align-items: center;
  border-radius: 9px;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 210px;
  height: 58px;
  justify-content: center;
  margin: 0;
  min-height: 58px;
  width: 140px;
}


/* Phone CTA */

.header__phone-cta {
  gap: 11px;
  padding: 8px 18px;
}


/* Blue CTA */

.header__cta {
  gap: 9px;
  justify-content: space-between;
  padding: 8px 17px 8px 21px;
}

.header__cta span {
  flex: 0 1 auto;
  white-space: nowrap;
}

.header__cta svg {
  flex: 0 0 18px;
}


/* Stable CTA hover states */

.header__phone-cta,
.header__cta {
  transform: scale(1);
  transform-origin: center;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    color 0.12s ease,
    transform 0.12s ease;
}

.header__phone-cta:hover,
.header__phone-cta:focus-visible,
.header__cta:hover,
.header__cta:focus-visible {
  font-weight: 800;
  text-decoration: none !important;
  transform: scale(1.02);
}

.header__phone-cta:hover,
.header__phone-cta:focus-visible {
  background: #f5f7f8;
  border-color: #0984e3;
  color: #0984e3;
}

.header__cta:hover,
.header__cta:focus-visible {
  background: #001d35;
  border-color: #001d35;
  color: #ffffff;
}

.header__cta:hover svg,
.header__cta:focus-visible svg {
  transform: none;
}


/* Tablet */

@media (max-width: 1240px) and (min-width: 1025px) {
  .header__phone-cta,
  .header__cta {
    flex-basis: 172px;
    width: 172px;
  }

  .header__phone-cta {
    padding-left: 13px;
    padding-right: 13px;
  }

  .header__phone-cta-label {
    display: none;
  }

  .header__phone-cta-content {
    display: block;
  }

  .header__phone-cta strong {
    font-size: 13px;
  }

  .header__cta {
    font-size: 10px;
    gap: 6px;
    padding-left: 14px;
    padding-right: 12px;
  }
}


/* Mobile */

@media (max-width: 1024px) {
  .header__navigation,
  .header__actions {
    display: none;
  }

  .header__mobile-phone,
  .header__cta--mobile {
    box-sizing: border-box;
    flex: none;
    height: 56px;
    min-height: 56px;
    width: 100%;
  }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .header__phone-cta,
  .header__cta {
    transition: none;
  }

  .header__phone-cta:hover,
  .header__phone-cta:focus-visible,
  .header__cta:hover,
  .header__cta:focus-visible {
    transform: none;
  }
}
/* 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;
  }
}