.crays-language-switcher,
.crays-top-nav-language {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.company-header-actions,
.upreit-header-actions,
.contact-header-actions,
.strategy-header-actions,
.resources-header-actions,
.ecosystem-header-actions {
  gap: 14px;
}

.crays-language-summary {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--crays-ink, #071a2d);
  cursor: pointer;
  list-style: none;
}

.crays-language-summary::-webkit-details-marker,
.crays-top-nav-language > summary::-webkit-details-marker {
  display: none;
}

.crays-language-summary svg {
  width: 27px;
  height: 27px;
}

.crays-language-menu,
.crays-top-nav-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: none;
  min-width: 202px;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(7, 26, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(7, 26, 45, 0.18);
}

.crays-language-switcher[open] .crays-language-menu,
.crays-top-nav-language[open] .crays-top-nav-language-menu {
  display: flex;
}

.crays-language-item,
.crays-top-nav-language-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #071a2d;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
}

.crays-language-item:hover,
.crays-language-item[aria-pressed="true"],
.crays-top-nav-language-item:hover,
.crays-top-nav-language-item[aria-pressed="true"] {
  background: rgba(243, 18, 72, 0.08);
}

.crays-language-flag,
.crays-top-nav-language-flag {
  display: block;
  width: 23px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(7, 26, 45, 0.08);
}

[data-i18n] {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  body,
  #SITE_CONTAINER,
  #site-root,
  #masterPage,
  #PAGES_CONTAINER,
  #SITE_PAGES,
  #pageBackground_c1dmp {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: clip;
  }

  body:not(.responsive) #site-root,
  #SITE_CONTAINER,
  #site-root,
  #masterPage,
  #PAGES_CONTAINER,
  #SITE_PAGES,
  #pageBackground_c1dmp {
    width: 100% !important;
  }
}

.crays-i18n-text-tight {
  overflow-wrap: anywhere;
  word-break: normal;
}

html[lang="de"] .company-cta-title,
html[lang="fr"] .company-cta-title,
html[lang="pt"] .company-cta-title,
html[lang="it"] .company-cta-title,
html[lang="de"] .upreit-cta-title,
html[lang="fr"] .upreit-cta-title,
html[lang="pt"] .upreit-cta-title,
html[lang="it"] .upreit-cta-title {
  font-size: clamp(30px, 3.8vw, 58px);
}

html[lang="de"] .company-card-title,
html[lang="pt"] .company-card-title,
html[lang="it"] .company-card-title {
  font-size: clamp(30px, 3.1vw, 48px);
}

html[lang="de"] .contact-association-text,
html[lang="fr"] .contact-association-text,
html[lang="pt"] .contact-association-text,
html[lang="it"] .contact-association-text {
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.48;
}

html[lang="de"] .crays-community-text,
html[lang="es"] .crays-community-text,
html[lang="ca"] .crays-community-text,
html[lang="fr"] .crays-community-text,
html[lang="it"] .crays-community-text,
html[lang="pt"] .crays-community-text {
  font-size: clamp(15px, 0.96vw, 17px);
  line-height: 1.42;
}

html:not([lang="en"]) .crays-hero-overlay .hero-card-title-line,
html:not([lang="en"]) .crays-hero-overlay .hero-card-copy-line,
html:not([lang="en"]) .crays-hero-overlay .app-badge-title {
  white-space: normal;
}

html:not([lang="en"]) .crays-hero-overlay .hero-card-fund-title,
html:not([lang="en"]) .crays-hero-overlay .hero-card-lifestyle-title {
  font-size: 17px !important;
  line-height: 1.18 !important;
  letter-spacing: 0;
}

html:not([lang="en"]) .crays-hero-overlay .hero-card-copy-two-line {
  font-size: 12.8px;
  line-height: 1.32;
}

html:not([lang="en"]) .crays-hero-overlay .app-badge {
  gap: 8px;
  padding-inline: 7px;
}

html:not([lang="en"]) .crays-hero-overlay .app-badge-title {
  font-size: 10.2px;
  line-height: 1.12;
}

html:not([lang="en"]) .ecosystem-section-kicker--light {
  font-size: 11px;
  line-height: 1.08;
}

html:not([lang="en"]) .ecosystem-section-title--light {
  font-size: clamp(34px, 3.3vw, 40px);
  line-height: 1.03;
}

html:not([lang="en"]) .ecosystem-section-intro--light {
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .crays-language-summary {
    width: 36px;
    height: 36px;
  }

  .crays-language-summary svg {
    width: 23px;
    height: 23px;
  }
}
