.jliving-video-sound {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 32px 32px !important;
}
.jliving-video-sound::before { content: none !important; }
.jliving-video-sound[aria-label="Turn sound on"] { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZmlsbD0iIzIwMzEzYSIgZD0iTTUgMjVoMTRsMTctMTR2NDJMMTkgMzlINXoiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMyMDMxM2EiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI0LjUiIGQ9Ik00MyAyM2wxNSAxOE01OCAyM0w0MyA0MSIvPjwvc3ZnPg==") !important; }
.jliving-video-sound[aria-label="Turn sound off"] { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZmlsbD0iIzIwMzEzYSIgZD0iTTUgMjVoMTRsMTctMTR2NDJMMTkgMzlINXoiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMyMDMxM2EiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNNDIgMjNjNiA1IDYgMTMgMCAxOE00OSAxNmMxMSA5IDExIDIzIDAgMzIiLz48L3N2Zz4=") !important; }.jliving-video-sound {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.jliving-video-sound::before {
  content: "🔊";
  font-size: 24px;
  line-height: 1;
  filter: grayscale(1) brightness(.35) contrast(1.4);
}

@media (max-width: 600px) {
  section.wp-block-group[style*="background-color:#223033"] > h1 + h2.wp-block-heading {
    white-space: nowrap !important;
    font-size: clamp(1rem, 4.6vw, 1.35rem) !important;
    letter-spacing: -0.025em !important;
  }
}

@media (max-width: 600px) {
  .jliving-persistent-cta a {
    white-space: nowrap !important;
    font-size: 16px !important;
    line-height: 1 !important;
    padding: 16px 22px !important;
  }
}
/* Compact language selector: matches the gold sound control. */
#gt_float_wrapper {
  right: 20px !important;
  bottom: 20px !important;
}
.gt_float_switcher {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 50% !important;
  background: #d4ae68 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22) !important;
  overflow: visible !important;
}
.gt_float_switcher .gt-current-lang {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gt_float_switcher .gt-current-lang img {
  width: 28px !important;
  height: auto !important;
  margin: 0 !important;
}
.gt_float_switcher .gt-lang-code,
.gt_float_switcher .gt_float_switcher-arrow {
  display: none !important;
}
.gt_float_switcher .gt_options {
  right: 0 !important;
  bottom: 64px !important;
  border-radius: 12px !important;
}

/* Language selector: text labels instead of flags. */
.gt_float_switcher .gt-current-lang img,
.gt_float_switcher .gt_options img,
.gt_float_switcher .gt_float_switcher-arrow {
  display: none !important;
}
.gt_float_switcher .gt-current-lang .gt-lang-code {
  display: block !important;
  font-size: 0 !important;
  color: #223033 !important;
}
.gt_float_switcher .gt-current-lang .gt-lang-code::after {
  content: \"EN\";
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.gt_float_switcher:has(.gt_options a.gt-current[data-gt-lang=\"zh-CN\"]) .gt-current-lang .gt-lang-code::after { content: \"CN\"; }
.gt_float_switcher:has(.gt_options a.gt-current[data-gt-lang=\"mi\"]) .gt-current-lang .gt-lang-code::after { content: \"MI\"; }
.gt_float_switcher .gt_options {
  width: 56px !important;
  min-width: 56px !important;
  padding: 4px 0 !important;
  background: #d4ae68 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.22) !important;
  border-radius: 12px !important;
}
.gt_float_switcher .gt_options a {
  height: 38px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  color: #223033 !important;
}
.gt_float_switcher .gt_options a::after {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.gt_float_switcher .gt_options a[data-gt-lang=\"zh-CN\"]::after { content: \"CN\"; }
.gt_float_switcher .gt_options a[data-gt-lang=\"en\"]::after { content: \"EN\"; }
.gt_float_switcher .gt_options a[data-gt-lang=\"mi\"]::after { content: \"MI\"; }

/* GTranslate: compact circular language selector */
#gt_float_wrapper { right: 20px !important; bottom: 20px !important; }
#gt_float_wrapper .gt_float_switcher,
.gt_float_switcher {
  box-sizing: border-box !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #d4ae68 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.22) !important;
  overflow: visible !important;
}
#gt_float_wrapper .gt_float_switcher .gt-selected,
#gt_float_wrapper .gt_float_switcher .gt-current-lang,
.gt_float_switcher .gt-selected,
.gt_float_switcher .gt-current-lang {
  box-sizing: border-box !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.gt_float_switcher img,
.gt_float_switcher .gt_float_switcher-arrow { display: none !important; }
.gt_float_switcher .gt-current-lang .gt-lang-code {
  display: block !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  color: #223033 !important;
}
.gt_float_switcher .gt-current-lang .gt-lang-code::after {
  content: 'EN' !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.gt_float_switcher:has(.gt_options a.gt-current[data-gt-lang='zh-CN']) .gt-current-lang .gt-lang-code::after { content: 'CN' !important; }
.gt_float_switcher:has(.gt_options a.gt-current[data-gt-lang='mi']) .gt-current-lang .gt-lang-code::after { content: 'MI' !important; }
.gt_float_switcher .gt_options {
  width: 56px !important;
  min-width: 56px !important;
  padding: 4px 0 !important;
  background: #d4ae68 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.22) !important;
  border-radius: 12px !important;
}
.gt_float_switcher .gt_options a {
  height: 38px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  color: #223033 !important;
}
.gt_float_switcher .gt_options a::after {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.gt_float_switcher .gt_options a[data-gt-lang='zh-CN']::after { content: 'CN' !important; }
.gt_float_switcher .gt_options a[data-gt-lang='en']::after { content: 'EN' !important; }
.gt_float_switcher .gt_options a[data-gt-lang='mi']::after { content: 'MI' !important; }

/* Mobile navigation: keep the page visible behind the open menu. */
@media (max-width: 781px) {
  .wp-block-navigation__responsive-container.is-menu-open {
    background-color: rgba(15, 15, 15, 0.42) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
}
