.my-zoom-button .wp-block-button__link {
  transition: all 0.3s ease;
}

.my-zoom-button .wp-block-button__link:hover {
  transform: scale(1.05);
  background-color: #000 !important;
}



.hover-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600; 
  font-size: 20px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  color: #FFFFFF;
}

.popup-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 105%;
  transform: translateY(-50%);
  width: 400px; 
  white-space: normal; 
  word-wrap: break-word; 
  z-index: 1;
}

.hover-text:hover .popup-text {
  visibility: visible;
}



/* block fades in and slides up */
.fade-in-delay {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 1s ease-in forwards;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  will-change: opacity, transform;
}

/* animation definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* semi-transparent gradient background for text */
.wp-block-paragraph.text-bg,
.text-bg,
.text-bg > p {
  background: linear-gradient(to right, rgba(13, 105, 204, 0.9), rgba(2, 160, 200, 0.9)) !important;
  padding: .7rem .75rem !important;
  border-radius: 6px !important;
  display: inline-block !important;
}



a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}


/* video block — centered, 700px wide, with rounded corners */
.wp-block-embed.wp-embed-aspect-16-9,
.wp-block-embed__wrapper {
  max-width: 600px !important;
  width: 600px !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  padding-bottom: 0 !important;
}

/* make iframe fill wrapper */
.wp-block-embed__wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: inherit;
  display: block;
}



/* Custom class for WIDE video blocks (800px) */
.wp-block-embed.wide-video,
.wp-block-embed.wide-video .wp-block-embed__wrapper {
  max-width: 800px !important; 
  width: 800px !important;   
  aspect-ratio: 16 / 9;
  height: auto !important;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  padding-bottom: 0 !important;
}

/* make iframe fill the new wrapper */
.wp-block-embed.wide-video .wp-block-embed__wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: inherit;
  display: block;
}



/* make any block max width 1200 px */
.max-1200 { max-width:1200px; margin:0 auto; box-sizing:border-box; }



/* animation for text hover */
.link-hover-zoom {
  display: inline-block;
  transition: transform 0.6s ease, text-shadow 0.6s ease;
}

.link-hover-zoom:hover {
  transform: scale(1.05);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}



/* Decrease the margin above and below the paragraph block */
.tight-gap {
    margin-bottom: 0 !important;
	margin-top: 0 !important;
}



.hover-img img {
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  vertical-align: middle; /* Removes bottom gap without pushing left */
  transform-origin: center;
}

/* 2. Apply animation ONLY when the cursor is on the image pixels */
.hover-img img:hover {
  transform: scale(1.03);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.25),
    0 0 12px rgba(255,255,255,0.35);
}



.logo-zoom {
    /* FIX: This centers the logo horizontally inside its wrapper */
    text-align: left; 
}

.logo-zoom img {
    /* Ensure the image is stable for transition and remove bottom gap */
    vertical-align: middle;
    transition: transform 0.1s ease;
}

.logo-zoom img:hover {
    transform: scale(1.1);
}