
/* ===== Spotlight Layout ===== */
.spotlight-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

/* Image styling */
.spotlight-image img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 8px;
}

/* Text styling */
.spotlight-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Mobile responsiveness for Spotlight */
@media (max-width: 768px) {
  .spotlight-container {
    grid-template-columns: 1fr;
  }

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

  .spotlight-image img {
    max-width: 200px;
  }
}

/* ===== Research Cards ===== */
.research-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap; 
}

.research-card img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.research-text {
  flex: 1;
  min-width: 200px;
}

/* Mobile styles for Research Cards */
@media (max-width: 768px) {
  .research-page .research-card {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .research-page .research-card img {
    width: 100%;
    max-width: 90%;
    height: auto;
    margin-bottom: 1rem;
  }

  .research-page .research-text {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
  }

  .research-page .research-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .research-page .research-card p {
    font-size: 1rem;
  }
}

/* Hide keyword sidebar on mobile */
@media (max-width: 768px) {
  #keyword-sidebar {
    display: none !important;
  }
}

/* ===== Lab Cards ===== */
.lab-logo {
  width: 150px;
  height: auto;
}

@media (max-width: 768px) {
  .lab-card .card-body {
    flex-direction: column !important;  
    align-items: center;                 
    text-align: center;                  
  }

  .lab-card .lab-logo {
    margin-bottom: 1rem !important;
    margin-right: 0 !important;
  }
}

