/* Stylist chips: HTML pills (name and role as text) so they can be wider than the old images. */
.chip-flex.home-nav-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px;
  max-width: 940px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.chip-flex.home-nav-container > a.edmh-chip { display: flex; flex: 0 0 calc((100% - 56px) / 3); max-width: 290px; width: auto; }
.edmh-chip { display: flex; align-items: center; gap: 16px; padding: 8px 24px 8px 8px; background: #fff; border-radius: 999px;
  box-shadow: 0 0 16px rgba(224, 224, 255, .9); text-decoration: none; transition: box-shadow .25s, transform .25s; }
@media (hover: hover) { .edmh-chip:hover { box-shadow: 0 4px 22px rgba(172, 172, 233, .55); transform: translateY(-2px); } }
.edmh-chip:focus-visible { box-shadow: 0 4px 22px rgba(172, 172, 233, .55); }
.chip-flex.home-nav-container .edmh-chip-icon, .edmh-chip-icon { width: 50px; height: 50px; flex: none; border-radius: 50%; }
.edmh-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; text-align: left; }
.edmh-chip-name { color: #555; font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.edmh-chip-role { color: #9a9a9a; font-size: 15px; font-weight: 400; }
.edmh-chip.w--current { box-shadow: 0 0 0 1.5px var(--lilac, #adade9), 0 0 16px rgba(224, 224, 255, .9); }

@media (max-width: 767px) {
  .chip-flex.home-nav-container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-left: 20px; padding-right: 20px; }
  .chip-flex.home-nav-container > a.edmh-chip { max-width: none; width: 100%; }
  .chip-flex.home-nav-container > a.edmh-chip:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .edmh-chip { gap: 10px; padding: 6px 14px 6px 6px; }
  .chip-flex.home-nav-container .edmh-chip-icon, .edmh-chip-icon { width: 40px; height: 40px; }
  .edmh-chip-name { font-size: 15px; }
  .edmh-chip-role { font-size: 13px; }
}
/* Wide phones and small tablets: three across, centered, instead of two stretched pills */
@media (min-width: 560px) and (max-width: 767px) {
  .chip-flex.home-nav-container { display: flex; flex-wrap: wrap; justify-content: center; }
  .chip-flex.home-nav-container > a.edmh-chip,
  .chip-flex.home-nav-container > a.edmh-chip:last-child:nth-child(odd) { flex: 0 0 calc((100% - 24px) / 3); width: auto; max-width: 240px; grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .edmh-chip { transition: none; } .edmh-chip:hover { transform: none; } }

/* Circle portraits: the person's photo with their name below; five across, three on phones. */
.chip-flex.home-nav-container.edmh-portraits { display: grid; grid-template-columns: repeat(5, 112px); justify-content: space-between !important; gap: 36px 0; }
.chip-flex.home-nav-container.edmh-portraits > a.edmh-portrait { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 112px; max-width: none; padding: 0;
  background: none; border-radius: 0; box-shadow: none; transform: none; grid-column: auto; justify-self: auto; }
.chip-flex.home-nav-container.edmh-portraits .edmh-portrait .edmh-chip-icon { width: 112px; height: 112px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 16px rgba(224, 224, 255, .9); transition: box-shadow .25s, transform .25s; }
.edmh-portrait .edmh-chip-text { align-items: center; text-align: center; }
.edmh-portrait .edmh-chip-name { font-size: 16px; white-space: nowrap; }
@media (hover: hover) { .edmh-portrait:hover .edmh-chip-icon { box-shadow: 0 4px 22px rgba(172, 172, 233, .7); transform: translateY(-2px); } }
.edmh-portrait:focus-visible { outline: none; }
.edmh-portrait:focus-visible .edmh-chip-icon { box-shadow: 0 0 0 3px var(--lilac, #adade9); }
.edmh-portrait.w--current .edmh-chip-icon, .edmh-portrait[aria-current="page"] .edmh-chip-icon { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lilac, #adade9); }
@media (max-width: 767px) {
  .chip-flex.home-nav-container.edmh-portraits { grid-template-columns: repeat(3, 88px); gap: 28px 0; }
  .chip-flex.home-nav-container.edmh-portraits > a.edmh-portrait { width: 88px; gap: 10px; }
  .chip-flex.home-nav-container.edmh-portraits .edmh-portrait .edmh-chip-icon { width: 88px; height: 88px; }
  .edmh-portrait .edmh-chip-name { font-size: 15px; }
  .chip-flex.home-nav-container.edmh-portraits > a.edmh-portrait:last-child:nth-child(odd) { grid-column: auto; width: 88px; justify-self: auto; }
}
