.ehf-language-dialog[hidden],
.ehf-google-translate {
  display: none !important;
}

.ehf-language-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ehf-language-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(10, 33, 18, 0.72);
  cursor: pointer;
}

.ehf-language-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 42px 38px 34px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  color: #303030;
  text-align: center;
}

.ehf-language-panel > p:first-of-type {
  margin: 0 0 24px;
  color: #1a4927;
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.ehf-language-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #1a4927;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.ehf-language-options {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ehf-language-options button {
  min-width: 130px;
  padding: 13px 22px;
  border: 1px solid #1a4927;
  background: #1a4927;
  color: #fff;
  font: 600 14px/1 "Raleway", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.ehf-language-options button:hover,
.ehf-language-options button:focus-visible {
  background: #fff;
  color: #1a4927;
}

.ehf-language-note {
  margin: 20px 0 0;
  color: #777;
  font-size: 12px;
}

@media (max-width: 600px) {
  /*
   * Slider Revolution's fixed layer coordinates place the second title line
   * behind the photograph on narrow screens. Use one responsive title block
   * so the full name remains readable without changing the desktop slider.
   */
  #slider-1-slide-12-layer-0,
  #slider-1-slide-12-layer-9 {
    display: none !important;
  }

  #rev_slider_1_1_wrapper::after {
    content: "European Hunting\A Foundation";
    position: absolute;
    z-index: 30;
    left: 24px;
    bottom: 17%;
    white-space: pre-line;
    color: #303b31;
    font-family: "Work Sans", "Raleway", Arial, sans-serif;
    font-size: clamp(35px, 10vw, 44px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-shadow:
      0 1px 1px rgba(255, 255, 255, 0.75),
      0 0 16px rgba(255, 255, 255, 0.6);
    pointer-events: none;
  }

  .mobile_menu_button {
    width: 48px !important;
    height: 48px !important;
  }

  .mobile_menu_button span {
    font-size: 20px !important;
  }

  .ehf-language-panel {
    padding: 38px 20px 28px;
  }

  .ehf-language-options {
    flex-direction: column;
  }

  .ehf-language-options button {
    width: 100%;
  }
}