/* =========================
   WSTS Agenda Styles
   ========================= */

.wsts-agenda {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.15rem;        /* BIGGER base size */
  line-height: 1.7;
}

/* =========================
   Filter Bar
   ========================= */

.wsts-agenda-filters {
  position: sticky;
  top: 96px; /* accounts for WSTS header */
  z-index: 20;
  background: #fff;
  padding: 1rem 0 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}

.filter-btn.active {
  background: #0b1c4d;
  color: #fff;
  border-color: #0b1c4d;
}

/* =========================
   Day Headings
   ========================= */

.wsts-agenda-day {
  margin-bottom: 3rem;
}

.wsts-agenda-day h2 {
  font-size: 2.4rem;       /* MUCH larger */
  font-weight: 700;
  margin-bottom: 2rem;
}

/* =========================
   Session Rows
   ========================= */

.wsts-agenda-session {
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 2.25rem !important;
  padding: 2.25rem 1.25rem !important;
  border-bottom: 1px solid #eee !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.wsts-agenda-session:hover {
  background: #fafafa !important;
}

/* Time column */

.wsts-agenda-time {
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  color: #1f2937 !important;
  white-space: nowrap !important;
}

/* Details column */

.wsts-agenda-details h3 {
  margin: 0 0 0.75rem !important;
  font-size: 1.45rem !important;       /* Title is the star */
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.wsts-agenda-session-link {
  color: #1f2937 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.wsts-agenda-session-link:hover {
  color: #0b1c4d !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(11, 28, 77, 0.3) !important;
  text-underline-offset: 2px !important;
}

/* Track label */

.wsts-agenda-track {
  display: inline-block !important;
  margin-bottom: 0.75rem !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--track-color) 20%, white) !important;
  color: var(--track-color) !important;
}

/* Speakers */

.wsts-agenda-speakers {
  font-size: 1.4rem !important;
  color: #374151 !important;
}

.wsts-agenda-speakers .wsts-speaker-link,
.wsts-speaker-link {
  color: #0b1c4d !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative;
}

.wsts-agenda-speakers .wsts-speaker-link:hover,
.wsts-speaker-link:hover {
  color: #0b1c4d !important;
  text-decoration: underline !important;
  text-decoration-color: #0b1c4d !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 2px !important;
}

.wsts-speaker-company {
  color: #6b7280;
  font-weight: 400;
}

/* =========================
   Expandable Description
   ========================= */

.wsts-agenda-description {
  margin-top: 1.25rem !important;
  font-size: 1.4rem !important;
  color: #374151 !important;
  display: none !important;
}

.wsts-agenda-session.is-expanded .wsts-agenda-description {
  display: block !important;
}

/* =========================
   Now / Next Highlighting
   ========================= */

.wsts-agenda-session.is-now {
  background: #ecfeff;
  border-left: 6px solid #06b6d4;
}

.wsts-agenda-session.is-next {
  background: #f0fdf4;
  border-left: 6px solid #22c55e;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {
  .wsts-agenda {
    font-size: 1.05rem;
  }

  .wsts-agenda-session {
    grid-template-columns: 1fr;
    padding: 1.75rem 0;
  }

  .wsts-agenda-time {
    font-size: 1rem;
    color: #6b7280;
  }

  .wsts-agenda-day h2 {
    font-size: 2rem;
  }
}

/* =========================
   Single Speaker Page
   ========================= */

/* Hide theme's duplicate speaker elements - Maximum specificity */
article.post-wrap.speaker .post-media,
article.post-wrap.type-speaker .post-media,
article.speaker.post-wrap .post-media,
article.type-speaker.post-wrap .post-media,
body.single-speaker article.post-wrap .post-media,
body.post-type-speaker article.post-wrap .post-media,
body.single-speaker .content-area article .post-media,
body.post-type-speaker .content-area article .post-media,
article.post-wrap.speaker .post-title,
article.post-wrap.type-speaker .post-title,
article.speaker.post-wrap .post-title,
article.type-speaker.post-wrap .post-title,
body.single-speaker article.post-wrap .post-title,
body.post-type-speaker article.post-wrap .post-title,
body.single-speaker .content-area article .post-title,
body.post-type-speaker .content-area article .post-title,
article.post-wrap.speaker .post-meta,
article.post-wrap.type-speaker .post-meta,
article.speaker.post-wrap .post-meta,
article.type-speaker.post-wrap .post-meta,
body.single-speaker article.post-wrap .post-meta,
body.post-type-speaker article.post-wrap .post-meta,
body.single-speaker .content-area article .post-meta,
body.post-type-speaker .content-area article .post-meta {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

article.post-wrap.speaker .post-body,
article.post-wrap.type-speaker .post-body,
article.speaker.post-wrap .post-body,
article.type-speaker.post-wrap .post-body,
body.single-speaker article.post-wrap .post-body,
body.post-type-speaker article.post-wrap .post-body {
  padding: 0;
}

.wsts-speaker-single {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.wsts-speaker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e5e7eb;
}

.wsts-speaker-info {
  flex: 1;
  min-width: 0;
}

.wsts-speaker-name {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #1f2937;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wsts-speaker-title {
  font-size: 1.35rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.wsts-speaker-company {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 400;
}

.wsts-speaker-headshot {
  flex-shrink: 0;
}

.wsts-speaker-headshot img,
.wsts-speaker-headshot-img {
  width: 180px !important;
  height: 180px !important;
  max-width: 180px !important;
  max-height: 180px !important;
  min-width: 180px !important;
  min-height: 180px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
}

/* Override any inline width/height attributes */
.wsts-speaker-headshot img[width],
.wsts-speaker-headshot img[height] {
  width: 180px !important;
  height: 180px !important;
}

.wsts-speaker-bio {
  margin-bottom: 4rem;
  padding-top: 1rem;
}

.wsts-speaker-bio h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.wsts-speaker-bio-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #374151;
  max-width: 75ch;
}

.wsts-speaker-bio-content p {
  margin: 0 0 1.25rem;
}

.wsts-speaker-bio-content p:last-child {
  margin-bottom: 0;
}

.wsts-speaker-sessions {
  padding-top: 1rem;
}

.wsts-speaker-sessions h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 2rem;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.wsts-speaker-sessions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wsts-speaker-session-item {
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.wsts-speaker-session-item:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.wsts-speaker-session-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wsts-speaker-session-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b1c4d;
  margin-bottom: 0.5rem;
}

.wsts-speaker-session-link:hover .wsts-speaker-session-title {
  text-decoration: underline;
}

.wsts-speaker-session-meta {
  display: block;
  font-size: 1rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .wsts-speaker-single {
    padding: 2rem 1rem;
  }
  
  .wsts-speaker-header {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
  
  .wsts-speaker-headshot {
    align-self: center;
  }
  
  .wsts-speaker-headshot img {
    width: 180px;
    height: 180px;
  }
  
  .wsts-speaker-name {
    font-size: 2.25rem;
    text-align: center;
  }
  
  .wsts-speaker-title,
  .wsts-speaker-company {
    text-align: center;
  }
  
  .wsts-speaker-bio-content {
    max-width: 100%;
  }
  
  .wsts-speaker-bio,
  .wsts-speaker-sessions {
    margin-bottom: 3rem;
  }
}
