:root {
  --content-width-small: 100%;
  --content-width-smallest: 100%;
  --image-a-width: 320px;
  --image-a-height: 320px;
  --image-b-width: 240px;
  --image-b-height: 240px;
  --image-c-width: 250px;
  --image-c-height: 250px;
  --image-d-width: 190px;
  --image-d-height: 190px;
}

@media (min-width: 992px) {
  :root {
    --content-width-small: 995px;
    --content-width-smallest: 820px;
  }
}
@media (min-width: 992px) {
  .container--small {
    max-width: 995px;
    padding-inline: 0 !important;
  }
}

.title--h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: calc(var(--h2) + 0.1rem) !important;
}

.title--h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: calc(var(--h3) - 1.2px) !important;
  color: var(--action);
}

.title--h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: var(--h4);
}

.title--h5 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: var(--h5);
}

.title--h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: var(--h6);
}

.brxe-button {
  transition: all 0.3s ease-in-out;
}

.quick-help p {
  color: var(--white);
}

.quick-help li::marker {
  color: var(--white);
}

.quick-help__link {
  color: var(--white-trans-80);
  position: relative;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease;
}

.quick-help__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--white-trans-80);
  transition: width 0.3s ease;
}

.quick-help__link:hover {
  color: var(--white-trans-80);
}

.quick-help__link:hover::before {
  width: 100%;
}

form.bricks-search-form {
  border-bottom: 1px solid var(--white);
}

form.bricks-search-form::focus {
  border-bottom: 1px solid var(--white);
}

input#search-input-ehbyei {
  padding-left: 0;
}

input#search-input-ehbyei:focus {
  border-bottom: 1px solid var(--white);
  padding-left: 5px;
}

#brxe-ehbyei input[type=search] {
  color: var(--white);
}

.cta-card h1, .cta-card h2, .cta-card h3, .cta-card h4, .cta-card h5, .cta-card h6, .cta-card p {
  color: var(--white);
}
.cta-card.bg--accent h1, .cta-card.bg--accent h2, .cta-card.bg--accent h3, .cta-card.bg--accent h4, .cta-card.bg--accent h5, .cta-card.bg--accent h6, .cta-card.bg--accent p, .cta-card.bg--secondary h1, .cta-card.bg--secondary h2, .cta-card.bg--secondary h3, .cta-card.bg--secondary h4, .cta-card.bg--secondary h5, .cta-card.bg--secondary h6, .cta-card.bg--secondary p {
  color: var(--action);
}
@media (min-width: 990px) {
  .cta-card:nth-child(2), .cta-card:nth-child(4) {
    transform: translateY(var(--space-m));
  }
}

.fr-accordion__icon {
  transition: transform 300ms ease-in-out;
  transform: rotate(0deg);
}

.brx-open .fr-accordion__icon {
  transform: rotate(45deg) !important;
}

.flex-accordion__icon {
  transform: rotate(0deg) !important;
}

.fr-accordion__icon--flipped {
  transform: rotate(45deg) !important;
}

.link--underline-white {
  position: relative;
  display: inline-block;
}

.link--underline-white::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.link--underline-white:hover::before {
  width: 100%;
}

.link--underline-action {
  position: relative;
  display: inline-block;
}

.link--underline-action::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--action);
  transition: width 0.3s ease;
}

.link--underline-action:hover::before {
  width: 100%;
}

.services-snapshot a {
  position: relative;
}
.services-snapshot a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--action);
  transition: width 0.3s ease;
}
.services-snapshot a:hover::before {
  width: 100%;
}

.kri-border--both {
  border-top: 1px solid #184143;
  border-bottom: 1px solid #184143;
}

.kri-border--bottom {
  border-bottom: 1px solid #184143;
}

.kri-border--top {
  border-top: 1px solid #184143;
}

/* Reset counters for the main list and initialize list styles */
.stepped-list {
  counter-reset: listItem;
  list-style-type: none;
  padding-left: 30px;
}

/* Counter for main list items and positioning the number */
.stepped-list__item > .fr-process-card-charlie__header > .fr-process-card-charlie__step::before {
  content: counter(listItem) ".";
  counter-increment: listItem;
  font-size: var(--text-xl);
  font-weight: 700;
  font-family: "Playfair Display";
  margin-right: 10px;
  /* Adjust this to your design */
}

/* Reset counter for the nested list */
.stepped-list--nested {
  counter-reset: nestedListItem;
  list-style-type: none;
  padding-left: 20px;
  /* Adjust based on your design */
}

/* Counter for nested list items and positioning the letter */
.stepped-list--nested .stepped-list__item > .fr-process-card-charlie__header > .fr-process-card-charlie__step::before {
  content: counter(nestedListItem, lower-alpha) ".";
  counter-increment: nestedListItem;
  font-size: var(--text-xl);
  font-weight: 700;
  font-family: "Playfair Display";
  margin-right: 10px;
  /* Adjust this to your design */
}

.vertical-slider .splide__pagination .splide__pagination__page.is-active::before {
  content: "";
  display: block;
  position: absolute;
  top: -6px;
  /* increased spacing */
  left: -6px;
  /* increased spacing */
  right: -6px;
  /* increased spacing */
  bottom: -6px;
  /* increased spacing */
  border: 2px solid var(--action);
  border-radius: 100%;
  /* to maintain circular shape */
  z-index: -1;
  /* to position it beneath the actual button */
}

@media only screen and (max-width: 767px) {
  .vertical-slider .splide__pagination {
    bottom: -65px;
  }
}
.nav-mm__item .brx-submenu-toggle button {
  transition: color 0.3s ease;
}
.nav-mm__item .brx-submenu-toggle button i {
  transition: transform 0.3s ease;
}
.nav-mm__item .brx-submenu-toggle:hover button {
  color: var(--accent) !important;
}
.nav-mm__item .brx-submenu-toggle:hover button i {
  transform: rotate(180deg);
}
.nav-mm__item.brx-has-megamenu.open .brx-submenu-toggle button {
  color: var(--accent) !important;
}
.nav-mm__item.brx-has-megamenu.open .brx-submenu-toggle button i {
  transform: rotate(180deg);
}

li.menu-item-has-children:hover > div > button > i.menu-item-icon {
  color: var(--accent) !important;
}


