/* =========================================================
   GENERAL SITE STYLING
   ========================================================= */

/* Keep the main content from becoming excessively wide */
.page-columns .content {
  max-width: 1100px;
}


/* =========================================================
   HOMEPAGE PROFILE LAYOUT
   ========================================================= */

.profile-container {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 70px;
  max-width: 1050px;
  margin: 40px auto;
}


/* =========================================================
   LEFT-HAND PROFILE COLUMN
   ========================================================= */

.profile-sidebar {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Profile photograph */

.profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 0 20px 0;
}


/* Name */

.profile-sidebar strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 10px;
}


/* =========================================================
   PROFILE LINKS
   ========================================================= */

.profile-links {
  margin-top: 25px;
}

.profile-links a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: #555;
}

.profile-links a:hover {
  color: #0d6efd;
}

.profile-links i {
  display: inline-block;
  width: 24px;
  margin-right: 5px;
  text-align: center;
}


/* =========================================================
   RIGHT-HAND CONTENT
   ========================================================= */

.profile-content {
  max-width: 700px;
  line-height: 1.6;
}

.profile-content h2:first-child {
  margin-top: 0;
}

.profile-content h3 {
  margin-top: 2rem;
}


/* =========================================================
   RESEARCH / COURSES IMAGE LINKS
   ========================================================= */

/* Remove borders around the table used for the two cards */

table {
  border: none !important;
}

table td,
table th {
  border: none !important;
  padding: 15px;
}

/* Keep the two images at reasonable sizes */

table img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  border-bottom: 1px solid #eeeeee;
}


/* =========================================================
   MOBILE / SMALL SCREENS
   ========================================================= */

@media (max-width: 768px) {

  .profile-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
  }

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

  .profile-photo {
    margin-left: auto;
    margin-right: auto;
  }

  .profile-links {
    display: inline-block;
    text-align: left;
  }

  .profile-content {
    max-width: 100%;
  }

  table td {
    padding: 5px;
  }
}
/* Research / Courses images */

.home-cards {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  max-width: 700px;
  margin-top: 50px;
}

.home-card {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.home-card img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .home-cards {
    flex-direction: column;
  }

  .home-card {
    width: 100%;
  }
}