/* Reusable box layout for sections */
.aaaid-box {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
}

/* Padding for all sections */
.aaaid-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Section headings */
.aaaid-section h2 {
  color: #198754;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Optional subtitle */
.aaaid-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* Bold numbered list */
.list-group-numbered > .list-group-item::before {
  font-weight: bold;
}

/* Sponsor ticker under hero */
.sponsor-ticker {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}

.sponsor-ticker .ticker-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

/* Duplicate list scroll illusion */
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sponsor-ticker .ticker-wrap {
  display: flex;
  width: 200%;
}

/* pause on hover */
.sponsor-ticker:hover .ticker-inner {
  animation-play-state: paused;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,99,65,.18);
  background: rgba(0,99,65,.05);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.sponsor-badge img {
  height: 28px;          /* unified logo height */
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.sponsor-badge .label {
  font-weight: 800;
  color: #006341;
  font-size: 0.95rem;
}

/* Mobile: tighter spacing */
@media (max-width: 576px) {
  .sponsor-ticker .ticker-inner { gap: 16px; }
  .sponsor-badge { padding: 8px 12px; }
  .sponsor-badge img { height: 24px; max-width: 110px; }
  .sponsor-badge .label { font-size: 0.9rem; }
}

/* Accessibility: respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .sponsor-ticker .ticker-inner { animation: none; }
}

