/* Shared layout for research.html and research/brain-training/ */

.research-header {
  background: var(--research-bg);
  padding: 56px 24px 44px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.research-header .container {
  max-width: 720px;
  margin: 0 auto;
}

.research-header .title {
  margin: 0 0 16px;
}

.research-header .lead {
  margin: 0 auto;
  max-width: 42ch;
}

.research-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.research-article p {
  margin: 0 0 1.25em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.research-article h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--text);
}

.research-article h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin: 28px 0 12px;
  color: var(--text);
}

.research-article h3:first-child {
  margin-top: 0;
}

.research-section + .research-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.research-article a.citation-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.research-article a.citation-link:hover {
  text-decoration: underline;
}

.research-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.publication-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.publication-list li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.publication-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.citation {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

.citation a {
  color: var(--brand);
  text-decoration: underline;
  word-break: break-all;
}

.bio-section {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.bio-image {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bio-section p {
  margin-bottom: 1em;
}

.bio-section p:last-child {
  margin-bottom: 0;
}

.research-callout {
  margin-top: 8px;
}

.margin-bottom-16 { margin-bottom: 16px; }
.margin-bottom-24 { margin-bottom: 24px; }
.margin-bottom-40 { margin-bottom: 40px; }
.margin-bottom-60 { margin-bottom: 60px; }
.margin-top-16 { margin-top: 16px; }
.margin-top-24 { margin-top: 24px; }

@media (max-width: 768px) {
  .research-header {
    padding: 40px 20px 32px;
  }

  .research-article {
    padding: 36px 20px 64px;
  }

  .research-article p {
    font-size: 16px;
  }

  .research-section + .research-section {
    margin-top: 36px;
    padding-top: 36px;
  }

  .bio-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-image {
    width: 140px;
    height: 140px;
  }
}
