body {
  padding: 2rem 1rem;
  overflow-y: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 4rem;
}

/* Header */
.page-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out;
}

.page-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Talks Grid */
.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Talk Card */
.talk-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1s ease-out;
}

.talk-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Thumbnail */
.talk-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  /* cursor: pointer; */
  background: rgba(0, 0, 0, 0.2);
}

.talk-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.talk-thumbnail:hover img {
  transform: scale(1.05);
}

.image-count {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Card Content */
.talk-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.talk-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: left;
}

.talk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.talk-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.talk-description {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-weight: 300;
}

.talk-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.talk-link {
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.talk-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.talk-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* Show GLightbox slide counter */

.glightbox-container .gslide-description.description-bottom {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: none;
  /* padding: 2px 6px; */
  border-radius: 10px;
  font-size: 24px;
  color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .talks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-button {
    top: 1rem;
    left: 1rem;
    width: 45px;
    height: 45px;
  }

  .container {
    padding-top: 2rem;
  }
}

/* GLightbox custom styling */
.glightbox-container .gslide-description {
  background: rgba(102, 126, 234, 0.95) !important;
  backdrop-filter: blur(20px);
}
