/* Timeline v4 styles extracted from IASTA2026-v4.html */
/* Two-column layout for Welcome Note (left) and Scope (right) */
.timeline-award-row {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.timeline-award-row .left {
  flex: 1.15;
  display: flex;
}
.timeline-award-row .right {
  flex: 0.95;
  display: flex;
}

/* Base Card Styling */
.welcome-scope-section,
.scope-section {
  width: 100%;
  background: #ffffff;
  padding: 2rem 2.25rem;
  border-radius: var(--radius, 14px);
  border: 1px solid rgba(18, 36, 43, 0.12);
  box-shadow: 0 8px 26px rgba(18, 36, 43, 0.05), 0 1px 3px rgba(18, 36, 43, 0.03);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 0;
}

.welcome-scope-section:hover,
.scope-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(18, 36, 43, 0.08), 0 2px 6px rgba(18, 36, 43, 0.04);
}

/* Distinct top accent borders for visual hierarchy */
.welcome-scope-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--scatter-blue, #2c6b8a), var(--haze-amber, #d97e2e));
}

.scope-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clean-sage, #4c8670), var(--scatter-blue, #2c6b8a));
}

/* Headings and Eyebrows */
.welcome-scope-section .welcome-header,
.scope-section .scope-header {
  margin-bottom: 1.25rem;
}

.welcome-scope-section h2,
.scope-section h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #12242b;
  -webkit-text-fill-color: #12242b;
  line-height: 1.25;
}

/* Welcome Body & Text — guaranteed crisp black, comfortable typography */
.welcome-scope-section .welcome-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.welcome-scope-section p {
  margin: 0;
  font-family: var(--font-body, "Inter", -apple-system, sans-serif);
  font-size: 1.02rem;
  line-height: 1.68;
  color: #111827; /* Solid deep black */
  -webkit-text-fill-color: #111827; /* Explicitly enforce black */
  text-align: left;
}

.welcome-scope-section p strong {
  color: #000000;
  font-weight: 600;
}

/* Venue / Invitation Callout Box */
.welcome-callout {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(44, 107, 138, 0.06), rgba(217, 126, 46, 0.06));
  border: 1px solid rgba(44, 107, 138, 0.16);
  border-left: 4px solid var(--scatter-blue, #2c6b8a);
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
}

.welcome-callout-icon {
  font-size: 1.25rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.welcome-callout-text {
  margin: 0 !important;
  font-family: var(--font-body, "Inter", -apple-system, sans-serif) !important;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.welcome-callout-text strong {
  color: #000000;
  font-weight: 600;
}

/* Scope List Styling */
.scope-section ul.scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body, "Inter", -apple-system, sans-serif);
  font-size: 0.96rem;
  line-height: 1.5;
  color: #1a272c;
  max-height: 23rem;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.scope-section ul.scope-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0;
}

.scope-section ul.scope-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clean-sage, #4c8670);
}

/* Custom subtle scrollbar for the scope list */
.scope-section ul.scope-list::-webkit-scrollbar {
  width: 5px;
}
.scope-section ul.scope-list::-webkit-scrollbar-track {
  background: rgba(18, 36, 43, 0.05);
  border-radius: 10px;
}
.scope-section ul.scope-list::-webkit-scrollbar-thumb {
  background: rgba(18, 36, 43, 0.2);
  border-radius: 10px;
}
.scope-section ul.scope-list::-webkit-scrollbar-thumb:hover {
  background: rgba(18, 36, 43, 0.35);
}
.award-section { background: linear-gradient(180deg, #fff9ef 0%, #fff6e8 40%, #fff3df 100%); padding:1.2rem; border-radius:12px; box-shadow:0 12px 36px rgba(63,43,5,0.10), inset 0 1px 0 rgba(255,255,255,0.6); margin-top:0.5rem; border:1px solid rgba(204,164,55,0.18); }
.award-section h2 { margin-top:0; text-align:center; font-weight:700; letter-spacing:0.6px; color:transparent; background: linear-gradient(90deg,#b8860b,#ffd700,#f7e1a0); -webkit-background-clip:text; background-clip:text; font-size:1.05rem; }
.award-section .award-slider{ border:4px solid rgba(200,150,40,0.14); box-shadow: 0 20px 48px rgba(200,150,40,0.10), 0 8px 18px rgba(0,0,0,0.08); border-radius:8px; max-width:336px; }
.award-section:before{ content:''; position:absolute; pointer-events:none; width:312px; height:168px; right:calc(50% - 170px); top:6px; background: radial-gradient(ellipse at center, rgba(255,215,0,0.14), rgba(255,215,0,0) 45%); filter:blur(12px); border-radius:50%; }
.award-gallery { display:flex; flex-direction:column; gap:0.75rem; align-items:center; }
.award-slider { width:100%; height:auto; max-width:280px; border-radius:6px; cursor:pointer; box-shadow:0 8px 28px rgba(7,12,20,0.16); display:block; transition:opacity 0.6s ease; opacity:1; background:#f6f6f6; }
@keyframes slow-flash { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.35; transform:scale(0.995); } }
@media (max-width: 900px) {
  .timeline-award-row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .timeline-award-row .left,
  .timeline-award-row .right {
    width: 100%;
    flex: none;
  }
  .welcome-scope-section,
  .scope-section {
    padding: 1.5rem 1.25rem;
  }
}

/* Glassy timeline event boxes */
.timeline-event-box{ border-radius:14px; padding:1.1rem; color:#06202a; margin-bottom:1rem; background: rgba(255,255,255,0.20); box-shadow: 0 12px 40px rgba(6,12,20,0.12); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); border: 1px solid rgba(255,255,255,0.45); transition:transform 260ms ease, box-shadow 260ms ease; }
.timeline-event-box:hover{ transform:translateY(-6px); box-shadow: 0 24px 60px rgba(3,10,18,0.22); }
.timeline-events-container .timeline-event-box.event-abstract{ background: linear-gradient(135deg, rgba(255,200,140,0.26), rgba(255,230,190,0.16)); border-left:6px solid rgba(255,140,40,0.28); color:#2b1300; }
.timeline-events-container .timeline-event-box.event-acceptance{ background: linear-gradient(135deg, rgba(120,222,210,0.22), rgba(180,245,235,0.16)); border-left:6px solid rgba(0,150,130,0.26); color:#023333; }
.timeline-events-container .timeline-event-box.event-registration{ background: linear-gradient(135deg, rgba(200,180,255,0.22), rgba(235,220,255,0.16)); border-left:6px solid rgba(110,60,255,0.26); color:#2a1b3d; }
.timeline-events-container .timeline-event-box.event-conference{ background: linear-gradient(135deg, rgba(200,245,160,0.22), rgba(225,250,200,0.16)); border-left:6px solid rgba(90,180,40,0.26); color:#16350a; }

/* layout for inline award beside event box */
.timeline-event-inner{ display:flex; gap:1rem; align-items:flex-start; }
.timeline-event-inner .timeline-event-box{ flex:1; }
.timeline-event-inner .award-section{ width:300px; }

/* Floating date styling */
.timeline-date-box{ display:flex; align-items:center; justify-content:center; margin-top:0.25rem; }
.timeline-date-box img{ width:120px; height:auto; border-radius:10px; transform:translateY(30px); opacity:0; transition:transform 700ms cubic-bezier(.2,.9,.2,1), opacity 700ms ease, box-shadow 700ms ease; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.timeline-date-box.in-view img{ transform:translateY(0); opacity:1; box-shadow: 0 30px 60px rgba(3,10,18,0.28); }

/* ensure timeline title spacing matches award section */
.timeline-events-wrapper{ padding-top:0.5rem; }

/* small responsive adjustment */
@media (max-width:900px){ .timeline-event-inner{ flex-direction:column; } .timeline-event-inner .award-section{ width:100%; } }
