.collect-hero-actions .novo-button--small {
  min-height: 36px;
  padding: 5px var(--collect-hero-text-gap);
  color: #fff;
  background: linear-gradient(135deg, #176de7 0%, #0759d1 100%);
  border-width: 1px;
  border-color: #0759d1;
  border-radius: 8px;
  box-shadow: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.collect-hero-actions .novo-button--small:hover {
  background: linear-gradient(135deg, #0759d1 0%, #0648b5 100%);
  box-shadow: none;
}

.collect-hero-actions .novo-button--small:focus-visible {
  outline: 3px solid rgba(23, 109, 231, .28);
  outline-offset: 3px;
}

.collect-hero-illustration {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.collect-hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.collect-import-overview { text-align: center; }

.collect-import-copy {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.collect-import-copy .collect-kicker { justify-content: center; }
.collect-import-copy h2 em { display: block; }
.collect-import-copy > p { margin-inline: auto; }

.collect-import-copy .collect-import-sources {
  max-width: 560px;
  margin-inline: auto;
}

.collect-import-copy .collect-fine { max-width: 700px; color: var(--collect-muted) !important; }

.collect-section .collect-copy .collect-section-title {
  color: var(--collect-blue);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .collect-section .collect-copy .collect-section-title {
    font-size: clamp(18px, 4.8vw, 28px);
  }
}

.collect-capture-intro,
.collect-pdf-heading { display: block; }

.collect-capture-intro .collect-copy,
.collect-pdf-heading .collect-copy { max-width: 780px; }

.collect-page .collect-import-image {
  width: 100%;
  max-width: 640px;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 14px;
}

.collect-import-image img {
  display: block;
  width: 100%;
  height: auto;
}

.collect-import-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding: 24px;
  background: #f4f9fe;
  border: 1px solid #daebf8;
  border-radius: 22px;
}

.collect-import-shot {
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 45 / 29;
}

.collect-import-capture {
  width: 100%;
  aspect-ratio: 45 / 29;
  overflow: hidden;
  background: #f7fafe;
  border: 2px solid #bdccd9;
  border-radius: 10px;
}

.collect-import-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  margin: 0;
}

.collect-ways { background: #fff; }

.collect-ways .collect-ways-inner {
  gap: 14px;
  padding-block: 20px;
}

.collect-ways .collect-ways-inner a {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 3px 10px;
  align-content: center;
  align-items: center;
  min-height: 76px;
  padding: 14px 18px;
  color: #123d65;
  background: #c8e1ff;
  border: 1px solid #8eb8eb;
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease;
}

.collect-ways .collect-ways-inner a span {
  grid-row: 1;
  align-self: center;
  color: #1763b3;
}

.collect-ways .collect-ways-inner a strong { color: var(--collect-blue); white-space: nowrap; }

.collect-ways .collect-ways-inner a:hover,
.collect-ways .collect-ways-inner a:focus-visible {
  color: #fff;
  background: var(--collect-blue);
  border-color: var(--collect-blue);
}

.collect-ways .collect-ways-inner a:is(:hover, :focus-visible) :is(span, strong) {
  color: #fff;
}

.collect-ways .collect-ways-inner a:focus-visible {
  outline: 2px solid #0759d1;
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .collect-ways .collect-ways-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .collect-hero-illustration { max-width: 620px; }
  .collect-ways .collect-ways-inner { gap: 12px; }
  .collect-import-gallery { gap: 14px; padding: 18px; }
}

@media (max-width: 600px) {
  .collect-hero-illustration { border-radius: 18px; }
  .collect-ways .collect-ways-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 16px; }
  .collect-ways .collect-ways-inner a {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 3px 7px;
    min-height: 64px;
    padding: 13px;
  }
  .collect-ways .collect-ways-inner a strong { font-size: 14px; }
  .collect-import-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
    padding: 18px;
  }
}

/* Balance the import copy with one readable screenshot on desktop. */
@media (min-width: 1024px) {
  .collect-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(44px, 5vw, 72px);
    align-items: center;
    max-width: 1240px;
  }

  .collect-import-overview { text-align: left; }
  .collect-import-copy { max-width: 550px; margin-inline: 0; }
  .collect-import-copy .collect-kicker { justify-content: flex-start; }
  .collect-import-copy > p,
  .collect-import-copy .collect-import-sources { margin-inline: 0; }

  .collect-import-copy .collect-import-sources {
    width: 80%;
    max-width: 440px;
    padding: 14px;
    border-radius: 12px;
  }
  .collect-import-copy .collect-import-logo-row { gap: 7px; }
  .collect-import-copy .collect-import-logo { height: 50px; padding: 7px; border-radius: 8px; }
  .collect-import-copy .collect-import-logo--endnote img { width: 98px; }
  .collect-import-copy .collect-import-logo--zotero img { width: 83px; }
  .collect-import-copy .collect-import-logo--mendeley { gap: 4px; }
  .collect-import-copy .collect-import-logo--mendeley img { width: 18px; }
  .collect-import-copy .collect-import-logo--mendeley span { font-size: 11px; }

  .collect-page .collect-import-image { margin: 0; }

  .collect-import-gallery {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 0;
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    isolation: isolate;
  }
  .collect-import-gallery .collect-import-shot {
    position: relative;
    width: 62.5%;
    margin-left: 37.5%;
    z-index: 1;
  }
  .collect-import-gallery .collect-import-shot:nth-child(2) {
    margin-top: calc(100% * -0.1409722222);
    margin-left: 18.75%;
    z-index: 2;
  }
  .collect-import-gallery .collect-import-shot:nth-child(3) {
    margin-top: calc(100% * -0.1409722222);
    margin-left: 0;
    z-index: 3;
  }
  .collect-import-gallery .collect-import-capture {
    border-width: 1px;
    box-shadow: 0 4px 12px rgba(13, 56, 91, .06);
  }
}

.collect-section--capture .collect-capture-stage--scholar {
  width: 84%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0;
}

/* Match the original 2532 x 1331 viewport crop, without resampling the source. */
.collect-browser-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 2532 / 1331;
  overflow: hidden;
}

.collect-shot .collect-browser-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 101.1058452%;
  max-width: none;
  height: auto;
  transform: translateY(-10.875%);
}

.collect-section--capture .collect-copy h2 {
  font-weight: 600;
  line-height: 1.05;
}

.collect-section--capture .collect-copy h2 em {
  display: block;
  color: var(--collect-blue);
  font-style: normal;
}

@media (max-width: 600px) {
  .collect-section--capture .collect-capture-stage--scholar { width: 100%; }
}

.collect-section--search .collect-copy h2 {
  font-weight: 600;
  line-height: 1.05;
}

.collect-section--search .collect-copy h2 em {
  display: block;
  color: var(--collect-blue);
  font-style: normal;
}

.collect-section--search .collect-shot--search {
  width: 100%;
  max-width: 440px;
  justify-self: center;
  border-radius: 10px;
}

@media (min-width: 1024px) {
  .collect-section--search .collect-split--search {
    max-width: 1080px;
    grid-template-columns: minmax(0, 440px) minmax(0, 550px);
    gap: clamp(44px, 5vw, 72px);
  }
}

.collect-section--pdf .collect-pdf-heading {
  max-width: 1000px;
  margin-inline: auto;
  gap: clamp(32px, 4vw, 56px);
}

.collect-section--pdf .collect-copy h2 {
  font-weight: 600;
  line-height: 1.05;
}

.collect-section--pdf .collect-copy h2 em {
  display: block;
  color: var(--collect-blue);
  font-style: normal;
}

.collect-section--pdf .collect-shot--pdf {
  width: 90%;
  max-width: 900px;
  margin-inline: auto;
  border-radius: 10px;
}

.collect-section--pdf .collect-shot--pdf img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

@media (max-width: 600px) {
  .collect-section--pdf .collect-pdf-heading { gap: 18px; }
  .collect-section--pdf .collect-shot--pdf { width: 100%; }
}

.collect-page > .site-footer.site-footer--unified {
  width: calc(100% - 96px);
  margin: 0 auto 24px;
  background: #f4f4f5;
  border: 0;
  border-radius: 12px;
}

.collect-page > .site-footer.site-footer--unified::before {
  display: none;
  content: none;
}

.collect-page > .site-footer.site-footer--unified .novo-footer-inner {
  padding: 36px 32px 40px;
}

.collect-page > .site-footer .novo-footer-group {
  gap: 16px;
}

.collect-page > .site-footer .novo-footer-group .footer-heading {
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.collect-page > .site-footer .novo-footer-group > a,
.collect-page > .site-footer .novo-footer-feature-link strong,
.collect-page > .site-footer .site-profile-links a {
  color: #52525b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.collect-page > .site-footer .novo-footer-group .novo-footer-feature-link {
  padding-left: 0;
  border-left: 0;
}

.collect-page > .site-footer .site-profile-links {
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
}

.collect-page > .site-footer .novo-footer-group > a:hover,
.collect-page > .site-footer .novo-footer-feature-link:hover strong,
.collect-page > .site-footer .site-profile-links a:hover {
  color: var(--collect-blue);
}

@media (max-width: 680px) {
  .collect-page > .site-footer.site-footer--unified {
    width: calc(100% - 32px);
    margin-bottom: 16px;
  }

  .collect-page > .site-footer.site-footer--unified .novo-footer-inner {
    padding: 28px 24px 32px;
  }

  .collect-page > .site-footer .novo-footer-group--library {
    grid-template-columns: 1fr;
  }
}

/* Keep screenshot shadows defined and close to their neutral gray edges. */
.collect-page .collect-import-image,
.collect-page .collect-shot {
  border: 1px solid #bfc3c8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16),
              0 7px 14px -4px rgba(0, 0, 0, .24);
}
