.cividisplays__evt_buttons{
    display:flex;
}
.cividisplays__start_date{
    word-break: normal;
}
.cividisplays__location{
    white-space: break-spaces;
}

figure.civi-evt-featured{
    height: auto;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: var(--wp--preset--shadow--natural);
}
.civi-evt-featured-img:hover{
    transform: scale(1.1);
    filter: brightness(1.1);
    cursor: zoom-in;
    transition: transform 0.25s ease, filter 0.25s ease;
}

/***
    Sponsors
****************/
.sponsor-tier{
    justify-items: center;
    padding-bottom:40px;
}
.sponsor-grid{
    align-items: center;
    justify-content: center;
}

/**************************
    IMAGE LIGHTBOX (v2)
    -Kaylee Leadley-
***************************/

/* Zoomable cursor and hover cue */
.cvd-hero-img,
[data-zoomable] {
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.cvd-hero-img:hover,
[data-zoomable]:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* Lightbox overlay */
.cvd-img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 38, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}
.cvd-img-lightbox.is-open {
  display: flex;
}

/* Image box (half-screen scale) */
.cvd-img-lightbox__img {
  max-width: 80vw;      
  max-height: 80vh;      
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: #fff;
  transition: transform 0.25s ease-in-out;
}

/* Close button */
.cvd-img-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0a5c83;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cvd-img-lightbox__close:hover {
  background: #fff;
}

/* Small screens */
@media (max-width: 900px) {
  .cvd-img-lightbox__img {
    max-width: 90vw;
    max-height: 70vh;
  }
}
