/* Keep a real minimum gap between the hero access note and the positioning strip. */
@media (min-width: 901px) and (min-height: 621px) {
  .hero,
  .rtl .hero {
    padding-bottom: calc(
      var(--hero-note-to-positioning-gap) +
      var(--hero-positioning-overlap) +
      var(--hero-positioning-lift)
    );
  }
}

.contact-social-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.instagram-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: currentColor;
  border: 1px solid rgba(94, 130, 160, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.instagram-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: #ffffff;
  border-color: rgba(213, 182, 125, 0.5);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.instagram-link:focus-visible {
  outline: 2px solid rgba(213, 182, 125, 0.72);
  outline-offset: 3px;
}

.instagram-link::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 4;
  padding: 5px 7px;
  color: #173247;
  font-size: 10px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(23, 65, 103, 0.12);
  border-radius: 7px;
  background: rgba(245, 249, 252, 0.94);
  box-shadow: 0 7px 18px rgba(7, 30, 54, 0.12);
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.instagram-link:hover::after,
.instagram-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.final-cta-actions .instagram-link {
  color: #b8c9d8;
}

.footer-instagram-link {
  width: 32px;
  height: 32px;
  color: #5e7083;
  background: rgba(255, 255, 255, 0.42);
}

.footer-instagram-link:hover,
.footer-instagram-link:focus-visible {
  color: #173247;
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 620px) {
  .contact-social-cluster {
    gap: 10px;
  }

  .instagram-link {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-link,
  .instagram-link::after {
    transition: none;
  }
}
