/* Research Section */
.research {
  padding: 32px 0 48px;
}

.research .section-title {
  margin-bottom: 18px;
}

.research-description,
.project {
  margin-bottom: 28px;
  padding: 24px 26px;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.research-description {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d8e7fb;
}

.research-description p,
.project p {
  margin-bottom: 16px;
  color: #334155;
  line-height: 1.75;
}

.research ul,
.project ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
}

.research ul li,
.project ul li {
  margin-bottom: 12px;
  color: #334155;
  line-height: 1.7;
}

.project {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.project:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  border-color: #bfd6f4;
}

.project a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: normal;
  border-radius: 12px;
  margin: -4px;
  padding: 4px;
}

.project a:hover {
  background-color: #f7fbff;
}

.subsection-title {
  margin-top: 0;
  margin-bottom: 12px;
  color: #17324d;
  font-size: 1.3rem;
  line-height: 1.3;
}

.project strong,
.research-description strong {
  color: #17324d;
  font-weight: 700;
}

.research-link {
  margin-top: 10px;
  padding: 14px 16px;
  background: #f8fbff;
  border: 1px solid #d8e7fb;
  border-radius: 14px;
}

.research-link ul {
  margin-bottom: 0;
}

.research-link li:last-child {
  margin-bottom: 0;
}

.research-link a {
  color: #0b66d6;
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}

.research-link a:hover {
  text-decoration: underline;
}

.research-link a:active {
  color: #0957b5;
}

.research-link a:focus {
  outline: 2px solid #0b66d6;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .research {
    padding: 24px 0 36px;
  }

  .research-description,
  .project {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .subsection-title {
    font-size: 1.15rem;
  }
}

.project {
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: normal;
  border-radius: 12px;
  margin: -4px;
  padding: 4px;
  cursor: pointer;
}

.project-card-link:hover {
  background-color: #f7fbff;
}

.project-card-link:hover .project-cta {
  transform: translateX(4px);
  color: #0957b5;
}

.project-card-link:focus {
  outline: 2px solid #0b66d6;
  outline-offset: 3px;
  border-radius: 12px;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.project-cta {
  color: #0b66d6;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

.project:hover {
  cursor: pointer;
}
