body {
  background: linear-gradient(180deg, #f6f8fc 0%, #eef3fb 100%);
  color: #1f2937;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.presentation {
  line-height: 1.6;
  color: #2c3e50;
}

.site-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.9rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  margin-top: 1rem;
}

.site-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.site-hero-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-10%, -40%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.speaker-photo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  border-radius: 0.75rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.map-frame {
  max-width: 600px;
}

.navbar {
  border-radius: 0.8rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.navbar-nav {
  flex-wrap: wrap;
  row-gap: 0.25rem;
}

.navbar .nav-tabs .nav-link {
  color: #374151;
  font-weight: 600;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  border-color: transparent;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.08);
}

.nav-tabs .nav-link.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #dee2e6 #dee2e6 #fff;
  box-shadow: inset 0 -1px 0 #fff;
}

.tab-content {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.tab-content > .tab-pane {
  padding-top: 0.5rem;
}

.tab-content h3,
.tab-content h4,
.tab-content h5 {
  color: #111827;
  letter-spacing: -0.02em;
}

.tab-content h3 {
  margin-bottom: 1.25rem;
}

.card,
.program-card.card {
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.card-header {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid #e2e8f0;
}

.talk-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.15rem;
}

.talk-meta {
  color: #4b5563;
  font-size: 0.95rem;
}

.affiliation {
  font-style: italic;
  font-size: 0.9em;
  color: #4b5563;
}

.session-time {
  min-width: 130px;
  color: #475569;
  font-weight: 700;
  line-height: 1.4;
}

.qfw-sponsors-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  margin-top: 1.5rem;
  padding: 1.25rem 1rem;
}

.qfw-sponsors-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.qfw-sponsors-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
}

a {
  color: #0b5ed7;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #0a3d8f;
  text-decoration: underline;
}

.tab-content ul,
.tab-content ol {
  padding-left: 1.2rem;
}

.tab-content li + li {
  margin-top: 0.35rem;
}

details {
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

table {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  color: #374151;
}

hr {
  opacity: 0.2;
  margin: 1.5rem 0;
}

.container > .container {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991.98px) {
  .site-hero-overlay {
    left: 5%;
    top: 45%;
    transform: none;
    font-size: 1.15rem;
  }

  .site-hero-overlay h1 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
  }
}

@media (max-width: 575.98px) {
  .site-hero-overlay {
    left: 4%;
    top: 42%;
    font-size: 0.9rem;
  }

  .site-hero-overlay h1 {
    margin-bottom: 0;
  }

  .speaker-photo {
    width: 100px;
  }

  .tab-content {
    padding: 1rem;
  }
}
