/* Bothends Farms V39 — scoped About/Contact refinements only */

/* ABOUT: keep opening image collage compact on phones so it cannot cover copy */
@media (max-width: 767.98px) {
  body.bf-about-page .about-one .row { align-items: start !important; }
  body.bf-about-page .about-one__thumb {
    position: relative !important; display: grid !important; grid-template-columns: 1fr 1fr !important;
    gap: 10px !important; width: 100% !important; min-height: 0 !important; height: auto !important;
    margin: 0 0 24px !important; padding: 0 !important; overflow: hidden !important;
  }
  body.bf-about-page .about-one__thumb__item,
  body.bf-about-page .about-one__thumb__small-item {
    position: relative !important; inset: auto !important; transform: none !important;
    width: 100% !important; height: 185px !important; margin: 0 !important; overflow: hidden !important;
    border-radius: 16px !important;
  }
  body.bf-about-page .about-one__thumb__item img,
  body.bf-about-page .about-one__thumb__small-item > img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important;
  }
  body.bf-about-page .about-one__thumb__shape { display: none !important; }
  body.bf-about-page .about-one__video { transform: scale(.78) !important; transform-origin: center !important; }
  body.bf-about-page .about-one__content { position: relative !important; z-index: 2 !important; clear: both !important; }
}

/* ABOUT: Our Best Service is intentionally dark in both website themes */
body.bf-about-page #services,
body.bf-about-page #services .container,
body.bf-about-page #services .service-card-two__inner {
  background-color: #0b1f18 !important;
}
body.bf-about-page #services .service-one__bg { opacity: .10 !important; }
body.bf-about-page #services .sec-title__tagline,
body.bf-about-page #services .sec-title__title,
body.bf-about-page #services .service-card-two__title,
body.bf-about-page #services .service-card-two__title a,
body.bf-about-page #services .service-card-two__text,
body.bf-about-page #services i { color: #fff !important; opacity: 1 !important; visibility: visible !important; }

/* ABOUT: FAQ receives a coherent dark panel treatment with readable accordions */
body.bf-about-page .faq-one { background: #071a14 !important; }
body.bf-about-page .faq-one .sec-title__tagline,
body.bf-about-page .faq-one .sec-title__title,
body.bf-about-page .faq-one .faq-one__text,
body.bf-about-page .faq-one .faq-one__box__title,
body.bf-about-page .faq-one .faq-one__box li,
body.bf-about-page .faq-one .accrodion-title h4,
body.bf-about-page .faq-one .accrodion-content p,
body.bf-about-page .faq-one .inner__count,
body.bf-about-page .faq-one i { color:#fff !important; opacity:1 !important; visibility:visible !important; }
body.bf-about-page .faq-page__accordion .accrodion,
body.bf-about-page .faq-one__box,
body.bf-about-page .faq-one__content__inner {
  background: rgba(17,51,39,.96) !important; border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 16px !important; box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
}
body.bf-about-page .faq-page__accordion .accrodion { margin-bottom: 12px !important; overflow:hidden !important; }
body.bf-about-page .faq-page__accordion .accrodion-title { padding: 18px 20px !important; }
body.bf-about-page .faq-page__accordion .accrodion-content .inner { padding: 0 20px 18px !important; }
body.bf-about-page .faq-one__content__inner { display:grid !important; grid-template-columns: 1.25fr .75fr !important; gap:18px !important; padding:18px !important; align-items:stretch !important; }
body.bf-about-page .faq-one__content__thumb { min-height: 280px !important; overflow:hidden !important; border-radius:14px !important; }
body.bf-about-page .faq-one__content__thumb img { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; }
@media(max-width:767.98px){
  body.bf-about-page .faq-one__content__inner { grid-template-columns:1fr !important; }
  body.bf-about-page .faq-one__content__thumb { min-height:210px !important; }
}

/* ABOUT: team cards use equal image frames and clean copy */
body.bf-about-page .team-one .team-card { height:100% !important; }
body.bf-about-page .team-one .team-card__image__item { height:310px !important; overflow:hidden !important; }
body.bf-about-page .team-one .team-card__image__item > img { width:100% !important; height:100% !important; object-fit:cover !important; object-position:center top !important; display:block !important; }
body.bf-about-page .team-one .team-card__content { min-height:190px !important; }
body.bf-about-page .team-one .bf-team-summary { margin:8px 0 0 !important; font-size:13px !important; line-height:1.55 !important; }
@media(max-width:767.98px){ body.bf-about-page .team-one .team-card__image__item{height:260px !important;} }

/* ABOUT: recent-news cards and photos align evenly */
body.bf-about-page .blog-one .row { align-items:stretch !important; }
body.bf-about-page .blog-one .col-lg-4 { display:flex !important; }
body.bf-about-page .blog-one .blog-card { width:100% !important; height:100% !important; display:flex !important; flex-direction:column !important; }
body.bf-about-page .blog-one .blog-card__image { height:245px !important; overflow:hidden !important; }
body.bf-about-page .blog-one .blog-card__image img { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; opacity:1 !important; visibility:visible !important; }
body.bf-about-page .blog-one .blog-card__content { flex:1 1 auto !important; }
@media(max-width:767.98px){ body.bf-about-page .blog-one .blog-card__image{height:190px !important;} }

/* Contact: imported Home form keeps Home form styling context */
body.bf-contact-page .contact-three__form { width:100% !important; }
