{% scope_css %}

  {# Featured image #}

  {% if module.featured_image && module.styles.featured_image.corner.radius %}
    .blog-index__post-image {
      border-radius: ;
    }
  {% endif %}

  {# Tags #}

  {% if module.tags %}
    .blog-index__post-tag {
      {% if module.styles.tags.text.font.color %}
        color: ;
      {% endif %}
      {% if module.styles.tags.text.font.size %}
        font-size: ;
      {% endif %}
      {% if module.styles.tags.text.font.style %}
        ;
      {% endif %}
    }
  {% endif %}

  {# Title #}

  {% if module.title %}
    .blog-index__post-title,
    .blog-index__post-title-link {
      {% if module.styles.title.text.font.color %}
        color: ;
      {% endif %}
      {% if module.styles.title.text.font.size %}
        font-size: ;
      {% endif %}
      {% if module.styles.title.text.font.style %}
        ;
      {% endif %}
    }
  {% endif %}

  {# Author #}

  {% if module.author %}

    {% if module.styles.author.image.corner.radius %}
      .blog-index__post-author-image {
        border-radius: ;
      }
    {% endif %}

    .blog-index__post-author-name {
      {% if module.styles.author.text.font.color %}
        color: ;
      {% endif %}
      {% if module.styles.author.text.font.size %}
        font-size: ;
      {% endif %}
      {% if module.styles.author.text.font.style %}
        ;
      {% endif %}
    }

  {% endif %}

  {# Date #}

  {% if module.publish_date %}
    .blog-index__post-timestamp {
      {% if module.styles.publish_date.text.font.color %}
        color: ;
      {% endif %}
      {% if module.styles.publish_date.text.font.size %}
        font-size: ;
      {% endif %}
      {% if module.styles.publish_date.text.font.style %}
        ;
      {% endif %}
    }
  {% endif %}

  {# Description #}

  {% if module.description %}
    .blog-index__post-summary,
    .blog-index__post-summary * {
      
    }
  {% endif %}

  {# Button #}

  {% if module.button %}

    {# Button wrapper #}

    {% if module.styles.button.alignment.alignment %}
      .blog-index__post-button-wrapper {
        text-align: ;
      }
    {% endif %}

    {# Button #}

    .blog-index__post-button {
      {% if module.styles.button.background.color.color %}
        background-color: rgba(, );
      {% endif %}
      
      {% if module.styles.button.corner.radius %}
        border-radius: ;
      {% endif %}
      
      
    }

    .blog-index__post-button:hover,
    .blog-index__post-button:focus {
      {% if module.styles.button.background.color.color %}
        background-color: rgba(, );
      {% endif %}
    }

    .blog-index__post-button:active {
      {% if module.styles.button.background.color.color %}
        background-color: rgba(, );
      {% endif %}
    }

  {% endif %}

{% end_scope_css %}

.blog-author-heading,
.blog-tag-heading {
  padding: 0 1rem;
}

.blog-index {
  display: flex;
  flex-wrap: wrap;
}

.blog-index__post {
  flex: 0 0 100%;
  padding: 1.4rem 1rem;
}

@media screen and (min-width: 768px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 3);
  }
}

@media screen and (min-width: 768px) {
  .blog-index__post--large {
    display: flex;
    flex: 1 0 100%;
  }
}

.blog-index__post-image {
  height: auto;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .blog-index__post-image-wrapper--large {
    flex: 1 1 48%;
  }

  .blog-index__post-content--large {
    flex: 1 1 48%;
    padding-left: 2rem;
  }

  .blog-index__post-content--full-width {
    flex: 1 1 100%;
    padding-left: 0;
  }
}

.blog-index__post-title {
  font-size: 1.25rem;
}

.blog-index__post-timestamp {
  display: block;
}

.blog-index__post-author {
  align-items: center;
  display: flex;
}

.blog-index__post-author-image {
  border-radius: 50%;
  height: auto;
  margin-right: 0.35rem;
  width: 30px;
}

.blog-index__post-tags,
.blog-index__post-title,
.blog-index__post-timestamp,
.blog-index__post-author,
.blog-index__post-image--small {
  margin: 0 0 0.7rem;
}
