/* Clear, touch-friendly locale control for the animal imaging page. */
.lume-animal-language { position: relative; flex: 0 0 auto; }
.lume-animal-language .animal-lang-details { position: relative; }
.lume-animal-language .animal-lang-details > summary {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .48rem;
  min-height: 44px; padding: .45rem .8rem; border: 1px solid #cbd5cb; border-radius: 7px;
  background: #fff; color: #17382f; font: inherit; font-size: 13px; font-weight: 700;
  list-style: none; cursor: pointer; white-space: nowrap; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.lume-animal-language .animal-lang-details > summary::-webkit-details-marker { display: none; }
.lume-animal-language .animal-lang-details > summary::before,
.lume-animal-language .animal-lang-details > summary::after { content: none !important; display: none !important; }
.lume-animal-language .animal-lang-details > summary:hover,
.lume-animal-language .animal-lang-details[open] > summary { border-color: #537a50; background: #f5f8f1; box-shadow: 0 0 0 2px rgba(83,122,80,.1); }
.lume-animal-language .animal-lang-details > summary:focus-visible { outline: 3px solid #799a43; outline-offset: 3px; }
.animal-lang-globe { width: 18px; height: 18px; fill: none; stroke: #496d44; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.animal-lang-title { color: #526057; }
.animal-lang-current { color: #17382f; }
.animal-lang-chevron { color: #526057; transition: transform .16s ease; }
.animal-lang-details[open] .animal-lang-chevron { transform: rotate(180deg); }
.animal-lang-panel {
  position: absolute; z-index: 130; top: calc(100% + 8px); inset-inline-start: 0; inset-inline-end: auto;
  width: min(370px, calc(100vw - 24px)); max-height: min(74vh, 540px); overflow: auto;
  padding: 14px; box-sizing: border-box; border: 1px solid #d4ddd2; border-radius: 10px;
  background: #fcfdf9; box-shadow: 0 18px 42px rgba(23,56,47,.18); text-align: start;
}
.animal-lang-heading { margin: 0; color: #17382f; font-size: 15px; font-weight: 750; }
.animal-lang-note { margin: 6px 0 10px; color: #56645b; font-size: 12px; line-height: 1.55; }
.animal-lang-options { display: grid; gap: 3px; }
.animal-lang-option {
  display: grid !important; grid-template-columns: minmax(0,1fr) auto 1rem; align-items: center; gap: .65rem;
  min-height: 42px; padding: .48rem .6rem !important; border-radius: 6px; color: #17382f !important;
  text-decoration: none !important; font-size: 13px; font-weight: 650; box-sizing: border-box;
}
.animal-lang-option:hover { background: #edf3e8; }
.animal-lang-option:focus-visible { outline: 3px solid #799a43; outline-offset: 1px; }
.animal-lang-option.is-current { background: #e7efe1; color: #17382f !important; }
.animal-lang-option-destination { color: #68766b; font-size: 11px; font-weight: 500; white-space: nowrap; }
.animal-lang-check { color: #496d44; font-size: 13px; text-align: center; }
@media (max-width: 980px) {
  .lume-animal-language:not(.lume-mobile-menu .lume-animal-language) .animal-lang-panel { inset-inline-start: 0; inset-inline-end: auto; }
  .lume-mobile-menu .lume-animal-language { display: block; margin: .65rem 0 .2rem; padding: .6rem .2rem .1rem; border-top: 1px solid #d8dfd5; }
  .lume-mobile-menu .animal-lang-details > summary { width: 100%; justify-content: flex-start; box-sizing: border-box; }
  .lume-mobile-menu .animal-lang-current { margin-inline-end: auto; }
  .lume-mobile-menu .animal-lang-panel { position: static; width: 100%; max-height: 50vh; margin-top: 7px; box-shadow: none; }
}
@media (max-width: 600px) {
  .lume-animal-language .animal-lang-panel { position: fixed; inset-inline: 12px; top: 68px; width: auto; max-height: calc(100dvh - 84px); }
}
@media (prefers-reduced-motion: reduce) {
  .lume-animal-language .animal-lang-details > summary, .animal-lang-chevron { transition: none; }
}

.animal-lang-details:not([open]) > .animal-lang-panel { display:none!important; }
.lume-topnav > .lume-animal-language .animal-lang-panel { inset-inline-start:auto; inset-inline-end:0; }
.animal-lang-option { min-height:44px; }
@media(max-width:980px) {
 .lume-mobile-menu .animal-lang-panel { position:static!important; inset:auto!important; width:100%; max-height:none; }
}
