.main {
    background: #f1f1f1;
}
.posts {
    padding: 80px 0;
}
.posts-inner {
    margin: 0 auto;
    width: 92%;
    max-width: 750px;
}
.posts-head {
    background: #333;
    margin: 0 0 10px;
    padding: 15px;
}
.posts-head h1 {
    color: #fff;
    font-size: 27px;
    font-weight: 400;
}
.posts-body {
    background: #fff;
    border: 1px solid #cbcbcb;
    padding: 10px 20px;
}
@media screen and (max-width: 768px) {
    .posts-head {
        padding: 12px;
    }
    .posts-head h1 {
        font-size: 21px;
    }
    .posts-body {
        padding: 10px;
    }
}
@media screen and (min-width: 769px) {
    .categories-item__images {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .categories-image__main {
        width: 75%;
    }
    .categories-image__thumb {
        display: block;
        margin: 0;
        width: calc(25% - 25px);
    }
    .categories-thumb__item {
        width: 100%;
    }
    .categories-thumb__item:not(:last-child) {
        margin: 0 0 20px;
    }
}
.posts-body .categories-item__images {
    margin: 0 0 25px;
    width: 100%;
}
.posts-body .categories-item__info {
    width: 100%;
}

.posts-contents {
    padding: 50px 0;
}
.posts-contents h2 {
    background: #333;
    color: #fff;
    font-size: 23px;
    font-weight: normal;
    margin: 0 0 20px;
    padding: 12px 15px;
}
.posts-contents h3 {
    border-bottom: 1px solid #333;
    color: #333;
    font-size: 22px;
    font-weight: normal;
    margin: 0 0 20px;
    padding: 0 0 10px;
}
.posts-contents p,
.posts-contents figure {
    display: block;
    font-size: 23px;
    margin: 0 0 20px;
    padding: 0 10px;
}
.posts-contents p {
    line-height: 1.8em;
}
@media screen and (max-width: 768px) {
    .posts-contents {
        padding: 35px 0;
    }
    .posts-contents h2 {
        font-size: 20px;
    }
    .posts-contents h3 {
        font-size: 18px;
    }
    .posts-contents p,
    .posts-contents figure {
        font-size: 16px;
    }
}