/* ==========================================================================
   Symposium Schweizer Spitzenmedizin 2026 - Standalone Video Theater Page
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-red: #ae2b2b;
  --primary-red-hover: #c03434;
  --primary-red-dark: #8c2222;
  --text-main: #9aa5b1;
  --text-dark: #ffffff;
  --text-light: #666666;
  --bg-white: #ffffff;
  --border-color: #232936;
  --theater-bg: #0b0e14;
  --theater-card: #151a23;
  --theater-border: #262e3d;
  
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max-width: 1180px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--theater-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.theater-page {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--theater-bg);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header (Logo Nur) */
.site-header.theater-header {
  background: #090c10;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Video Theater Section */
.full-focus-theater {
  background-color: var(--theater-bg);
  color: #ffffff;
  padding: 40px 0 50px 0;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
}

.theater-badge-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.theater-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 2px;
}

.theater-badge.active-mode {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

#videoBadge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Theater Layout Grid */
.theater-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}

@media (max-width: 992px) {
  .theater-grid {
    grid-template-columns: 1fr;
  }
}

/* Main Video Player Box */
.player-wrapper {
  background-color: #000000;
  border: 1px solid var(--theater-border);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  overflow: hidden;
}

.video-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Ambient Glow behind video */
.ambient-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(174, 43, 43, 0.25) 0%, rgba(11, 14, 20, 0) 70%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

/* Big Central Play Button Overlay */
.big-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

.big-play-btn {
  width: 80px;
  height: 80px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(174, 43, 43, 0.6);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.big-play-overlay:hover .big-play-btn {
  transform: scale(1.1);
  background-color: var(--primary-red-hover);
}

.big-play-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}

.big-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Custom Controls Bar */
.custom-controls-bar {
  background: linear-gradient(180deg, rgba(15, 18, 26, 0.98) 0%, rgba(10, 12, 18, 1) 100%);
  border-top: 1px solid var(--theater-border);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Progress Slider / Scrub Bar */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  position: relative;
  border-radius: 3px;
  transition: height var(--transition-fast);
}

.progress-bar-container:hover {
  height: 10px;
}

.progress-filled {
  height: 100%;
  background: var(--primary-red);
  width: 0%;
  border-radius: 3px;
  position: relative;
}

.progress-filled::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border: 2px solid var(--primary-red);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.progress-bar-container:hover .progress-filled::after {
  opacity: 1;
}

/* Controls Buttons Layout */
.controls-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: #c9d1d9;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.control-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.time-display {
  font-size: 0.85rem;
  color: #8b949e;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.volume-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-red);
  cursor: pointer;
}

.video-info-header {
  margin-top: 15px;
  padding: 15px 20px;
  background: var(--theater-card);
  border: 1px solid var(--theater-border);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.video-info-desc {
  font-size: 0.85rem;
  color: #8b949e;
  margin-top: 4px;
}

/* Playlist / Video Selector Sidebar */
.playlist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.playlist-header {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--theater-border);
}

.playlist-card {
  background: var(--theater-card);
  border: 1px solid var(--theater-border);
  border-radius: 4px;
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.playlist-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.playlist-card.active {
  border: 2px solid var(--primary-red);
  background: rgba(174, 43, 43, 0.12);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 2px;
  overflow: hidden;
}

.card-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.playlist-card:hover .card-thumb-overlay {
  background: rgba(0,0,0,0.2);
}

.play-icon-small {
  width: 36px;
  height: 36px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.play-icon-small svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}

.playing-now-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.card-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-content p {
  font-size: 0.8rem;
  color: #8b949e;
  line-height: 1.4;
}

/* ==========================================================================
   SESSIONS & IMAGE GALLERY CARDS
   ========================================================================== */
.sessions-gallery-section {
  background-color: var(--theater-bg);
  padding: 20px 0 80px 0;
  border-top: 1px solid var(--border-color);
}

.session-block {
  margin-bottom: 65px;
}

.session-block:last-child {
  margin-bottom: 0;
}

.session-block-header {
  border-left: 4px solid var(--primary-red);
  padding-left: 16px;
  margin-bottom: 25px;
}

.session-badge {
  color: var(--primary-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.session-block-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Filled Gallery Card Styling (Direct iStock Links + Previews) */
a.gallery-card {
  text-decoration: none;
  color: inherit;
  background: var(--theater-card);
  border: 1px solid var(--theater-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
}

a.gallery-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(174, 43, 43, 0.3);
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #1b2331 0%, #0d121a 100%);
  overflow: hidden;
}

.istock-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

a.gallery-card:hover .istock-thumb-img {
  transform: scale(1.06);
}

.gallery-num-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(174, 43, 43, 0.4);
  z-index: 3;
}

.istock-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 14, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  z-index: 2;
}

a.gallery-card:hover .istock-hover-overlay {
  opacity: 1;
  background: rgba(11, 14, 20, 0.65);
}

.istock-action-text {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--primary-red);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--primary-red);
  box-shadow: 0 4px 14px rgba(174, 43, 43, 0.6);
  transition: all 0.2s ease;
}

a.gallery-card:hover .istock-action-text {
  background: var(--primary-red-hover);
  transform: scale(1.05);
}

.istock-asset-id {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: monospace;
  z-index: 3;
}

.gallery-card-info {
  padding: 14px 16px;
  background: var(--theater-card);
}

.gallery-card-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-card-info p {
  font-size: 0.8rem;
  color: #8b949e;
  margin: 0;
}

/* ==========================================================================
   Adobe Stock Video Section (5-Column Grid below Video Player)
   ========================================================================== */
.adobe-stock-section {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px solid var(--theater-border);
}

.adobe-stock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.adobe-stock-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.adobe-brand-tag {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.adobe-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.adobe-card {
  display: flex;
  flex-direction: column;
  background: var(--theater-card);
  border: 1px solid var(--theater-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.adobe-card:hover {
  transform: translateY(-4px);
  border-color: #ff3333;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.25);
}

.adobe-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f141c;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adobe-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.adobe-card:hover .adobe-thumb-img {
  transform: scale(1.06);
}

.adobe-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 2;
}

.adobe-play-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

.adobe-card:hover .adobe-play-icon {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
}

.adobe-num-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #ff4d4d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 0, 0, 0.3);
  z-index: 2;
}

.adobe-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.adobe-card:hover .adobe-hover-overlay {
  opacity: 1;
}

.adobe-action-btn {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid #ff3333;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
  letter-spacing: 0.3px;
}

.adobe-card-info {
  padding: 10px 12px;
  background: var(--theater-card);
  border-top: 1px solid var(--theater-border);
}

.adobe-asset-id {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e6edf3;
  display: block;
  margin-bottom: 2px;
}

.adobe-asset-sub {
  font-size: 0.7rem;
  color: #8b949e;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .adobe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .adobe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

