/* Main page title styling */
.main-title {
  font-size: 3.2rem;
  font-weight: 950;
  color: #bcc9d6;
  padding-bottom: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  line-height: 1.05;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 3.0rem;
  color: #bcc9d6;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 1rem;
  align-items: center;
  margin: 0;
}

.project-details h2 {
  margin: 0 0 1rem;
  font-size: 2.1rem;
  font-weight: 900;
  color: #6aadaa;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

/* Add gap between description and role */
.project-details .project-description {
  margin-bottom: 0.7em;
}

.project-details p {
  margin: 0 0 0.35rem;
  line-height: 1.5;
  font-size: 1.08rem;
  font-weight: 500;
  color: #bcc9d6;
}

.project-details p strong {
  color: #6aadaa;
}

.project-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.2em;
  row-gap: 0.0em;
  margin: 0;
  padding: 0;
}

.project-meta dt {
  color: #6aadaa;
  font-weight: 700;
  white-space: nowrap;
}

.project-meta dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: #bcc9d6;
}

.project-meta a {
  color: #8bbdb8;
}

.project-details em {
  color: #dee6f0;
}

.project-details a {
  color: #8bbdb8;
}

.project-video {
  align-self: center;
  display: flex;
  align-items: center;
}

.project-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  #panel-wrapper {
    display: none !important;
  }

  #main-wrapper main.col-xl-9,
  #main-wrapper #tail-wrapper.col-xl-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
