/* ===========================
   Portal Daily Schedule (v2)
=========================== */

html {
	scroll-behavior: smooth;
}

#portal-schedule {
	scroll-margin-top: 140px;
}

.portal-daily-schedule {
  padding: 70px 0 40px;
  margin: 0 auto;
}

.portal-daily-schedule .pds-intro {
  max-width: 92%;
  margin: 0 auto 22px;
}

.portal-daily-schedule .pds-title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #000;
}

.portal-daily-schedule .pds-desc {
  max-width: 980px;
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

/* ===========================
   Grid
=========================== */

.portal-daily-schedule .pds-grid {
  max-width: 90%;
  margin: 22px auto 50px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Day header */
.portal-daily-schedule .pds-day-head {
  margin: 0 0 10px;
}

.portal-daily-schedule .pds-day-meta {
  margin: 0;
  font-size: 18px;
  color: #000;
  font-weight: 900;
}

.portal-daily-schedule .pds-day-topic {
  margin: 0;
  font-size:22;
  font-weight: 900;
  color: #5B2A86;
}

/* ===========================
   Card
=========================== */

.portal-daily-schedule .pds-card {
  position: relative;
  border: 2px solid rgba(91, 42, 134, 0.8);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  padding-top: 50px;
}

/* ===========================
   Speaker Chip
=========================== */

.portal-daily-schedule .pds-speaker {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  position: relative;
  z-index: 9;
  max-width:300px;
  margin: 20px 0 -50px 20px;
}

.pds-speaker p {
  display: none;
}

.portal-daily-schedule .pds-speaker-img {
  width: 85px;
  height: 80px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 2px solid rgba(91, 42, 134, 0.8);
  background: #fff;
}

.portal-daily-schedule .pds-speaker-name {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  line-height: 1.15;
  margin: 0;
}

.portal-daily-schedule .pds-speaker-cred {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #000;
}

.portal-daily-schedule .pds-speaker-links {
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-daily-schedule .pds-speaker-link {
  font-weight: 900;
  color: #5B2A86;
  text-decoration: none;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.portal-daily-schedule .pds-speaker-link:hover {
  color: #5B2A86;
}

.pds-special-title {
  color: #000;
}

.pds-day.pds-day--special {
  margin-top: 40px;
}

/* ===========================
   List + Rows
=========================== */

.portal-daily-schedule .pds-list {
  display: block; /* prevents stretch weirdness */
}

/* Base row (works for both <div> and <a>) */
.portal-daily-schedule .pds-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;

  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.portal-daily-schedule .pds-card p {
  display: none;
}

/* Alternating backgrounds */
.pds-row { 
  background: rgba(91, 42, 134, 0.10);
  margin-bottom: 5px;
}

.pds-row:last-of-type {
  margin-bottom: 0;
}

.pds-row--break {
  background: #fff;
}

/* Left cell */
.portal-daily-schedule .pds-left {
  padding: 12px 12px 14px;
}

.portal-daily-schedule .pds-time {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  color: #000;
}

.portal-daily-schedule .pds-session {
  font-weight: 900;
  line-height: 1.25;
}

.portal-daily-schedule .pds-session-text {
  color: #5B2A86;
}

/* Right cell */
.portal-daily-schedule .pds-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-daily-schedule .pds-pdf {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.portal-daily-schedule .pds-pdf--empty { opacity: 0; }

/* ✅ Hover animation only when it's an anchor */
.portal-daily-schedule a.pds-row {
  cursor: pointer;
}

.portal-daily-schedule a.pds-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  z-index: 1;
}

.portal-daily-schedule a.pds-row:hover .pds-pdf {
  transform: translateX(2px) scale(1.03);
  background: rgba(91, 42, 134, 0.10);
}

.portal-daily-schedule a.pds-row:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

.portal-daily-schedule a.pds-row:focus-visible {
  outline: 3px solid rgba(82, 196, 199, 0.55);
  outline-offset: -3px;
}

/* Break rows shouldn't look clickable */
.portal-daily-schedule .pds-row--break .pds-session-text { color: #000; }
.portal-daily-schedule .pds-row--break .pds-action { opacity: 0; }

/* ===========================
   Additional Details
=========================== */

.portal-daily-schedule .pds-details {
  max-width: 90%;
  margin: 0 auto 50px;
}

.portal-daily-schedule .pds-details h4 {
  margin: 0 0 10px;
  font-weight: 900;
  color: #000;
}

.portal-daily-schedule .pds-details-content {
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

.portal-daily-schedule .pds-details-content ul {
  margin-left: 18px;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 1400px) {
  .portal-daily-schedule .pds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pds-day.pds-day--special {
    margin-top: 26px;
  }
}

@media (max-width: 768px) {
  .portal-daily-schedule {
    padding: 60px 0 30px;
  }

  .portal-daily-schedule .pds-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portal-daily-schedule .pds-title {
    font-size: 26px;
  }
}
