/* Caption on photo (t700 image) inside block with class uc-hover-image */
.uc-hover-image .t700__wrap-video{
  position: relative !important;
  overflow: hidden !important;
}

/* Overlay text */
.uc-hover-image .t700__wrap-video::after{
  content: "Knopa - pies właściciela firmy.\A Nieoficjalny strażnik jakości realizacji.";
  position: absolute !important;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.2px;

  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 28px;
  white-space: pre-wrap;
  pointer-events: none;
  z-index: 10 !important;
}

/* Desktop hover */
.uc-hover-image .t700__wrap-video:hover::after{
  opacity: 1;
}

/* Mobile: caption always visible */
@media (max-width: 980px){
  .uc-hover-image .t700__wrap-video::after{
    opacity: 1;
    background: rgba(0,0,0,0.35);
    font-size: 14px;
    padding: 20px;
  }
}



/* Hover overlay for team image */
.uc-hover-team .t-img,
.uc-hover-team [style*="background-image"] {
  position: relative;
  overflow: hidden;
}

/* Overlay text */
.uc-hover-team .t-img:after,
.uc-hover-team [style*="background-image"]:after {
  content: "Poznaj Anastazję i Janę\A Dziewczyny pracujące z biura,  dbają o sprawną komunikację,\A organizację procesu i jakość realizacji Twojego mieszkania.";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: pre-line;
  pointer-events: none;
}

/* Show on hover */
.uc-hover-team .t-img:hover:after,
.uc-hover-team [style*="background-image"]:hover:after {
  opacity: 1;
}

/* Hover overlay for team image - Paweł*/
.uc-hover-team-2 .t-img,
.uc-hover-team-2 [style*="background-image"] {
  position: relative;
  overflow: hidden;
}

/* Overlay text */
.uc-hover-team-2 .t-img:after,
.uc-hover-team-2 [style*="background-image"]:after {
  content: "Z Anastazją i Janą już się znacie.\A To jest Paweł — dział zakupów.\A Negocjuje z dostawcami najlepsze warunki, abyś Ty miał jakość, spokój i przewidywalny budżet.";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: pre-line;
  pointer-events: none;
}

/* Show on hover */
.uc-hover-team-2 .t-img:hover:after,
.uc-hover-team-2 [style*="background-image"]:hover:after {
  opacity: 1;
}


/* Hover overlay for team image - Artyr */
.uc-hover-team-3 .t-img,
.uc-hover-team-3 [style*="background-image"] {
  position: relative;
  overflow: hidden;
}

/* Overlay text */
.uc-hover-team-3 .t-img:after,
.uc-hover-team-3 [style*="background-image"]:after {
  content: "Artur — główny inspektor techniczny Foremen.\A Wieloletnie doświadczenie w odbiorach mieszkań od deweloperów\A i realna ochrona interesów klienta.";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: pre-line;
  pointer-events: none;
}

/* Show on hover */
.uc-hover-team-3 .t-img:hover:after,
.uc-hover-team-3 [style*="background-image"]:hover:after {
  opacity: 1;
}

