/* 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, design tokens & box-sizing styles go.
*/

/* ============================================================
 * Webfonts
 * ------------------------------------------------------------
 * Galano Grotesque (heading) — self-hosted from HubSpot File
 * Manager. 4 weights loaded:
 *   400 Regular   — body + non-bold UI text
 *   500 Medium    — all headings (h1–h5)
 *   600 SemiBold  — eyebrows, link/topic labels, item labels
 *   700 Bold      — header buttons, mega-icon, max emphasis
 *
 * Manrope (body) — loaded from Google Fonts CDN. Used for all
 * description/body text across the modules.
 *
 * font-display: swap → render fallback (system-ui) instantly
 * then swap to webfont once loaded; avoids invisible-text flash.
 * ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Galano Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://51415689.fs1.hubspotusercontent-na1.net/hubfs/51415689/GalanoGrotesqueRegular.otf") format("opentype");
}

@font-face {
  font-family: "Galano Grotesque";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://51415689.fs1.hubspotusercontent-na1.net/hubfs/51415689/GalanoGrotesqueMedium.otf") format("opentype");
}

@font-face {
  font-family: "Galano Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://51415689.fs1.hubspotusercontent-na1.net/hubfs/51415689/GalanoGrotesqueSemiBold.otf") format("opentype");
}

@font-face {
  font-family: "Galano Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://51415689.fs1.hubspotusercontent-na1.net/hubfs/51415689/GalanoGrotesqueBold.otf") format("opentype");
}
/* ============================================================
 * Kaymbu Design Tokens
 * ------------------------------------------------------------
 * Pure CSS variables. Hardcoded to Brand Kit values.
 * Not editor-controllable; dev edits this file to change tokens.
 *
 * Type scale is mobile-first:
 *   < 768px           = mobile
 *   768px – 1023px    = tablet (interpolated)
 *   >= 1024px         = desktop
 *
 * Note: component-level breakpoints (e.g., header at 980px,
 * footer at 800px) are intentionally separate from the
 * typography scale breakpoints above. They are layout-specific.
 * ============================================================ */

:root {
  /* ----------------------------------------------------------
   * Colors — brand (legacy)
   * Kept for backwards compat with header/footer/feature-row.
   * New components should consume the --color-brand-* scale
   * defined below.
   * ---------------------------------------------------------- */
  --color-primary:           #179F9E;   /* teal — alias of --color-brand-green-300 */
  --color-primary-dark:      #0D7377;   /* deep teal — button hover, footer bg */
  --color-secondary:         #323139;   /* dark charcoal */

  /* Accents (paired with semantic product/solution use later) */
  --color-accent-green:      #E2F1CF;   /* alias of --color-brand-mantis-200 */
  --color-accent-blue:       #DEECFB;   /* legacy lighter blue, no direct brand match */
  --color-accent-pink:       #F0C0E8;   /* legacy pink, no direct brand match */
  --color-accent-peach:      #FBEAD9;   /* legacy peach, no direct brand match */

  /* ----------------------------------------------------------
   * Colors — brand scale (sourced from Figma 2026-05-16)
   * 6 families × 3 shades. 100 = lightest, 300 = strongest.
   * ---------------------------------------------------------- */
  --color-brand-green-100:    #ECFAF9;
  --color-brand-green-200:    #36CBC4;
  --color-brand-green-300:    #179F9E;

  --color-brand-mantis-100:   #F3F9EC;
  --color-brand-mantis-200:   #E2F1CF;
  --color-brand-mantis-300:   #C5DAAC;

  --color-brand-blue-100:     #F1F7FD;
  --color-brand-blue-200:     #C5DCF2;
  --color-brand-blue-300:     #6BA5E8;

  --color-brand-wisteria-100: #F5EEF9;
  --color-brand-wisteria-200: #E1C2F1;
  --color-brand-wisteria-300: #C39BD7;

  --color-brand-pink-100:     #FBF4FA;
  --color-brand-pink-200:     #F8D7F3;
  --color-brand-pink-300:     #DF87C8;

  --color-brand-orange-100:   #FDF6EF;
  --color-brand-orange-200:   #FCDAB8;
  --color-brand-orange-300:   #E88A4F;

  /* ----------------------------------------------------------
   * Colors — surfaces & text
   * ---------------------------------------------------------- */
  --color-surface:           #FFFFFF;
  --color-text-default:      #504F4F;   /* body text in chrome + module descriptions */
  --color-text-strong:       #323139;   /* headings, strong UI text */
  --color-text-muted:        #504F4F;   /* secondary descriptions */
  --color-text-inverse:      #FFFFFF;   /* on dark surfaces */
  --color-text-inverse-soft: rgba(255, 255, 255, 0.84);
  --color-text-inverse-faint:rgba(255, 255, 255, 0.82);

  /* ----------------------------------------------------------
   * Colors — borders & overlays
   * ---------------------------------------------------------- */
  --color-border-subtle:     rgba(50, 49, 57, 0.08);
  --color-border-default:    rgba(50, 49, 57, 0.12);
  --color-border-mobile-menu:rgba(50, 49, 57, 0.10);
  --color-overlay-primary:   rgba(23, 159, 158, 0.06);

  /* ----------------------------------------------------------
   * Typography — families
   * ---------------------------------------------------------- */
  --font-heading: "Galano Grotesque", Manrope, system-ui, sans-serif;
  --font-body:    Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ----------------------------------------------------------
   * Typography — heading scale (Mobile defaults, < 768px)
   * Upgraded at 768px (tablet) and 1024px (desktop) below.
   * ---------------------------------------------------------- */
  --font-size-h1: 40px;   --line-height-h1: 1.1;
  --font-size-h2: 36px;   --line-height-h2: 1.1;
  --font-size-h3: 30px;   --line-height-h3: 1.1;
  --font-size-h4: 24px;   --line-height-h4: 1.4;
  --font-size-h5: 20px;   --line-height-h5: 1.4;
  --font-size-h6: 18px;   --line-height-h6: 1.4;

  /* ----------------------------------------------------------
   * Typography — body scale (same across breakpoints)
   * ---------------------------------------------------------- */
  --font-size-body-large:   20px;
  --font-size-body-medium:  18px;
  --font-size-body-regular: 16px;
  --font-size-body-small:   14px;
  --font-size-body-tiny:    12px;
  --line-height-body:       1.5;

  /* Component-specific sizes used in chrome modules */
  --font-size-footer-link:      15px;
  --font-size-mega-description: 13px;

  /* ----------------------------------------------------------
   * Typography — weights
   * ---------------------------------------------------------- */
  --font-weight-extra-bold: 800;
  --font-weight-bold:       700;
  --font-weight-semi-bold:  600;
  --font-weight-medium:     500;
  --font-weight-regular:    400;
  --font-weight-light:      300;

  /* ----------------------------------------------------------
   * Spacing scale (4px base unit)
   * ---------------------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;

  /* ----------------------------------------------------------
   * Layout
   * ---------------------------------------------------------- */
  --container-max-width:       76.875rem;   /* = 1230px @ 1rem=16px; matches Webflow container-large */
  --container-padding-mobile:  20px;
  --container-padding-desktop: 32px;

  /* ----------------------------------------------------------
   * Border radius
   * ---------------------------------------------------------- */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   32px;   /* card radius — standardized to 32px */
  --radius-pill: 999px;

  /* ----------------------------------------------------------
   * Buttons
   * Shared system used by .btn (see elements/_buttons.css).
   * Header/footer keep their local button styles for now.
   * ---------------------------------------------------------- */
  --radius-button:                 16px;
  --button-height-desktop:         64px;
  --button-height-mobile:          56px;
  --color-button-secondary-border: #B8B8B8;

  /* ----------------------------------------------------------
   * Shadows
   * ---------------------------------------------------------- */
  --shadow-card:        0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-elevated:    0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-mega-menu:   0 16px 36px rgba(50, 49, 57, 0.14);
  --shadow-mobile-menu: 0 22px 30px rgba(50, 49, 57, 0.10);

  /* ----------------------------------------------------------
   * Transitions
   * ---------------------------------------------------------- */
  --transition-fast: 160ms ease;
  --transition-base: 200ms ease;

  /* ----------------------------------------------------------
   * Z-index scale
   * ---------------------------------------------------------- */
  --z-header:      20;
  --z-mobile-menu: 30;
  --z-skip-link:   50;
}

/* ============================================================
 * Tablet typography (768px – 1023px) — interpolated
 * ============================================================ */
@media (min-width: 768px) {
  :root {
    --font-size-h1: 56px;
    --font-size-h2: 44px;
    --font-size-h3: 38px;
    --font-size-h4: 32px;   --line-height-h4: 1.2;
    --font-size-h5: 22px;
    --font-size-h6: 20px;
  }
}

/* ============================================================
 * Desktop typography (>= 1024px)
 * ============================================================ */
@media (min-width: 1024px) {
  :root {
    --font-size-h1: 72px;
    --font-size-h2: 52px;
    --font-size-h3: 48px;
    --font-size-h4: 40px;
    --font-size-h5: 26px;
    --font-size-h6: 20px;
  }
}
*, *: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;
}

/* Equal-height columns: opt-in per row via the "kaymbu-row-equal" class on a
 * dnd-section. Makes the row a flex container so its column modules stretch to
 * the tallest one (modules that set height:100% then fill). Scoped — does not
 * affect other rows. */
@media (min-width: 768px) {
  .kaymbu-row-equal > .row-fluid {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
  }
  .kaymbu-row-equal > .row-fluid > [class*="span"] {
    display: flex;
  }
  .kaymbu-row-equal > .row-fluid > [class*="span"] > .hs_cos_wrapper {
    width: 100%;
  }
}

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

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

/* Vertical gap between consecutive dnd-rows inside a dnd-column,
 * matching the horizontal --column-gap variable. */
.dnd-column > .row-fluid-wrapper.dnd-row + .row-fluid-wrapper.dnd-row {
  margin-top: var(--column-gap);
}

/* Home hero: the first section carries a large desktop bottom padding (144px,
 * set in the page's section spacing) with no mobile override, leaving a big
 * empty gap above the wave on phones. Trim it on mobile. Scoped to the home
 * template wrapper (.body-container--home, set on the dnd_area in home.html) so
 * other pages keep their own first-section padding. The generated
 * .dnd_area-row-0-padding rule is !important, so this override is too. */
@media (max-width: 767px) {
  .body-container--home .dnd_area-row-0-padding {
    padding-bottom: var(--space-7) !important; /* 48px */
  }
}

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

/* ============================================================
 * Shared button system
 * ------------------------------------------------------------
 * Base: .btn — visual defaults (radius, type, transitions).
 * Variants: .btn--primary, .btn--secondary.
 * Sizes:    .btn--lg (CTA banner, hero CTAs). .btn--md reserved.
 *
 * Header and footer keep their existing local button styles
 * for now. Migration to this shared system is a separate
 * follow-up item (see scribe-handoff and Confluence Decision Log).
 * ============================================================ */

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--font-weight-semi-bold);
  gap: var(--space-2);
  justify-content: center;
  line-height: 1.2;
  padding: 9px var(--space-5);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* Variants */

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-primary-dark);
  color: var(--color-text-inverse);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-button-secondary-border);
  color: var(--color-secondary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text-inverse);
}

/* Sizes */

.btn--lg {
  height: var(--button-height-mobile);
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

@media (min-width: 768px) {
  .btn--lg {
    height: var(--button-height-desktop);
  }
}

/* ============================================================
 * Defensive overrides — beat theme-overrides anchor styling
 * ------------------------------------------------------------
 * theme-overrides.css applies  on `a:hover`
 * which re-asserts text-decoration: underline + can shift font.
 * Specificity 0,0,1,1. We need higher specificity to lock buttons
 * to a no-shift / no-underline behavior across all states.
 *
 * `a.btn:hover` is 0,0,2,1 → wins. Same trick for header buttons.
 * Hover should only animate background-color (handled by `.btn`
 * transition definition above). No size/font/text-decoration
 * change between states.
 * ============================================================ */

a.btn,
a.btn:hover,
a.btn:focus,
a.btn:focus-visible,
a.btn:active,
button.btn,
button.btn:hover,
button.btn:focus,
button.btn:focus-visible,
button.btn:active {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--font-weight-semi-bold);
  text-decoration: none;
}

a.kaymbu-header__button,
a.kaymbu-header__button:hover,
a.kaymbu-header__button:focus,
a.kaymbu-header__button:focus-visible,
a.kaymbu-header__button:active {
  font-family: var(--font-body);
  font-size: var(--font-size-body-regular);
  font-weight: var(--font-weight-bold);
  text-decoration: 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;
}

/* Forms on mobile: stack any two-/three-column field row vertically.
 * Desktop keeps the side-by-side layout. Global so every form behaves —
 * covers BOTH the new renderer (hsfc, .hsfc-FieldRow) and the legacy
 * renderer (.form-columns-2 / .form-columns-3 with floated .hs-form-field). */

@media (max-width: 767px) {
  /* New renderer (hsfc) — flex or grid row */
  .hsfc-FieldRow,
  [class*="FieldRow"],
  [data-hsfc-id="Row"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  .hsfc-FieldRow > *,
  [class*="FieldRow"] > *,
  [data-hsfc-id="Row"] > * {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Legacy renderer (.hs-form) — floated half/third columns */
  .form-columns-2,
  .form-columns-3 {
    display: block !important;
  }

  .form-columns-2 > .hs-form-field,
  .form-columns-3 > .hs-form-field {
    float: none !important;
    width: 100% !important;
  }

  .form-columns-2 .hs-input:not([type="checkbox"]):not([type="radio"]),
  .form-columns-3 .hs-input:not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
  }
}


  /* 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%;
}
/* ============================================================
 * Prose — default typography for rich-text / pasted content
 * ------------------------------------------------------------
 * Styles headings, paragraphs, lists, blockquotes, links etc.
 * so content pasted into a rich-text field renders branded
 * WITHOUT manual editing.
 *
 * Applies to:
 *   .hs_cos_wrapper_type_rich_text  → standalone HubSpot "Rich text" module
 *   .kaymbu-text-block__body        → Kaymbu Text Block description
 *   .kaymbu-prose                   → opt-in class for any other area
 *
 * To tweak the look, edit the values here (this file).
 * ============================================================ */

/* Base font only for the standalone rich-text / opt-in prose (NOT text-block
 * body, which has its own body-size system). */
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text) {
  color: var(--color-text-default);
  font-family: var(--font-body);
  font-size: var(--font-size-body-regular);
  line-height: var(--line-height-body);
}

/* Headings — brand heading font, content scale, rhythmic spacing */
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h1,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h2,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h3,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h4,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h5,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h6 {
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  margin: 1.5em 0 0.5em;
}
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) :first-child { margin-top: 0; }

:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h1 { font-size: var(--font-size-h2); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h2 { font-size: var(--font-size-h3); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h3 { font-size: var(--font-size-h4); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h4 { font-size: var(--font-size-h5); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h5 { font-size: var(--font-size-body-large); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) h6 { font-size: var(--font-size-body-medium); }

/* Paragraphs + lists */
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) p { margin: 0 0 1em; }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) ul,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) li { margin: 0.25em 0; }

/* Blockquote */
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) blockquote {
  border-left: 3px solid var(--color-primary);
  color: var(--color-text-muted);
  margin: 1.25em 0;
  padding: 0.25em 0 0.25em 1em;
}

/* Links / bold / italic / hr / media */
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) a {
  color: var(--color-primary);
  text-decoration: underline;
}
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) strong,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) b { font-weight: var(--font-weight-bold, 700); }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) em,
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) i { font-style: italic; }
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) hr {
  border: 0;
  border-top: 1px solid var(--color-border-default);
  margin: 2em 0;
}
:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) img { max-width: 100%; height: auto; }

:is(.kaymbu-prose, .hs_cos_wrapper_type_rich_text, .kaymbu-text-block__body, .blog-article__body) > :last-child { margin-bottom: 0; }

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

/* ============================================================
 * Scroll-reveal animation
 * ------------------------------------------------------------
 * JS (main.js) adds `.kaymbu-reveal` to every .dnd-row when the
 * page initializes, then toggles `.is-visible` via Intersection-
 * Observer when each row enters the viewport. Honors
 * prefers-reduced-motion (no opacity hide, no transform).
 * ============================================================ */

.kaymbu-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 2.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.kaymbu-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .kaymbu-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}