/* Past Event Detail Page */
.past-event-titel {
  text-align: center;
  margin-bottom: 20px;
}
.past-event-titel .event-titel_info h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}
.past-event-titel .event-info {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

/* Sidebar */
.past-event-aside .end-event-books {
  margin-bottom: 20px;
}
.past-event-aside .end-event-books ul {
  list-style: none;
  padding: 0;
}
.past-event-aside .end-event-books h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}
.past-event-aside .end-event-books .image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.past-event-aside .booklink,
.past-event-aside .programlink {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 15px;
}
.past-event-aside .booklink a,
.past-event-aside .programlink a {
  display: inline-block;
  padding: 6px 16px;
  background: #BC9F60;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}
.past-event-aside .booklink a:hover,
.past-event-aside .programlink a:hover {
  background: #a88a4e;
}

/* Scientific Program sidebar */
.past-program {
  margin-top: 20px;
}
.past-program h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #BC9F60;
}
.past-program .comment {
  padding: 10px 0;
}
.past-program .comment .point {
  font-size: 12px;
  color: #BC9F60;
  font-weight: 600;
  margin-bottom: 4px;
}
.past-program .comment .text_holder h5 {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.past-program .comment .text_holder .title-link {
  color: #333;
  text-decoration: none;
}
.past-program .comment .text_holder .title-link:hover {
  color: #BC9F60;
}
.past-program .comment .name {
  font-size: 12px;
  color: #666;
}
.past-program .comment .name .designation {
  font-style: italic;
}

/* About section */
.about-past-events h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Members & Speakers */
.past-event-members .heading h2,
.past-event-speakers .heading h3 {
  font-size: 20px;
  margin-bottom: 15px;
}
.past-event-members .team-member,
.past-event-speakers .team-member {
  margin-bottom: 15px;
}

.past-btn-dark {
  background: #333 !important;
  color: #fff !important;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}
.past-btn-dark:hover {
  background: #555 !important;
}
.past-btn-outline {
  background: transparent !important;
  color: #333 !important;
  border: 1px solid #333;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}
.past-btn-outline:hover {
  background: #333 !important;
  color: #fff !important;
}

/* Compact Gallery sidebar */
.compact-gallery {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}
.compact-gallery .gallery-header {
  text-align: center;
  margin-bottom: 15px;
  background: #BC9F60;
  padding: 14px 10px;
  border-radius: 8px 8px 0 0;
  margin: -15px -15px 15px;
}
.compact-gallery .gallery-title {
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}
.compact-gallery .gallery-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.compact-gallery .gallery-scroll {
  /* replaced by sidebar-carousel */
}
.compact-gallery .album-card {
  display: block;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  min-width: unset;
  width: 100%;
}
.compact-gallery .album-card:hover {
  transform: translateY(-2px);
}
.compact-gallery .album-image-container {
  position: relative;
  overflow: hidden;
}
.compact-gallery .album-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.compact-gallery .album-photo-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.compact-gallery .album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.compact-gallery .album-year {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #BC9F60;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.compact-gallery .album-info {
  position: absolute;
  bottom: 28px;
  left: 8px;
  color: #fff;
}
.compact-gallery .album-title {
  font-size: 14px;
  margin: 0;
}
.compact-gallery .album-location {
  font-size: 11px;
  opacity: 0.9;
}
.compact-gallery .album-stats {
  font-size: 10px;
  opacity: 0.8;
}
.compact-gallery .album-content {
  padding: 8px 12px;
}
.compact-gallery .album-description {
  font-size: 12px;
  color: #555;
  margin: 0 0 4px;
}
.compact-gallery .album-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
}
.compact-gallery .view-all-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: #BC9F60;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  margin: 10px 0;
  transition: background 0.2s;
}
.compact-gallery .view-all-btn:hover {
  background: #a88a4e;
  color: #fff;
}
.compact-gallery .gallery-footer {
  margin-top: 10px;
}
.compact-gallery .stats-mini {
  display: flex;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}
.compact-gallery .stat-mini {
  flex: 1;
  padding: 8px 4px;
}
.compact-gallery .stat-mini + .stat-mini {
  border-left: 1px solid #e0e0e0;
}
.compact-gallery .stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  display: block;
}
.compact-gallery .stat-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
}

/* Vertical Video Container */
.vertical-video-container {
  margin-top: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
}
.vertical-video-container .video-header {
  text-align: center;
  margin-bottom: 12px;
  background: #BC9F60;
  padding: 14px 10px;
  border-radius: 8px 8px 0 0;
  margin: -15px -15px 15px;
}
.vertical-video-container .video-header h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}
.vertical-video-container .video-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.vertical-video-container .vertical-scroll {
  /* replaced by sidebar-carousel */
}
.vertical-video-container .video-card {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vertical-video-container .video-container {
  position: relative;
}
.vertical-video-container .video-btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  position: relative;
}
.vertical-video-container .video-thumb {
  width: 100%;
  height: auto;
  display: block;
}
.vertical-video-container .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.vertical-video-container .video-btn:hover .play-overlay {
  background: rgba(0,0,0,0.5);
}
.vertical-video-container .play-buttonnew {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vertical-video-container .play-icon {
  width: 18px;
  height: 18px;
  color: #333;
}
.vertical-video-container .duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
}
.vertical-video-container .video-info {
  padding: 8px 12px;
}
.vertical-video-container .video-title {
  font-size: 13px;
  margin: 0 0 4px;
  color: #333;
}
.vertical-video-container .video-date {
  font-size: 11px;
  color: #888;
}

.vertical-video-container .scroll-nav {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 4px auto;
}
.vertical-video-container .scroll-indicator {
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e0e0e0;
  border-radius: 2px;
}
.vertical-video-container .scroll-progress {
  width: 100%;
  background: #BC9F60;
  border-radius: 2px;
  transition: height 0.2s;
}

/* Sidebar Carousel (arrow-based auto-scrolling) */
.sidebar-carousel {
  position: relative;
}
.sidebar-carousel-viewport {
  overflow: hidden;
}
.sidebar-carousel-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  transition: all 0.2s;
  padding: 0;
}
.sidebar-carousel-arrow:hover {
  background: #BC9F60;
  border-color: #BC9F60;
  color: #fff;
}
/* Horizontal nav: left/right arrows between cards */
.sidebar-carousel-nav-hz {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 4px;
}
/* Vertical nav: single arrow top/bottom */
.sidebar-carousel-nav-top,
.sidebar-carousel-nav-bottom {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

/* Three-column layout adjustments */
.boxes {
  display: flex;
  flex-wrap: wrap;
}
.box-1 { order: 1; }
.box-2 { order: 2; }
.box-3 { order: 3; }
@media (max-width: 991px) {
  .box-1 { order: 2; }
  .box-2 { order: 1; width: 100%; }
  .box-3 { order: 3; }
}
