{% require_css %}
<style>
  /* === Remove spacing when headings are empty === */
  #servicesselect h2:empty,
  #servicesselect h3:empty {
    display: none;
    margin: 0;
  }

  /* === Controlled spacing when headings exist === */
  #servicesselect h2 {
    margin-bottom: 10px;
  }

  #servicesselect h3 {
    margin-top: 0;
    margin-bottom: 25px;
  }

  /* Reduce space between h2 and h3 when both exist */
  #servicesselect h2 + h3 {
    margin-top: 5px;
  }

  /* === Existing styles (kept, just grouped cleanly) === */
  #servicesselect .element_cta {
    display: block;
    width: auto;
    position: absolute;
    right: 0;
    height: 260px;
    bottom: -130px;
  }

  #servicesselect .content {
    position: relative;
    overflow: hidden;
  }

  #servicesselect .tabbed-module .tabs ul li.active a {
    background-color: #D34F21;
    color: #fff;
  }

  #servicesselect h3.smallheading {
    font-style: normal;
    font-weight: 200;
    line-height: 1.6em;
    margin: 0 auto 30px;
    max-width: 820px;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
  }

  @media (max-width: 920px) {
    #servicesselect {
      padding: 60px 0;
    }
  }
</style>
{% end_require_css %}
