@import url('./../fonts/DMSerifDisplay-Regular.ttf');
* {
  font-family: 'DM Serif Display', sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DM Serif Display', sans-serif !important;
  font-weight: 400;
}

.views-view-grid-contents {
  h3 {
    font-size: 50px;
    line-height: 50px;
    @media (max-width: 990px) {
      font-size: 36px;
      line-height: 36px;
    }
  }
  .last-post {
    margin: 50px 0 150px;
    .card-featured {
      padding: 22px;
      img {
        border-radius: 100px;
        max-height: 500px;
        margin: 0 auto;
      }
      h4 {
        font-size: 25px;
        color: #292F36;
        margin-top: 50px;
        margin-bottom: 22px;
      }
      .text-featured {
        font-size: 20px;
        margin-bottom: 50px;
      }
      span {
        &.category {
          display: block;
          font-size: 18px;
          color: #292F36;
        }
      }
    }
  }
  .list-posts {
    margin: 100px 0;
  }
}

.card-article-item {
  -webkit-box-shadow: 0 -1px 5px 2px rgba(0,0,0,0.15);
  -moz-box-shadow: 0 -1px 5px 2px rgba(0,0,0,0.15);
  box-shadow: 0 -1px 5px 2px rgba(0,0,0,0.15);
  background: #fff;
  padding: 20px 20px 50px;
  border-radius: 40px;
  margin: 50px 0;
  min-height: 530px;
  &:hover {
    background: #F4F0EC;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    .open-link {
      background: #fff;
    }
  }
  img.img-article {
    width: 340px;
    height: 290px;
    object-fit: cover;
    object-position: top;
    border-top-right-radius: 40px 40px;
    border-top-left-radius: 40px 40px;
    @media (max-width: 990px) {
      margin: 0 auto;
      min-height: 450px;
    }
  }
}

.post-info {
  padding-top: 21px;
  a {
    &.open-article {
      font-size: 25px;
      color: #292F36;
    }
  }
  .post-meta {
    margin-top: 20px;
    span {
      display: block;
      font-size: 18px;
      color: #292F36;
    }
    time {
      font-family: 'Jost', sans-serif;
    }
  }
}
.content-internal {
  .post-content {
    position: relative;
    height: auto;
    float: left;
    clear: both;
  }
  h2 {
    font-size: 50px;
    line-height: 60px;
    color: #292F36;
    margin-bottom: 20px;
  }
  .post-image {
    img {
      border-radius: 50px;
      margin: 0 auto;
    }
  }
  .time-tags {
    time,
    .tags .label{
      font-size: 16px !important;
      font-family: 'Jost', sans-serif !important;
      font-weight: 400;
    }
    .tags {
      display: ruby;
      .label:not(:last-child)::after {
        content: " / ";
        margin: 0 0 0 14px;
        color: #555;
      }
    }
  }
  .content-body {
    float: left;
  }
}
.sidebar,
.search-contents {
  h3 {
    font-size: 25px;
  }
  .search {
    input {
      position: relative;
      background: #F4F0EC;
      padding: 34px;
      border-radius: 20px !important;
      color: #CDA274;
      &::placeholder {
        color: #c8a57d;
        opacity: 1; /* Firefox */
      }
      border: none;
    }
    button {
      z-index: 50;
      position: absolute;
      right: 20px;
      top: 35px;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      i {
        font-size: 24px;
        color: #CDA274;
      }
    }
  }
  .lasted-news {
    float: left;
    ul {
      li {
        a {
          font-size: 20px;
          color: #292F36;
        }
        time {
          font-size: 16px;
          font-family: 'Jost', sans-serif !important;
        }
      }
    }
  }
}
.search-contents {
  .input-group {
    width: 100%;
  }
}
