.blog {
  padding-bottom: 120px;
  .internal-header {
    background-image: url('../img/blog/header-bg.png');
  }
  .blog-list {
    .blog-item {
      display: flex;
      justify-content: space-between;
      padding-bottom: 40px;
      margin-bottom: 40px;
      border-bottom: 1px solid #ccc;
      .data {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 75px;
        height: 75px;
        background-color: $color-sec;
        p,
        span {
          width: 100%;
          color: #fff;
          text-align: center;
          font-size: 24px;
          /* Approximation due to font substitution */
          font-weight: bold;
          line-height: 1;
          /* Approximation due to font substitution */
        }
        span {
          font-size: 16px;
          /* Approximation due to font substitution */
        }
      }
      .blog-content {
        width: calc(100% - 100px);
        .blog-title {
          margin-bottom: 5px;
          color: $color-main;
          font-size: 30px;
          line-height: 32px;
          text-transform: uppercase;
        }
        .blog-text {
          font-size: 16px;
          line-height: 24px;
          /* Approximation due to font substitution */
          p {
            font-size: inherit;
          }
        }
      }
    }
  }
  .blog-sidebar {
    .title-large {
      font-size: 60px;
      /* Approximation due to font substitution */
      line-height: 75px;
    }
    .blog-list {
      padding: 30px;
      background: linear-gradient(to right, $color-main 0, #8d231c 100%);
      .blog-item {
        border-color: #3f6388;
        .blog-content {
          .blog-title {
            color: #ffffff;
            font-size: 18px;
            /* Approximation due to font substitution */
            line-height: 22px;
            /* Approximation due to font substitution */
          }
        }
        &:last-of-type {
          margin-bottom: 0;
          padding-bottom: 0;
          border-bottom: none;
        }
      }
    }
  }
  &.blog-interna {
    .blog-post {
      margin-bottom: 60px;
      padding-bottom: 40px;
      border-bottom: 1px solid #ccc;
      .blog-post-title {
        margin-bottom: 5px;
        color: $color-main;
        font-size: 40px;
        /* Approximation due to font substitution */
        line-height: 42px;
        /* Approximation due to font substitution */
        text-transform: uppercase;
      }
      .blog-post-subtitle {
        font-size: 18px;
        /* Approximation due to font substitution */
        font-weight: 500;
        line-height: 24px;
        /* Approximation due to font substitution */
      }
      .blog-post-img {
        margin-top: 40px;
        margin-bottom: 40px;
        img {
          display: block;
          width: 100%;
        }
      }
      .blog-post-content {
        p {
          margin-bottom: 20px;
          font-family: Rubik;
          font-size: 18px;
          /* Approximation due to font substitution */
          font-weight: 400;
          line-height: 24px;
          /* Approximation due to font substitution */
        }
      }
      .blog-share {
        display: flex;
        align-items: center;
        margin-top: 50px;
        p {
          margin-right: 10px;
          font-size: 18px;
          /* Approximation due to font substitution */
          line-height: 24px;
          /* Approximation due to font substitution */
        }
        .share-box {
          display: flex;
        }
        a {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-right: 2px;
          width: 45px;
          height: 45px;
          background: $color-main;
          &:hover {
            background: $color-sec;
          }
        }
      }
    }
    .blog-leiamais {
      .blog-leiamais-title {
        margin-bottom: 40px;
        color: $color-main;
        font-size: 40px;
        /* Approximation due to font substitution */
        font-weight: bold;
        text-transform: uppercase;
      }
      .blog-item {
        &:last-of-type {
          margin-bottom: 0;
          padding-bottom: 0;
          border-bottom: none;
        }
      }
    }
  }
  @media(max-width: $width-mobile) {
    .internal-header {
      background-image: url('../img/blog/header-bg-mobile.png');
    }
    .col-8 {
      max-width: 100%;
      flex-basis: 100%;
    }
    .blog-list {
      .blog-item {
        .data {
          p {
            font-size: 35px;
          }
          span {
            font-size: 22px;
          }
        }
        .blog-content {
          .blog-title {
            font-size: 24px;
            line-height: 28px;
          }
        }
      }
    }
    .blog-sidebar {
      display: none;
    }
    &.blog-interna {
      .blog-post {
        margin-bottom: 40px;
        .blog-post-title {
          font-size: 32px;
          line-height: 38px;
        }
        .blog-share {
          flex-direction: column;
          p {
            margin: 0 0 10px;
          }
        }
      }
      .blog-leiamais {
        .blog-leiamais-title {
          margin-bottom: 20px;
          font-size: 28px;
        }
      }
    }
  }
}
