/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }}

/* 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%;
}

/* CMATZ design system — loaded after the boilerplate components so it can
   override them. Values extracted from the live WordPress site. */

/* ==========================================================================
   CMATZ design system
   Values extracted from computed styles on the live WordPress site.
   See Clients/CMATZ/website/2026-08-21_cmatz_design-spec_v01.md
   ========================================================================== */

:root {
  --cmatz-navy: #24255E;
  --cmatz-maroon: #6F164C;
  --cmatz-white: #FFFFFF;
  --cmatz-radius-card: 8px;
  --cmatz-radius-button: 4px;
  --cmatz-hero-height: 550px;
  --cmatz-header-height: 100px;
}

/* --------------------------------------------------------------------------
   Header -- transparent, overlaid on the hero
   -------------------------------------------------------------------------- */

/* NOTE: HubSpot renders  outside any wrapper div placed
   around it in a template block, so the header cannot be scoped by an ancestor
   class. It is styled globally instead. Every CMATZ page template opens with a
   dark section (hero photo or navy intro), so white nav text stays legible. */

/* Default: solid navy header in normal flow. Used on every inner page, which
   opens with a short navy band rather than a tall hero -- an absolute header
   would overlap that content. */

.header {
  position: relative;
  z-index: 100;
  background-color: var(--cmatz-navy);
  min-height: var(--cmatz-header-height);
}

/* Home (and any page with a full hero): transparent header overlaid on the
   image, matching the original. Scoped with :has() so it only applies where a
   hero actually exists. */

.body-wrapper:has(.cmatz-hero) .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
}

.cmatz-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--cmatz-header-height);
}

.cmatz-header__logo {
  flex: 0 0 auto;
  margin-right: auto;
}

.cmatz-header__logo img {
  display: block;
  width: 170px;
  height: auto;
}

/* Solid navy once scrolled, so nav stays readable over light sections.
   left/right/width are required: a fixed element with neither shrinks to fit
   its content instead of spanning the viewport. */
.header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--cmatz-navy);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  min-height: 76px;
  animation: cmatz-drop 0.25s ease;
}

.header.is-stuck .cmatz-header__inner { min-height: 76px; }
.header.is-stuck .cmatz-header__logo img { width: 145px; }

@keyframes cmatz-drop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* --- Navigation --- */

.cmatz-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmatz-nav__list > li { position: relative; }

.cmatz-nav__list > li > a {
  display: block;
  padding: 10px 13px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cmatz-white);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--cmatz-radius-button);
  transition: background-color 0.15s ease;
}

.cmatz-nav__list > li > a:hover,
.cmatz-nav__list > li > a:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--cmatz-white);
}

/* Primary CTA -- the main conversion action, given real prominence */
.cmatz-nav__cta {
  display: inline-block;
  margin-left: 8px;
  padding: 11px 20px !important;
  background-color: var(--cmatz-maroon);
  color: var(--cmatz-white) !important;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--cmatz-radius-button);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.cmatz-nav__cta:hover,
.cmatz-nav__cta:focus-visible { background-color: #59113C; }

/* Dropdowns */

.cmatz-nav__expand { display: none; }

.cmatz-nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  gap: 28px;
  padding: 18px 22px;
  background: var(--cmatz-navy);
  border-radius: var(--cmatz-radius-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 200;
}

.cmatz-nav__sub--wide { min-width: 520px; }

.cmatz-nav__sub ul {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 210px;
}

/* Hover/focus opening is a desktop-only behaviour. Scoping it to a min-width
   query keeps it out of the mobile cascade entirely — previously it collided
   with the .is-expanded toggle and, because :hover sticks after a tap on touch
   devices, kept the submenu hidden when the + button was pressed. */
@media (min-width: 1151px) {
  .cmatz-nav__has-children:hover > .cmatz-nav__sub,
  .cmatz-nav__has-children:focus-within > .cmatz-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.cmatz-nav__sub a {
  display: block;
  padding: 8px 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  color: var(--cmatz-white);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.cmatz-nav__sub a:hover,
.cmatz-nav__sub a:focus-visible { background: rgba(255, 255, 255, 0.14); }

/* Hamburger */

.cmatz-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.cmatz-nav__toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  background: var(--cmatz-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmatz-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cmatz-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cmatz-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile / tablet nav --- */

@media (max-width: 1150px) {
  .cmatz-nav__toggle { display: flex; }

  .cmatz-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    background: var(--cmatz-navy);
    padding: 88px 22px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -8px 0 26px rgba(0, 0, 0, 0.3);
    z-index: 150;
  }

  .cmatz-nav.is-open { transform: translateX(0); }

  .cmatz-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .cmatz-nav__list > li > a {
    padding: 13px 12px;
    font-size: 16px;
    border-radius: 6px;
  }

  /* Accordion toggle for parent items */
  .cmatz-nav__has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }

  .cmatz-nav__expand {
    display: block;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
  }

  .cmatz-nav__expand::before,
  .cmatz-nav__expand::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--cmatz-white);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
  }

  .cmatz-nav__expand::after { transform: translate(-50%, -50%) rotate(90deg); }
  .cmatz-nav__expand[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0deg); }

  /* Collapsed by default on mobile -- the original rendered every child link
     expanded, producing a very long scroll */
  .cmatz-nav__sub {
    position: static;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    min-width: 0;
    padding: 6px 8px;
    margin: 2px 0 6px;
  }

  .cmatz-nav__sub--wide { min-width: 0; }

  /* Sole control on mobile — no hover/focus rules compete with it here */
  .cmatz-nav__has-children.is-expanded > .cmatz-nav__sub { display: flex; }

  .cmatz-nav__cta-item { margin-top: 14px; }

  .cmatz-nav__cta {
    display: block;
    margin-left: 0;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 16px;
  }

  /* Backdrop.
     z-index MUST stay below the header's (100). The header has
     `position: relative; z-index: 100`, which creates a stacking context — so
     .cmatz-nav's z-index:150 is scoped *inside* it and does not compete with
     elements in the root stacking context. The backdrop is appended to
     <body>, so at z-index 140 it painted above the whole header and swallowed
     every tap on the nav links. Sitting below the header, it still covers page
     content while leaving the menu interactive. */
  .cmatz-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    z-index: 90;
  }
  .cmatz-nav__backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 480px) {
  .cmatz-header__logo img { width: 140px; }
  .cmatz-header__inner { padding: 0 16px; min-height: 76px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.cmatz-footer__main {
  background-color: var(--cmatz-navy);
  padding: 56px 0 40px;
}

.cmatz-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cmatz-footer__logo img {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 16px;
}

.cmatz-footer__blurb {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
  max-width: 320px;
}

.cmatz-footer__heading {
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cmatz-white);
  margin: 0 0 14px;
}

.cmatz-footer__heading--spaced { margin-top: 26px; }

.cmatz-footer__links,
.cmatz-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmatz-footer__links li,
.cmatz-footer__contact li { margin-bottom: 9px; }

.cmatz-footer__links a,
.cmatz-footer__contact a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s ease;
}

.cmatz-footer__links a:hover,
.cmatz-footer__links a:focus-visible,
.cmatz-footer__contact a:hover,
.cmatz-footer__contact a:focus-visible {
  color: var(--cmatz-white);
  text-decoration: underline;
}

.cmatz-footer__cta {
  display: inline-block;
  margin: 6px 0 22px;
  padding: 12px 22px;
  background-color: var(--cmatz-maroon);
  color: var(--cmatz-white);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--cmatz-radius-button);
  transition: background-color 0.15s ease;
}

.cmatz-footer__cta:hover,
.cmatz-footer__cta:focus-visible { background-color: #59113C; color: var(--cmatz-white); }

/* Social icons -- brand colours sampled from the original site */

.cmatz-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmatz-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--cmatz-white);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cmatz-social__link svg { width: 16px; height: 16px; }
.cmatz-social__link:hover { transform: translateY(-2px); opacity: 0.9; }

.cmatz-social__link--fb { background: #3B5998; }
.cmatz-social__link--ig { background: #262626; }
.cmatz-social__link--li { background: #0077B5; }
.cmatz-social__link--yt { background: #CD201F; }
.cmatz-social__link--wa { background: #25D366; }

/* WeChat */

.cmatz-wechat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--cmatz-radius-card);
  max-width: 260px;
}

.cmatz-wechat__qr {
  width: 76px;
  height: 76px;
  display: block;
  border-radius: 4px;
  flex: 0 0 auto;
}

.cmatz-wechat__label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Sub-footer bar */

.cmatz-footer__bar {
  background-color: #181818;
  padding: 18px 0;
}

.cmatz-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cmatz-footer__bar p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cmatz-footer__bar a {
  color: var(--cmatz-white);
  font-weight: 700;
  text-decoration: none;
}

.cmatz-footer__bar a:hover { text-decoration: underline; }

/* Footer responsive */

@media (max-width: 1000px) {
  .cmatz-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
  .cmatz-footer__brand { grid-column: 1 / -1; }
  .cmatz-footer__blurb { max-width: 520px; }
}

@media (max-width: 600px) {
  .cmatz-footer__main { padding: 44px 0 32px; }
  .cmatz-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cmatz-footer__bar-inner { flex-direction: column; align-items: flex-start; }
  .cmatz-wechat { max-width: none; }
}

/* --------------------------------------------------------------------------
   Base typography -- the boilerplate applies fonts via theme-settings CSS that
   only targets dnd modules, so static section markup falls back to serif.
   -------------------------------------------------------------------------- */

body,
.cmatz-section,
.cmatz-section p,
.cmatz-section li,
.cmatz-service-card__text,
.cmatz-testimonial__quote,
.cmatz-testimonial__name,
.cmatz-contact__label,
.cmatz-contact__value {
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Container -- 1000px measured from the live site's home page
   -------------------------------------------------------------------------- */

/* Global fallback. theme-overrides.css compiles `max-width: px` when the
   portal's theme settings are unset, which browsers discard -- so these values
   apply. Keeps every page correct until theme settings are saved in the UI. */

.content-wrapper,
.cmatz-section .content-wrapper,
.cmatz-hero .cmatz-hero__inner {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* dnd sections carry inline styles from the page editor, so these need to win */
.dnd-section > .row-fluid,
.body-container .dnd-section > .row-fluid {
  max-width: 1050px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Same reason: give dnd sections real vertical rhythm */
.dnd-section {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------------------------------------------------------------------------
   CMATZ modules inside drag-and-drop areas

   The two rules above exist for dnd pages built from boilerplate modules. Our
   own .cmatz-hero / .cmatz-section modules bring their own 70px rhythm and
   need to run full-bleed so maroon bands reach the viewport edge, so when a
   dnd section contains one we hand the layout back to the module.

   Scoped with :has() rather than a wrapper class so it keeps working wherever
   the client drags the module to in the page editor.
   --------------------------------------------------------------------------- */

.dnd-section:has(.cmatz-section),
.dnd-section:has(.cmatz-hero),
.dnd-section:has(.cmatz-cta-band) {
  padding: 0 !important;
}

.dnd-section:has(.cmatz-section) > .row-fluid,
.dnd-section:has(.cmatz-hero) > .row-fluid,
.dnd-section:has(.cmatz-cta-band) > .row-fluid {
  max-width: none !important;
}

/* The dnd column and widget wrappers sit between the section and our markup */
.dnd-section:has(.cmatz-section) .dnd-column,
.dnd-section:has(.cmatz-hero) .dnd-column,
.dnd-section:has(.cmatz-cta-band) .dnd-column,
.dnd-section:has(.cmatz-section) .dnd-row,
.dnd-section:has(.cmatz-hero) .dnd-row,
.dnd-section:has(.cmatz-cta-band) .dnd-row {
  padding: 0;
}

/* And make the boilerplate's inherited type sane sitewide */
h1, h2, h3, h4, h5, h6 {
  font-family: Roboto, Arial, sans-serif;
  color: var(--cmatz-navy);
}

p, li, td, th, label, input, textarea, select, button {
  font-family: Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------------------------------
   Hero
   Background photo + solid maroon overlay at 53% -- this is what creates
   the purple wash on the original.
   -------------------------------------------------------------------------- */

/* The --cmatz-* custom properties below are set inline by the CMATZ modules
   from their Styles tab. Every one falls back to the original design value,
   so a module that sets nothing renders exactly as it did before. */

.cmatz-hero {
  position: relative;
  min-height: var(--cmatz-hero-min-height, var(--cmatz-hero-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.cmatz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cmatz-hero-overlay-color, var(--cmatz-maroon));
  opacity: var(--cmatz-hero-overlay-opacity, 0.53);
  pointer-events: none;
}

.cmatz-hero > * {
  position: relative;
  z-index: 1;
}

.cmatz-hero__inner {
  width: 100%;
  text-align: var(--cmatz-hero-align, center);
  padding: 0 20px;
}

.cmatz-hero__title {
  font-family: Arial, sans-serif;
  font-size: var(--cmatz-hero-title-size, 50px);
  line-height: 1;
  font-weight: 700;
  color: var(--cmatz-white);
  text-align: var(--cmatz-hero-align, center);
  margin: 0 0 12px;
}

.cmatz-hero__subtitle {
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cmatz-white);
  text-align: var(--cmatz-hero-align, center);
  margin: 0 0 28px;
}

@media (max-width: 767px) {
  .cmatz-hero { min-height: 420px; }
  .cmatz-hero__title { font-size: 32px; line-height: 36px; }
  .cmatz-hero__subtitle { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cmatz-btn,
.cmatz-hero .button,
.cmatz-section .button {
  display: inline-block;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cmatz-white);
  background-color: var(--cmatz-maroon);
  border: none;
  border-radius: var(--cmatz-radius-button);
  padding: 15px 30px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.2s ease;
}

.cmatz-btn:hover,
.cmatz-btn:focus {
  background-color: #59113C;
  color: var(--cmatz-white);
}

/* Navy variant -- used on maroon backgrounds (e.g. About "Learn More") */
.cmatz-btn--navy {
  background-color: var(--cmatz-navy);
}
.cmatz-btn--navy:hover,
.cmatz-btn--navy:focus {
  background-color: #1A1B45;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.cmatz-section {
  padding: var(--cmatz-pad-top, 70px) 0 var(--cmatz-pad-bottom, 70px);
  background-color: var(--cmatz-section-bg, transparent);
}

/* Decorative circle motif -- a background image on the original, not elements */
.cmatz-section--circles {
  background-image: url("../../images/cmatz/bg-circles.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

/* A custom background colour from the Styles tab wins over the preset,
   on the maroon variant as well as the plain one */
.cmatz-section--maroon {
  background-color: var(--cmatz-section-bg, var(--cmatz-maroon));
  color: var(--cmatz-white);
}

.cmatz-section--maroon p,
.cmatz-section--maroon li {
  color: var(--cmatz-white);
}

/* --------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */

.cmatz-grid-2,
.cmatz-grid-3 {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.cmatz-grid-2 { grid-template-columns: repeat(var(--cmatz-cols, 2), minmax(0, 1fr)); }
.cmatz-grid-3 { grid-template-columns: repeat(var(--cmatz-cols, 3), minmax(0, 1fr)); }

@media (max-width: 767px) {
  .cmatz-grid-2,
  .cmatz-grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Section headings -- eyebrow label above an uppercase heading
   -------------------------------------------------------------------------- */

.cmatz-eyebrow {
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--cmatz-maroon);
  margin: 0 0 6px;
}

.cmatz-section--maroon .cmatz-eyebrow {
  color: var(--cmatz-white);
  font-weight: 400;
}

.cmatz-heading {
  font-family: Roboto, Arial, sans-serif;
  font-size: var(--cmatz-heading-size, 48px);
  font-weight: 700;
  color: var(--cmatz-navy);
  margin: 0 0 24px;
  line-height: 1.15;
}

.cmatz-section--maroon .cmatz-heading {
  color: var(--cmatz-white);
}

/* These keep their own default size but still honour --cmatz-heading-size
   when a module sets it from its Styles tab */
.cmatz-heading--services { font-size: var(--cmatz-heading-size, 45px); text-align: left; }
.cmatz-heading--center   { text-align: center; font-weight: 600; }
.cmatz-heading--contact  { font-size: var(--cmatz-heading-size, 42px); font-weight: 600; text-align: center; color: var(--cmatz-white); }

@media (max-width: 767px) {
  .cmatz-heading,
  .cmatz-heading--services,
  .cmatz-heading--contact { font-size: 30px; }
}

/* --------------------------------------------------------------------------
   Service cards -- background photo + dark overlay + white text
   -------------------------------------------------------------------------- */

.cmatz-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: var(--cmatz-card-min-height, 190px);
  padding: 28px 24px;
  border-radius: var(--cmatz-radius-card);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.cmatz-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cmatz-card-overlay-color, var(--cmatz-navy));
  opacity: var(--cmatz-card-overlay-opacity, 0.72);
}

.cmatz-service-card > * {
  position: relative;
  z-index: 1;
}

.cmatz-service-card__title {
  font-family: Roboto, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--cmatz-white);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cmatz-service-card__text {
  color: var(--cmatz-white);
  margin: 0 0 18px;
}

/* --------------------------------------------------------------------------
   Testimonial cards -- navy, 8px radius
   -------------------------------------------------------------------------- */

.cmatz-testimonial {
  background-color: var(--cmatz-navy);
  border-radius: var(--cmatz-radius-card);
  padding: 26px 24px;
  height: 100%;
}

.cmatz-testimonial__quote {
  color: var(--cmatz-white);
  margin: 0 0 14px;
}

.cmatz-testimonial__name {
  color: var(--cmatz-white);
  font-weight: 600;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Forms — native HubSpot forms styled to the CMATZ system
   -------------------------------------------------------------------------- */

.cmatz-form--panel,
.cmatz-form--narrow {
  background: var(--cmatz-white);
  border-radius: var(--cmatz-radius-card);
  padding: 28px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
}

.cmatz-form--narrow { max-width: 640px; margin: 0 auto; }

.cmatz-form .hs-form-field { margin-bottom: 16px; }

.cmatz-form .hs-form-field > label,
.cmatz-form .hs-form-field > label span {
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cmatz-navy);
}

/* On maroon sections the form sits on a white panel, so labels stay navy.
   Where a form is placed directly on maroon, keep labels legible. */
.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) .hs-form-field > label,
.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) .hs-form-field > label span {
  color: var(--cmatz-white);
}

.cmatz-form input[type="text"],
.cmatz-form input[type="email"],
.cmatz-form input[type="tel"],
.cmatz-form input[type="number"],
.cmatz-form textarea,
.cmatz-form select {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #24252E;
  background: var(--cmatz-white);
  border: 1px solid #CFD3DC;
  border-radius: var(--cmatz-radius-button);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cmatz-form textarea { min-height: 120px; resize: vertical; }

/* HubSpot gives single fields and paired fields different widths by default,
   which leaves the right-hand edge ragged. Normalise both to the column. */
.cmatz-form .hs-form-field { width: 100%; }
.cmatz-form .form-columns-1,
.cmatz-form .form-columns-2 { max-width: none; }

/* HubSpot's stock rules are more specific than ours and leave an 8px wrapper
   margin plus a narrowed input on single-column rows, so the right edge comes
   out ragged. These need !important to win. */
.cmatz-form .hs-form-field .input { margin-right: 0 !important; }
.cmatz-form .hs-form-field .hs-input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.cmatz-form .hs-form-field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.cmatz-form .hs-form-field textarea,
.cmatz-form .hs-form-field select {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Paired fields (first/last name, country/city) sit side by side with a real
   gutter rather than HubSpot's negative margins. */
.cmatz-form .form-columns-2 { display: flex; gap: 16px; }
.cmatz-form .form-columns-2 .hs-form-field { flex: 1 1 0; float: none; }

@media (max-width: 599px) {
  .cmatz-form .form-columns-2 { flex-direction: column; gap: 0; }
}

.cmatz-form input:focus,
.cmatz-form textarea:focus,
.cmatz-form select:focus {
  outline: none;
  border-color: var(--cmatz-maroon);
  box-shadow: 0 0 0 3px rgba(111, 22, 75, 0.14);
}

.cmatz-form .hs-button,
.cmatz-form input[type="submit"] {
  display: inline-block;
  width: auto;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cmatz-white);
  background-color: var(--cmatz-maroon);
  border: none;
  border-radius: var(--cmatz-radius-button);
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.cmatz-form .hs-button:hover,
.cmatz-form input[type="submit"]:hover { background-color: #59113C; }

/* A maroon button on a maroon section is invisible. Switch to navy there —
   but only when the form sits directly on the maroon. Panel and narrow
   variants have their own white card, where maroon is still correct. */
.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) .hs-button,
.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) input[type="submit"] {
  background-color: var(--cmatz-navy);
  color: var(--cmatz-white);
}

.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) .hs-button:hover,
.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) input[type="submit"]:hover { background-color: #1A1B45; }

.cmatz-form .hs-error-msg,
.cmatz-form .hs-error-msgs label {
  color: #C0392B;
  font-size: 13px;
}

.cmatz-section--maroon .cmatz-form:not(.cmatz-form--panel):not(.cmatz-form--narrow) .hs-error-msg {
  color: #FFD9D4;
}

/* --------------------------------------------------------------------------
   Free Assessment page bits
   -------------------------------------------------------------------------- */

.cmatz-steps {
  margin: 0 0 28px;
  padding-left: 20px;
}

.cmatz-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.cmatz-assess-contact a {
  color: var(--cmatz-maroon);
  font-weight: 600;
  text-decoration: none;
}

.cmatz-assess-contact a:hover { text-decoration: underline; }

.cmatz-benefit h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  color: var(--cmatz-navy);
  margin: 0 0 8px;
}

/* --------------------------------------------------------------------------
   Link cards — used on the Migration / Education / Vocational hub pages
   -------------------------------------------------------------------------- */

.cmatz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cmatz-card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.cmatz-link-card {
  display: block;
  padding: 24px 22px;
  background: var(--cmatz-white);
  border: 1px solid #E4E7EF;
  border-left: 4px solid var(--cmatz-maroon);
  border-radius: var(--cmatz-radius-card);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-left-color 0.15s ease;
}

.cmatz-link-card:hover,
.cmatz-link-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(36, 37, 94, 0.13);
  border-left-color: var(--cmatz-navy);
}

.cmatz-link-card h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--cmatz-navy);
  margin: 0 0 8px;
  line-height: 1.25;
}

.cmatz-link-card p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4A4D63;
  margin: 0;
}

.cmatz-link-card::after {
  content: "Explore \2192";
  display: inline-block;
  margin-top: 14px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cmatz-maroon);
}

/* --------------------------------------------------------------------------
   Inner subpages (dnd-based templates)
   These render rich_text content inside dnd sections. The rules below give
   that content the same rhythm and hierarchy as the hand-built sections.
   -------------------------------------------------------------------------- */

.body-container .dnd-section h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.body-container .dnd-section h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--cmatz-navy);
}

.body-container .dnd-section h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--cmatz-navy);
}

.body-container .dnd-section p { line-height: 1.65; margin: 0 0 14px; }

.body-container .dnd-section ul,
.body-container .dnd-section ol {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.65;
}

.body-container .dnd-section li { margin-bottom: 7px; }
.body-container .dnd-section li > ul { margin-top: 7px; margin-bottom: 4px; }

/* Requirements lists read better with a little breathing room and a
   maroon marker, which also ties them to the brand */
.body-container .dnd-section ul > li::marker { color: var(--cmatz-maroon); }

/* Intro band: the first navy section on every subpage */
.body-container .dnd-section:first-child h1,
.body-container .dnd-section:first-child h2,
.body-container .dnd-section:first-child p { color: var(--cmatz-white); }

/* Hub-page "Explore" links rendered inside rich_text — make them read as
   actions rather than default blue links */
.body-container .dnd-section a[href^="/migration/"],
.body-container .dnd-section a[href^="/education/"] {
  display: inline-block;
  margin-top: 4px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--cmatz-maroon);
  text-decoration: none;
}

.body-container .dnd-section a[href^="/migration/"]:hover,
.body-container .dnd-section a[href^="/education/"]:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .body-container .dnd-section h1 { font-size: 30px; }
  .body-container .dnd-section h2 { font-size: 24px; }
  .body-container .dnd-section h3 { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   Content lists (education pages)
   -------------------------------------------------------------------------- */

/* Labelled feature list — "Label: full explanatory sentence" */
.cmatz-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px 28px;
}

.cmatz-feature-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.62;
  font-family: Arial, Helvetica, sans-serif;
}

.cmatz-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cmatz-maroon);
}

.cmatz-feature-list strong { color: var(--cmatz-navy); }
.cmatz-section--maroon .cmatz-feature-list strong { color: var(--cmatz-white); }
.cmatz-section--maroon .cmatz-feature-list li::before { background: var(--cmatz-white); }

/* Tick list — used for course benefits */
.cmatz-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px 28px;
}

.cmatz-check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.62;
  font-family: Arial, Helvetica, sans-serif;
}

.cmatz-check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cmatz-maroon);
  font-size: 15px;
}

.cmatz-check-list strong { color: var(--cmatz-navy); }
.cmatz-section--maroon .cmatz-check-list strong { color: var(--cmatz-white); }
.cmatz-section--maroon .cmatz-check-list li::before { color: var(--cmatz-white); }

/* Simple pill list — levels, roles, course names */
.cmatz-level-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cmatz-level-list li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--cmatz-navy);
  background: rgba(36, 37, 94, 0.07);
  border-radius: 999px;
  padding: 7px 16px;
}

.cmatz-section--maroon .cmatz-level-list li {
  color: var(--cmatz-white);
  background: rgba(255, 255, 255, 0.14);
}

.cmatz-note {
  font-size: 14px;
  color: #5C5F73;
  font-style: italic;
  margin: 0 0 18px;
}

.cmatz-section--maroon .cmatz-note { color: rgba(255, 255, 255, 0.82); }

/* Course block (bachelor's / master's lists) */
.cmatz-course-block {
  background: var(--cmatz-white);
  border: 1px solid #E4E7EF;
  border-top: 4px solid var(--cmatz-maroon);
  border-radius: var(--cmatz-radius-card);
  padding: 24px 22px;
}

.cmatz-course-block h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 19px;
  color: var(--cmatz-navy);
  margin: 0 0 14px;
}

.cmatz-course-block ul { margin: 0; padding-left: 20px; }
.cmatz-course-block li { margin-bottom: 8px; line-height: 1.5; }
.cmatz-course-block ul ul { margin-top: 8px; }
.cmatz-course-block p { line-height: 1.62; margin: 0 0 14px; }
.cmatz-course-block > *:last-child { margin-bottom: 0; }

/* Small label above a requirements list inside a visa/course block */
.cmatz-block-label {
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cmatz-maroon);
  margin: 0 0 10px;
}

.cmatz-course-block .cmatz-note { margin: 12px 0 14px; }

/* In-page anchor targets must clear the sticky header */
.cmatz-section[id] { scroll-margin-top: calc(var(--cmatz-header-height) + 20px); }

/* Visa blocks — wider minimum than course blocks, since requirement lists run long */
.cmatz-visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 767px) {
  .cmatz-visa-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Pathway blocks on the Education hub */
.cmatz-pathways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.cmatz-pathway {
  background: var(--cmatz-white);
  border: 1px solid #E4E7EF;
  border-radius: var(--cmatz-radius-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.cmatz-pathway h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 21px;
  color: var(--cmatz-navy);
  margin: 0 0 10px;
}

.cmatz-pathway p {
  line-height: 1.62;
  margin: 0 0 20px;
  flex: 1 1 auto;
}

.cmatz-pathway .cmatz-btn { align-self: flex-start; font-size: 15px; padding: 11px 20px; }

.cmatz-text-link {
  color: var(--cmatz-maroon);
  font-weight: 600;
  text-decoration: none;
}

.cmatz-text-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.cmatz-about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.cmatz-about-media { position: relative; }

.cmatz-about-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cmatz-radius-card);
}

.cmatz-about-badge {
  display: block;
  margin-top: -28px;
  margin-left: 16px;
  margin-right: 16px;
  position: relative;
  background: var(--cmatz-navy);
  color: var(--cmatz-white);
  border-radius: var(--cmatz-radius-card);
  padding: 14px 18px;
  box-shadow: 0 8px 20px rgba(36, 37, 94, 0.22);
}

.cmatz-about-badge strong {
  display: block;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 2px;
}

.cmatz-about-badge span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.cmatz-about-copy p { line-height: 1.7; margin: 0 0 16px; }

/* Value cards on the maroon band */
.cmatz-value {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--cmatz-radius-card);
  padding: 24px 22px;
}

.cmatz-value h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 19px;
  color: var(--cmatz-white);
  margin: 0 0 8px;
}

.cmatz-value p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Accreditation badges */
.cmatz-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
}

.cmatz-badges img {
  height: 96px;
  width: auto;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .cmatz-about-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.cmatz-office {
  background: var(--cmatz-white);
  border: 1px solid #E4E7EF;
  border-top: 4px solid var(--cmatz-maroon);
  border-radius: var(--cmatz-radius-card);
  padding: 24px 22px;
}

.cmatz-office h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  color: var(--cmatz-navy);
  margin: 0 0 2px;
}

.cmatz-office__note {
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cmatz-maroon);
  margin: 0 0 14px;
}

.cmatz-office ul { list-style: none; margin: 0 0 10px; padding: 0; }
.cmatz-office li { margin-bottom: 7px; }

.cmatz-office a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--cmatz-navy);
  text-decoration: none;
  word-break: break-word;
}

.cmatz-office a:hover { color: var(--cmatz-maroon); text-decoration: underline; }

.cmatz-office__meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #6A6D82;
  margin: 0;
}

.cmatz-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.cmatz-contact-direct { margin: 24px 0 22px; }

.cmatz-contact-direct a {
  color: var(--cmatz-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.cmatz-contact-direct a:hover { border-bottom-color: var(--cmatz-white); }

.cmatz-inline-link {
  color: var(--cmatz-white);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .cmatz-contact-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* --------------------------------------------------------------------------
   Pre-footer CTA banner (sections/call-to-action.html)
   Previously the background photo showed through with no overlay, so the text
   was unreadable and the button rendered as a default blue link because the
   boilerplate .button class was only styled inside .cmatz-* sections.
   -------------------------------------------------------------------------- */

/* .cmatz-cta      — applied to the dnd section template (inner dnd pages)
   .cmatz-cta-band — hand-built equivalent for templates that have no dnd_area.
   `include_dnd_partial` silently renders nothing outside a dnd_area, so
   hand-built templates must inline this instead. */

.cmatz-cta,
.cmatz-cta-band {
  position: relative;
}

.cmatz-cta-band {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--cmatz-pad-top, 110px) 0 var(--cmatz-pad-bottom, 110px);
}

.cmatz-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cmatz-cta-overlay-color, var(--cmatz-navy));
  opacity: var(--cmatz-cta-overlay-opacity, 0.72);
  pointer-events: none;
}

.cmatz-cta-band > * {
  position: relative;
  z-index: 1;
}

.cmatz-cta-band h2 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cmatz-white);
  margin: 0 0 22px;
}

@media (max-width: 767px) {
  .cmatz-cta-band { padding: 70px 0; }
  .cmatz-cta-band h2 { font-size: 26px; }
}

.cmatz-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cmatz-navy);
  opacity: 0.72;
  pointer-events: none;
}

/* Lift the row content above the overlay */
.cmatz-cta > * {
  position: relative;
  z-index: 1;
}

.cmatz-cta h1,
.cmatz-cta h2,
.cmatz-cta h3,
.cmatz-cta p,
.cmatz-cta li {
  color: var(--cmatz-white);
}

.cmatz-cta h2 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

@media (max-width: 767px) {
  .cmatz-cta h2 { font-size: 26px; }
}

/* The shared button module renders .button — style it wherever it appears,
   not just inside hand-built .cmatz-section blocks */
.button,
.cmatz-cta .button {
  display: inline-block;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cmatz-white);
  background-color: var(--cmatz-maroon);
  border: none;
  border-radius: var(--cmatz-radius-button);
  padding: 14px 28px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover,
.button:focus-visible,
.cmatz-cta .button:hover,
.cmatz-cta .button:focus-visible {
  background-color: #59113C;
  color: var(--cmatz-white);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Meetings embed
   -------------------------------------------------------------------------- */

.cmatz-meetings {
  background: var(--cmatz-white);
  border-radius: var(--cmatz-radius-card);
  padding: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
  min-height: 640px;
}

/* --------------------------------------------------------------------------
   Contact block
   -------------------------------------------------------------------------- */

.cmatz-contact__label {
  color: var(--cmatz-white);
  font-weight: 600;
  margin: 0 0 4px;
}

.cmatz-contact__value {
  color: var(--cmatz-white);
  margin: 0 0 22px;
}

/* The contact module can render the phone and email as tel:/mailto: links.
   They should read exactly like the plain text they replaced, not as default
   blue browser links, so inherit the section colour and underline on hover
   only. */
.cmatz-contact__value a {
  color: inherit;
  text-decoration: none;
}

.cmatz-contact__value a:hover,
.cmatz-contact__value a:focus-visible {
  text-decoration: underline;
}


/* ==========================================================================
   Language switcher
   --------------------------------------------------------------------------
   Built on <details>/<summary> so it opens, closes and takes keyboard focus
   with no JavaScript. If main.js ever fails to load, the switcher still works.

   The default disclosure triangle is removed in two ways because browsers
   disagree: ::-webkit-details-marker for Safari/older Chrome, and
   `list-style: none` on the summary itself for Firefox.
   ========================================================================== */

.cmatz-lang__item { display: flex; align-items: center; }

.cmatz-lang { position: relative; }

.cmatz-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--cmatz-white);
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--cmatz-radius-button, 8px);
  cursor: pointer;
  list-style: none;                 /* Firefox */
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.cmatz-lang__toggle::-webkit-details-marker { display: none; }  /* Safari */

.cmatz-lang__toggle:hover,
.cmatz-lang__toggle:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.cmatz-lang__globe { flex: none; }

.cmatz-lang__chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}
.cmatz-lang[open] .cmatz-lang__chevron { transform: rotate(180deg); }

.cmatz-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--cmatz-white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 160;
}

.cmatz-lang__menu a {
  display: block;
  padding: 10px 12px;
  color: var(--cmatz-navy) !important;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
}

.cmatz-lang__menu a:hover,
.cmatz-lang__menu a:focus-visible { background-color: rgba(111, 22, 76, 0.08); }

/* The active language stays listed rather than hidden, so the control always
   shows the full set and the visitor can see what they are currently on. */
.cmatz-lang__menu a.is-current {
  font-weight: 600;
  color: var(--cmatz-maroon) !important;
  background-color: rgba(111, 22, 76, 0.06);
}

@media (max-width: 1150px) {
  /* Inside the mobile drawer the dropdown becomes a plain inline block, so it
     never overflows the panel or gets clipped by its scroll container. */
  .cmatz-lang__item { display: block; margin-top: 10px; }
  .cmatz-lang { width: 100%; }
  .cmatz-lang__toggle { width: 100%; justify-content: flex-start; padding: 13px 12px; border-radius: 6px; }
  .cmatz-lang__chevron { margin-left: auto; }

  .cmatz-lang__menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }
  .cmatz-lang__menu a { color: var(--cmatz-white) !important; }
  .cmatz-lang__menu a.is-current { color: var(--cmatz-white) !important; background-color: rgba(255, 255, 255, 0.14); }
}

/* 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;
  }
}