/* Understand BioTwin and Science & research only.
   The home pages load education.css and library.css too, so everything that
   only these two pages need lives here: the one-line description on each
   presentation card, the link under each step of the method and the two
   "science in human terms" presentations side by side. */

/* Presentation cards: what each presentation covers, in one line. */
.bt-library-desc {
  margin: 0 0 16px;
  color: #49615a;
  font-size: 15px;
  line-height: 1.5;
}

/* The method: every step opens the presentation or the page that explains it. */
.r2-science-method .bt-step-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-weight: 600;
}

/* Science in human terms: metabolomics, then the tree and the forest. */
.bt-edu-teasers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(1280px, calc(100% - 96px));
  margin: 64px auto;
  color: #193a35;
}
.bt-edu-teasers .bt-edu-teaser {
  width: auto;
  margin: 0;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.bt-edu-teasers .bt-edu-teaser img { max-height: 260px; }
.bt-edu-teasers .bt-edu-teaser h2 { font-size: clamp(26px, 2.3vw, 36px); }
.bt-edu-teasers .bt-edu-teaser p:not(.bt-edu-kicker) { font-size: 16px; }

/* Understand BioTwin: the bridge to the science after the library. */
.bt-learn-science { margin-top: 12px; margin-bottom: 36px; }

@media (max-width: 1100px) {
  .bt-edu-teasers { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .bt-edu-teasers { width: calc(100% - 40px); margin: 42px auto; }
  .bt-edu-teasers .bt-edu-teaser { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .bt-edu-teasers .bt-edu-teaser img { max-height: 220px; }
}

/* Understand BioTwin: the articles, grouped by question (audit C-16, 30/09/2026). */
.bt-articles {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 96px));
  margin: 64px auto;
  color: #193a35;
  scroll-margin-top: 110px;
}
.bt-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
}
.bt-articles-group h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.bt-articles-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bt-articles-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid #193a351c;
  color: inherit;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}
.bt-articles-group a:hover,
.bt-articles-group a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 900px) {
  .bt-articles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .bt-articles { width: calc(100% - 40px); margin: 42px auto; }
}
