
form {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.date-picker-wrap {
  display: flex;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}

.darshan-title {
  font-size: 20px;
  font-weight: bold;
  color: #DC0774;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 0 !important;
}

.darshan-title button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  color: #444;
  margin-left: 4px;
}

#calendarInput {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 1px;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.gallery img {
  flex: 1 1 calc(20% - 12px);
  max-width: calc(20% - 12px);
  min-width: 200px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

.no-images {
  font-size: 18px;
  color: #777;
  margin-top: 40px;
  text-align: center;
  width: 100%;
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 48px;
  color: white;
  cursor: pointer;
  user-select: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10000;
}

.lightbox-nav.left { left: 30px; }
.lightbox-nav.right { right: 30px; }

.live-section {
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.live-section h1 {
  color: #DC0774;
  font-size: 1.6rem;
  text-align: center;
  margin: 30px 0 15px;
}

.live-section h2 {
  font-size: 1.4rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.live-section h2 span {
  color: red;
}

.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #000;
    margin-bottom: 30px;
  }

  .responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .stream-section h2 {
    font-family: 'Verdana', sans-serif;
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: #800000;
  }

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .gallery {
    padding: 10px 5px;
    gap: 6px;
  }

  .gallery img {
    flex: 1 1 calc(33.333% - 6px);
    max-width: calc(33.333% - 6px);
    min-width: unset;
    border-radius: 6px;
    box-shadow: none;
  }

  .darshan-title {
    font-size: 18px;
  }

  .live-section {
    padding: 0;
    max-width: 100%;
  }

  .live-section h1 {
    font-size: 1.2rem;
  }

  .live-section h2 {
    font-size: 1rem;
  }

  .responsive-iframe-container {
    border-radius: 0;
    box-shadow: none;
  }

  .lightbox-nav {
    font-size: 36px;
    padding: 8px 12px;
  }
}

