.learning-module {
  --research-blue: #1854a5;
  --research-blue-dark: #123f7f;
  --research-blue-soft: #5eb6de;
}

.learning-module .module-showcase,
.learning-module .module-news {
  width: min(100%, 1320px);
}

.research-section-heading {
  margin: 0 0 18px;
}

.research-section-heading p {
  margin: 0;
  color: #3478c1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-section-heading h2 {
  margin: 7px 0 0;
  color: #004a6a;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.16;
}

.research-links {
  margin-top: 34px;
}

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

.research-link-card {
  min-width: 0;
}

.research-link-card__link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 172px;
  color: #ffffff;
  background: var(--research-blue);
  overflow: hidden;
  text-decoration: none;
}

.research-link-card__link::before,
.research-link-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.research-link-card__link::before {
  background: linear-gradient(90deg, rgba(18, 63, 127, 0.88), rgba(24, 84, 165, 0.15) 58%, rgba(24, 84, 165, 0));
  opacity: 0;
}

.research-link-card__link::after {
  background: rgba(24, 84, 165, 0.18);
  opacity: 0;
}

.research-link-card__link:hover::before,
.research-link-card__link:focus-visible::before,
.research-link-card__link:hover::after,
.research-link-card__link:focus-visible::after {
  opacity: 1;
}

.research-link-card__link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.research-link-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 18px;
  background: var(--research-blue);
}

.research-link-card__content h3 {
  max-width: 260px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  font-weight: 800;
  line-height: 1.08;
}

.research-link-card__content p {
  display: -webkit-box;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.research-link-card__button {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 11px;
  color: #10243c;
  background: #ffffff;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
}

.research-link-card img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
}

.research-link-card__count {
  position: absolute;
  right: clamp(14px, 3vw, 26px);
  bottom: 12px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #ffffff;
  background: var(--research-blue-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(10, 48, 89, 0.2);
}

.research-systems {
  width: 100vw;
  margin-top: 34px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  color: #ffffff;
  background: #0092bf;
}

.research-systems__container {
  display: grid;
  grid-template-columns: minmax(220px, 292px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(100% - 44px, 1320px);
  margin: 0 auto;
  padding: 28px;
}

.research-systems__intro {
  display: grid;
  align-content: center;
  min-height: 164px;
  padding: 22px 24px;
  color: #253640;
  background: #c8fcfb;
}

.research-systems__intro p,
.research-systems__intro h2 {
  margin: 0;
}

.research-systems__intro p {
  color: #0c6d84;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-systems__intro h2 {
  margin-top: 7px;
  color: #414242;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.research-systems__body {
  position: relative;
  min-width: 0;
}

.research-systems__toolbar {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.research-systems__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #0a5970;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(7, 25, 38, 0.18);
  cursor: pointer;
  pointer-events: auto;
}

.research-systems__control:hover,
.research-systems__control:focus-visible {
  color: #ffffff;
  background: var(--research-blue);
}

.research-systems__control:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.research-systems__control svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.research-systems__viewport {
  position: relative;
  min-width: 0;
  padding: 0 58px;
  overflow: hidden;
  outline: none;
}

.research-systems__viewport:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.research-systems__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 320ms ease;
}

.research-systems__item {
  flex: 0 0 calc((100% - (var(--research-systems-columns, 3) - 1) * 12px) / var(--research-systems-columns, 3));
  min-width: 0;
}

.research-systems__card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 164px);
  aspect-ratio: 1;
  min-height: 0;
  margin: 0 auto;
  padding: 20px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.research-systems__card:hover,
.research-systems__card:focus-visible {
  color: #ffffff;
  background: var(--research-blue);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(7, 25, 38, 0.18);
}

.research-systems__card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.research-systems__icon {
  display: block;
  width: 38px;
  height: 38px;
}

.research-systems__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.research-systems__card span:last-child {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 991.98px) {
  .research-links__grid {
    grid-template-columns: 1fr;
  }

  .research-systems__container {
    grid-template-columns: 1fr;
  }

  .research-systems__intro {
    min-height: 112px;
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .research-link-card__link {
    grid-template-columns: 1fr;
  }

  .research-link-card img {
    min-height: 210px;
  }

  .research-systems__container {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-link-card__link::before,
  .research-link-card__link::after,
  .research-systems__track,
  .research-systems__card {
    transition: none;
  }
}
