/* abstract page  */
/* Abstract (演題登録) page – pink theme, matches site */

.abs-page {
  flex: 1;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.page-lead {
  font-size: 1.05rem;
  color: #555
}

.list-bullets {
  margin-left: 1.2rem
}

.list-bullets li {
  margin: .35rem 0
}

.list-steps {
  margin-left: 1.2rem
}

.list-steps li {
  margin: .5rem 0;
  line-height: 1.7
}

.abs-subtitle {
  font-size: 1.1rem;
  color: #333;
  margin: .3rem 0 .6rem
}



@media (max-width:768px) {
  .abs-page {
    padding: 20px
  }
}


/* Keep the sidebar from shrinking in flex layout */
.container {
  align-items: flex-start;
  /* avoid stretch weirdness */
}

.sidebar {
  flex: 0 0 330px;
  /* fixed base width; no shrinking */
  min-width: 280px;
  /* safety on smaller screens */
}

/* Let the main area be flexible (this line is crucial in flexbox!) */
.page-wrap {
  min-width: 0;
}

/* Abstract page: COI sample images side-by-side but responsive */
#coi {
  scroll-margin-top: 100px;
}

.abs-page .coi-samples {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  /* wrap instead of forcing the layout wider */
  align-items: flex-start;
}

.abs-page .coi-sample {
  flex: 1 1 320px;
  /* grows, but can shrink down to ~320px each */
  max-width: 520px;
  /* don’t let one figure explode */
  text-align: center;
}

.abs-page .coi-sample img {
  width: 100%;
  height: auto;
  max-width: 100%;
  /* never overflow */
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.abs-page .coi-sample figcaption {
  margin-top: 8px;
  font-size: .9rem;
  color: #555;
}

/* Keep tables or wide content from pushing layout (future-proof) */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

/* abstract page  */