/* General Styles */
body {
  font-family: Georgia, serif;
  margin: 0;
  padding: 1rem;
  background-color: #fff8f0;
  color: #4B2E2B;
}

.bodywrap {
  width: 70%;
  margin: 0 auto;
  max-width: 1100px;
}

.heading {
  text-align: center;
  font-family: 'Rye', 'Playbill', 'Georgia', 'Times New Roman', serif;
  font-size: 4rem;
  font-weight: bold;
  color: #4B2E2B; /* rustic brown tone */
  text-shadow: 1px 1px 0 #ddd;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 3em;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.subhead2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 1rem;
}

.para {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.inlineblk {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  vertical-align: top;
}

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

.strp {
  font-weight: bolder;
  font-size: 4rem;
}

.centered{
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin: 2rem auto;
}


/* .centered {
  display: block;
  margin: 0 auto;
  /* width: fit-content;
  margin: 0 auto 2rem auto;
} */

.cropped-image {
  width: 100%;
  max-width: 250px;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.largerimg{
  width: 100%;
  max-width: 400px;
  height: 550px;
}
/* .cropped-image {
  width: 250px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
} */

.wideimage {
  width: 475px;
  height: 325px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

figcaption {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 0.4rem;
  color: #5a3c3a;
}

.name-list {
  column-count: 3;
  column-gap: 2rem;
  font-family: Georgia, serif;
  line-height: 1.6;
  padding: 1rem 2rem;
  max-width: 800px;
  margin: 1rem auto 2rem auto;
  text-align: center;
}

/* Responsive Media Queries */

@media (max-width: 1024px) {
  .centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  figure.inlineblk,
  figure.wide-inlineblk {
    width: 90%;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cropped-image,
  .wideimage {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 900px) {
  .bodywrap {
    width: 90%;
  }
  .name-list {
    column-count: 2;
    padding: 1rem;
    max-width: 100%;
  }
  .cropped-image, .largerimg {
    width: 200px;
    height: 320px;
  }
  .wideimage {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .heading {
    font-size: 2.5rem;
  }
  .subhead {
    font-size: 2rem;
  }
  .subhead2 {
    font-size: 1.75rem;
  }
  .para {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .name-list {
    column-count: 1;
    padding: 0.5rem;
  }
  .cropped-image, .largerimg {
    width: 150px;
    height: 240px;
  }
  .inlineblk {
    display: block;
    margin: 1rem auto;
  }
  .centered {
    width: 100%;
  }
    figure.inlineblk,
  figure.wide-inlineblk {
    width: 100%;
  }
}
