/* ===========================================================
   AAME2027 - Special Session styles (shared)
   Used by SS1-SS4.html, special.html and the homepage block
   =========================================================== */

:root {
  --ss-navy: #0a3a68;
  --ss-blue: #1677c9;
  --ss-teal: #14a0b8;
  --ss-ink: #22303f;
  --ss-muted: #5c6d80;
  --ss-line: #e4ecf5;
  --ss-soft: #f3f8fd;
  --ss-warn: #e0662f;
}

.ss-page {
  background: linear-gradient(180deg, #f4f9fe 0, #ffffff 340px);
  padding: 54px 0 60px;
}

.ss-page a { text-decoration: none; }

/* ---------------- Hero / overview card ---------------- */
.ss-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 38px 26px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #072d52 0%, #0f5c9e 55%, #14a0b8 100%);
  box-shadow: 0 18px 44px rgba(10, 58, 104, .24);
}

.ss-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.ss-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ss-hero__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d7ecff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 4px 12px;
}

.ss-hero__back {
  font-size: 13px;
  color: #eaf6ff;
  opacity: .88;
}

.ss-hero__back:hover { color: #fff; opacity: 1; text-decoration: underline; }

.ss-hero__title {
  position: relative;
  z-index: 1;
  margin: 16px 0 8px;
  font-size: 30px;
  line-height: 1.36;
  font-weight: 700;
  color: #fff;
}

.ss-hero__cn {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 22px;
}

/* stats */
.ss-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.ss-stat span {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 4px;
}

.ss-stat strong {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

/* anchor nav */
.ss-anchor {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ss-anchor a {
  font-size: 13px;
  color: #f2fbff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  padding: 6px 14px;
  transition: background .2s ease, transform .2s ease;
}

.ss-anchor a:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}

/* ---------------- Section shell ---------------- */
.ss-section { margin-top: 38px; }

.ss-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ss-section__head::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ss-blue), var(--ss-teal));
}

.ss-section__head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--ss-navy);
  letter-spacing: .01em;
}

/* ---------------- Overview text ---------------- */
.ss-lead {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(15, 45, 80, .05);
}

.ss-lead p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #33455a;
  text-align: left;
}

.ss-lead p:last-child { margin-bottom: 0; }

/* ---------------- Topics grid ---------------- */
.ss-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ss-topic {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-left: 3px solid var(--ss-blue);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #26364a;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ss-topic:hover {
  box-shadow: 0 8px 20px rgba(15, 45, 80, .09);
  transform: translateY(-2px);
}

/* when the topic count is odd the last card fills the row */
.ss-topic:last-child:nth-child(odd) { grid-column: 1 / -1; }

.ss-topic b {
  flex: 0 0 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  background: #eaf3fc;
  color: var(--ss-blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Chair cards ---------------- */
.ss-chairs {
  display: grid;
  gap: 16px;
}

.ss-chair {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(15, 45, 80, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}

.ss-chair:hover {
  box-shadow: 0 14px 32px rgba(15, 45, 80, .1);
  transform: translateY(-2px);
}

.ss-chair img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eaf3fc;
  background: #eef4fa;
}

.ss-chair__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ss-navy);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ss-chair__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ss-blue);
  border-radius: 999px;
  padding: 3px 9px;
}

.ss-chair__tag--co { background: var(--ss-teal); }

.ss-chair__org {
  font-size: 13px;
  color: var(--ss-muted);
  margin: 6px 0 10px;
  text-align: left;
}

.ss-chair__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  text-align: left;
  color: #3b4b60;
  text-align: justify;
}

/* ---------------- Submission + dates ---------------- */
.ss-grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.ss-card {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(15, 45, 80, .05);
}

.ss-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ss-blue);
  letter-spacing: .02em;
  margin: 0 0 14px;
}

.ss-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #3b4b60;
  margin: 0 0 10px;
}

.ss-card p:last-child { margin-bottom: 0; }

.ss-card a { color: var(--ss-blue); font-weight: 600; }
.ss-card a:hover { text-decoration: underline; }

/* timeline */
.ss-timeline {
  list-style: none;
  margin: 0;
  padding: 2px 0 0 26px;
  position: relative;
}

.ss-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ss-blue), var(--ss-teal));
}

.ss-step {
  position: relative;
  padding: 0 0 20px 0;
}

.ss-step:last-child { padding-bottom: 0; }

.ss-step::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ss-blue);
  box-shadow: 0 0 0 4px #e9f2fb;
}

.ss-step--hot::before { background: var(--ss-warn); box-shadow: 0 0 0 4px #fbece3; }

.ss-step strong {
  display: block;
  font-size: 14px;
  color: var(--ss-navy);
}

.ss-step--hot strong { color: var(--ss-warn); }

.ss-step span {
  display: block;
  font-size: 13px;
  color: var(--ss-muted);
  margin-top: 2px;
}

/* ---------------- Session list (special.html) ---------------- */
.ss-list-head {
  margin-bottom: 26px;
}

.ss-list-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ss-navy);
  margin: 0 0 10px;
}

.ss-list-head p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ss-muted);
  margin: 0;
  max-width: 760px;
}

.ss-list-intro {
  margin: 24px 0 30px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ss-muted);
}

.ss-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ss-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 16px;
  padding: 22px 24px 20px;
  box-shadow: 0 8px 24px rgba(15, 45, 80, .05);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

.ss-item:hover {
  border-color: #bfdcf5;
  box-shadow: 0 16px 36px rgba(15, 45, 80, .12);
  transform: translateY(-4px);
}

.ss-item__no {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ss-blue);
  background: #eaf3fc;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.ss-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ss-navy);
  margin: 0 0 6px;
}

.ss-item__cn {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ss-teal);
  margin: 0 0 14px;
}

.ss-item__chairs {
  font-size: 13px;
  line-height: 1.75;
  color: #4a5b70;
  margin: 0 0 16px;
}

.ss-item__chairs em {
  font-style: normal;
  color: var(--ss-muted);
}

.ss-item__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--ss-blue);
}

.ss-item:hover .ss-item__more { text-decoration: underline; }

/* compact variant used on the homepage */
.ss-list--mini { gap: 14px; }

.ss-list--mini .ss-item { padding: 16px 18px; }

.ss-list--mini .ss-item h3 { font-size: 14px; }

.ss-list--mini .ss-item__cn { font-size: 12px; margin-bottom: 10px; }

.ss-list--mini .ss-item__chairs { font-size: 12px; margin-bottom: 10px; }

.ss-list--mini .ss-item__no { margin-bottom: 8px; padding: 3px 9px; font-size: 10px; }

.ss-home-head {
  margin-bottom: 20px;
}

.ss-home-head h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ss-navy);
  margin: 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .ss-hero { padding: 28px 26px 22px; border-radius: 16px; }
  .ss-hero__title { font-size: 25px; }
  .ss-section__head h3 { font-size: 19px; }
  .ss-grid2 { grid-template-columns: minmax(0, 1fr); }
  .ss-chair { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .ss-chair img { width: 84px; height: 84px; }
}

@media (max-width: 767px) {
  .ss-page { padding: 34px 0 44px; }
  .ss-hero { padding: 24px 20px 18px; border-radius: 14px; }
  .ss-hero__kicker { font-size: 11px; letter-spacing: .1em; padding: 3px 10px; white-space: nowrap; }
  .ss-hero__back { font-size: 11px; white-space: nowrap; }
  .ss-hero__title { font-size: 21px; line-height: 1.42; margin: 12px 0 6px; }
  .ss-hero__cn { font-size: 14px; margin-bottom: 16px; }
  .ss-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; }
  .ss-stat span { font-size: 10px; letter-spacing: .04em; }
  .ss-stat strong { font-size: 14px; }
  .ss-anchor { margin-top: 16px; gap: 6px; }
  .ss-anchor a { font-size: 12px; padding: 5px 11px; }
  .ss-section { margin-top: 28px; }
  .ss-section__head { margin-bottom: 14px; }
  .ss-section__head h3 { font-size: 17px; }
  .ss-section__head::before { height: 17px; }
  .ss-lead { padding: 18px 18px; border-radius: 14px; }
  .ss-lead p { font-size: 14px; line-height: 1.8; text-align: left; }
  .ss-topics { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ss-topic { padding: 11px 13px; font-size: 13px; }
  .ss-chair {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 6px 14px;
    padding: 16px;
  }
  .ss-chair__body { display: contents; }
  .ss-chair img { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 76px; border-width: 2px; }
  .ss-chair__name { grid-column: 2; grid-row: 1; align-self: end; font-size: 15px; }
  .ss-chair__org { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: 12px; }
  .ss-chair__bio { grid-column: 1 / -1; grid-row: 3; margin-top: 10px; font-size: 13px; line-height: 1.78; }
  .ss-card { padding: 18px; border-radius: 14px; }
  .ss-list { grid-template-columns: minmax(0, 1fr); }
  .ss-list-head h2 { font-size: 22px; }
  .ss-home-head h1 { font-size: 22px; }
  .ss-list--mini { grid-template-columns: minmax(0, 1fr); }
}
