@font-face {
  font-family: RoboHelvetica;
  src: url("../ebbcbfb3047edf6b-HelveticaNeueCyr-Rom.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: RoboHelvetica;
  src: url("../b05ef8cbc37e89cc-HelveticaNeueCyr-Med.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

.rs-scan-news-anchor { position: relative; }
#allrecords .rs-scan-nav {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 44px;
  color: #6b367b;
  white-space: nowrap;
}
#allrecords .rs-scan-nav:hover { text-decoration: underline; text-underline-offset: 4px; }
.rs-scan-mobile-home { display: none; }
.rs-article-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 16px; }
.rs-article-nav a { display: inline-flex; align-items: center; min-height: 44px; }

.rs-scan-gallery {
  padding: clamp(46px, 7vw, 96px) 0;
  scroll-margin-top: 74px;
  background: #f4f3f7;
  color: #272a38;
  font-family: RoboHelvetica, Arial, sans-serif;
}
.rs-scan-container { width: min(100% - 36px, 1200px); margin: auto; }
.rs-scan-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px 36px; margin-bottom: 26px; }
.rs-scan-intro h2 { margin: 0; font-weight: 500; font-size: clamp(30px, 4.2vw, 55px); line-height: 1.1; }
.rs-scan-intro p { max-width: 60ch; margin: 12px 0 0; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; color: #55596c; }
#allrecords .rs-scan-open {
  flex: none;
  box-sizing: border-box;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 8px 17px;
  border-radius: 24px;
  background: #69377b;
  color: white;
  font-weight: 500;
}
#allrecords .rs-scan-open:hover { background: #51265f; }
.rs-scan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#allrecords .rs-scan-grid { padding: 0; margin: 0; list-style: none; }
#allrecords .rs-scan-card {
  display: block;
  overflow: hidden;
  border: 1px solid #e0dbe6;
  border-radius: 14px;
  color: #272a38;
  text-decoration: none;
  background: white;
}
.rs-scan-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.rs-scan-card-caption {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 13px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.rs-scan-objective { color: #55596c; white-space: nowrap; }
.rs-scan-card-caption > :last-child { color: #69377b; }
#allrecords .rs-scan-card:hover { border-color: #804691; }
.rs-scan-nav:focus-visible, .rs-scan-gallery a:focus-visible, .rs-scan-mobile-home:focus-visible {
  outline: 3px solid #69377b;
  outline-offset: 3px;
}
@media (max-width: 979px) {
  .rs-scan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .rs-scan-mobile-home {
    position: absolute;
    z-index: 12;
    top: 19px;
    right: clamp(78px, 19vw, 134px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 4px 12px;
    border: 1px solid #d3bddc;
    border-radius: 24px;
    background: #fff;
    color: #643772;
    font: 500 14px RoboHelvetica, Arial, sans-serif;
    text-decoration: none;
  }
}
@media (max-width: 640px) {
  .rs-scan-intro { flex-direction: column; align-items: flex-start; }
  .rs-scan-grid { gap: 10px; }
  .rs-scan-card-caption { padding: 11px 8px; font-size: 14px; }
  .rs-article-nav { gap: 0 8px; }
}
