/**
 * Scientific Program — TN & PY IRIA 2026
 */

.page-schedule .main-content {
  padding: 0 !important;
  background: #eef2f6;
}

.page-schedule .inner-page-hero {
  margin-bottom: 0;
}

.sp-page {
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
}

.sp-page .container {
  max-width: 1180px;
}

/* Overview */
.sp-overview {
  display: grid;
  gap: 0.75rem;
  margin: -1.75rem auto 1.75rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .sp-overview {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -2.25rem;
  }
}

.sp-overview__item {
  background: #fff;
  border: 1px solid rgba(21, 51, 77, 0.08);
  box-shadow: 0 10px 30px rgba(21, 51, 77, 0.08);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.sp-overview__item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a35a;
  margin-bottom: 0.3rem;
}

.sp-overview__item strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #15334d;
  line-height: 1.25;
}

.sp-overview__item em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.78rem;
  color: #64748b;
}

/* Day switcher */
.sp-switch {
  position: sticky;
  top: var(--corp-header-h, 72px);
  z-index: 20;
  background: rgba(238, 242, 246, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 0 0.85rem;
  margin-bottom: 1.25rem;
}

.sp-switch__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.sp-switch__btn {
  appearance: none;
  border: 1px solid rgba(21, 51, 77, 0.12);
  background: #fff;
  color: #15334d;
  border-radius: 8px;
  padding: 0.7rem 0.65rem;
  cursor: pointer;
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sp-switch__btn:hover {
  border-color: #15334d;
}

.sp-switch__btn[aria-selected="true"] {
  background: #15334d;
  border-color: #15334d;
  color: #fff;
}

.sp-switch__btn small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.12rem;
}

.sp-switch__btn[aria-selected="true"] small {
  color: #f7c637;
  opacity: 1;
}

.sp-switch__btn strong {
  display: block;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  font-weight: 800;
  line-height: 1.2;
}

.sp-hall-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.sp-hall-filter button {
  appearance: none;
  border: 1px solid rgba(21, 51, 77, 0.14);
  background: #fff;
  color: #15334d;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.sp-hall-filter button[aria-pressed="true"] {
  background: #15334d;
  border-color: #15334d;
  color: #fff;
}

.sp-hall-filter button[hidden] {
  display: none !important;
}

.sp-hall-filter button[data-hall="a"][aria-pressed="true"] { background: #15334d; }
.sp-hall-filter button[data-hall="b"][aria-pressed="true"] { background: #0f5c56; border-color: #0f5c56; }
.sp-hall-filter button[data-hall="c"][aria-pressed="true"] { background: #6b2d3e; border-color: #6b2d3e; }

/* Day panel */
.sp-day {
  background: #fff;
  border: 1px solid rgba(21, 51, 77, 0.08);
  box-shadow: 0 18px 50px rgba(21, 51, 77, 0.08);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.sp-day[hidden] {
  display: none !important;
}

.sp-day__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(21, 51, 77, 0.08);
}

.sp-day__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a35a;
}

.sp-day__head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #15334d;
  letter-spacing: -0.03em;
}

.sp-day__summary {
  margin: 0.4rem 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

/* Banners */
.sp-banner {
  display: flex;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  min-height: 5.5rem;
}

.sp-banner--register {
  background: linear-gradient(135deg, #15334d, #1e4a6a);
  color: #fff;
}

.sp-banner--walkathon {
  background: #12324a;
  color: #fff;
}

.sp-banner__media {
  display: none;
  width: 38%;
  min-width: 180px;
  background-size: cover;
  background-position: center;
}

@media (min-width: 700px) {
  .sp-banner--walkathon .sp-banner__media {
    display: block;
  }
}

.sp-banner__body {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  flex: 1;
}

.sp-banner__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 198, 55, 0.18);
  color: #f7c637;
  flex-shrink: 0;
}

.sp-banner__time {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7c637;
}

.sp-banner__body h3 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.sp-banner__body p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

/* Halls */
.sp-halls {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 980px) {
  .sp-halls--split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.sp-hall {
  min-width: 0;
}

.sp-hall.is-filtered-out {
  display: none;
}

.sp-hall__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: #15334d;
}

.sp-hall__head,
.sp-hall__head h3,
.sp-hall__head p,
.sp-hall__badge {
  color: #fff;
}

.sp-hall--b .sp-hall__head {
  background: #0f5c56;
}

.sp-hall--c .sp-hall__head {
  background: #6b2d3e;
}

.sp-hall__badge {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sp-hall__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.sp-hall__head p {
  margin: 0.18rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.sp-hall__rows {
  border: 1px solid rgba(21, 51, 77, 0.1);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

/* Rows */
.sp-row {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(21, 51, 77, 0.07);
  background: #fff;
}

.sp-row:last-child {
  border-bottom: 0;
}

@media (min-width: 720px) {
  .sp-row {
    grid-template-columns: 9.6rem 1fr;
    align-items: start;
  }
}

.sp-row__time {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #c4a35a;
  white-space: nowrap;
  padding-top: 0.12rem;
}

.sp-row__body h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #15334d;
  line-height: 1.4;
}

.sp-row__kicker,
.sp-row__meta {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7040;
}

.sp-row__meta {
  margin: 0.45rem 0 0.15rem;
  color: #64748b;
}

.sp-people {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.sp-people li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  font-size: 0.86rem;
  color: #334155;
}

.sp-people strong {
  font-weight: 700;
  color: #1e3a4f;
}

.sp-people span {
  color: #64748b;
}

.sp-people span::before {
  content: "· ";
  color: #c4a35a;
}

.sp-join {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f5c56;
}

.sp-join i {
  margin-right: 0.3rem;
}

.sp-row--session {
  background: #f7fafc;
}

.sp-row--session h4 {
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-row--break {
  background: #f4eee0;
}

.sp-row--break .sp-row__time,
.sp-row--lunch .sp-row__time {
  color: #8a7040;
}

.sp-row--break h4,
.sp-row--lunch h4 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.sp-row--lunch {
  background: #edf3f0;
}

.sp-row--oration {
  background: linear-gradient(90deg, rgba(247, 198, 55, 0.18), #fff 55%);
}

.sp-row--inauguration,
.sp-row--special.sp-row--inauguration {
  background: #15334d;
  color: #fff;
}

.sp-row--inauguration .sp-row__time {
  color: #f7c637;
}

.sp-row--inauguration h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-row--redirect {
  background: #f8fafc;
}

.sp-row--redirect h4 {
  color: #475569;
  font-weight: 600;
}

.sp-row--award {
  background: #fbf7ee;
}

.sp-row--award h4 {
  font-size: 1.02rem;
}

/* Meetings + social + closing */
.sp-meetings {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(21, 51, 77, 0.22);
  border-radius: 10px;
  background: #f7fafc;
}

.sp-meetings__label {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1e4a6a;
}

.sp-meetings__list {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .sp-meetings__list {
    grid-template-columns: 1fr 1fr;
  }
}

.sp-meetings__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sp-meetings__item span {
  font-size: 0.78rem;
  font-weight: 800;
  color: #c4a35a;
}

.sp-meetings__item strong {
  color: #15334d;
  font-size: 0.98rem;
}

.sp-social {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 760px) {
  .sp-social {
    grid-template-columns: 1fr 1fr;
  }
}

.sp-social__card {
  overflow: hidden;
  border-radius: 12px;
  background: #12324a;
  color: #fff;
  min-height: 210px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.sp-social__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.sp-social__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 56, 0.2) 8%, rgba(15, 36, 56, 0.78) 52%, rgba(15, 36, 56, 0.96) 100%);
}

.sp-social__body {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.2rem;
}

.sp-social__time {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7c637;
}

.sp-social__body h3 {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.sp-social__body p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.sp-closing {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .sp-closing {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.sp-closing__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #15334d;
  color: #fff;
}

.sp-closing__item--tea {
  background: #f4eee0;
  color: #15334d;
}

.sp-closing__item span {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 198, 55, 0.18);
  color: #f7c637;
  flex-shrink: 0;
}

.sp-closing__item--tea span {
  background: rgba(21, 51, 77, 0.08);
  color: #8a7040;
}

.sp-closing__item p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7c637;
}

.sp-closing__item--tea p {
  color: #8a7040;
}

.sp-closing__item h3 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.sp-closing__item small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.sp-closing__item--tea h3 {
  color: #15334d;
}

.sp-closing__item--tea small {
  color: rgba(21, 51, 77, 0.75);
}

.sp-note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

@media print {
  .sp-switch,
  .header-clinic,
  .del-sticky,
  .footer-mediox,
  .inner-page-hero {
    display: none !important;
  }

  .sp-day[hidden] {
    display: block !important;
  }

  .sp-day {
    box-shadow: none;
    break-inside: avoid;
  }

  .sp-hall.is-filtered-out {
    display: block;
  }
}
