.ism-elem10_wrap .nav-item button {
  border-radius: 0.5rem;
}

.ism-elem10_wrap .item {
  margin-bottom: 2rem;
  height: -moz-calc(100% - 1.5rem);
  height: -webkit-calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.ism-elem10_wrap .item img {
  object-fit: cover;
  height: 100%;
  border-radius: 0.5rem;
}

.nav-tabs .nav-link.active {
    color: #fff !important;
    background-color: #1c1c1c;
    border-color: none !important;
    border-radius: 8px;
}

.goto-home-btn a {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.56px;
  vertical-align: sub;
}

.goto-home-btn img {
  width: 25px;
  height: 25px;
}
.tabs-aligment {
  text-align: right;
}
.gallery-tabs {
    border: none;
    display: inline-flex;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 8px;
}
.video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-content: center;
    border-radius: 8px;
    font-weight: 500;
}

/* Show the title overlay on hover */
.item:hover .video-title-overlay {
    opacity: 1;
}
.event-video-title {
    background: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0.75rem;
    font-size: 0.8rem;
    height: 25%;
    display: flex;
    align-content: center;
    align-items: center;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}
@media (max-width: 576px) {
    .tabs-aligment {
        text-align: center;
        margin-top: 1rem;
    }
    .gallery-info-cards {
        padding: 1rem;
        margin-top: 1rem;
    }
    .event-video-title {
        height: auto;

    }
 }
