/* Logo Band block
   Figma: Brand Refresh — node 465:476–479 */

.logo-band {
  background-color: #966655;
  padding-top: 2.375rem;
  padding-bottom: 2.375rem;
}

/* Remove the global "section+section { margin-top: 70px }" gap — the design
   runs these bands flush against what precedes them. */
section + .logo-band {
  margin-top: 0;
}

/* Title left, media right, both centred against the strip. */
.logo-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.logo-band__title {
  margin: 0;
  font-family: 'pp-hatton', Georgia, 'Times New Roman', serif;
  font-weight: 200;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.39;
  color: #fff5eb !important;
}

.logo-band__title em {
  font-style: italic;
  font-weight: 200;
}

/* The design's badge is 397px wide; cap there and let it shrink rather than
   stretch, since an uploaded logo can be any size. */
.logo-band__media {
  flex: 0 1 auto;
  max-width: 297px;
}

.logo-band__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* An embedded widget brings its own markup, so only constrain the outside. */
.logo-band__media iframe,
.logo-band__media embed,
.logo-band__media object {
  display: block;
  max-width: 100%;
  border: 0;
}

.logo-band__media > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .logo-band {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Stacked and centred — there is no room for the title and badge side by
     side once the strip narrows. */
  .logo-band__inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .logo-band__media {
    max-width: 80%;
  }
}
