/* v151: optional profile links only. No changes when Instagram is not set. */
.bre-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--v144-blue, #082b3c);
  background: transparent;
  text-decoration: none;
  line-height: 1.35;
  vertical-align: middle;
  transition: background-color .15s ease, border-color .15s ease;
}
.bre-instagram-link::before,
.bre-instagram-link::after { content: none !important; }
.bre-instagram-link:hover {
  background: rgba(8,43,60,.06);
  border-color: rgba(8,43,60,.15);
}
.bre-instagram-link:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}
.bre-instagram-link__icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.bre-instagram-link--topbar { justify-self: end; }
.site-header--instagram .topbar__inner {
  grid-template-columns: minmax(0,1fr) auto !important;
}
.bre-instagram-link--mobile { display: none; }
.bre-instagram-link--footer {
  justify-content: flex-start;
  padding: 7px 13px;
  border-color: rgba(255,255,255,.24);
  color: inherit;
}
.site-footer .bre-instagram-link--footer:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}
.bre-instagram-link__text { font-size: 15px; font-weight: 600; }
/* The existing v150 top bar is hidden at 900px. Move the link to the logo row. */
@media (max-width: 900px) {
  .bre-instagram-link--mobile { display: inline-flex; grid-column: 2; grid-row: 1; }
  .site-header .nav-wrap--instagram,
  .bre-ads-landing .site-header .nav-wrap--instagram {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 44px auto !important;
    gap: 10px !important;
  }
  .nav-wrap--instagram > .brand,
  .nav-wrap--instagram > .custom-logo-link {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .nav-wrap--instagram .brand img,
  .nav-wrap--instagram .custom-logo-link img {
    max-width: 100% !important;
  }
  .nav-wrap--instagram > .nav-toggle { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bre-instagram-link { transition: none; }
}
