/* --- Logo images --- */
.image-with-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 14px);
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  gap: 8px;
  flex-wrap: wrap;
}

.image-with-link img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: filter 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

/* --- Hover reveal --- */
.image-with-link:hover,
.image-with-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
}

/* --- Non-clickable fallback --- */
.image-with-link[href=""],
.image-with-link:not([href]) {
  pointer-events: none;
  cursor: default;
}

/* --- Responsive logo sizes --- */
@media (max-width: 900px) {
  .image-with-link img { height: 56px; }
}
@media (max-width: 600px) {
  .image-with-link img { height: 48px; }
}
