@import "../../helper";

.MainCategories {
  margin: {
    top: -15px;
    bottom: 1.5em;
  }

  li {
    min-width: percentage(1 / 3);

    a {
      padding: 30px 20px;
    }

    @media all and (max-width: $screen-xs-max) {
      + li {
        margin-top: 7.5px;
      }

      a {
        padding: {
          top: 20px;
          bottom: 20px;
        }
      }
    }
  }
}

.ArticleList {
  padding-bottom: 1.5em;
}

.ArticleList-summary {
  p {
    margin-bottom: 15px;

    span {
      font-size: 20px;
    }
  }
}

.ArticleList-archives {
  margin-top: 0 !important;
  padding-left: 0;
  list-style-type: none;
  font: {
    size: 22px;
    style: italic;
  }
  @include pie-clearfix;

  a {
    display: block;
    margin: {
      right: -15px;
      left: -15px;
    }
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: normal;

    span {
      display: block;
      color: #888;
      font: {
        size: 14px;
        style: normal;
        weight: 300;
      }

      .fa {
        margin-right: 1em;
      }
    }

    &:hover {
      background-color: #0871ab;

      &,
      * {
        color: #fff !important;
      }
    }
  }
}

.ArticleList-hotCategories {
  > div {
    margin: {
      right: -15px;
      left: -15px;
    }
  }

  ul {
    list-style: none inside none;
    padding-left: 0;
  }

  li {
    a {
      display: block;
      background-color: #eee;
      border: 1px solid #a6a6a6;
      border-radius: 6px;
      padding: 10px 15px;
      font: {
        size: 18px;
        weight: 400;
      }
      color: #333;
      text-decoration: none;

      span {
        display: block;
        margin-top: 5px;
        font: {
          size: 12px;
          weight: 300;
        }
        color: #888;
      }
    }

    @media all and (max-width: $screen-xs-max) {
      + li {
        margin-top: 10px;
      }
    }
  }
}

.Widget--hotCategories {
  p {
    margin-bottom: 10px;

    a,
    span {
      margin: 0 .3em;
      font: {
        size: 16px;
        weight: bold;
      }
    }

    span {
      font-style: italic;
      text-decoration: underline;
    }
  }

  ul {
    list-style-position: inside;
    margin-bottom: 0;
    padding-left: 5px;
  }
}
