/* Project Content Text Block */
.block9a.project-content-text-block {
  background: #fff;
}

.project-content-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Padding Options */
.block9a.padding-none {
  padding: 0;
}

.block9a.padding-top {
  padding: 40px 0 0 0;
}

.block9a.padding-bottom {
  padding: 0 0 40px 0;
}

.block9a.padding-both {
  padding: 40px 0;
}

/* Content Text Area */
.project-content-text {
  font-size: 18px;
  line-height: 30px;
  color: #515050;
}

/* Bold text styling */
.project-content-text strong,
.project-content-text b {
  font-family: "AvenirLTPro";
  font-weight: bold;
  color: #515050;
}

/* Link styling - coral first, then normal on hover */
.project-content-text a {
  color: #da5841;
  text-decoration: underline;
}

.project-content-text a:hover {
  color: #515050;
  text-decoration: underline;
}

.project-content-text h2 {
  font-size: 30px;
  line-height: 40px;
  padding-top: 20px;
  padding-bottom: 10px;
  color: #515050;
}

.project-content-text h3 {
  font-size: 24px;
  line-height: 34px;
  padding-top: 20px;
  margin-top: 16px;
  padding-bottom: 10px;
  color: #515050;
}

.project-content-text h4 {
  padding-top: 20px;
  padding-bottom: 10px;
  color: #515050;
}

.project-content-text p {
  font-size: 18px;
  line-height: 30px;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.project-content-text p + p {
  margin-top: 15px !important;
}

.project-content-text img {
  max-width: 100%;
  height: auto;
  padding: 15px 0;
  border-radius: 0;
}

.project-content-text figcaption,
.project-content-text .wp-caption-text {
  font-size: 18px;
  line-height: 30px;
  color: #999;
  font-style: italic;
  padding-top: 5px;
  text-align: left;
}

/* Custom Bullet List Styling */
.project-content-text ul,
.project-content-text ol {
  list-style: none;
  padding-left: 0;
  padding: 0;
  margin-top: 14px;
  margin-bottom: 14px;
}

.project-content-text ul li {
  padding-left: 25px;
  position: relative;
  padding-bottom: 7px;
  font-size: 18px;
  line-height: 30px;
}

/* Default bullet (when no custom icon) */
.project-content-text:not(.has-custom-bullets) ul li:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #da5841;
  border-radius: 50%;
}

/* Custom bullet with // text */
.project-content-text.has-custom-bullets ul li {
  padding-left: 25px;
}

.project-content-text.has-custom-bullets ul li:before {
  content: "//";
  position: absolute;
  left: 20px;
  top: 0;
  font-family: "Avenir", sans-serif;
  font-weight: 900;
  font-size: 17.3px;
  line-height: 30px;
  color: #da5841;
  vertical-align: middle;
}

/* Gutenberg Editor Specific - Fix bullet alignment */
.editor-styles-wrapper .project-content-text.has-custom-bullets ul li:before {
  left: 0;
}

/* Nested lists */
.project-content-text ul ul {
  padding-top: 7px;
  padding-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .block9a.padding-top {
    padding: 30px 0 0 0;
  }

  .block9a.padding-bottom {
    padding: 0 0 30px 0;
  }

  .block9a.padding-both {
    padding: 30px 0;
  }

  .project-content-text {
    font-size: 16px;
  }

  .project-content-text h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .project-content-text h3 {
    font-size: 22px;
    line-height: 30px;
    margin-top: 12px;
  }

  .project-content-container {
    padding: 0 15px;
  }
}
