{% schema %}
{
  "name": "Golf richtext",
  "settings": [
    {
      "type": "text",
      "id": "heading",
      "label": "Heading"
    },
    {
      "type": "richtext",
      "id": "content",
      "label": "Content"
    }
  ],
  "presets": [
    {
      "name": "Golf richtext"
    }
  ]
}
{% endschema %}

<div class="irons-simple">
  <div class="page-width">
    {% if section.settings.heading != blank %}
      <div class="title-wrap">
       <h2>{{ section.settings.heading }}</h2>
      </div>
    {% endif %}
    <div class="irons-content">
      {{ section.settings.content }}
    </div>
  </div>
</div>

<style>
  .irons-simple {
    background: #fff;
    padding: 20px;
  }
  .irons-content h4 {
    text-transform: capitalize;
  }
  .irons-simple .title-wrap h2 {
    font-size: calc(var(--font-heading-scale) * 3.6rem);
    margin-bottom: 15px;
    color: #1b1b1b;
  }
  .irons-content {
    line-height: 1.6;
  }
  .irons-content a {
    color: #105028;
  }
  @media (max-width:767px){
    .irons-simple .title-wrap h2 {
      font-size: calc(var(--font-heading-scale) * 1.6rem);
    }
    .irons-content h4{
      font-size: 16px;
    }
  }
</style>
