.about-container {
  max-width: 850px;
  margin: 0 auto;
  padding-top: 1px;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

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

/* About label (title) styling */
.about-title {
  margin-top: 140px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 70px;
  text-align: left;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 55px;   /* Smaller font size for mobile */
  }
}

/* Image styling (assumes an image is added between header and content) */
.about-content img {
  width: 300px;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1; /* square */
  object-fit: cover;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .about-content img {
    width: 200px;        /* smaller width for mobile */
  }
}

/* Content styling */
.about-text {
  font-family: "noto serif", serif;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 400;
}

/* Spacing between paragraphs */
.about-text p {
  margin-bottom: 30px;
}

.about-text a {
  color: #2E8B57;
  text-decoration: none; /* No underline by default */
}

.about-text a:hover {
  text-decoration: underline; /* Underline only on hover */
}

.page-feature-image {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-feature-image img {
  width: 100%;
  height: 250px;
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
}

/* H2 styling */
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4,
.about-text h5,
.about-text h6 {
  font-family: "Fjalla One", sans-serif;
  font-weight: 300;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.3;
}

.about-text h2 {
  font-size: 40px;
}

.about-text h3 {
  font-size: 27px;
  margin-top: 40px; 
}

/* Mobile styling */
@media (max-width: 768px) {
/* Reset any existing mobile padding/margins first */
.about-title,
.about-text,
.about-text p,
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4,
.about-text h5,
.about-text h6 {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Apply container padding */
.about-container {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

/* Keep your existing mobile styles */
.about-title {
  margin-top: 120px;
}

.about-text {
  font-size: 18px;
}

/* Simplified feature image styling for full bleed */
.page-feature-image {
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 26px); /* 100% + left padding + right padding */
}
}

/* Adjusting the aspect ratio for larger screens */
@media (min-width: 1024px) {
  .page-feature-image img {
      height: 450px; /* Slightly shorter on larger screens for a wider feel */
  }
}