/* ========================================
   Accepted Abstracts Page
======================================== */

.accepted-page {
  background: #ffffff;
  color: #333333;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.accepted-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.accepted-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #bd0058;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========================================
   Accepted Abstracts PDF Section
======================================== */

.accepted-list-section {
  padding: 20px 20px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
}

.accepted-list-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 58px 72px;
  background: #ffffff;
  border: 1px solid #dce9f0;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 95, 153, 0.08);
  text-align: center;
}

.accepted-list-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #02a6e0, #bd0058);
  content: "";
}

.accepted-list-card h2,
.eposter-heading h2 {
  margin: 0 0 18px;
  color: #005f99;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
}

.accepted-lead {
  width: 100%;
  margin: 0 auto;
  color: #555555;
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: center;
  white-space: nowrap;
}

.accepted-action {
  display: flex;
  justify-content: center;
  margin: 36px 0 22px;
}

.accepted-pdf-button {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 580px);
  padding: 18px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #02a6e0 0%, #0089bb 100%);
  border: 2px solid transparent;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(2, 166, 224, 0.23);
  text-align: left;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.accepted-pdf-button:hover,
.accepted-pdf-button:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0089bb 0%, #006591 100%);
  box-shadow: 0 15px 32px rgba(0, 101, 145, 0.25);
}

.accepted-pdf-button:focus-visible {
  outline: 3px solid rgba(2, 166, 224, 0.3);
  outline-offset: 4px;
}

.accepted-pdf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.accepted-pdf-icon svg {
  width: 28px;
  height: 28px;
}

.accepted-pdf-button strong,
.accepted-pdf-button small {
  display: block;
}

.accepted-pdf-button strong {
  margin-bottom: 2px;
  font-size: 1.08rem;
}

.accepted-pdf-button small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.accepted-arrow {
  font-size: 1.3rem;
  font-weight: 700;
}

.accepted-note {
  max-width: 960px;
  margin: 0 auto;
  color: #777777;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========================================
   ePoster Guidelines Section
======================================== */

.eposter-section {
  padding: 60px 20px 96px;
  background: #ffffff;
}

.eposter-heading {
  width: 100%;
  margin-bottom: 38px;
}

.eposter-heading p {
  margin: 0;
  color: #555555;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.guideline-card {
  position: relative;
  padding: 30px 30px 28px;
  background: #ffffff;
  border: 1px solid #dfe9ee;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.guideline-card--wide {
  grid-column: 1 / -1;
}

.guideline-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #02a6e0, #005f99);
  border-radius: 14px 0 0 14px;
  content: "";
}

.guideline-card--deadline::before {
  background: linear-gradient(180deg, #e60012, #bd0058);
}

.guideline-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: #ffffff;
  background: #005f99;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
}

.guideline-card--deadline .guideline-card-number {
  background: #e60012;
}

.guideline-card h3 {
  margin: 0 0 18px;
  color: #005f99;
  font-size: 1.35rem;
  line-height: 1.35;
}

.guideline-card p {
  margin: 0;
  color: #444444;
  line-height: 1.75;
}

.guideline-card p+p {
  margin-top: 14px;
}

.guideline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guideline-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  color: #444444;
  line-height: 1.7;
}

.guideline-list li:last-child {
  margin-bottom: 0;
}

.guideline-list li::before {
  position: absolute;
  top: 0.66em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #111111;
  content: "";
}

.guideline-subline {
  display: block;
  margin-top: 3px;
}

.guideline-warning {
  margin-top: 16px !important;
  padding: 13px 15px;
  color: #0074bc !important;
  background: #f2f9fd;
  border-left: 4px solid #02a6e0;
  border-radius: 6px;
  font-weight: 700;
}

.guideline-filename {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  color: #005f99;
  background: #f4f8fb;
  border: 1px solid #dce9f0;
  border-radius: 6px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}

.submission-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 7px;
  color: #0074bc;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.submission-link:hover,
.submission-link:focus-visible {
  color: #bd0058;
}

.deadline-text {
  color: #e60012;
  font-weight: 800;
}

.guideline-note {
  margin-top: 18px !important;
  padding: 14px 16px;
  background: #f8fbfd;
  border: 1px solid #dfeaf1;
  border-radius: 8px;
}

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

@media (max-width: 1100px) {
  .accepted-list-card {
    padding: 50px 42px;
  }

  .accepted-lead {
    white-space: normal;
  }
}

@media (max-width: 820px) {

  .accepted-list-section,
  .eposter-section {
    padding: 56px 20px;
  }

  .accepted-list-card {
    padding: 34px 24px;
  }

  .eposter-grid {
    grid-template-columns: 1fr;
  }

  .guideline-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 600px) {

  .accepted-list-card h2,
  .eposter-heading h2 {
    font-size: 2rem;
  }

  .accepted-lead {
    font-size: 1rem;
  }

  .accepted-pdf-button {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    padding: 16px;
  }

  .accepted-pdf-icon {
    width: 42px;
    height: 42px;
  }

  .guideline-card {
    padding: 26px 22px 24px;
  }
}

@media (max-width: 480px) {

  .accepted-list-section,
  .eposter-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .accepted-list-card {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .accepted-pdf-button {
    grid-template-columns: 1fr auto;
  }

  .accepted-pdf-icon {
    display: none;
  }

  .guideline-card h3 {
    font-size: 1.2rem;
  }
}


/* ========================================
   Program-style Accepted Presentations Button
======================================== */

.program-style-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: #005f99;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 95, 153, 0.18);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-style-button:hover,
.program-style-button:focus-visible {
  transform: translateY(-2px);
  background: #004c7a;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 76, 122, 0.24);
}

.program-style-button:focus-visible {
  outline: 3px solid rgba(2, 166, 224, 0.3);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .program-style-button {
    width: 100%;
    padding: 13px 20px;
  }
}