/* ===== Common Section Styling for All Additional Pages ===== */

main section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ddd;
  font-family: "Roboto", sans-serif;
  line-height: 1.8;
}

main section h1 {
  font-size: 2.2rem;
  color: #f5c518;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  text-align: center;
}

main section h2 {
  font-size: 1.5rem;
  color: #f5c518;
  margin-top: 30px;
  margin-bottom: 10px;
}

main section p {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: justify;
  color: #ccc;
  padding: 0 10px;
}

/* ===== FAQ Styling ===== */
.faq-item {
  background-color: #1a1a1a;
  border-left: 4px solid #f5c518;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.faq-item h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.faq-item p {
  font-size: 1rem;
  color: #bbb;
}

/* ===== Responsive Enhancements ===== */
@media (max-width: 768px) {
  main section h1 {
    font-size: 1.7rem;
  }

  main section h2 {
    font-size: 1.3rem;
  }

  main section p {
    font-size: 0.95rem;
  }

  .faq-item h2 {
    font-size: 1.05rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }
}
.degrees {
  background-image: url("/Freemasons\ degrees.webp");

  height: 60vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: top;
  text-align: start;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 20px;
}
.masonic-life {
  background-image: url("/Masonic\ life.webp");

  height: 60vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  text-align: start;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 20px;
}
.family-of-freemasonry-container,
.Masonic-Youth-Groups {
  display: flex;
  flex-direction: row;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #0d0d0d;
}
.family-h1 {
  background-image: url("/The\ family\ of\ freemasonry.webp");
 color: yellow;
  height: 30vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  text-align: start;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 20px;
  /* position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
}

.Shriners-International,
.Scottish-Rite-Freemasonry,
.York-Rite-Freemasonry {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  /* background-color: #1a1a1a; */
}
.faq-hero {
  background-image: url("/FAQ.webp");
  color: yellow;
  height: 30vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  text-align: start;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 20px;
}
#degrees {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.degree-image {
  width: 50%;
  height: fit-content;
  border-radius: 1px 50px;
}
#masonic-life {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pic-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}
.image-1,
.image-3,
.image-2 {
  width: 70%;
  /*height: 250px;*/
  border-radius: 15px;
  margin-right: 10px;
  margin-bottom: 15px;
}
/* .image-2 {
  width: 33%;
  height: 400px;
} */

.image-4, .degree-image {
  width: 70%;
  height: fit-content;
  border-radius: 1px 25px;
  margin-bottom: 15px;
}
/* #faq h2 {
  text-align: center;
}
#faq {
  text-align: start;
} */

.links-container {
  display: flex;
  flex-direction: column;
  text-align: center;
}
