.research-section {
  margin: 3rem 0 1rem;
}

.section-divider {
  display: block;
  width: 12.5rem;
  height: 1px;
  margin: 0 auto 2rem;
  background: #cfcac4;
}

.research-section-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.research-divider {
  display: block;
  width: 5.5rem;
  height: 1px;
  margin: 0 auto 1rem;
  background: #d7d2cb;
}

.research-section-header h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: 2rem;
  font-weight: 800;
}

.research-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.research-card {
  border-left: 4px solid #5b2b69;
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 31, 44, 0.08);
  padding: 1.3rem 1.35rem 1.4rem;
}

.research-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #5b2b69;
  color: #fff;
  font-family: var(--header-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.research-badge-muted {
  background: #8b8f97;
}

.research-badge-blue {
  background: #3c6eb4;
}

.research-badge-red {
  background: #b24a45;
}

.research-title {
  margin: 0 0 0.95rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.research-title a {
  color: #424242;
  text-decoration: none;
}

.research-title a:hover,
.research-title a:focus {
  color: #5b2b69;
}

.research-meta {
  margin: -0.2rem 0 0.95rem;
  color: #6a7079;
  font-size: 1rem;
  line-height: 1.45;
}

.research-link {
  color: #5b2b69;
  font-family: var(--header-font);
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
}

.research-link:hover,
.research-link:focus {
  color: #44204f;
  text-decoration: none;
}

.other-works {
  margin-top: 2.4rem;
}

.other-works-title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e1ddd8;
  color: #3a3a3a;
  font-size: 2.1rem;
  font-weight: 500;
}

.other-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.other-work-card {
  border-radius: 0.95rem;
  background: #f5f6f8;
  padding: 1.45rem 1.5rem 1.35rem;
}

.other-work-heading {
  margin: 0 0 0.9rem;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.08;
}

.other-work-heading a {
  color: #383838;
  text-decoration: none;
}

.other-work-heading a:hover,
.other-work-heading a:focus {
  color: #5b2b69;
}

.other-work-meta {
  margin: 0 0 0.95rem;
  color: #5b2b69;
  font-size: 1.05rem;
  line-height: 1.4;
}

.other-work-link {
  color: #5b2b69;
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.other-work-link:hover,
.other-work-link:focus {
  color: #44204f;
  text-decoration: none;
}

.community-section {
  margin: 2rem 0 0;
  text-align: center;
}

.community-section .section-divider:last-child {
  margin-top: 2rem;
  margin-bottom: 0;
}

.community-card {
  border-radius: 1.25rem;
  background: #f5f6f8;
  max-width: 84rem;
  margin: 0 auto;
  padding: 2.35rem 2.6rem 2.2rem;
}

.community-card h2 {
  margin: 0 0 0.8rem;
  color: #333;
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.08;
}

.community-card p {
  margin: 0 auto 1.45rem;
  max-width: 60rem;
  color: #243b63;
  font-size: 1.32rem;
  line-height: 1.28;
}

.community-button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 0.8rem;
  background: #5b1e5d;
  color: #fff;
  padding: 0.82rem 2rem;
  font-family: var(--body-font);
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
}

.community-button:hover,
.community-button:focus {
  color: #fff;
  background: #4b184d;
  text-decoration: none;
}

footer {
  margin-top: 2.75rem;
  background: #c8cdea;
}

footer .beautiful-jekyll-footer {
  padding-top: 2.5rem;
  padding-bottom: 1.9rem;
}

.community-footer {
  margin-bottom: 1.2rem;
}

.community-footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
}

.community-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 999px;
  background: #3d74c1;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
}

.community-footer-icon:hover,
.community-footer-icon:focus {
  color: #fff;
  background: #2f61aa;
  text-decoration: none;
}

.community-footer-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

footer .copyright {
  margin: 0.2rem 0 0.6rem;
  color: #203a5c !important;
  font-family: var(--header-font);
  font-size: 1.1rem;
}

footer .theme-by {
  margin: 0;
  color: #203a5c !important;
  font-size: 1rem;
}

footer .theme-by a {
  color: #2f67c0;
}

footer .footer-links {
  display: none;
}

@media (max-width: 767.98px) {
  .research-section {
    margin-top: 2.25rem;
  }

  .section-divider {
    width: 8rem;
    margin-bottom: 1.5rem;
  }

  .research-section-header h2 {
    font-size: 1.75rem;
  }

  .research-card {
    padding: 1.05rem 1rem 1.15rem;
  }

  .research-badge {
    font-size: 0.82rem;
  }

  .research-title {
    font-size: 1.2rem;
  }

  .research-link {
    font-size: 1.15rem;
  }

  .other-works-title {
    font-size: 1.55rem;
  }

  .other-works-grid {
    grid-template-columns: 1fr;
  }

  .other-work-card {
    padding: 1.05rem 1rem 1rem;
  }

  .other-work-heading {
    font-size: 1.3rem;
  }

  .other-work-meta,
  .other-work-link {
    font-size: 0.95rem;
  }

  .research-meta {
    font-size: 0.9rem;
  }

  .community-card {
    padding: 1.65rem 0.95rem 1.55rem;
  }

  .community-card h2 {
    font-size: 1.55rem;
  }

  .community-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .community-button {
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
  }

  .community-footer-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.45rem;
  }

  .community-footer-icon img {
    width: 1.65rem;
    height: 1.65rem;
  }
}
