/* ===== page research-researchindex (compiled from Vue SCSS) ===== */
@charset "UTF-8";
.bg-dark {
  background-color: #121816;
}

.bg-white {
  background-color: #ffffff;
}

.text-error {
  color: #c94a4a;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.align-items-start {
  align-items: flex-start;
}

.flex-column {
  flex-direction: column;
}

.mt-auto {
  margin-top: auto;
}

.border-top {
  border-top: 1px solid #d9e5e0;
}

.tag-outline {
  border: 1px solid #d9e5e0;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  color: #66736e;
}

.tag-primary-light {
  background-color: #eaf6f2;
  color: #0b6b5a;
  padding: 2px 8px;
  border-radius: 4px;
}

.direction-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.direction-card .desc-wrapper {
  height: 42px; /* 2行，14px * 1.5 line-height*/
}
.direction-card .desc-wrapper .text-truncate-lines {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.5;
}

/* Latest Results*/
.latest-results .result-more-btn {
  border: 1px solid #0b6b5a;
  background-color: transparent;
  color: #0b6b5a;
  transition: all 160ms ease;
}
.latest-results .result-more-btn:hover {
  background-color: #0b6b5a;
  color: #ffffff;
}
.latest-results .text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mechanisms*/
.mechanisms-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.mechanism-item .mech-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(11, 107, 90, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mechanism-item .mech-icon-wrapper .mech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partners*/
.partner-logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.partner-logo-wall .partner-logo-item {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-wall .partner-logo-item .logo-img-placeholder {
  font-weight: 500;
}

.text-main {
  color: #1e2b27;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-cta-btn {
  transition: all 0.3s ease;
}
.hero-cta-btn:hover {
  background-color: #ffffff !important;
  color: #0b6b5a !important;
}

.is-first-enter .text-h1,
.is-first-enter .text-h3,
.is-first-enter .hero-cta-btn {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; will-change: transform, opacity;
  opacity: 0;
}
.is-first-enter .text-h3 {
  animation-delay: 0.2s;
}
.is-first-enter .hero-cta-btn {
  animation-delay: 0.4s;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}
.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.95);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}
.reveal-zoom.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Reverted from utilities.scss */
.py-8 {
  padding-top: 48px;
  padding-bottom: 80px;
}

.mb-6 {
  margin-bottom: 48px;
}

.mb-4 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: #66736e;
}

.text-sm {
  font-size: 14px;
}

.mb-2 {
  margin-bottom: 12px;
}

.mr-2 {
  margin-right: 12px;
}

.text-primary {
  color: #0b6b5a;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.mb-3 {
  margin-bottom: 16px;
}

.text-xs {
  font-size: 12px;
}

.bg-light {
  background-color: #f7faf9;
}

.border {
  border: 1px solid #d9e5e0;
}

.justify-between {
  justify-content: space-between;
}

.gap-5 {
  gap: 32px;
}

.mt-6 {
  margin-top: 48px;
}

.p-5 {
  padding: 32px;
}

.mt-2 {
  margin-top: 12px;
}

.mt-5 {
  margin-top: 32px;
}

.p-4 {
  padding: 24px;
}

.pt-3 {
  padding-top: 16px;
}

/* Reverted responsive */
@media (max-width: 767px) {
  .mechanisms-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .mechanisms-container .mechanism-item {
    /* 移动端：一行3个，剩余的自动居中，减去 gap 的宽度*/
    width: calc((100% - 24px * 2) / 3);
    /* 让内部的文字等不要过宽，避免挤压*/
    min-width: 100px;
  }
}
@media (max-width: 1199px) {
  .partner-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1199px) and (min-width: 768px) and (max-width: 1199px) {
  .mechanisms-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .mechanisms-container {
    grid-template-columns: repeat(3, 1fr);
  }
}