/* Coon Lab data websites catalogue: page styles on top of the shared theme (theme/tokens.css, theme/base.css).
   Uses only the theme's tokens; no colour or font of its own. Loaded last. */

/* The affiliation line above the page title (".ct-pagehead p" would otherwise style it as the lead). */
.ct-pagehead .lp-affil {
  margin: 0 0 var(--ct-space-2);
  font-size: var(--ct-fs-sm);
  font-weight: var(--ct-fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ct-header-muted);
}
.ct-pagehead .lp-affil a { color: inherit; }
.ct-pagehead .lp-affil a:hover { color: var(--ct-header-text); }

.lp-group + .lp-group { padding-top: 0; }
.lp-group__head { max-width: 46rem; margin-bottom: var(--ct-space-5); }
.lp-group__head h2 { margin-bottom: var(--ct-space-2); }
.lp-group__head p { margin: 0; }

.lp-grid {
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-grid > li { margin: 0; display: flex; }
.lp-grid > li > .ct-card { flex: 1 1 auto; min-width: 0; }

.lp-card .ct-card__title { overflow-wrap: anywhere; }
.lp-card__summary { margin-bottom: var(--ct-space-4); }

.lp-cite {
  margin: 0;
  padding-left: var(--ct-space-3);
  border-left: 3px solid var(--ct-border);
  font-size: var(--ct-fs-sm);
  line-height: 1.55;
  color: var(--ct-text-muted);
  overflow-wrap: anywhere;
}
.lp-cite__title { color: var(--ct-text); }
.lp-cite a { white-space: normal; }

.lp-card .ct-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ct-space-2) var(--ct-space-4);
}
.lp-card__addr { color: var(--ct-text-muted); overflow-wrap: break-word; min-width: 0; flex: 1 1 14rem; }
.lp-card .ct-card__footer .ct-btn { flex: none; }
.lp-printed { margin: var(--ct-space-3) 0 0; font-size: var(--ct-fs-sm); line-height: 1.55; }

/* A card with no link yet: the note takes the place of the address and the button. */
.lp-card__moving { font-style: italic; }

/* The card's picture (graphical abstract or overview figure) with its source line (package LP3). The figure is shown
   whole and in proportion: wide pictures fill the card, tall ones are capped in height and centred. A card with no
   picture has no figure and keeps the plain layout. The pictures are JPEG, so each carries its own white ground; a
   thin border in the theme's border colour frames it in both light and dark. */
.lp-fig {
  margin: 0;
  padding: var(--ct-space-5) var(--ct-space-5) 0;
}
.lp-fig__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 22rem;
  margin: 0 auto;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
}
.lp-fig__cap {
  margin-top: var(--ct-space-2);
  font-size: var(--ct-fs-sm);
  line-height: 1.4;
  color: var(--ct-text-muted);
  text-align: center;
}
