/* Final floating toggle behavior: compact icon-only by default, expands on hover/focus. */
#contrast-toggle{
  box-sizing:border-box;
  position:fixed!important;
  right:0;
  bottom:100px;
  top:auto;
  left:auto;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  width:52px;
  min-width:52px;
  max-width:52px;
  height:40px;
  margin:0;
  padding:0 16px;
  overflow:hidden;
  white-space:nowrap;
  border:1px solid rgba(20,56,82,.14);
  border-right:0;
  border-radius:6px 0 0 6px;
  background:#fff;
  color:transparent!important;
  box-shadow:0 2px 8px rgba(0,0,0,.10);
  cursor:pointer;
  font-family:TRENDA,Arial,sans-serif;
  font-size:0!important;
  line-height:1;
  text-indent:0;
  transform:none;
  transition:max-width .2s ease,width .2s ease,padding .2s ease,background-color .2s ease,box-shadow .2s ease,color .2s ease,font-size .2s ease;
}
#contrast-toggle::before{
  content:'◐';
  flex:0 0 auto;
  display:block;
  width:20px;
  color:var(--moet-navy,#143852);
  font-size:20px;
  line-height:1;
  text-align:center;
  text-indent:0;
  transition:margin-right .2s ease,color .2s ease;
}
#contrast-toggle:hover,
#contrast-toggle:focus-visible{
  width:190px;
  max-width:190px;
  padding:0 16px;
  background:#fff;
  color:var(--moet-navy,#143852)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  font-size:14px!important;
  font-weight:700;
  text-transform:none;
}
#contrast-toggle:hover::before,
#contrast-toggle:focus-visible::before{margin-right:10px;}
#contrast-toggle[aria-pressed="true"]{background:var(--moet-navy,#143852);border-color:var(--moet-gold,#f1d599);color:transparent;}
#contrast-toggle[aria-pressed="true"]::before{color:#fff;}
#contrast-toggle[aria-pressed="true"]:hover,
#contrast-toggle[aria-pressed="true"]:focus-visible{color:#fff;}

.trp-language-switcher.trp-floating-switcher,
.trp-floating-switcher.trp-switcher-position-bottom{
  box-sizing:border-box;
  position:fixed!important;
  right:0;
  bottom:150px;
  top:auto;
  left:auto;
  z-index:100000;
  width:52px;
  min-width:52px;
  max-width:104px;
  height:38px;
  overflow:visible;
  background:transparent;
  border:0;
  box-shadow:none;
  transition:width .2s ease;
}
.trp-language-switcher.trp-floating-switcher:hover,
.trp-language-switcher.trp-floating-switcher:focus-within,
.trp-language-switcher.trp-floating-switcher.is-open,
.trp-floating-switcher.trp-switcher-position-bottom:hover,
.trp-floating-switcher.trp-switcher-position-bottom:focus-within,
.trp-floating-switcher.trp-switcher-position-bottom.is-open{width:104px;}
.trp-language-switcher .trp-language-switcher-inner{
  position:relative;
  display:block;
  width:52px;
  height:38px;
  overflow:visible;
}
.trp-language-switcher .trp-language-item__current,
.trp-language-switcher .trp-switcher-dropdown-list a.trp-language-item{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  min-width:52px;
  height:38px;
  min-height:38px;
  margin:0;
  padding:0;
  border:1px solid rgba(20,56,82,.16);
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.10);
  cursor:pointer;
  transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.trp-language-switcher .trp-language-item__current{
  position:absolute;
  right:0;
  bottom:0;
  z-index:2;
  border-radius:6px 0 0 6px;
}
.trp-language-switcher .trp-switcher-dropdown-list{
  position:absolute;
  right:52px;
  bottom:0;
  z-index:1;
  display:block;
  width:52px;
  min-width:52px;
  height:38px;
  margin:0;
  padding:0;
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
  visibility:hidden;
  opacity:0;
  transform:translateX(10px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.trp-language-switcher:hover .trp-switcher-dropdown-list,
.trp-language-switcher:focus-within .trp-switcher-dropdown-list,
.trp-language-switcher.is-open .trp-switcher-dropdown-list{
  visibility:visible;
  opacity:1;
  transform:translateX(0);
}
.trp-language-switcher .trp-switcher-dropdown-list[hidden]{display:block;}
.trp-language-switcher.is-open .trp-switcher-dropdown-list[hidden],
.trp-language-switcher:hover .trp-switcher-dropdown-list[hidden],
.trp-language-switcher:focus-within .trp-switcher-dropdown-list[hidden]{display:block;}
.trp-language-switcher .trp-switcher-dropdown-list a.trp-language-item{
  border-radius:6px 0 0 6px;
}
.trp-language-switcher .trp-language-item__current:hover,
.trp-language-switcher .trp-language-item__current:focus-visible,
.trp-language-switcher .trp-switcher-dropdown-list a.trp-language-item:hover,
.trp-language-switcher .trp-switcher-dropdown-list a.trp-language-item:focus-visible{
  background:#f9f9f9;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  outline:2px solid var(--moet-gold,#f1d599);
  outline-offset:2px;
}
.trp-language-switcher .trp-flag-image{
  display:block;
  width:20px;
  max-width:20px;
  height:auto;
  max-height:15px;
  margin:0;
}
@media(max-width:767px){
  #contrast-toggle{bottom:84px;}
  #contrast-toggle:hover,#contrast-toggle:focus-visible{width:176px;max-width:176px;}
  .trp-language-switcher.trp-floating-switcher,
  .trp-floating-switcher.trp-switcher-position-bottom{bottom:132px;}
}

/* Final hardening for toggle expansion states.
   Expand ONLY on hover and keyboard focus (:focus-visible), never on plain mouse :focus,
   so a mouse click does not leave the contrast button stuck open. */
#contrast-toggle:focus-visible{
  width:190px;
  max-width:190px;
  padding:0 16px;
  background:#fff;
  color:var(--moet-navy,#143852)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  font-size:14px!important;
  font-weight:700;
}
#contrast-toggle:focus-visible::before{margin-right:10px;}
/* Collapse again on mouse focus (no keyboard): hard reset to icon-only. */
#contrast-toggle:focus:not(:focus-visible):not(:hover){
  width:52px!important;
  max-width:52px!important;
  color:transparent!important;
  font-size:0!important;
  box-shadow:0 2px 8px rgba(0,0,0,.10)!important;
}
#contrast-toggle:focus:not(:focus-visible):not(:hover)::before{margin-right:0!important;}
.trp-language-switcher .trp-switcher-dropdown-list{
  max-height:38px!important;
}
.trp-language-switcher:hover .trp-switcher-dropdown-list,
.trp-language-switcher:focus-within .trp-switcher-dropdown-list,
.trp-language-switcher.is-open .trp-switcher-dropdown-list{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  max-height:38px!important;
  transform:translateX(0)!important;
}
.trp-language-switcher:hover .trp-switcher-dropdown-list a.trp-language-item,
.trp-language-switcher:focus-within .trp-switcher-dropdown-list a.trp-language-item,
.trp-language-switcher.is-open .trp-switcher-dropdown-list a.trp-language-item{
  visibility:visible!important;
  opacity:1!important;
}

/* Final language initials button: no hover expansion, no flags/dropdown. */
.trp-language-switcher.trp-floating-switcher,
.trp-floating-switcher.trp-switcher-position-bottom,
.trp-language-switcher.trp-floating-switcher:hover,
.trp-language-switcher.trp-floating-switcher:focus-within,
.trp-language-switcher.trp-floating-switcher.is-open,
.trp-floating-switcher.trp-switcher-position-bottom:hover,
.trp-floating-switcher.trp-switcher-position-bottom:focus-within,
.trp-floating-switcher.trp-switcher-position-bottom.is-open{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
}
.trp-language-switcher .trp-language-switcher-inner{width:52px!important;height:38px!important;}
.trp-language-switcher .trp-switcher-dropdown-list,
.trp-language-switcher:hover .trp-switcher-dropdown-list,
.trp-language-switcher:focus-within .trp-switcher-dropdown-list,
.trp-language-switcher.is-open .trp-switcher-dropdown-list{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.trp-language-switcher .trp-language-item__current{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  width:52px!important;
  min-width:52px!important;
  height:38px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:1px solid rgba(20,56,82,.16)!important;
  border-right:0!important;
  border-radius:6px 0 0 6px!important;
  background:#fff!important;
  color:var(--moet-navy,#143852)!important;
  box-shadow:0 2px 8px rgba(0,0,0,.10)!important;
  font-family:TRENDA,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  transition:background-color .2s ease,box-shadow .2s ease,color .2s ease!important;
}
.trp-language-switcher .trp-language-item__current img,
.trp-language-switcher .trp-flag-image{display:none!important;}
.trp-language-switcher .trp-language-item__current:hover,
.trp-language-switcher .trp-language-item__current:focus-visible{
  background:#f9f9f9!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18)!important;
  outline:2px solid var(--moet-gold,#f1d599)!important;
  outline-offset:2px!important;
}


/* Final active contrast state requested: active label/icon in white on navy. */
#contrast-toggle[aria-pressed="true"] {
  background: var(--moet-navy, #143852) !important;
  border-color: var(--moet-gold, #f1d599) !important;
  color: #fff !important;
}
#contrast-toggle[aria-pressed="true"]::before {
  color: #fff !important;
}
