/* About page styles — themed to match common.css (earthy greens, warm neutrals) */

/* Main content area spacing */
main {
  max-width: 1000px;
  margin: 80px auto 100px;
  padding: 20px;
  min-height: calc(100vh - 180px);
}

/* Bio blurb container */
.bio-blurb {
  background: linear-gradient(180deg, rgba(240,230,210,0.95), rgba(245,240,230,0.95));
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(143,151,121,0.15);
  box-shadow: 0 4px 15px rgba(47,62,28,0.08);
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  align-items: start;
}

/* Bio blurb content (h4 + p) on the left */
.bio-blurb h4 {
  color: #4b5320;
  font-size: 1.3rem;
  margin: 0 0 12px 0;
  grid-column: 1;
  grid-row: 1;
}

.bio-blurb p {
  color: #2f3e1c;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
  font-size: 0.95rem;
  grid-column: 1;
  grid-row: 2;
}

/* Bio image on the right */
.bio-blurb img.bio-image {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(143,151,121,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

/* Team photo — horizontal image, show full width */
.bio-blurb img[alt="team photo"] {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments for tablets and smaller screens */
@media (max-width: 768px) {
  main {
    margin: 80px 12px 100px;
    padding: 16px;
  }

  .bio-blurb {
    flex-direction: column;
  }

  .bio-blurb h4 {
    width: 100%;
  }

  .bio-blurb p {
    width: 100%;
    text-align: left;
  }

  .bio-blurb img.bio-image {
    flex: 0 0 100%;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  main {
    margin: 80px 8px 100px;
    padding: 12px;
  }

  .bio-blurb {
    padding: 16px;
    margin-bottom: 20px;
  }

  .bio-blurb h4 {
    font-size: 1.1rem;
  }

  .bio-blurb p {
    font-size: 0.9rem;
  }

  .bio-blurb img.bio-image {
    max-width: 100%;
  }
}
