/* Hondenhotel Amsterdam — professionele taalkeuze, V113 */

.dha-language > summary {
  gap: .42rem;
  min-width: 4.6rem;
  justify-content: center;
}

.dha-language > summary::after {
  margin-left: .08rem;
  font-size: .72rem;
  transition: transform .18s ease;
}

.dha-language[open] > summary::after {
  transform: rotate(180deg);
}

.dha-language-icon {
  width: 1.18rem;
  height: 1.18rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.dha-language .dha-language-code,
.dha-mobile-language .dha-language-code,
.dha-mobile-language .dha-mobile-language-label,
.dha-language-panel .dha-language-current span {
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
}

.dha-language-code {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
}

body .dha-language > .dha-language-panel {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  z-index: 7200;
  display: grid;
  width: min(29rem, calc(100vw - 2rem));
  min-width: 0;
  max-height: calc(100dvh - 6.5rem);
  align-content: start;
  gap: .35rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: .72rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: .9rem;
  background: #a90020;
  box-shadow: 0 1.15rem 2.75rem rgba(38, 0, 8, .4);
}

.dha-language-section-label {
  margin: 0;
  padding: .28rem .35rem .15rem;
  color: #ffd166;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.dha-language-other-label {
  margin-top: .25rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.dha-language-current {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .68rem .8rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .68rem;
  background: #720016;
  color: #fff;
  font-weight: 750;
  line-height: 1.25;
}

.dha-language-check {
  color: #ffd166 !important;
  font-size: 1rem;
  font-weight: 900;
}

.dha-language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .28rem;
}

body .dha-language-panel .dha-language-list > a,
body .dha-mobile-menu .dha-language-panel .dha-language-list > a {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  padding: .68rem .8rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  background: rgba(255, 255, 255, .075);
  color: #fff;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
}

body .dha-language-panel .dha-language-list > a:hover,
body .dha-language-panel .dha-language-list > a:focus-visible,
body .dha-mobile-menu .dha-language-panel .dha-language-list > a:hover,
body .dha-mobile-menu .dha-language-panel .dha-language-list > a:focus-visible {
  border-color: rgba(255, 209, 102, .85);
  background: #ffd166;
  color: #4b0010;
  outline: none;
}

.dha-language > summary:focus-visible,
.dha-mobile-language > summary:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

.dha-mobile-language {
  display: block;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

body .dha-mobile-menu .dha-mobile-language > summary {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 3.15rem;
  align-items: center;
  gap: .48rem;
  padding: .76rem 1rem;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 750;
  list-style: none;
}

body .dha-mobile-menu .dha-mobile-language > summary::after {
  margin-left: auto;
  content: "▾";
  font-size: .72rem;
  transition: transform .18s ease;
}

body .dha-mobile-menu .dha-mobile-language[open] > summary {
  background: rgba(255, 255, 255, .11);
}

body .dha-mobile-menu .dha-mobile-language[open] > summary::after {
  transform: rotate(180deg);
}

.dha-mobile-language-label {
  margin-left: .12rem;
  font-size: .9rem;
  font-weight: 750;
}

body .dha-mobile-menu .dha-mobile-language > .dha-language-panel {
  position: static;
  display: grid;
  width: auto;
  min-width: 0;
  max-height: none;
  gap: .35rem;
  overflow: visible;
  padding: .45rem .72rem .78rem;
  border: 0;
  border-radius: 0;
  background: #8c001b;
  box-shadow: none;
}

body .dha-mobile-menu .dha-mobile-language .dha-language-list {
  grid-template-columns: 1fr;
}

@media (max-width: 420px) {
  body .dha-language > .dha-language-panel {
    right: .35rem;
    left: .35rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dha-language > summary::after,
  body .dha-mobile-menu .dha-mobile-language > summary::after {
    transition: none;
  }
}
