/* Research and development page, implemented from the Figma frame 10:485. */
.page-research-development {
  --research-green: #376036;
  --research-text: #333;
}

.page-research-development main {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.page-research-development .profile-hero > img { object-position: center 52%; }
.page-research-development .profile-hero-shade { background: rgba(0, 0, 0, .34); }

.research-intro { padding: 77px 0 0; }

.research-heading {
  max-width: 1600px;
  margin: 0 auto 55px;
  text-align: center;
}

.research-heading > p {
  margin: 0 0 6px;
  color: var(--research-green);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

.research-heading h2 {
  margin: 0;
  color: #000;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
}

.research-heading > div {
  max-width: 1598px;
  margin: 25px auto 0;
  color: var(--research-text);
  font-size: 16px;
  line-height: 2.5;
  font-weight: 400;
}

.research-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.research-gallery figure,
.directions-image {
  margin: 0;
  overflow: hidden;
  background: #d9d9d9;
}

.research-gallery img {
  width: 100%;
  aspect-ratio: 790 / 592;
  object-fit: cover;
  transition: transform .55s ease;
}

.research-gallery figure:hover img,
.directions-image:hover img { transform: scale(1.02); }

.research-directions {
  position: relative;
  padding: 74px 0 80px;
  background: #fff;
}

.directions-title {
  margin: 0 0 48px;
  color: #000;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}

.directions-layout {
  display: grid;
  grid-template-columns: minmax(0, 750px) minmax(0, 628px);
  gap: clamp(80px, 11.55vw, 222px);
  align-items: start;
}

.directions-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .55s ease;
}

.directions-lead {
  margin: -8px 0 39px;
  color: var(--research-text);
  font-size: 16px;
  line-height: 1.875;
  font-weight: 400;
}

.direction-list {
  display: grid;
  gap: 36px;
}

.direction-list article {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 100px;
  padding: 15px 30px;
  background: #f5f5f5;
  transition: transform .25s ease, box-shadow .25s ease;
}

.direction-list article:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 28px rgba(55, 96, 54, .09);
}

.direction-list article > span {
  width: 8px;
  height: 8px;
  margin-top: 11px;
  background: url("../../../images/pages/aboutUS/research-development/direction-arrow.svg") center / 8px 8px no-repeat;
  flex: 0 0 auto;
  transform: rotate(90deg);
}

.direction-list h3 {
  margin: 0;
  color: var(--research-green);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.direction-list p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
}

.research-results { padding: 0 0 130px; }

.results-heading {
  max-width: 1600px;
  margin: 0 auto 74px;
  text-align: center;
}

.results-heading h2 {
  margin: 0;
  color: #000;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
}

.results-heading p {
  margin: 25px 0 0;
  color: var(--research-text);
  font-size: 16px;
  line-height: 2.5;
  font-weight: 400;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.results-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 172px;
  padding: 45px 18px 18px;
  text-align: center;
  background: #f5f5f5;
  transition: transform .25s ease, box-shadow .25s ease;
}

.results-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(55, 96, 54, .11);
}

.results-grid strong {
  position: absolute;
  top: -34px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0;
  color: #fff;
  background: url("../../../images/pages/aboutUS/research-development/result-number-circle.svg") center / 68px 68px no-repeat;
  transform: translateX(-50%);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.results-grid h3 {
  max-width: 220px;
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.875;
  font-weight: 500;
}

@media (max-width: 1500px) {
  .research-heading > p { font-size: 15px; }
  .directions-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(60px, 7vw, 100px);
  }
  .direction-list { gap: 20px; }
}

@media (max-width: 1199.98px) {
  .directions-layout {
    grid-template-columns: minmax(340px, .85fr) minmax(480px, 1.15fr);
    gap: 54px;
  }
  .directions-lead { font-size: 14px; }
  .direction-list { gap: 12px; }
  .direction-list article { padding-inline: 22px; }
  .direction-list h3 { font-size: 18px; }
  .direction-list p { font-size: 14px; }
  .results-grid { gap: 12px; }
  .results-grid article { padding-inline: 12px; }
}

@media (max-width: 900px) {
  .directions-layout { grid-template-columns: 1fr; }
  .directions-image { max-height: 700px; }
  .directions-image img {
    aspect-ratio: 4 / 3;
    object-position: center 48%;
  }
  .directions-content { padding-top: 4px; }
  .direction-list { gap: 14px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 14px; }
  .results-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .page-research-development .profile-hero > img { object-position: 53% center; }
  .research-intro { padding-top: 62px; }
  .research-directions { padding: 64px 0 72px; }
  .research-heading { margin-bottom: 42px; }
  .research-heading > p { font-size: 14px; }
  .research-heading h2,
  .directions-title,
  .results-heading h2 { font-size: 26px; }
  .research-heading > div,
  .results-heading p {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.85;
    text-align: justify;
  }
  .research-gallery { grid-template-columns: 1fr; gap: 14px; }
  .directions-title { margin-bottom: 42px; }
  .directions-layout { gap: 45px; }
  .directions-lead { margin-top: 0; line-height: 1.8; }
  .direction-list article { padding: 16px 18px; }
  .research-results { padding: 0 0 90px; }
  .results-heading { margin-bottom: 68px; }
}

@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-grid article:last-child { grid-column: auto; }
  .results-grid article { min-height: 160px; }
}
