/* ============================================================
   Research page
   ============================================================ */

/* .research-page {
  max-width: 1100px;
  margin: 0 auto;
} */

.research-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.research-hero {
  margin-bottom: 2.5rem;
  max-width: 900px;
}

.research-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #58a6ff;
  margin-bottom: 0.8rem;
}

.research-hero p,
.research-approach p {
  font-size: 1.02rem;
  line-height: 1.75;
  opacity: 0.92;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 1.4rem 0 3rem;
}

.research-card {
  padding: 1.5rem;
  border: 1px solid rgba(160, 160, 160, 0.25);
  border-radius: 18px;
  background: rgba(160, 160, 160, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.research-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.research-card p {
  line-height: 1.65;
  opacity: 0.88;
}

.research-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 3rem;
}

.research-item {
  padding: 1.4rem 1.5rem;
  border-left: 4px solid #58a6ff;
  border-radius: 14px;
  background: rgba(160, 160, 160, 0.07);
  border-top: 1px solid rgba(160, 160, 160, 0.22);
  border-right: 1px solid rgba(160, 160, 160, 0.22);
  border-bottom: 1px solid rgba(160, 160, 160, 0.22);
}

.research-item h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.research-item p {
  margin-bottom: 0.65rem;
  line-height: 1.65;
  opacity: 0.88;
}

.research-status {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #58a6ff;
}

.research-approach {
  max-width: 900px;
  margin: 1.2rem 0 3rem;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(160, 160, 160, 0.25);
  background: rgba(160, 160, 160, 0.06);
}

.research-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 2rem;
}

.research-keyword-cloud span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #58a6ff;
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.25);
}

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


/* ============================================================
   No-sidebar centered page layout
   ============================================================ */

/* Hide the title automatically generated by Minimal Mistakes */
.no-sidebar-page #page-title,
.no-sidebar-page .archive > h1:first-child {
  display: none !important;
}

/* Center the whole content area after removing the author sidebar */
@media screen and (min-width: 1024px) {
  .no-sidebar-page .archive {
    float: none !important;
    width: min(1100px, calc(100% - 2rem)) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media screen and (max-width: 1023px) {
  .no-sidebar-page .archive {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Your own page title, aligned with the content */
.custom-page-title {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  line-height: 1.25;
}

/* Let page wrappers use the parent archive width */
.projects-page,
.research-page,
.papers-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 3rem !important;
}