.sample-project {
  width: 100%;
  background: var(--d);
  color: var(--l);
}

.sample-project .container {
  position: relative;
}

.sample-project-hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 150svh;
  overflow: hidden;
}

.sample-project-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.sample-project-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-project-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 19, 19, 0.25);
}

.sample-project-hero .container {
  padding-top: 35svh;
}

.sample-project-hero-header h1 {
  position: relative;
  color: var(--l);
}

.sample-project-content {
  position: relative;
  padding: 4rem 0 8rem;
}

.sample-project-content,
.sample-project-details-1 .container,
.sample-project-details-2 .container {
  display: flex;
  gap: 2rem;
}

.sample-project-col:nth-child(1) {
  flex: 2;
}

.sample-project-col:nth-child(2) {
  flex: 3;
}

.sample-project-content .sample-project-col:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sample-project-content .sample-project-col:nth-child(2) h3 {
  width: 85%;
  margin-bottom: 2rem;
}

.sample-project-content-wrapper {
  display: block;
}

.sample-project-meta .sample-project-hero-row {
  display: flex;
  gap: 2rem;
}

.sample-project-meta .sample-project-hero-sub-col {
  flex: 1;
}

.sample-project-meta .sample-project-hero-sub-col p:nth-child(1) {
  margin-bottom: 1rem;
}

.sample-project-details {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 4rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background-color: var(--l);
  color: var(--d);
}

.sample-project-details h3 {
  width: 85%;
  margin-bottom: 2rem;
}

.sample-project-details-img {
  width: 75%;
  margin-top: 4rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.sample-project-details-2 .sample-project-meta {
  margin-bottom: 4rem;
  color: var(--d);
}

.sample-project-details-2
  .sample-project-meta
  .sample-project-hero-sub-col
  p:nth-child(1) {
  margin-bottom: 1rem;
}

.sample-project-details-2 .sample-project-details-img {
  margin-top: 8rem;
  margin-bottom: 4rem;
}

@media (max-width: 1000px) {
  .sample-project-content,
  .sample-project-details-1 .container,
  .sample-project-details-2 .container {
    flex-direction: column;
    gap: 4rem;
  }

  .sample-project-details-img,
  .sample-project-content .sample-project-col:nth-child(2) h3,
  .sample-project-details h3 {
    width: 100%;
  }
}
