/* Body Nutrition – brands directory and CMS header. */
.bn-brands-page .bn-directory-hero[hidden] { display: none !important; }
.bn-brands-page .bn-directory-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px, 265px); align-items: center; gap: 30px; margin: 0 0 10px; padding: 28px 30px; border: 1px solid #d9eee3; border-radius: 12px; background: linear-gradient(120deg, #effbf5 0%, #f9fffb 100%); color: #28394a; }
.bn-brands-page .bn-directory-hero-kicker { display: block; margin-bottom: 7px; color: #218659; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bn-brands-page .bn-directory-hero h1 { margin: 0 0 12px; color: #28394a; font-size: clamp(1.55rem, 2.5vw, 2.4rem); line-height: 1.16; font-weight: 800; }
.bn-brands-page .bn-directory-hero-summary { display: -webkit-box; max-width: 68ch; margin: 0; color: #485c60; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bn-brands-page .bn-directory-hero-image { display: grid; place-items: center; min-height: 140px; overflow: hidden; padding: 7px; border: 1px solid #e1ebe5; border-radius: 12px; background: #fff; box-shadow: 0 6px 15px rgba(27, 79, 54, .07); }
.bn-brands-page .bn-directory-hero-image img { display: block; width: 100%; height: 137px; max-width: none; object-fit: cover; object-position: top left; }
.bn-brands-page .bn-directory-hero + #js-manufacturer-info { margin-top: 0; }
.bn-brands-page .bn-directory-hero:not([hidden]) + .see-more-wrapper > .see-more-content.collapsed { max-height: 0 !important; }
.bn-brands-page .see-more-toggle { display: inline-flex; align-items: center; min-height: 42px; margin: 5px 0 16px; padding: 8px 17px; border: 1px solid #cce8d6; border-radius: 8px; background: #fff; color: #218659; font-weight: 700; cursor: pointer; }
.bn-brands-page .see-more-toggle:hover { border-color: #39ad76; background: #f1faf4; }
.bn-brands-index { margin: 24px 0 40px; color: #28394a; }
.bn-brands-index [hidden] { display: none !important; }
.bn-brands-index .bn-brands-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 16px; }
.bn-brands-index .bn-brands-search-label { flex: 0 0 100%; margin: 0; font-weight: 700; }
.bn-brands-index .bn-brands-search { width: min(100%, 390px); min-height: 46px; padding: 10px 15px; border: 1px solid #d9e9e0; border-radius: 10px; background: #fff; color: #28394a; font: inherit; }
.bn-brands-index .bn-brands-search:focus-visible { outline: 2px solid #27a872; outline-offset: 2px; }
.bn-brands-index .bn-brands-status { color: #52666a; }
.bn-brands-index .bn-brands-letters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 20px; margin: 0; border-bottom: 1px solid #e3eee8; }
.bn-brands-index .bn-brands-letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 7px; border: 1px solid #d6eadf; border-radius: 8px; background: #f1faf5; color: #207d53; font-weight: 700; text-decoration: none; }
.bn-brands-index .bn-brands-letters a:hover, .bn-brands-index .bn-brands-letters a:focus-visible { background: #2fae79; color: #fff; }
.bn-brands-index .bn-brands-featured { margin: 26px 0 29px; }
.bn-brands-index .bn-brands-featured h2 { margin: 0 0 12px; color: #28394a; font-size: 1.3rem; }
.bn-brands-index .bn-brands-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bn-brands-index .bn-brands-featured-card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 117px; padding: 17px; border: 1px solid #dcebe3; border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(29, 69, 51, .05); color: #28394a; font-size: 1.08rem; font-weight: 700; text-decoration: none; }
.bn-brands-index .bn-brands-featured-card small { color: #238657; font-size: .8rem; font-weight: 600; }
.bn-brands-index .bn-brands-featured-card:hover { border-color: #60be8f; color: #238657; text-decoration: none; }
.bn-brands-index .bn-brands-guide[hidden] { display: none !important; }
.bn-brands-index .bn-brands-guide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 26px; padding: 17px 19px; border: 1px solid #d6eddf; border-radius: 10px; background: #f1fbf5; }
.bn-brands-index .bn-brands-guide p { flex: 1 1 400px; margin: 0; color: #304851; line-height: 1.5; }
.bn-brands-index .bn-brands-guide a { display: inline-flex; align-items: center; min-height: 42px; color: #137b4e; font-weight: 700; white-space: nowrap; text-decoration: none; }
.bn-brands-index .bn-brands-guide a:hover, .bn-brands-index .bn-brands-guide a:focus-visible { text-decoration: underline; }
.bn-brands-index .bn-brands-list { display: block; }
.bn-brands-index .bn-brands-group { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px; margin: 0; padding: 17px 0; border-top: 1px solid #e3eee8; scroll-margin-top: 86px; }
.bn-brands-index .bn-brands-group:first-child { border-top: 0; }
.bn-brands-index .ms-letter { margin: 0; color: #248b5d; font-size: 1.5rem; line-height: 1.3; }
.bn-brands-index .bn-brands-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px 12px; padding: 0; margin: 0; list-style: none; }
.bn-brands-index .bn-brands-grid li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.bn-brands-index .bn-brands-grid a { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 46px; padding: 10px 12px; border: 1px solid #e3eee8; border-radius: 8px; background: #f9fcfa; color: #28394a; text-decoration: none; overflow-wrap: anywhere; }
.bn-brands-index .bn-brands-grid a span:last-child { flex: none; color: #2da872; }
.bn-brands-index .bn-brands-grid a:hover, .bn-brands-index .bn-brands-grid a:focus-visible { border-color: #60be8f; color: #176b45; text-decoration: none; }
.bn-brands-index .bn-brands-no-results { margin: 20px 0; }
@media (max-width: 850px) {
  .bn-brands-index .bn-brands-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bn-brands-index .bn-brands-featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .bn-brands-page .bn-directory-hero { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .bn-brands-page .bn-directory-hero-image { display: none; }
  .bn-brands-page .bn-directory-hero h1 { font-size: 1.65rem; }
  .bn-brands-index .bn-brands-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bn-brands-index .bn-brands-tools { align-items: stretch; }
  .bn-brands-index .bn-brands-search { width: 100%; }
  .bn-brands-index .bn-brands-status { flex: 0 0 100%; }
  .bn-brands-index .bn-brands-letters a { min-width: 44px; min-height: 44px; }
}
@media (max-width: 420px) {
  .bn-brands-index .bn-brands-group { grid-template-columns: 31px minmax(0,1fr); gap: 7px; }
  .bn-brands-index .bn-brands-grid { grid-template-columns: 1fr; }
  .bn-brands-index .bn-brands-featured-card { padding: 12px; }
}
