/* --- Hero / layout --- */
/* Center the main page title and subtitle */
.quarto-title-block .title,
.quarto-title-block .subtitle {
  text-align: center;
}

.hero {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #005f73, #0a9396);
  color: white;
  margin-bottom: 3rem;
  border-radius: 0 0 1.5rem 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}
/* Center the main page title */
.quarto-title-block .title {
  text-align: center;
}

.section-heading {
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.card {
  padding: 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  background: #ffffff;
}

/* Full-width hero image with centered overlay text */

.hero-full {
  position: relative;
  margin: 0 calc(-50vw + 50%);
}

.hero-full img.hero-img {
  width: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-align: center;
  max-width: 90%;
}

.hero-below {
  margin-top: 1.5rem;
}

/* --- Program / presenters table styling --- */

table.talk-table {
  width: 100%;
  border-collapse: collapse;
}

.talk-table th,
.talk-table td {
  vertical-align: top;
  padding: 0.5rem 0.75rem;
}

.talk-table thead th {
  border-bottom: 2px solid #e5e7eb;
}

/* row separators */
.talk-table tbody tr + tr td {
  border-top: 1px solid #e5e7eb;
}

/* Column widths: make Presenter wider + keep on one line */
.talk-table th:nth-child(1),
.talk-table td:nth-child(1) {
  width: 22%;
  white-space: nowrap;
}

.talk-table th:nth-child(2),
.talk-table td:nth-child(2) {
  width: 24%;
}

.talk-table th:nth-child(3),
.talk-table td:nth-child(3) {
  width: 14%;
}

.talk-table th:nth-child(4),
.talk-table td:nth-child(4) {
  width: 30%;
}

.talk-table th:nth-child(5),
.talk-table td:nth-child(5) {
  width: 10%;
}

/* Zebra striping for readability (stronger contrast) */
.talk-table tbody tr:nth-child(even) {
  background-color: #d1d5db;
}

/* --- Abstract details styling (let browser handle toggle) --- */

table.talk-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.talk-table th,
.talk-table td {
  vertical-align: top;
  padding: 0.65rem 0.8rem;
}

.talk-table thead th {
  border-bottom: 2px solid #e5e7eb;
  text-align: left;
}

.talk-table tbody tr + tr td {
  border-top: 1px solid #e5e7eb;
}

/* Five-column layout */
.talk-table th:nth-child(1),
.talk-table td:nth-child(1) {
  width: 18%;
}

.talk-table th:nth-child(2),
.talk-table td:nth-child(2) {
  width: 20%;
}

.talk-table th:nth-child(3),
.talk-table td:nth-child(3) {
  width: 14%;
}

.talk-table th:nth-child(4),
.talk-table td:nth-child(4) {
  width: 26%;
}

.talk-table th:nth-child(5),
.talk-table td:nth-child(5) {
  width: 22%;
}

/* Zebra striping */
.talk-table tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

/* --- Abstract toggle styling --- */

.abstract-details {
  display: block;
}

.abstract-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #0a9396;
  list-style: none;
}

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

.abstract-details summary::before {
  content: "▸ ";
}

.abstract-details[open] summary::before {
  content: "▾ ";
}

.abstract-details .abstract-text {
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
