/* Program Page Styles - AI Frontiers inspired */

/* Critical Override for main.css [class*="speaker"] { display: none; } rule */
.program-item .presenter-info {
  display: block !important;
}

/* Program Block */
.program-block {
  margin-bottom: 40px;
}

.block-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
}

/* Program Item */
.program-item {
  display: flex;
  gap: 30px;
  padding: 20px;
  margin-bottom: 15px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.program-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.program-item.lunch,
.program-item.coffee,
.program-item.closing {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: none;
  justify-content: start;
}

.program-item.registration {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
  border: none;
}

.program-item .time {
  flex: 0 0 150px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  display: flex;
  align-items: flex-start;
}

.program-item .content {
  flex: 1;
}

.program-item .content:last-of-type {
  flex: 0 0 30%;
}

.program-item .content .badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff !important;
}

.badge-keynote {
  background: #667eea;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-invited {
  background: #48bb78;
  color: #ffffff;
}

.badge-chair {
  background: #3182ce;
  color: #ffffff;
}

.talk-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
}

.presenter-info {
  margin-top: 8px;
}

.presenter-info strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.presenter-info span {
  display: block;
  font-size: 14px;
  color: #718096;
  line-height: 1.5;
}

.speakers strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

/* Opening Ceremony Speakers Layout */
.opening-ceremony-speakers {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.opening-ceremony-speakers .speaker-section {
  flex: 1 1 50%;
  min-width: 340px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.opening-ceremony-speakers .presenter-info {
  display: block !important;
  margin-left: 20px;
  margin-top: 10px;
}

/* Group Photo Section */
.group-photo-section {
  width: 100%;
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
}

.group-photo-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0 auto 12px auto;
  width: 100%;
}

.group-photo-text {
  font-size: 15px;
  font-weight: 600;
  color: #4a5568;
  text-align: center;
  padding-bottom: 5px;
}

/* Program Notice */
.program-notice {
  margin-top: 20px;
}

.program-notice p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
}

/* Group Photo - Simple override for responsive */
@media (max-width: 992px) {
  /* Mobile adjustments for Group Photo if needed */
}

/* Responsive Design */
@media (max-width: 992px) {
  .program-item {
    flex-direction: column;
    gap: 15px;
  }

  .program-item .time {
    flex: 0 0 auto;
    font-size: 14px;
    padding-top: 0;
  }

  .block-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .talk-title {
    font-size: 16px;
  }

  .presenter-info strong {
    font-size: 15px;
  }

  .presenter-info span {
    font-size: 13px;
  }

  /* Opening Ceremony Speakers - Mobile Stack */
  .opening-ceremony-speakers {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
  }

  .opening-ceremony-speakers .speaker-section {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .program-item {
    padding: 15px;
  }

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

  .talk-title {
    font-size: 15px;
  }
}
