/* 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;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

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

/* No button */

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

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

/* Labels */

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

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

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

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

form textarea {
  resize: vertical;
}

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

/* Inputs - checkbox/radio */

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

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

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

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

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

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

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

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

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

/* Inputs - file picker */

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

/* Headings and text */

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

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

/* GDPR */

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

/* Validation */

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

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

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

/* Submit button */

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

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


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

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

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

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

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

/* Table */

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

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

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

/* Header DND sections */

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

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

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

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

/* Logo */

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

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

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

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

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



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

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



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



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

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


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

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

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

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

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

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

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

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

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

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

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}
/* Menu and simple menu */

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

/* Horizontal menu */

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

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

/* Vertical menu */

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

/* Flyouts */

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

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

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

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

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

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

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

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

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

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

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

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

/* Train America Custom Styles */
/* Train America Theme Styles */

/* ================================
   Accessibility Utilities
   ================================ */

/* Screen reader only - visually hidden but accessible */
.ta-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link - appears on focus for keyboard users */
.ta-skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}

.ta-skip-link:focus {
  top: 10px;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Utility class to remove HubSpot default padding */
.no-padding {
  padding: 0;
}

/* Page Hero - for interior pages */
.ta-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.ta-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--white);
  margin: 0 0 20px;
  line-height: 1;
}

.ta-page-hero p,
.ta-page-hero .ta-page-hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Section - for standard pages */
.ta-content-section {
  background: var(--cream);
  padding: 80px 0;
}

.ta-content-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 20px;
}

.ta-content-section p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 700px;
}

/* Contact Page Grid */
.ta-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--cream);
  padding: 80px 0;
}

/* Contact Info Section */
.ta-contact-info {
  padding: 40px;
}

.ta-contact-info h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 30px;
}

.ta-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.ta-contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ta-contact-info-item p {
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

.ta-contact-info-item a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ta-contact-info-item a:hover {
  color: var(--gold);
}

/* Form Section */
.ta-form-section {
  background: var(--white);
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 39, 94, 0.08);
}

.ta-form-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 15px;
}

.ta-form-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Form Page (full-width form) */
.ta-form-page-section {
  background: var(--cream);
  padding: 80px 0;
}

.ta-form-page-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 39, 94, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .ta-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }

  .ta-contact-info {
    padding: 20px;
  }

  .ta-form-section {
    padding: 30px;
  }

  .ta-form-page-container {
    padding: 30px;
    margin: 0 20px;
  }
}

/* CSS Variables - using HubL theme variables where possible */
:root {
  --navy: #00275e;
  --navy-dark: #001a3d;
  --navy-light: #0a3a7a;
  --cream: #D2DEEF;
  --cream-dark: #EDE9E0;
  --gold: #C4A35A;
  --gold-light: #D4B76A;
  --text-dark: #1a1a1a;
  --text-muted: #5a5a5a;
  --white: #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.ta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.ta-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

.ta-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 40px rgba(0, 39, 94, 0.08);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.ta-header.scrolled::before {
  opacity: 1;
}

.ta-header.scrolled {
  padding: 10px 0;
}

.ta-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ta-logo {
  height: 50px;
  transition: transform 0.3s var(--transition-smooth), filter 0.4s var(--transition-smooth);
  filter: brightness(0) invert(1);
}

.ta-header.scrolled .ta-logo {
  filter: none;
}

.ta-logo:hover {
  transform: scale(1.02);
}

.ta-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid var(--white);
  transition: all 0.3s var(--transition-smooth);
}

.ta-nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}

.ta-header.scrolled .ta-nav-cta {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding: 10px 20px;
  font-size: 12px;
}

.ta-header.scrolled .ta-nav-cta:hover {
  background: transparent;
  color: var(--navy);
}

.ta-nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--transition-smooth);
}

.ta-nav-cta:hover svg {
  transform: translateX(4px);
}

/* Hero Section */
.ta-hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.ta-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('https://244363033.fs1.hubspotusercontent-na2.net/hubfs/244363033/TrainAmerica-Hero03-1080-blue.jpg') center/cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.4;
}

.ta-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
}

.ta-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 220px 0 160px;
}

.ta-hero-brand {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.3s forwards;
}

.ta-hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.4s forwards;
}

.ta-hero-title span {
  color: var(--gold);
}

.ta-hero-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
  max-width: 540px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.6s forwards;
}

.ta-hero-subtitle p {
  margin: 0;
}

/* Reset p margins for all richtext wrappers */
.ta-about-intro p,
.ta-founder-bio p,
.ta-academies-intro p,
.ta-academy-description p,
.ta-problem-description p,
.ta-cta-text p {
  margin: 0;
}

.ta-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.8s forwards;
}

.ta-hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(196, 163, 90, 0.3);
}

.ta-hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--transition-smooth);
}

.ta-hero-cta:hover svg {
  transform: translateX(6px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Bar */
.ta-stats-bar {
  background: var(--navy);
  padding: 35px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.ta-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.ta-stat-item {
  padding: 20px;
  position: relative;
}

.ta-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

.ta-stat-number {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.ta-stat-label {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Section Styles */
.ta-section {
  padding: 60px 0;
  position: relative;
}

.ta-section-label {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-left: 50px;
}

.ta-section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

.ta-section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 30px;
}

/* Problem Section */
.ta-problem-section {
  background: var(--cream);
  position: relative;
}

/* White right half background */
.ta-problem-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--white);
  z-index: 0;
}

.ta-problem-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.ta-problem-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.ta-problem-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 35px 0;
  border-top: 1px solid rgba(0, 39, 94, 0.1);
}

.ta-problem-stat-number {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--navy);
  line-height: 1;
}

.ta-problem-stat-unit {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ta-problem-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 39, 94, 0.2);
}

.ta-problem-stat-text {
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ta-problem-card {
  background: transparent;
  padding: 0 40px;
  position: relative;
}

.ta-problem-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 25px;
}

.ta-problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ta-problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  font-size: 17px;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(0, 39, 94, 0.1);
}

.ta-problem-list li:last-child {
  border-bottom: none;
}

.ta-problem-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.ta-solution-response {
  margin: 27px -20px -20px -20px;
  padding: 20px;
  background: var(--cream);
}

.ta-solution-response h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 15px;
}

.ta-solution-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.ta-solution-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.5;
}

.ta-solution-list li:last-child {
  margin-bottom: 0;
}

.ta-solution-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Academies Section */
.ta-academies-section {
  background: var(--navy);
  text-align: center;
}

.ta-academies-section .ta-section-label {
  color: var(--gold);
}

.ta-academies-section .ta-section-label::before {
  background: var(--gold);
}

.ta-academies-section .ta-section-title {
  color: var(--white);
}

.ta-academies-intro {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.ta-academies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.ta-academy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 35px;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.ta-academy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition-smooth);
}

.ta-academy-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.ta-academy-card:hover::before {
  transform: scaleX(1);
}

.ta-academy-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.ta-academy-icon {
  width: 60px;
  height: 60px;
  background: rgba(196, 163, 90, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ta-academy-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

.ta-academy-card h3 {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--white);
  margin: 0;
  line-height: 1;
}

.ta-academy-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* About Section */
.ta-about-section {
  background: var(--cream);
}

.ta-about-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.ta-about-intro {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

.ta-founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.ta-founder-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 39, 94, 0.06);
  transition: all 0.4s var(--transition-smooth);
  max-width: 280px;
  margin: 0 auto;
}

.ta-founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 39, 94, 0.12);
}

.ta-founder-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s var(--transition-smooth);
}

.ta-founder-card:hover .ta-founder-image {
  filter: grayscale(0%);
}

.ta-founder-content {
  padding: 25px;
}

.ta-founder-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 5px;
}

.ta-founder-title {
  font-size: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

.ta-founder-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ta-founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s var(--transition-smooth);
}

.ta-founder-linkedin:hover {
  color: var(--gold);
}

.ta-founder-linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* CTA Section */
.ta-cta-section {
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.ta-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--navy), transparent);
  opacity: 0.2;
}

.ta-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.ta-cta-image {
  position: relative;
}

.ta-cta-image img {
  width: 100%;
  filter: grayscale(30%);
  box-shadow: 0 40px 100px rgba(0, 39, 94, 0.15);
}

.ta-cta-image::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: -30px;
  bottom: -30px;
  border: 3px solid var(--gold);
  z-index: -1;
  opacity: 0.4;
}

.ta-cta-content {
  padding: 40px 0;
}

.ta-cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}

.ta-cta-text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.ta-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 45px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s var(--transition-smooth);
}

.ta-cta-button:hover {
  background: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 39, 94, 0.25);
}

.ta-cta-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--transition-smooth);
}

.ta-cta-button:hover svg {
  transform: translateX(6px);
}

/* Footer */
.ta-footer {
  background: var(--navy-dark);
  padding: 50px 0 30px;
}

.ta-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.ta-footer-logo {
  height: 45px;
  filter: brightness(0) invert(1);
}

.ta-footer-contact {
  text-align: right;
}

.ta-footer-address {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 15px;
}

.ta-footer-email {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s var(--transition-smooth);
}

.ta-footer-email:hover {
  color: var(--gold-light);
}

.ta-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ta-footer-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.ta-footer-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

/* Scroll animations - JS adds .ta-animate-ready class to enable */
.ta-animate-ready .ta-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-smooth);
}

.ta-animate-ready .ta-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .ta-container {
    padding: 0 30px;
  }

  .ta-problem-section::after {
    display: none;
  }

  .ta-problem-grid,
  .ta-cta-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ta-problem-card {
    padding: 30px;
    background: var(--white);
  }

  .ta-academies-grid,
  .ta-founders-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ta-stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ta-stat-item:not(:last-child)::after {
    display: none;
  }

  .ta-cta-image {
    order: 2;
  }

  .ta-cta-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .ta-hero::before {
    width: 100%;
    clip-path: none;
    opacity: 0.2;
  }

  .ta-hero-content {
    padding: 140px 0 120px;
  }

  .ta-section {
    padding: 60px 0;
  }

  .ta-footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .ta-footer-contact {
    text-align: left;
  }

  .ta-footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .ta-problem-stat {
    display: none;
  }

  .ta-nav-cta {
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }

  .ta-nav-cta svg {
    width: 12px;
    height: 12px;
  }

  .ta-hero-cta {
    padding: 14px 24px;
    font-size: 13px;
    gap: 10px;
  }

  .ta-hero-cta svg {
    width: 16px;
    height: 16px;
  }

  .ta-cta-button {
    padding: 14px 24px;
    font-size: 13px;
    gap: 10px;
  }

  .ta-cta-button svg {
    width: 16px;
    height: 16px;
  }

  .ta-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==============================================
   Contact Page
   ============================================== */

/* Contact Grid - Two Column Layout */
.ta-contact-grid-section {
  background: var(--cream);
}

.ta-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}

.ta-contact-grid-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ta-contact-grid-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact Info Section */
.ta-contact-info {
  padding: 20px 0;
}

.ta-contact-info h2 {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--navy);
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.ta-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.ta-contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ta-contact-info-item p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.ta-contact-info-item a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

.ta-contact-info-item a:hover {
  color: var(--gold);
}

/* Form Section */
.ta-form-section {
  background: var(--white);
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 39, 94, 0.08);
}

.ta-form-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.ta-form-description {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* HubSpot Form Overrides */
.ta-form-section .hs-form {
  max-width: 100%;
}

.ta-form-section .hs-form-field {
  margin-bottom: 20px;
}

.ta-form-section .hs-form-field label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}

.ta-form-section .hs-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e5e5;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
}

.ta-form-section .hs-input:focus {
  outline: none;
  border-color: var(--gold);
}

.ta-form-section textarea.hs-input {
  min-height: 120px;
  resize: vertical;
}

.ta-form-section .hs-submit {
  margin-top: 10px;
}

.ta-form-section .hs-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}

.ta-form-section .hs-button:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 39, 94, 0.2);
}

/* Contact Grid Responsive */
@media (max-width: 1024px) {
  .ta-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }

  .ta-form-section {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .ta-contact-grid {
    padding: 40px 0;
  }

  .ta-contact-info h2 {
    font-size: 36px;
  }

  .ta-form-section {
    padding: 30px;
  }

  .ta-form-section h2 {
    font-size: 28px;
  }
}

/* ==============================================
   Form Page Template
   ============================================== */

.ta-form-page-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.ta-form-page-wrapper .ta-form-section {
  padding: 50px;
}

@media (max-width: 768px) {
  .ta-form-page-wrapper {
    padding: 40px 0 60px;
  }

  .ta-form-page-wrapper .ta-form-section {
    padding: 30px;
  }
}

/* HubSpot Stock Module Overrides */
/* ==========================================================================
   HubSpot Stock Module Overrides
   Train America Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Rich Text Module
   -------------------------------------------------------------------------- */

.hs_cos_wrapper_type_rich_text {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
}

.hs_cos_wrapper_type_rich_text h1,
.hs_cos_wrapper_type_rich_text h2,
.hs_cos_wrapper_type_rich_text h3,
.hs_cos_wrapper_type_rich_text h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.hs_cos_wrapper_type_rich_text h1:first-child,
.hs_cos_wrapper_type_rich_text h2:first-child,
.hs_cos_wrapper_type_rich_text h3:first-child,
.hs_cos_wrapper_type_rich_text h4:first-child {
  margin-top: 0;
}

.hs_cos_wrapper_type_rich_text h1 { font-size: clamp(42px, 5vw, 64px); }
.hs_cos_wrapper_type_rich_text h2 { font-size: clamp(32px, 4vw, 48px); }
.hs_cos_wrapper_type_rich_text h3 { font-size: clamp(24px, 3vw, 36px); }
.hs_cos_wrapper_type_rich_text h4 { font-size: clamp(20px, 2.5vw, 28px); }

.hs_cos_wrapper_type_rich_text p {
  margin-bottom: 1em;
}

.hs_cos_wrapper_type_rich_text a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: all 0.3s var(--transition-smooth);
}

.hs_cos_wrapper_type_rich_text a:hover {
  color: var(--gold);
}

.hs_cos_wrapper_type_rich_text blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin: 2em 0;
  font-style: italic;
  color: var(--text-muted);
}

.hs_cos_wrapper_type_rich_text ul,
.hs_cos_wrapper_type_rich_text ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.hs_cos_wrapper_type_rich_text li {
  margin-bottom: 0.5em;
}

.hs_cos_wrapper_type_rich_text li::marker {
  color: var(--gold);
}

.hs_cos_wrapper_type_rich_text hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  margin: 2em 0;
}

/* --------------------------------------------------------------------------
   2. Form Module
   -------------------------------------------------------------------------- */

.hs-form {
  font-family: var(--font-body);
}

/* Form fields */
.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form input[type="url"],
.hs-form input[type="password"],
.hs-form select,
.hs-form textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid rgba(27, 43, 75, 0.15);
  border-radius: 0;
  transition: all 0.3s var(--transition-smooth);
  -webkit-appearance: none;
  appearance: none;
}

.hs-form textarea {
  min-height: 150px;
  resize: vertical;
}

.hs-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B2B4B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

.hs-form .hs-input:focus,
.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 39, 94, 0.1);
}

/* Placeholder styling */
.hs-form .hs-input::placeholder,
.hs-form input::placeholder,
.hs-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Labels */
.hs-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Required indicator */
.hs-form label .hs-form-required {
  color: var(--gold);
}

/* Field groups */
.hs-form .hs-form-field {
  margin-bottom: 24px;
}

/* Submit button */
.hs-form .hs-button,
.hs-form input[type="submit"] {
  display: inline-block;
  padding: 20px 45px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}

.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 163, 90, 0.3);
}

.hs-form .hs-button:active,
.hs-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Error states */
.hs-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.hs-form .hs-error-msgs li,
.hs-form .hs-error-msg {
  color: #EF6B51;
  font-size: 13px;
}

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

/* Checkbox/Radio styling */
.hs-form .inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hs-form .inputs-list li {
  margin-bottom: 12px;
}

.hs-form .hs-form-checkbox label,
.hs-form .hs-form-radio label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.hs-form input[type="checkbox"],
.hs-form input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Success message */
.hs-form .submitted-message,
.submitted-message {
  padding: 40px;
  background: rgba(196, 163, 90, 0.1);
  border-left: 4px solid var(--gold);
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--navy);
}

/* Multi-column form layouts */
.hs-form fieldset.form-columns-2 .hs-form-field {
  width: calc(50% - 12px);
}

.hs-form fieldset.form-columns-3 .hs-form-field {
  width: calc(33.333% - 16px);
}

@media (max-width: 767px) {
  .hs-form fieldset.form-columns-2 .hs-form-field,
  .hs-form fieldset.form-columns-3 .hs-form-field {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   3. Button/CTA Module
   -------------------------------------------------------------------------- */

.hs-cta-wrapper a,
.hs-cta-wrapper .cta_button {
  display: inline-block;
  padding: 18px 40px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-dark);
  background: var(--gold);
  border: none;
  transition: all 0.4s var(--transition-smooth);
}

.hs-cta-wrapper a:hover,
.hs-cta-wrapper .cta_button:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 163, 90, 0.35);
}

/* Secondary/outline variant - add .ta-secondary class to wrapper */
.hs-cta-wrapper.ta-secondary a,
.hs-cta-wrapper.ta-secondary .cta_button {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.hs-cta-wrapper.ta-secondary a:hover,
.hs-cta-wrapper.ta-secondary .cta_button:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 15px 40px rgba(0, 39, 94, 0.25);
}

/* Navy button variant */
.hs-cta-wrapper.ta-navy a,
.hs-cta-wrapper.ta-navy .cta_button {
  background: var(--navy);
  color: var(--white);
}

.hs-cta-wrapper.ta-navy a:hover,
.hs-cta-wrapper.ta-navy .cta_button:hover {
  background: var(--navy-light);
}

/* --------------------------------------------------------------------------
   4. Image Module
   -------------------------------------------------------------------------- */

.hs_cos_wrapper_type_image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Add subtle shadow on hover for editorial feel */
.hs_cos_wrapper_type_image {
  transition: all 0.4s var(--transition-smooth);
}

.hs_cos_wrapper_type_image:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 40px rgba(0, 39, 94, 0.12));
}

/* Disable hover effect when inside certain containers */
.ta-hero .hs_cos_wrapper_type_image:hover,
.ta-cta .hs_cos_wrapper_type_image:hover {
  transform: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   5. Video Module
   -------------------------------------------------------------------------- */

.hs_cos_wrapper_type_video,
.hs-video-widget {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}

.hs_cos_wrapper_type_video::before,
.hs-video-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}

.hs_cos_wrapper_type_video iframe,
.hs_cos_wrapper_type_video video,
.hs-video-widget iframe,
.hs-video-widget video {
  display: block;
  width: 100%;
}

/* Video wrapper for responsive embeds */
.hs-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.hs-video-wrapper iframe,
.hs-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   6. Quote/Testimonial Module
   -------------------------------------------------------------------------- */

.hs-quote,
.hs_cos_wrapper_type_testimonial {
  position: relative;
  padding: 60px 40px 40px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 39, 94, 0.08);
}

.hs-quote::before,
.hs_cos_wrapper_type_testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}

.hs-quote blockquote,
.hs-quote .quote-text,
.hs_cos_wrapper_type_testimonial blockquote {
  font-family: var(--font-body);
  font-size: 20px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.hs-quote .quote-author,
.hs-quote cite,
.hs_cos_wrapper_type_testimonial cite {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
}

.hs-quote .quote-author::before,
.hs-quote cite::before,
.hs_cos_wrapper_type_testimonial cite::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   7. Social Follow Module
   -------------------------------------------------------------------------- */

.hs-social-follow ul,
.hs_cos_wrapper_type_social_follow ul {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hs-social-follow a,
.hs_cos_wrapper_type_social_follow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}

.hs-social-follow a:hover,
.hs_cos_wrapper_type_social_follow a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

.hs-social-follow svg,
.hs-social-follow img,
.hs_cos_wrapper_type_social_follow svg,
.hs_cos_wrapper_type_social_follow img {
  width: 20px;
  height: 20px;
}

/* Light variant for dark backgrounds */
.ta-social-light .hs-social-follow a,
.ta-social-light .hs_cos_wrapper_type_social_follow a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.ta-social-light .hs-social-follow a:hover,
.ta-social-light .hs_cos_wrapper_type_social_follow a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   8. Menu/Navigation Module
   -------------------------------------------------------------------------- */

.hs-menu-wrapper ul {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hs-menu-wrapper a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s var(--transition-smooth);
}

.hs-menu-wrapper a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--transition-smooth);
}

.hs-menu-wrapper a:hover {
  color: var(--navy);
}

.hs-menu-wrapper a:hover::after {
  width: 100%;
}

/* Active state */
.hs-menu-wrapper .active > a,
.hs-menu-wrapper .active-branch > a {
  color: var(--navy);
}

.hs-menu-wrapper .active > a::after,
.hs-menu-wrapper .active-branch > a::after {
  width: 100%;
}

/* Dropdown styling */
.hs-menu-wrapper .hs-menu-depth-1 {
  position: relative;
}

.hs-menu-wrapper .hs-menu-children-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 39, 94, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--transition-smooth);
  z-index: 100;
}

.hs-menu-wrapper li:hover > .hs-menu-children-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hs-menu-wrapper .hs-menu-children-wrapper ul {
  flex-direction: column;
  gap: 0;
}

.hs-menu-wrapper .hs-menu-children-wrapper a {
  display: block;
  padding: 12px 24px;
  white-space: nowrap;
}

.hs-menu-wrapper .hs-menu-children-wrapper a::after {
  display: none;
}

.hs-menu-wrapper .hs-menu-children-wrapper a:hover {
  background: rgba(196, 163, 90, 0.1);
}

/* Mobile menu styles */
@media (max-width: 767px) {
  .hs-menu-wrapper ul {
    flex-direction: column;
    gap: 0;
  }

  .hs-menu-wrapper a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(27, 43, 75, 0.1);
  }

  .hs-menu-wrapper .hs-menu-children-wrapper {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
  }
}

/* --------------------------------------------------------------------------
   9. Table Module
   -------------------------------------------------------------------------- */

.hs_cos_wrapper_type_rich_text table,
table.hs-table,
.hs_cos_wrapper_type_module table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  margin: 1.5em 0;
}

.hs_cos_wrapper_type_rich_text th,
table.hs-table th,
.hs_cos_wrapper_type_module th {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
}

.hs_cos_wrapper_type_rich_text td,
table.hs-table td,
.hs_cos_wrapper_type_module td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(27, 43, 75, 0.1);
}

.hs_cos_wrapper_type_rich_text tr:hover td,
table.hs-table tr:hover td,
.hs_cos_wrapper_type_module tr:hover td {
  background: rgba(196, 163, 90, 0.05);
}

/* Responsive table */
@media (max-width: 767px) {
  .hs_cos_wrapper_type_rich_text table,
  table.hs-table,
  .hs_cos_wrapper_type_module table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --------------------------------------------------------------------------
   10. Blog Module Styles
   -------------------------------------------------------------------------- */

.hs-blog-post {
  font-family: var(--font-body);
}

.hs-blog-post h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hs-blog-post-listing .post-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(27, 43, 75, 0.1);
}

.hs-blog-post-listing .post-item:last-child {
  border-bottom: none;
}

.hs-blog-post-listing .post-item h2 a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

.hs-blog-post-listing .post-item h2 a:hover {
  color: var(--gold);
}

/* Blog author and date */
.hs-blog-post .hs-author-name,
.hs-blog-post .hs-blog-post-author {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}

.hs-blog-post .hs-blog-post-date {
  color: var(--text-muted);
  font-size: 14px;
}

/* Blog tags */
.hs-blog-post .hs-blog-tags a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: rgba(196, 163, 90, 0.15);
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.3s var(--transition-smooth);
}

.hs-blog-post .hs-blog-tags a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   11. Pagination
   -------------------------------------------------------------------------- */

.hs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  font-family: var(--font-body);
}

.hs-pagination a,
.hs-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 2px solid rgba(27, 43, 75, 0.15);
  transition: all 0.3s var(--transition-smooth);
}

.hs-pagination a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.hs-pagination .hs-pagination-current,
.hs-pagination .active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.hs-pagination .hs-pagination-prev,
.hs-pagination .hs-pagination-next {
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Search Module
   -------------------------------------------------------------------------- */

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

.hs-search-field input[type="text"],
.hs-search-field__input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid rgba(27, 43, 75, 0.15);
  border-radius: 0;
  transition: all 0.3s var(--transition-smooth);
}

.hs-search-field input[type="text"]:focus,
.hs-search-field__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 39, 94, 0.1);
}

.hs-search-field__button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 56px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--transition-smooth);
}

.hs-search-field__button:hover {
  background: var(--gold-light);
}

.hs-search-field__button svg {
  width: 20px;
  height: 20px;
  fill: var(--navy-dark);
}

/* Search results */
.hs-search-results {
  font-family: var(--font-body);
}

.hs-search-results__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.hs-search-results__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

.hs-search-results__title a:hover {
  color: var(--gold);
}

.hs-search-results__description {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   13. Language Switcher
   -------------------------------------------------------------------------- */

.hs-language-switcher {
  position: relative;
}

.hs-language-switcher__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: 2px solid rgba(27, 43, 75, 0.15);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.hs-language-switcher__button:hover {
  border-color: var(--navy);
}

.hs-language-switcher__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 39, 94, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--transition-smooth);
  z-index: 100;
}

.hs-language-switcher:hover .hs-language-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hs-language-switcher__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s;
}

.hs-language-switcher__dropdown a:hover {
  background: rgba(196, 163, 90, 0.1);
}