/* Version: 2025-10-12-v705 */
/*
 * About Page Styles
 *
 * Layout and components for the about page.
 */

h1 {
  text-align: center;
}

.wrapper.wrapper--labs {
  margin-top: 0;
}

.content--labs h2 {
  padding-bottom: 10px;
  padding-top: 10px;
}

.sidebar--labs {
  margin: 0;
}

.sidebar--labs h4 {
  padding-top: 20px;
  font-size: 0.875rem;
}

/* Contact section spacing */
.sidebar--labs h3.h4 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.sidebar--labs h3.h4:first-of-type {
  margin-top: 0.5rem;
  /* Less space for first contact item after "Let's Connect!" */
}

.sidebar--labs p {
  margin-bottom: 0;
}

.sidebar--labs .featured--image {
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
  width: 100%;
  height: auto;
}

.content--labs a,
.content--labs a:visited {
  color: var(--color-link);
  text-decoration: underline;
}

.content--labs a:hover,
.content--labs a:active {
  box-shadow: 0px 0px 0px 5px var(--color-secondary-50);
  background-color: var(--color-secondary-50);
  text-decoration: underline;
  border-radius: 20px;
  transition: all 0.1s ease-in;
  color: var(--color-text);
}

.wrapper--labs>* {
  padding: 0 10px;
  margin-bottom: 10px;
}

.sidebar--labs {
  font-size: 0.875rem;
}

@media screen and (min-width: 500px) {
  .sidebar--labs {
    float: left;
    width: 19.1489%;
  }

  .content--labs {
    float: right;
    width: 79.7872%;
  }

  .wrapper--labs {
    margin: 0 auto;
    grid-template-columns: 1fr 3fr;
    grid-gap: 20px;
  }

  .wrapper--wide {
    clear: both;
  }
}

/* Lab Projects Styles */
.labs-projects {
  margin: 1rem 0;
}

.labs-project {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.labs-project-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.labs-project-icon img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.labs-project-content {
  flex: 1;
}

.labs-project-content p {
  margin: 0;
}

@supports (display: grid) {
  .wrapper--labs>* {
    width: auto;
    margin: 10px;
  }
}
