.ga-copyright-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

/* Fill fixed-height thumbnail containers so the button sits within the visible area.
   Descendant selector (not >) handles <img> nested inside <a> in listing templates. */
.news-thumbnail .ga-copyright-wrap,
.event-thumbnail .ga-copyright-wrap,
.gallery-item .ga-copyright-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

/* Nested selector (0,2,0) beats Elementor kit rules (0,1,1) without !important */
.ga-copyright-wrap .ga-copyright-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
  font-size: 0;
  letter-spacing: 0;
}

.ga-copyright-wrap .ga-copyright-btn:hover,
.ga-copyright-wrap .ga-copyright-btn:focus-visible {
  background: rgba(0, 0, 0, 0.8);
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.ga-copyright-popover {
  position: fixed; /* JS sets top/right; avoids overflow:hidden clipping */
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 6px;
  min-width: 180px;
  max-width: 280px;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  word-break: break-word;
}

.ga-copyright-popover p {
  margin: 0 0 4px;
  font-size: 0.75rem;
  color: #fff;
}

.ga-copyright-popover p:last-child {
  margin-bottom: 0;
}

.ga-copyright-popover strong {
  font-weight: 600;
}
