/*
  Aspiration Marketing - Master Global Styles
  v2.0.0 (Semantic Tokens, Fully Dynamic HubL, & Native Dark Mode)
*/

/* --- 1. GLOBAL VARIABLES (Single Source of Truth - HubL Linked) --- */
:root {
  /* Typography Variables from fields.json - Custom Setup Maps Automatically */
  --am-font-heading: 'Aspiration-Marketing-Heading', Aspiration-Marketing-Heading, 'Aspiration-Marketing-Heading-Fallback', 'Noto Sans SC', Georgia, serif;
  --am-font-body: 'Aspiration-Marketing-Body', Aspiration-Marketing-Body, 'Aspiration-Marketing-Body-Fallback', 'Noto Sans SC', Arial, sans-serif;
  
  /* Semantic Color System (Base/Light Mode) */
  --am-primary: #0A5CBE;
  --am-secondary: #125D43;
  --am-orange: #D05A00;
  --am-yellow: #F2A900;
  
  --am-text-primary: #111820;
  --am-text-secondary: #4B5563;
  --am-text-tertiary: #9CA3AF;
  
  --am-bg-base: #FFFFFF;
  --am-bg-alt: #F3F4F6;
  --am-bg-matte: #F5F7FA;
  
  --am-border-color: #E5E7EB;
  --am-error-red: #DC2626;

  /* AAA CTA TOKENS (Light Mode) */
  --am-cta-bg: var(--am-secondary); 
  --am-cta-text: #FFFFFF;
  --am-cta-hover: #034e34;

  /* Thematic Overlays (Linked to Theme Settings) */
  --am-bg-light-overlay: rgba(255, 255, 255, 0);
  --am-bg-dark-overlay: rgba(15, 23, 42, 0.75);

  /* Calculated Hovers */
  --am-primary-hover: #0048aa;
  
  /* Footer Component Tokens (Default Dark Footer) */
  --am-footer-bg: #282828;
  --am-footer-text: #ffffff;
  --am-footer-heading: #ffffff;
  --am-footer-text-muted: #cccccc;
  --am-footer-link: #cccccc;
  --am-footer-link-hover: #ffffff;
  --am-footer-border: #3d3d3d;
  --am-footer-focus: var(--am-primary);

  /* Legacy Class Mappings (Ensures no existing site pages break) */
  --am-blue: var(--am-primary);
  --am-brand-blue: var(--am-primary);
  --am-blue-hover: var(--am-primary-hover);
  --am-brand-blue-hover: var(--am-primary-hover);
  --am-green: var(--am-secondary);
  --am-white: var(--am-bg-base);
  --am-bg-light: var(--am-bg-matte);
  --am-bg-lighter: var(--am-bg-alt);
  --am-black: var(--am-text-primary);
  --am-accessible-black: var(--am-text-primary);
  --am-text-dark: var(--am-text-primary);
  --am-text-grey: var(--am-text-secondary);
  --am-text-light-grey: var(--am-text-tertiary);
  
  /* UI Elements & Layout */
  --card-radius: 6px;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --am-section-padding: 120px;
  --am-max-width: 1240px;
}

/* --- 1.5 DARK MODE (Native & Editable Support) --- */
html.dark-mode, 
body.dark-mode {
  --am-bg-base: #0D1117; 
  --am-bg-alt: #1F2937;
  --am-bg-matte: #111827;
  
  --am-text-primary: #F9FAFB;
  --am-text-secondary: #D1D5DB;
  --am-text-tertiary: #9CA3AF;
  
  --am-border-color: #374151;
  
  --am-primary: #3B82F6;
  --am-primary-hover: #276ee2;
  --am-secondary: #34D399;
  --am-orange: #F97316;
  --am-yellow: #FBBF24; 
  --am-error-red: #EF4444;

  --am-cta-bg: #34D399; 
  --am-cta-text: #0D1117; 
  --am-cta-hover: #43e2a8;
  
  --card-shadow: 0 4px 24px rgba(0,0,0,0.3);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.5);

  --am-footer-bg: #111827; 
  --am-footer-border: #374151;   
}

/* --- 2. LAYOUT SHIFT PROTECTION (CLS) --- */
@font-face {
  font-family: 'Aspiration-Marketing-Body-Fallback';
  src: local('Arial');
  ascent-override: 90.20%;
  descent-override: 22.48%;
  line-gap-override: 0.00%;
  size-adjust: 107.40%;
}

@font-face {
  font-family: 'Aspiration-Marketing-Heading-Fallback';
  src: local('Georgia');
  ascent-override: 106.00%;
  descent-override: 29.00%;
  line-gap-override: 0.00%;
  size-adjust: 102.50%; 
}

/* --- 3. FONT FILES (Self-Hosted) --- */
@font-face {
  font-family: 'Aspiration-Marketing-Heading';
  font-style: normal;
  font-weight: 600; 
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/playfair-display-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Aspiration-Marketing-Heading';
  font-style: normal;
  font-weight: 600; 
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/playfair-display-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Aspiration-Marketing-Heading';
  font-style: normal;
  font-weight: 700; 
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/playfair-display-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Aspiration-Marketing-Heading';
  font-style: normal;
  font-weight: 700; 
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/playfair-display-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Aspiration-Marketing-Body';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/inter-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 4. MATERIAL ICONS --- */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('https://1686933.fs1.hubspotusercontent-na1.net/hubfs/1686933/Aspiration%20Marketing/Website/Fonts/material-icons-v145-latin-regular.woff2') format('woff2');
  font-display: swap;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

/* --- 5. TYPOGRAPHY HIERARCHY --- */

body {
  background-color: var(--am-bg-base);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body, p {
  font-family: var(--am-font-body);
  color: var(--am-text-primary);
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.625 !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  letter-spacing: normal !important;
}

:lang(zh-cn) body, 
:lang(zh-cn) p {
  line-height: 1.8 !important;
  letter-spacing: 0.02em !important; 
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15; 
  color: var(--am-text-primary); 
}

h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
  background-color: transparent !important; 
  color: inherit !important; 
}

h1, h1 *, blockquote {
  font-family: var(--am-font-heading) !important;
  letter-spacing: 0.01em !important;
}

h2, h2 *, h3, h4, h5, h6 {
  font-family: var(--am-font-body);
}

h1 {
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 700;
  color: var(--am-text-primary);
  text-decoration: none;
  text-transform: none;
}

h2 {
  font-size: clamp(28px, 6vw, 50px);
  font-weight: 600; 
  color: var(--am-text-primary);
  text-decoration: none;
  letter-spacing: -0.01em !important;
  text-transform: none;
}

h3 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  color: var(--am-text-primary);
  text-decoration: none;
  letter-spacing: -0.01em !important; 
  text-transform: none;
}

h4 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--am-text-secondary);
  text-decoration: none;
  letter-spacing: -0.01em !important;
  text-transform: none;
}

h5 {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  color: var(--am-text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em !important; 
  margin-bottom: 0.5rem;
}

h6 {
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--am-text-tertiary);
  text-decoration: none;
  text-transform: none;
}

h1, h2, h3, h4, h5, h6, blockquote, .card-title {
  text-wrap: balance;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: normal; 
  -webkit-hyphenate-limit-before: 3; 
  -webkit-hyphenate-limit-after: 3;  
  hyphenate-limit-chars: 6 3 3;      
}

em, i {
  font-style: normal;
  font-weight: 600; 
  color: var(--am-primary);
}


/* --- 6. MASTER BUTTON SHIELD --- */
button, 
.button, 
.hs-button, 
input[type="submit"], 
input[type="button"] {
  font-family: var(--am-font-body) !important;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  background-color: #0A5CBE;
  border: 1px solid #0A5CBE;
  border-radius: 6px;
  padding: 16px 40px 16px 40px;
  text-transform: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover, 
.button:hover, 
.hs-button:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover {
  color: #FFFFFF;
  background-color: #084A98;
  border-color: #084A98;
}

/* --- 7. MASTER FORM SHIELD --- */
.hs-form label,
.hs-form .hs-form-booleancheckbox-display,
.hs-form .hs-form-radio-display {
  font-family: var(--am-font-body) !important;
  font-weight: 600;
  color: var(--am-text-primary);
  font-size: 16px;
  margin-bottom: 0.5rem;
  display: block;
}

.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="number"],
.hs-form input[type="tel"],
.hs-form select,
.hs-form textarea {
  font-family: var(--am-font-body) !important;
  background-color: var(--am-bg-alt);
  border: 1px solid var(--am-border-color);
  color: var(--am-text-primary);
  border-radius: 6px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hs-form .hs-input::placeholder,
.hs-form input::placeholder,
.hs-form textarea::placeholder {
  color: var(--am-text-tertiary);
  opacity: 1; 
}

.hs-form .hs-input:focus,
.hs-form input[type="text"]:focus,
.hs-form input[type="email"]:focus,
.hs-form textarea:focus {
  outline: none;
  border-color: var(--am-primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 190, 0.15); 
  background-color: var(--am-bg-base);
}

.hs-form .hs-button.primary {
  background-color: var(--am-primary);
  color: #FFFFFF;
  border: 1px solid var(--am-primary);
}

.hs-form .hs-button.primary:hover {
  background-color: var(--am-primary-hover);
  border-color: var(--am-primary-hover);
}

/* --- 8. HUB SPOT FEEDBACK POSITIONING --- */
#hs-feedback-ui {
    position: fixed !important;
    bottom: 50px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important; 
    margin: 0 !important;
    z-index: 2147483647 !important;
}


/* --- 9. HUBSPOT COMPONENT INCLUDES --- */
/*! 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;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

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

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, 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;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

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

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 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;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 * `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

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

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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, IE 10+, and Firefox.
 */

details {
  display: block;
}

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

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/*! 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;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

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

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, 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;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

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

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 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;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 * `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

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

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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, IE 10+, and Firefox.
 */

details {
  display: block;
}

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

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Objects */
/* Responsive Grid */

.row-fluid {
    width: 100%;
    *zoom: 1;
}

.row-fluid:before, .row-fluid:after {
    display: table;
    content: "";
}

.row-fluid:after {
    clear: both;
}

.row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 1px;
    margin-left: 2.127659574%;
    *margin-left: 2.0744680846382977%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid .span12 {
    width: 99.99999998999999%;
    *width: 99.94680850063828%;
}

.row-fluid .span11 {
    width: 91.489361693%;
    *width: 91.4361702036383%;
}

.row-fluid .span10 {
    width: 82.97872339599999%;
    *width: 82.92553190663828%;
}

.row-fluid .span9 {
    width: 74.468085099%;
    *width: 74.4148936096383%;
}

.row-fluid .span8 {
    width: 65.95744680199999%;
    *width: 65.90425531263828%;
}

.row-fluid .span7 {
    width: 57.446808505%;
    *width: 57.3936170156383%;
}

.row-fluid .span6 {
    width: 48.93617020799999%;
    *width: 48.88297871863829%;
}

.row-fluid .span5 {
    width: 40.425531911%;
    *width: 40.3723404216383%;
}

.row-fluid .span4 {
    width: 31.914893614%;
    *width: 31.8617021246383%;
}

.row-fluid .span3 {
    width: 23.404255317%;
    *width: 23.3510638276383%;
}

.row-fluid .span2 {
    width: 14.89361702%;
    *width: 14.8404255306383%;
}

.row-fluid .span1 {
    width: 6.382978723%;
    *width: 6.329787233638298%;
}

.container-fluid {
    *zoom: 1;
}

.container-fluid:before, .container-fluid:after {
    display: table;
    content: "";
}

.container-fluid:after {
    clear: both;
}

@media (max-width: 767px) {
    .row-fluid {
        width: 100%;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: none;
        width: auto;
        margin-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 1px;
        margin-left: 2.762430939%;
        *margin-left: 2.709239449638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 99.999999993%;
        *width: 99.9468085036383%;
    }

    .row-fluid .span11 {
        width: 91.436464082%;
        *width: 91.38327259263829%;
    }

    .row-fluid .span10 {
        width: 82.87292817100001%;
        *width: 82.8197366816383%;
    }

    .row-fluid .span9 {
        width: 74.30939226%;
        *width: 74.25620077063829%;
    }

    .row-fluid .span8 {
        width: 65.74585634900001%;
        *width: 65.6926648596383%;
    }

    .row-fluid .span7 {
        width: 57.182320438000005%;
        *width: 57.129128948638304%;
    }

    .row-fluid .span6 {
        width: 48.618784527%;
        *width: 48.5655930376383%;
    }

    .row-fluid .span5 {
        width: 40.055248616%;
        *width: 40.0020571266383%;
    }

    .row-fluid .span4 {
        width: 31.491712705%;
        *width: 31.4385212156383%;
    }

    .row-fluid .span3 {
        width: 22.928176794%;
        *width: 22.874985304638297%;
    }

    .row-fluid .span2 {
        width: 14.364640883%;
        *width: 14.311449393638298%;
    }

    .row-fluid .span1 {
        width: 5.801104972%;
        *width: 5.747913482638298%;
    }
}

@media (min-width: 1280px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 1px;
        margin-left: 2.564102564%;
        *margin-left: 2.510911074638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 100%;
        *width: 99.94680851063829%;
    }

    .row-fluid .span11 {
        width: 91.45299145300001%;
        *width: 91.3997999636383%;
    }

    .row-fluid .span10 {
        width: 82.905982906%;
        *width: 82.8527914166383%;
    }

    .row-fluid .span9 {
        width: 74.358974359%;
        *width: 74.30578286963829%;
    }

    .row-fluid .span8 {
        width: 65.81196581200001%;
        *width: 65.7587743226383%;
    }

    .row-fluid .span7 {
        width: 57.264957265%;
        *width: 57.2117657756383%;
    }

    .row-fluid .span6 {
        width: 48.717948718%;
        *width: 48.6647572286383%;
    }

    .row-fluid .span5 {
        width: 40.170940171000005%;
        *width: 40.117748681638304%;
    }

    .row-fluid .span4 {
        width: 31.623931624%;
        *width: 31.5707401346383%;
    }

    .row-fluid .span3 {
        width: 23.076923077%;
        *width: 23.0237315876383%;
    }

    .row-fluid .span2 {
        width: 14.529914530000001%;
        *width: 14.4767230406383%;
    }

    .row-fluid .span1 {
        width: 5.982905983%;
        *width: 5.929714493638298%;
    }
}

/* Clearfix */

.clearfix {
    *zoom: 1;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

/* Visibilty Classes */

.hide {
    display: none;
}

.show {
    display: block;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
    visibility: hidden;
}

/* Responsive Visibilty Classes */

.visible-phone {
    display: none !important;
}

.visible-tablet {
    display: none !important;
}

.hidden-desktop {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-phone {
        display: inherit !important;
    }

    .hidden-phone {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .visible-tablet {
        display: inherit !important;
    }

    .hidden-tablet {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important ;
    }
}
/*
  Containers & Drag-and-Drop (DND) Grid
  Updated to inherit the theme's maximum content width variable.
*/

.content-wrapper {
  max-width: var(--am-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Remove side padding on extra large screens where max-width constrains the layout */
@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  max-width: var(--am-max-width);
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 20px;
}

/* Collapse column padding on mobile for edge-to-edge content */
@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements */
/* --- CJK Language Line Breaking --- */
html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  word-break: break-all;
}

/* --- Anchors (Links) --- */
a {
  color: var(--am-primary);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--am-primary-hover);
  text-decoration: underline;
}

/* --- Headings Spacing --- */
h1 {
  margin: 0 0 0.75rem;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 2rem 0 1rem;
}

/* --- Lists --- */
ul,
ol {
  margin: 0 0 1.4rem;
  padding-left: 1.5rem;
}

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

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

/* --- Code blocks --- */
pre {
  overflow: auto;
  background-color: var(--am-bg-alt);
  padding: 1rem;
  border-radius: 6px;
}

code {
  vertical-align: bottom;
}

/* --- Blockquotes --- */
blockquote {
  border-left: 3px solid var(--am-primary);
  margin: 0 0 2.5rem;
  padding-left: 15px;
  font-style: italic;
}

/* --- Horizontal rules --- */
hr {
  background-color: var(--am-border-color);
  border: none;
  color: var(--am-border-color);
  height: 1px;
  margin: 2rem 0;
}

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

/* ==========================================================================
   Fluid Spacing & Typography 
   (Enforces world-class layouts and removes the need for <br> spacing)
   ========================================================================== */

/* Standard Paragraph Spacing */
.hs-rich-text p {
    margin-top: 0;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
}

/* Ensure the last paragraph doesn't break container margins */
.hs-rich-text p:last-child {
    margin-bottom: 0;
}

/* Fluid Heading Spacing & Balancing */
.hs-rich-text h1, 
.hs-rich-text h2, 
.hs-rich-text h3, 
.hs-rich-text h4, 
.hs-rich-text h5, 
.hs-rich-text h6 {
    margin-top: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
    line-height: 1.2;
    
    /* Prevents typographic orphans automatically */
    text-wrap: balance; 
}

/* Remove top margin if a heading is the very first element in the rich text area */
.hs-rich-text > h1:first-child,
.hs-rich-text > h2:first-child,
.hs-rich-text > h3:first-child {
    margin-top: 0;
}

/* Fluid List Spacing */
.hs-rich-text ul,
.hs-rich-text ol {
    margin-top: 0;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.hs-rich-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Ensure all links in text blocks are distinguishable */
a:not(.button):not(.hs-button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Maintain hover effect for clarity */
a:hover {
  text-decoration: none;
}
/*
  Note: Base button styles, colors, padding, and fonts are strictly 
  controlled by the Master Button Shield in main.css via theme.json.
  This file handles interaction edge-cases (Disabled, Focus, Active).
*/

/* --- Disabled State --- */
button:disabled,
.button:disabled,
.hs-button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
  background-color: var(--am-border-color) !important;
  border-color: var(--am-border-color) !important;
  color: var(--am-text-tertiary) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* --- Focus State (Accessibility) --- */
button:focus,
.button:focus,
.hs-button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
  text-decoration: none;
  /* Dynamically inherits your primary color and applies 30% opacity */
  outline: 3px solid color-mix(in srgb, var(--am-primary) 30%, transparent); 
  outline-offset: 2px;
}

/* --- Active State (Click effect) --- */
button:active,
.button:active,
.hs-button:active,
input[type="submit"]:active,
input[type="button"]:active {
  text-decoration: none;
  transform: translateY(1px); /* Adds a satisfying 'press' effect */
}
/*
  Note: Base form inputs, labels, and submit buttons are strictly 
  controlled by the Master Form & Button Shields in main.css via theme.json.
  This file handles structural layouts (checkboxes, radios, GDPR, validation).
*/

/* --- Form fields layout --- */
.hs-form-field {
  margin-bottom: 1.4rem;
}

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

/* --- Help text - legends --- */
form legend {
  font-size: 0.875rem;
}

/* --- 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 - datepicker --- */
.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: var(--am-bg-base);
}

.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: var(--am-bg-base);
}

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

/* --- Headings and rich 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 --- */
.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* --- Validation & Error States --- */
.hs-form-required {
  color: var(--am-error-red);
}

.hs-input.invalid.error {
  border-color: var(--am-error-red) !important;
}

.hs-error-msg {
  color: var(--am-error-red);
  margin-top: 0.35rem;
  font-size: 0.875rem;
}

/* --- Captcha --- */
.grecaptcha-badge {
  margin: 0 auto;
}
/*
  Note: Enhanced with global variables for a polished, out-of-the-box look
  when tables are used in standard rich text areas.
*/

/* --- Table Base --- */
table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
  width: 100%;
}

/* --- Table Cells --- */
td,
th {
  vertical-align: top;
  padding: 0.75rem;
  border: 1px solid var(--am-border-color);
}

/* --- Table Header --- */
thead th {
  vertical-align: bottom;
  background-color: var(--am-bg-alt);
  font-weight: 600;
  color: var(--am-text-primary);
}

/* Components */
/* Header DND sections */
.header .dnd-section {
  padding: 0;
}

/* Header container */
.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 20px;
}

.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: 20px 0 0;
  }

  .header__column {
    position: relative;
  }

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

  .header__row-2 {
    justify-content: center;
    padding: 30px;
  }
}

/* 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: 28px;
  margin-top: 7px;
  color: var(--am-text-primary);
}

.header__logo--main {
  padding-top: 20px;
}

/* Search bar */
.header__search {
  padding: 0 22px;
  width: auto;
}

.header__search .hs-search-field__input {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
  background-position: center right 15px;
  background-repeat: no-repeat;
  height: 45px;
  padding: 0 15px;
}

.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: var(--am-bg-base);
  border: 2px solid var(--am-border-color);
  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 var(--am-border-color);
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: var(--am-text-primary);
  padding: 10px 15px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions li a:hover {
  background-color: var(--am-bg-alt);
}

.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 20px 0 0;
  }

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

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid var(--am-border-color);
    order: 1;
    padding: 30px;
  }
}

/* Language switcher */
.header__language-switcher {
  cursor: pointer;
  padding-right: 35px;
}

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

.header__language-switcher .lang_list_class {
  border: 2px solid var(--am-border-color);
  border-radius: 6px;
  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;
  background-color: var(--am-bg-base);
}

.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: 10px 15px;
}

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

/* RESTORED BOTTOM HALF OF _header.css */
.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: 12px;
  margin-bottom: 3px;
  margin-left: 11px;
  color: var(--am-text-primary);
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--am-text-primary);
  content: "";
  display: block;
  height: 0px;
  margin-left: 11px;
  margin-top: 3px;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid var(--am-border-color);
    padding-left: 17px;
    padding-right: 0;
  }

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

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 15px;
  }

  .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;
  }
}

/* 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: var(--am-bg-alt);
    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: 17px;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
    color: var(--am-text-primary);
  }

  .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;
  }
}
/*
  Note: This file provides strictly structural and responsive layouts 
  for default HubSpot modules (Menus, Logos, CTAs). Colors and typography 
  are inherited naturally from the Master Shields in main.css.
*/

/* --- Menus (Standard & Simple) --- */
.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;
}

/* --- Flyout Menus --- */
.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;
  z-index: 10; /* Added to ensure dropdowns don't hide under content */
}

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

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

/* Mobile Flyout behavior */
@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;
  }
}

/* --- Default Image Handlers (CTA, Logo, Rich Text) --- */
.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* --- 10. UTILITY CLASSES --- */
.inputDiv {
  display: flex; 
  flex-direction: column; 
  margin-bottom: 2vh;
}

.input {
  width: 100%;
  max-width: 400px;
  margin-top: 2vh;
}

.text-orange { 
  color: var(--am-orange); 
  font-weight: 700; 
}

.bg-yellow { 
  background-color: var(--am-yellow); 
  color: var(--am-secondary); 
  padding: 4px 8px; 
  border-radius: 4px;
  font-weight: 700;
}

.bg-matte {
  background-color: var(--am-bg-matte);
  border-top: 1px solid var(--am-border-color);
  border-bottom: 1px solid var(--am-border-color);
}

/* ==========================================================================
   NEUTRALIZE HUBSPOT ROW-0 FULL-WIDTH OVERRIDE
   ========================================================================== */
.dnd-section > .row-fluid-wrapper > .row-fluid,
.dnd-section > .row-fluid,
.body-container .row-fluid {
    max-width: var(--am-max-width) !important;
    margin-left: auto !important; 
    margin-right: auto !important; 
}

.dnd-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}

.dnd_area-row-0-force-full-width-section > .row-fluid-wrapper > .row-fluid {
    max-width: var(--am-max-width) !important;
    margin-left: auto !important; 
    margin-right: auto !important;
}

/* --- WORLD-CLASS ADAPTIVE GRADIENT --- */
.am-gradient-heading {
  background: linear-gradient(
    135deg, 
    var(--am-text-primary) 20%, 
    var(--am-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--am-text-primary); 
}

/* --- PREVENT FIXED HEADER OVERLAP + ADD VISUAL GAP --- */

/* Desktop: Header height (~120px) + 40px gap */
main#main-content {
  padding-top: 140px !important; 
}

/* Mobile: Header height (~50px) + 20px gap */
@media (max-width: 991px) {
  main#main-content {
    padding-top: 60px !important;
  }
}

/* ==========================================================================
   WYSIWYG HIGHLIGHT FIX: ADAPTIVE MULTI-COLOR (LEGACY PORT)
   Preserves marketer's red/green/yellow, forces dark text for readability,
   and applies a subtle dimming filter so it doesn't blind the user in Dark Mode.
   ========================================================================== */

/* Target spans, links, paragraphs, and blockquotes that have an inline background */
body.dark-mode .hs_cos_wrapper_type_rich_text :is(span, a, p, blockquote)[style*="background"] {
    /* Force the text to be your darkest color so it's readable against the highlights */
    color: var(--am-bg-base) !important; 
    
    /* Dim the harsh light-mode pastel slightly for eye comfort */
    filter: brightness(0.85) saturate(1.2);
    
    padding: 0 4px !important; 
    border-radius: 3px !important;
}

/* Ensure any links inside the highlights are also readable */
body.dark-mode .hs_cos_wrapper_type_rich_text :is(span, p, blockquote)[style*="background"] a {
    color: var(--am-bg-base) !important; 
    text-decoration: underline !important;
    font-weight: bold !important;
}