/* Bothends Farms V38 — scoped fixes only. */

/* Keep the mobile dropdown arrows instantaneous and reliable without changing the menu design. */
.mobile-nav__content .main-menu__list li a button.bf-mobile-submenu-toggle {
  transition: transform .08s ease, background-color .08s ease, color .08s ease !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  flex: 0 0 30px;
}
.mobile-nav__content .main-menu__list li > ul {
  transition: none !important;
}

/* About page: force readable copy in both themes while preserving image-banner/header/footer contrast. */
html[data-bf-theme="dark"] body.bf-about-page :is(
  .about-one,.about-two,.about-three,.why-choose-one,.why-choose-two,.package-one,
  .service-one,.service-two,.testimonial-one,.testimonial-two,.team-one,.contact-top,
  .contact-one,.contact-three,.funfact-one,.faq-one,.cta-one,.project-one
) :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,em,blockquote,.sec-title__title,.sec-title__tagline) {
  color: #f5fff7 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
html[data-bf-theme="light"] body.bf-about-page :is(
  .about-one,.about-two,.about-three,.why-choose-one,.why-choose-two,.package-one,
  .service-one,.service-two,.testimonial-one,.testimonial-two,.team-one,.contact-top,
  .contact-one,.contact-three,.funfact-one,.faq-one,.cta-one,.project-one
) :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,em,blockquote,.sec-title__title,.sec-title__tagline) {
  color: #10261b !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none;
}
/* Elements drawn over photographs/dark brand panels stay white in either theme. */
body.bf-about-page :is(.page-header,.main-slider,.cta-one,.site-footer,.mobile-nav__content) :is(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small) {
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.bf-about-page .garlon-btn,
body.bf-about-page .garlon-btn :is(span,i) {
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: currentColor !important;
}
