/* Shared by the landing page, Brisa, The World and the privacy page. */
:root { --site-language-height: 45px; }
html.has-site-language { scroll-padding-top: calc(88px + var(--site-language-height)); }
/* Keep the existing decorative circle inside its section on small screens. */
html.has-site-language .pain-section { overflow: clip; }
.site-language-offset-header { top: var(--site-language-height) !important; }
.site-language {
  position: sticky;
  top: 0;
  z-index: 240;
  min-height: var(--site-language-height);
  border-bottom: 1px solid #ded5ca;
  background: #f8f4ed;
  color: #312722;
  font: 500 12px/1.4 "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site-language *, .site-language *::before, .site-language *::after { box-sizing: border-box; }
.site-language [hidden] { display: none !important; }
.site-language__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(var(--site-language-height) - 1px);
  margin-inline: auto;
}
.site-language__caption { color: #71645c; font-size: 11px; letter-spacing: .025em; }
.site-language :where(button, select) { font: inherit; }
.site-language__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #312722;
  font-weight: 700 !important;
  white-space: nowrap;
  cursor: pointer;
}
.site-language__toggle svg { flex: 0 0 17px; }
.site-language__current { padding: 3px 5px; border: 1px solid #d7ccbd; border-radius: 5px; font-size: 10px; line-height: 1; letter-spacing: .04em; }
.site-language__toggle:hover, .site-language__toggle[aria-expanded="true"] { background: #eae2d8; }
.site-language__chevron { font-size: 17px; line-height: 1; transform: translateY(-2px); }
.site-language__toggle[aria-expanded="true"] .site-language__chevron { transform: rotate(180deg) translateY(-2px); }
.site-language__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 68px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #ded5ca;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 18px 50px #1d171433;
  color: #312722;
  text-align: left;
}
.site-language__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.site-language__heading h2 { margin: 0; color: #1d1714; font: 700 17px/1.35 "Plus Jakarta Sans", Arial, sans-serif; }
.site-language__close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -12px -10px -8px 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #71645c;
  font-size: 25px !important;
  cursor: pointer;
}
.site-language__close:hover { background: #f0e9e0; }
.site-language__intro { margin: 5px 0 17px; color: #71645c; font-size: 12px; }
.site-language__choices { display: grid; gap: 8px; }
.site-language__choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border: 1px solid #ded5ca;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #1d1714;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.site-language__choice:hover { border-color: #b93a12; background: #fff3ed; }
.site-language__choice[aria-pressed="true"] { border-color: #b93a12; background: #fff3ed; color: #913012; }
.site-language__choice-state { color: #71645c; font-size: 11px; font-weight: 500; }
.site-language__status { margin: 12px 0 8px; color: #65564c; font-size: 12px; line-height: 1.55; }
.site-language__panel--error .site-language__status { color: #8a3214; }
.site-language__note { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #ebe4da; color: #71645c; font-size: 11px; line-height: 1.6; }
.site-language__note a { color: #65564c; text-decoration: underline; text-underline-offset: 3px; }
.site-language :is(button, a, select):focus-visible { outline: 3px solid #b93a12; outline-offset: 3px; }
@media (max-width: 580px) {
  .site-language__inner { width: calc(100% - 24px); }
  .site-language__caption { font-size: 10px; letter-spacing: 0; }
  .site-language__toggle { gap: 6px; padding-inline: 6px; font-size: 12px; }
  .site-language__panel { right: 0; padding: 18px; }
}
@media (max-width: 359px) { .site-language__caption { display: none; } }
