/* Wrapper to prevent collisions */
.sub-content {
  max-width: 100%;
  overflow-x: hidden;
}

/*******  TOP IMAGE *******/
.sub-content .top_image img {
  width: 100%;
  max-width: 100%; /* ✅ prevents overflow */
  height: min(500px, 60vh); /* ✅ responsive cap */
  /*height: auto; */
  object-fit: cover;
  display: block;
  object-position: top; /* 👈 key line */
}

.sub-content .top_image {
  margin-top: 50px;
  margin-bottom: 20px;
  clear: both;
}

/******* TITLE SECTIONS *******/
.sub-content .title_section h1 {
  font-size: 22px;
  text-align: center;
  color: #0b6b4f;
}

.sub-content .title_section h2 {
  font-size: 16px;
  text-align: center;
  color: #0b6b4f;
  padding-top: 10px;
}

.sub-content .title_section {
  background: white;
  margin: 15px auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sub-content {
  width: 100%;
  margin: 0 auto;
}


/******* TITLE SECTIONS *******/
.sub-content .title_section h1 {
  font-size: 22px;
  text-align: center;
  color: #0b6b4f;
}

.sub-content .title_section h2 {
  font-size: 16px;
  text-align: center;
  color: #0b6b4f;
}

.sub-content .title_section {
  background: white;
  margin: 15px auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/******* MAIN SECTIONS *******/
.sub-content section {
  background: white;
  margin: 15px auto;
  padding: 25px 25px 25px 40px;
  width: 90%;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sub-content section p {
  padding: 10px;
}

/******* HEADINGS *******/
.sub-content section h2 {
  color: #046449;
  padding-bottom: 10px;
}

.sub-content section h3 {
  color: #888888;
  padding: 10px 0px 0;
}

.sub-content section h4 {
  color: #01946a;
  padding: 20px 0px 0;
}

.sub-content section strong {
  color: #635e5e;
}

/******* LISTS ********/
.sub-content section ul {
  padding: 3px 50px;
  line-height: 1.4;
}

.sub-content section ul li {
  padding: 3px;
  line-height: 1.3;
}

/******* 📱 SMALL MOBILE ********/
@media (max-width: 768px) {
  .sub-content section {
    padding: 12px;
  }

  .sub-content section ul {
    padding: 10px 30px;
    line-height: 1.2;
  }
}
