/* EM2026 HMG — Footer additions on top of the parent footer.css */

/* =============================================
   BRAND COLUMN
   ============================================= */

.em-footer__brand-tagline {
  margin-bottom: 0.5rem;
}

.em-footer__brand-text {
  margin: 0 0 1.75rem;
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--em-footer-muted);
}

.em-footer__cta {
  background-color: var(--em-footer-gold);
  color: var(--em-footer-navy);
}

/* =============================================
   SPECIALIST BRANDS STRIP
   ============================================= */

.em-footer__group-text p:last-child {
  color: var(--em-footer-navy);
  font-size: .875rem;
}

.em-footer__brands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

/* Items shrink in proportion to their width, so the logos keep a matching height
   when the row has to squeeze. */
.em-footer__brands li {
  flex: 0 1 auto;
  min-width: 0;
}

.em-footer__brands a {
  display: block;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.em-footer__brands a:hover {
  opacity: 0.75;
}

/* Equal height, natural width — the logos have different aspect ratios. */
.em-footer__brands img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* =============================================
   DESKTOP (≥1200px)
   ============================================= */

@media (min-width: 1200px) {

  .em-footer__group-text {
    flex: 0 1 34rem;
    padding-right: 3.5rem;
    border-right: 1px solid rgba(var(--em-color-text-rgb), 0.25);
  }

  .em-footer__brands {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
  }
}