/* ── Side-by-side layout ── */
.about-layout {
  display: flex;
  justify-content: center;
  padding-top: 7rem; /* clear the fixed header */
  padding-left: 24px;
  padding-right: 24px;
  background-color: #fff;
}

.about-layout-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1300px;
}

/* Left panel – sticky portrait image */
.about-side-image {
  position: sticky;
  top: 7rem; /* stick just below the header */
  flex: 0 0 480px;
  height: calc(100vh - 7rem);
  overflow: hidden;
  border-radius: 4px;
}

.about-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: slideIn 1.2s ease-out;
}

/* Section Content */
.section-content {
  margin-left: 1.8rem;
}

/* Main Content */
.about-main-content {
  flex: 1;
  padding: 48px 52px;
  font-size: 18px; /* base size – all rem values inside scale from this */
  animation: fadeInUp 1.5s ease-in-out;
}
@media screen and (max-width: 768px) {
  .about-layout {
    padding-top: 7rem;
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-layout-inner {
    flex-direction: column;
    gap: 16px;
  }

  .about-side-image {
    position: relative;
    top: 0;
    flex: none;
    height: 55vw;
    width: 100%;
  }

  .about-main-content {
    width: 100%;
    padding: 24px 20px;
  }
}
/* Section Styling */
.info-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.info-section:last-child {
  border-bottom: none;
}

.section-heading {
  font-size: 32px;
  color: var(--color-1);
  font-family: var(--font-1);
  font-weight: 600;
  padding-left: 10px;
  margin: 0;
}

/* ── Affiliation & Funding ── */
.about-affiliation {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin: 0.6rem 0 0;
}

.about-affiliation strong {
  color: var(--color-1);
}

.about-funding-text {
  font-size: 19px;
  line-height: 1.7;
  color: #444;
  margin: 0.4rem 0 1.4rem;
}

.funding-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.funding-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.funding-logo--bmv {
  max-height: 200px;
}

/* ── Institutional Logos ── */
.institutional-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.institutional-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.institutional-logo--db {
  max-height: 55px;
}

.institutional-logo--dzsf {
  max-height: 150px;
}

.institutional-logo--mrt {
  max-height: 90px;
}

.institutional-logo--kit {
  max-height: 90px;
}

.institutional-logos--developer {
  gap: 5rem;
}

/* ── Contributor Groups ── */
.contributor-group {
  margin-top: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #e4e4e4;
}

.contributor-group:last-child {
  border-bottom: none;
}

.contributor-group-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-1);
  margin: 0 0 0.75rem;
}

.contributor-note {
  font-size: 18px;
  color: #555;
  margin: 0 0 0.6rem;
}

.contributor-note-inline {
  display: block;
  font-size: 15px;
  color: #777;
  font-style: italic;
  margin-top: 2px;
}

.contributor-note--spaced {
  margin-top: 1.6rem;
}

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

.contributor-list li {
  padding: 4px 0;
  font-size: 19px;
}

.contributor-name {
  font-weight: 600;
  margin-right: 0.5rem;
}

.contributor-role {
  color: #666;
  font-size: 18px;
}

.contributor-list a {
  color: var(--color-1);
  text-decoration: none;
}

.contributor-list a:hover {
  text-decoration: underline;
}

/* Grid layout for the 16 students */
.contributor-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 16px;
}

.terms-list,
.privacy-list {
  padding-left: 1.25rem;
  list-style: disc;
}

.citation-text {
  background-color: #d1cbcb;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #60605c;
  font-style: italic;
  color: rgb(44, 43, 43);
  font-size: small;
  max-width: 600px;
}

/* Keyframe Animations */
@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
