/* Manufacturer directory */
#content .glo-brand-directory {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 24px clamp(12px, 2vw, 26px) 36px;
}
.glo-brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
#content .glo-brand-directory-card {
  display: grid;
  grid-template-rows: 104px auto;
  align-items: center;
  justify-items: center;
  gap: 14px;
  padding: 18px 12px 15px;
  min-width: 0;
  border: 1px solid #e8e2d3;
  border-top: 3px solid #ffc400;
  border-radius: 10px;
  background: #fff;
  color: #292929;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 12px #2d21080a;
}
#content .glo-brand-directory-card:is(:hover, :focus-visible) {
  border-color: #d5a200;
  background: #fff9e6;
  color: #292929;
}
.glo-brand-directory-card:focus-visible { outline: 2px solid #826200; outline-offset: 3px; }
.glo-brand-directory-logo {
  display: grid;
  place-items: center;
  width: min(100%, 196px);
  min-width: 0;
  height: 100%;
}
.glo-brand-directory-logo :is(picture, img) { display: block; width: 100%; }
.glo-brand-directory-logo img { height: 90px; max-height: 100%; object-fit: contain; }
.glo-brand-directory-name { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }

/* Manufacturer listing header */
#content .glo-brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(11px, 1.45vw, 20px);
  margin: 8px 0 16px;
  border: 1px solid #e8e2d3;
  border-top: 3px solid #ffc400;
  border-radius: 12px;
  background: #fffaf0;
}
#content .glo-brand-hero:has(.glo-brand-hero-media) {
  grid-template-columns: minmax(92px, 144px) minmax(0, 1fr);
}
.glo-brand-hero-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 69px;
  padding: 7px;
  border: 1px solid #ede6d4;
  border-radius: 7px;
  background: #fff;
}
#content .glo-brand-hero-media :is(picture, img) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
#content .glo-brand-hero-media img {
  height: 54px;
  max-height: none;
  object-fit: contain;
}
.glo-brand-hero-copy { min-width: 0; overflow-wrap: anywhere; }
#content .glo-brand-hero-copy > .title { margin: 0 0 5px; }
#content .glo-brand-hero-copy h1 {
  margin: 0;
  padding: 0;
  color: #252525;
  font-size: clamp(22px, 2.05vw, 32px);
  line-height: 1.15;
}
#content .glo-brand-hero-copy > .desc {
  margin: 0;
  max-width: none;
  color: #45413a;
  font-size: 15px;
  line-height: 1.45;
}
#content .glo-brand-hero-copy > .desc > :is(p, ul, ol) { margin: 0 0 6px; }
#content .glo-brand-hero-copy > .desc > p:empty { display: none; }
#content .glo-brand-hero-copy > .desc > :is(h2, h3) {
  margin: 6px 0 3px;
  font-size: 17px;
  line-height: 1.3;
}
#content .glo-brand-hero-copy > .desc > :last-child { margin-bottom: 0; }
/* The three Skyrainbow photos share a paragraph with nonbreaking-space separators. */
#content .glo-brand-hero-copy > .desc > p:has(> .vc_single_image-img) {
  display: block;
  margin-block: 5px 4px;
  font-size: 0;
  line-height: 0;
}
#content .glo-brand-hero-copy > .desc > p > img.vc_single_image-img {
  display: inline-block;
  width: min(calc((100% - 16px) / 3), 162px) !important;
  height: auto !important;
  vertical-align: top;
  border-radius: 4px;
}
#content .glo-brand-hero-copy > .desc > p > img.vc_single_image-img + img.vc_single_image-img {
  margin-inline-start: 8px;
}
@media (max-width: 767.98px) {
  .glo-brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #content .glo-brand-hero:has(.glo-brand-hero-media) {
    grid-template-columns: minmax(80px, 105px) minmax(0, 1fr);
    align-items: center;
  }
  #content .glo-brand-hero:has(.glo-brand-hero-media) .glo-brand-hero-copy { display: contents; }
  #content .glo-brand-hero:has(.glo-brand-hero-media) .glo-brand-hero-copy > .desc { grid-column: 1 / -1; }
  #content .glo-brand-hero-media { min-height: 46px; padding: 5px; }
  #content .glo-brand-hero-media img { height: 36px; }
}
@media (max-width: 420px) {
  #content .glo-brand-directory-card { grid-template-rows: 74px auto; gap: 8px; }
  .glo-brand-directory-logo img { height: 66px; }
}

