/* LMYC polish — FAB stack, lang dock, spacing */

/* Easy Read removed sitewide */
.lmyc-a11y {
  display: none !important;
}

/* Language: hide header switch — bottom-left dock on all screen sizes */
#site-header .lmyc-lang-switch--header,
#site-header .lmyc-header-actions .lmyc-lang-switch--header {
  display: none !important;
}

@media screen and (max-width: 989px) {
  /* Hide Contact FAB — Contact Us lives in the menu */
  .lmyc-support-fab {
    display: none !important;
  }

  /* Two-button FAB stack: AI bottom, WhatsApp above */
  .lmyc-class-guide-fab {
    bottom: max(1rem, env(safe-area-inset-bottom)) !important;
  }

  .lmyc-whatsapp-fab {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem + 0.7rem) !important;
    right: max(1rem, env(safe-area-inset-right)) !important;
  }

  body.lmyc-contact-page .lmyc-whatsapp-fab {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem + 0.7rem) !important;
  }

  body.lmyc-contact-page .lmyc-class-guide-fab {
    bottom: max(1rem, env(safe-area-inset-bottom)) !important;
  }

  .lmyc-class-guide-nudge {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem + 0.85rem) !important;
    right: max(1rem, env(safe-area-inset-right)) !important;
    max-width: min(14rem, calc(100vw - 6.5rem));
  }
}

/* Fixed language dock — bottom-left (all screen sizes) */
.lmyc-lang-dock {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 99955;
  display: block;
}

.lmyc-lang-dock .lmyc-lang-switch {
  position: relative;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(253, 248, 243, 0.96);
  border: 1.5px solid rgba(66, 89, 54, 0.22);
  box-shadow: 0 10px 28px rgba(48, 61, 28, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.lmyc-lang-dock .lmyc-lang-switch__slider {
  position: absolute;
  top: 0.28rem;
  left: 0.28rem;
  width: calc(50% - 0.28rem);
  height: calc(100% - 0.56rem);
  border-radius: 999px;
  background: linear-gradient(165deg, #425936 0%, #303d1c 100%);
  box-shadow: 0 2px 10px rgba(48, 61, 28, 0.25);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.lmyc-lang-dock .lmyc-lang-switch.is-zh .lmyc-lang-switch__slider {
  transform: translateX(100%);
}

.lmyc-lang-dock .lmyc-lang-switch__btn {
  position: relative;
  z-index: 1;
  min-width: 2.85rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(66, 89, 54, 0.78);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.22s ease;
}

.lmyc-lang-dock .lmyc-lang-switch__btn.is-active {
  color: #fdf8f3;
  background: transparent;
  box-shadow: none;
}

.lmyc-lang-dock .lmyc-lang-switch__sep {
  display: none;
}

/* Header / hero Since 1998 */
.lmyc-header-bar-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.lmyc-header-bar-since,
#site-header .lmyc-header-bar-since {
  font-family: var(--font-body-family, system-ui, sans-serif);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D96BA2 !important;
  white-space: nowrap;
  margin-top: -0.62rem;
  line-height: 0.82;
}

#site-header .lmyc-header-bar-logo {
  margin-bottom: -0.24rem !important;
}

@media screen and (min-width: 1500px) {
  #site-header .lmyc-header-bar-logo-link {
    flex-direction: row !important;
    gap: 0 !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 1499px) {
  body.lmyc-header-logo-page #site-header .lmyc-header-bar-logo-wrap {
    display: flex;
  }

  body.lmyc-header-logo-page #site-header .lmyc-header-bar-since {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    margin-top: -0.56rem;
    line-height: 0.82;
  }
}

/* Why LMYC — tighter on mobile */
@media screen and (max-width: 767px) {
  .lmyc-why-reasons li {
    gap: 0.9rem;
    padding: 0.8rem 0.9rem 0.8rem 0.75rem;
  }

  #why-lmyc .lmyc-practice-orb__frame {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.lmyc-why-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #425936;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.lmyc-why-youtube-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Workshops / Instagram clarity */
.lmyc-workshops-events__social-label {
  margin: 0 auto 0.85rem;
  max-width: 28rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #425936;
  text-align: center;
}

.lmyc-workshops-events__feed-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(209, 142, 149, 0.12);
  color: #a86a72;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lmyc-workshops-events__feed-label svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.lmyc-workshops-events__cta {
  gap: 0.75rem;
}

.lmyc-workshops-events__cta-icon {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.lmyc-workshops-events__cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.lmyc-workshops-events__cta-text strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.lmyc-workshops-events__cta-text span {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.92;
}

@media screen and (max-width: 575px) {
  .lmyc-workshops-events__cta {
    justify-content: flex-start;
    min-height: 4rem;
    padding: 0.95rem 1.35rem;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}
