.cmp-masthead-v2 {
  --navbar-height: 56px;
  --logo-size: 100px;
  z-index: 2;
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #cccccc;
  display: grid;
  grid-template-areas: '.    burger logo options .   ' 'menu menu   menu menu    menu' 'cta  cta    cta  cta     cta ';
  grid-template-columns: var(--container-padding) 48px var(--logo-size) auto var(--container-padding);
  grid-template-rows: var(--navbar-height) calc(100dvh - var(--navbar-height) - var(--cta-height)) var(--cta-height);
  align-items: center;
  height: var(--navbar-height);
}
.cmp-masthead-v2 ::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
.cmp-masthead-v2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cmp-masthead-v2 a {
  text-decoration: none;
}
.cmp-masthead-v2__hamburger {
  grid-area: burger;
  margin-right: 16px;
  background-color: #ffffff;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 48px;
  height: 48px;
  border: none;
}
.cmp-masthead-v2__hamburger span:first-child {
  display: block;
  position: absolute;
  font-size: 32px;
  transition: font-size 200ms 200ms;
}
.cmp-masthead-v2__hamburger span:nth-child(2) {
  transition: font-size 200ms;
  font-size: 0;
}
.cmp-masthead-v2__hamburger.active span:first-child {
  transition: font-size 200ms;
  font-size: 0;
}
.cmp-masthead-v2__hamburger.active span:nth-child(2) {
  transition: font-size 200ms 200ms;
  font-size: 32px;
}
.cmp-masthead-v2__logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  background-color: transparent;
  gap: 16px;
}
.cmp-masthead-v2__logo img {
  max-width: var(--logo-size);
}
.cmp-masthead-v2__logo span {
  color: #808080;
}
.cmp-masthead-v2__sections {
  grid-area: menu;
  height: 100%;
  transition: all 400ms;
  background-color: #ffffff;
  overflow-y: scroll;
  left: 0;
  width: 0;
}
.cmp-masthead-v2__sections.active {
  width: 100%;
}
.cmp-masthead-v2__section {
  display: grid;
  grid-template-rows: var(--navbar-height) 0fr;
  transition: all 400ms;
  overflow: hidden;
}
.cmp-masthead-v2__section:has(.cmp-masthead-v2__menu.active) {
  grid-template-rows: var(--navbar-height) 1fr;
}
.cmp-masthead-v2__section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-padding);
  background-color: #ffffff;
  border: none;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  height: var(--navbar-height);
  width: 100%;
  text-align: left;
}
.cmp-masthead-v2__menu {
  display: grid;
  gap: 24px;
  padding: 0 var(--container-padding);
  min-height: 0;
  transition: all 400ms;
}
.cmp-masthead-v2__menu.active {
  padding: 24px var(--container-padding);
}
.cmp-masthead-v2__subgroup-title {
  display: block;
  color: #0c66e1;
}
ul.cmp-masthead-v2__subgroup-elements {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}
.cmp-masthead-v2__subgroup-element {
  color: #1a1a1a;
}
.cmp-masthead-v2__options {
  grid-area: options;
  display: flex;
  align-items: center;
  justify-content: end;
}
.cmp-masthead-v2__option {
  font-size: 0;
  position: relative;
}
.cmp-masthead-v2__option > * {
  padding: 0 8px;
}
.cmp-masthead-v2__option.bordered {
  border-right: 1px solid #cccccc;
}
.cmp-masthead-v2__option button {
  background-color: #ffffff;
  border: 0;
}
.cmp-masthead-v2__option span {
  font-size: 32px;
}
.cmp-masthead-v2__option#search:hover {
  background-color: #ebf3ff;
}
.cmp-masthead-v2__option#search:focus-visible {
  outline: 2px solid #0c66e1;
}
.cmp-masthead-v2__languages {
  position: absolute;
  top: calc(100% + 8px);
  right: 10px;
  z-index: 1000;
  height: 0;
  min-width: 100px;
  overflow: hidden;
  transition: height 400ms;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 0px rgba(128, 128, 128, 0.25);
  background-color: #ffffff;
}
.cmp-masthead-v2__languages li {
  height: 48px;
  position: relative;
  z-index: 10000;
}
.cmp-masthead-v2__languages li a {
  color: black;
  display: block;
  height: 100%;
  width: 100%;
  padding: 12px 15px;
}
.cmp-masthead-v2__languages li a:hover {
  background-color: #ebf3ff;
  border-radius: 7px;
}
.cmp-masthead-v2__languages li a:focus-visible {
  outline: 1px solid #0c66e1;
}
.cmp-masthead-v2__languages.active {
  height: var(--language-options-height);
}
.cmp-masthead-v2__language {
  font-size: 14px;
}
.cmp-masthead-v2__cta {
  grid-area: cta;
  background-color: #ffffff;
  display: flex;
  width: 0;
  overflow: hidden;
  transition: all 400ms;
  padding: 8px 0;
}
.cmp-masthead-v2__cta.active {
  padding: 8px var(--container-padding) !important;
  width: 100vw;
}
.cmp-masthead-v2__cta a.button {
  white-space: nowrap;
  flex: 1;
}
.cmp-masthead-v2__promo {
  display: none;
}
@media (min-width: 768px) {
  .cmp-masthead-v2 {
    --navbar-height: 72px;
    grid-template-areas: '.    burger logo options cta  .   ' 'menu menu   menu menu    menu menu';
    grid-template-columns: var(--container-padding) 48px var(--logo-size) 1fr min-content var(--container-padding);
    grid-template-rows: var(--navbar-height) calc(100dvh - var(--navbar-height));
  }
  .cmp-masthead-v2__sections.active {
    width: calc(var(--column-width) * 6 + var(--container-padding));
  }
  .cmp-masthead-v2__section-title {
    padding: 0 16px 0 var(--container-padding);
  }
  .cmp-masthead-v2__languages {
    top: calc(100% + 16px);
  }
  .cmp-masthead-v2__cta {
    width: fit-content;
    padding: 0 !important;
  }
  .cmp-masthead-v2__cta.active {
    padding: 0 !important;
    width: fit-content !important;
  }
}
@media (min-width: 1200px) {
  .cmp-masthead-v2 {
    grid-template-areas: '.    logo navbar  options cta  .   ' 'menu menu menu    menu    menu menu';
    grid-template-columns: var(--container-padding) 114px auto max-content max-content var(--container-padding);
  }
  .cmp-masthead-v2__hamburger {
    display: none;
  }
  .cmp-masthead-v2__sections {
    display: flex;
    grid-area: navbar;
    width: auto;
    padding: 0;
    border-bottom: 1px solid #cccccc;
  }
  .cmp-masthead-v2__section {
    justify-content: center;
    align-items: center;
    padding: 0 16px;
  }
  .cmp-masthead-v2__section-title {
    gap: 4px;
    border-radius: 4px;
    padding: 0;
    height: fit-content;
    width: fit-content;
    border: 0;
    justify-content: center;
    text-align: center;
  }
  .cmp-masthead-v2__section-title [class^=coral3-Icon--custom_] {
    transform: rotateX(0deg);
    transition: transform 400ms;
  }
  .cmp-masthead-v2__section-title span:first-child {
    position: relative;
  }
  .cmp-masthead-v2__section-title span:first-child::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    transition: right 400ms;
    background-color: #0c66e1;
    height: 3px;
    border-radius: 1px;
  }
  .cmp-masthead-v2__section-title:hover {
    background-color: #ebf3ff;
  }
  .cmp-masthead-v2__section-title:focus-visible {
    outline: 2px solid #0c66e1;
  }
  .cmp-masthead-v2__section-title:has(+ .active) [class^=coral3-Icon--custom_] {
    transform: rotateX(180deg);
  }
  .cmp-masthead-v2__section-title:has(+ .active) span:first-child::after {
    right: 0;
  }
  .cmp-masthead-v2__menu {
    z-index: -1;
    position: absolute;
    background-color: #ffffff;
    top: var(--navbar-height);
    max-height: 0;
    height: auto;
    left: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    gap: 0;
    row-gap: 24px;
    flex-wrap: wrap;
  }
  .cmp-masthead-v2__menu.active {
    z-index: 1;
    max-height: 800px;
  }
  .cmp-masthead-v2__subgroup {
    width: calc(var(--column-width) * 3);
  }
  .cmp-masthead-v2__subgroup:has(:nth-child(2)):has(:nth-child(4)) {
    width: calc(var(--column-width) * 6);
  }
  .cmp-masthead-v2__subgroup:has(:nth-child(2)):has(:nth-child(4)) .cmp-masthead-v2__subgroup-elements {
    grid-auto-flow: column;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: 1fr 1fr;
    grid-column: span 2;
  }
  .cmp-masthead-v2__cta {
    width: fit-content;
    margin-left: 8px;
  }
  .cmp-masthead-v2__promo {
    display: block;
    flex: 1;
    padding: 24px;
    background-color: #ebf3ff;
  }
  .cmp-masthead-v2__promo-content {
    display: flex;
    align-items: start;
    gap: 24px;
  }
  .cmp-masthead-v2__promo-label {
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #0c66e1;
  }
  .cmp-masthead-v2__promo-title {
    font-weight: 600;
    font-family: 'Amadeus-Medium', sans-serif;
    margin-bottom: 12px;
  }
  .cmp-masthead-v2__promo-description {
    color: #999999;
  }
}
